www.ClassicTW.com
https://mail.black-squirrel.com/

OCSBot- Creating TWX Window
https://mail.black-squirrel.com/viewtopic.php?f=15&t=21558
Page 1 of 1

Author:  Thrawn [ Thu Feb 12, 2009 1:25 pm ]
Post subject:  OCSBot- Creating TWX Window

A question on TWX scripting and creating a window in the script. I understand how to make the window, and specify a size. I am wondering if I can specify the "location" the window opens on the screen. For example, our OCSBot script has it's first mod added called OCSBot Recon (many thanks to LoneStar for his tremendous help and time) that moves the OCSBot from Sector 1 to StarDock and back. The OCSBot Recon script opens a window and shows me the location the bot is at.

Because I run OCSBot in our main TWGS, I also run 2 OCSBots on our second TWGS for Daala and myself. Rather than these windows opening in the exact same spot, I'd like them to open in different locations on the screen. Or maybe have the window open in a minimized state. If it is not possible, that is ok. I was just curious.

Author:  Yop_Solo [ Thu Feb 12, 2009 1:38 pm ]
Post subject:  Re: Creating TWX Window

Do you have a tutorial to use OSCBOT or any message Bot existing in Grimy Trade website... cause I would like to use one and I didn't succeed for the moment... maybe a little help should easy the procedure...

Author:  Thrawn [ Thu Feb 12, 2009 3:49 pm ]
Post subject:  Re: Creating TWX Window

Yop_Solo wrote:
Do you have a tutorial to use OSCBOT or any message Bot existing in Grimy Trade website... cause I would like to use one and I didn't succeed for the moment... maybe a little help should easy the procedure...


The OCSBot is posted on Grimy's. Inside the zip is a file called ocsbot_install.txt, which outlines how to use it on the SysOp side. It includes how to place the bot in TWXProxy and setting up a database. This bot was designed as a helper for new players, not a bot to control another player.

OCSBot will sit in the game and wait until it is called upon. The script was created to use SS channel 4357, and will post this in a General Announcement on a rotating schedule. When a player sets their SS channel to 4357, they can type "ocsbot" on SS (no quotes) and the script will respond with a menu. If they want to access a selection, they type "ocsbot #" (no quotes), where # is the number assigned to that particular help file. So, for example, the player types ocsbot and the following menu appears:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
OCS Training BOT Menu
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Enter 'ocsbot' followed by menu number below:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[General]

1 ) OCSBot Help 2 ) OCSBot Credits

3 ) TradeWars Terms1 A-M 4 ) TradeWars Terms2 N-Z
5 ) Main Commands 6 ) Navigation Commands
7 ) Computer Commands 8 ) Tactical Commands
9 ) Corporate Commands 10) Planet Commands
11 ) Citadel Commands 12 ) StarDock Commands
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[StarDock]

13 ) ShipYard Commands 14 ) HardWare Emp Commands
15 ) Police HQ Commands 16 ) Tavern Commands
17 ) Gal. Bank Commands 18 ) Underground Commands
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[Helpers]

19 ) Helper Info
20 ) SWATH 21 ) TWXProxy
22 ) ATTAC 23 ) ZOC
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[Tactical]

24 ) The First Day 25 ) Exploration
26 ) Build Home Base 27 ) Ship Types
28 ) Ship Descriptions 29 ) Planet types
30 ) Citadel Upgrades 31 ) Make Credits
32 ) Defensive Weapons 33 ) Defensive Setup
34 ) Planetary Defenses
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information: http://www.outpost-4.com/tradewars
Public scripts: http://www.grimytrader.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

So for help, they type "ocsbot 1" (no quotes) on SS to see a help file, "ocsbot 2" (no quotes) displays the credits, etc.

The second release is coming soon and I will post on Grimy's. It will have the first mod to the bot called OCSBot Recon, which moves the OCSBot in the game.

Author:  ElderProphet [ Thu Feb 12, 2009 11:09 pm ]
Post subject:  Re: OCSBot- Creating TWX Window

You can't specify where the TWX script window will open.

Author:  Thrawn [ Fri Feb 13, 2009 2:14 am ]
Post subject:  Re: OCSBot- Creating TWX Window

ElderProphet wrote:
You can't specify where the TWX script window will open.


Thanks EP. I figured it was not possible. Not a problem, I can work around that.

Author:  Thrawn [ Fri Feb 13, 2009 10:40 am ]
Post subject:  Re: OCSBot- Creating TWX Window

I posted on Grimy's the OCSBot v1.1 release. This script is a helper for new players, not to be confused with other bots that control players. Inside is the install text file with instructions.

New to this release is the OCSBot Recon, which moves the OCSBot from sector 1 to Stardock, then back to sector 1.

If you have any issues, feel free to contact me.

Attachments:
File comment: OCSBot v1.1- second release with the first added mod OCSBot Recon.
OCSBotv1.1.zip [73.94 KiB]
Downloaded 400 times

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/