View unanswered posts | View active topics It is currently Sun Apr 19, 2026 1:16 pm



Reply to topic  [ 14 posts ] 
 Using a *.bat file 
Author Message
Boo! inc.
User avatar

Joined: Sat Oct 09, 2004 2:00 am
Posts: 865
Location: USA
Unread post Using a *.bat file
Really bored, read through some of the script threads. Came across Wildstar being lazy blah blah blah, well he came up with writing a batch file to open his SWATH/TWX now while talking with T.R. is it possible to set port or certain things through a script or batch in TWX?

_________________
“The object of war is not to die for your corp but to make the other bastard die for his.”

Boo! inc.


Thu Jan 07, 2010 2:55 pm
Profile
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Using a *.bat file
twxproxy /p 1234

Sets port to 1234

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jan 07, 2010 3:26 pm
Profile ICQ WWW
Commander
User avatar

Joined: Wed May 03, 2006 2:00 am
Posts: 1722
Location: USA
Unread post Re: Using a *.bat file
Ahh..useful stuff. thx

_________________
Coconut Telegraph (ICQ)#586137616
Team Speak3@ 220.244.125.70:9987
Founding Member -=[Team Kraaken]=- Winner of Gridwars 2010 - Ka Pla
Image
Jesus wounldn't Subspace Crawl


Thu Jan 07, 2010 4:56 pm
Profile ICQ YIM
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Using a *.bat file
/p = sets port

/dblist = lists available .xdb files

/dbcreate = creates a new db

/sectors = sets sector count (prolly for dbcreate)

/script = will someday load a specific script, doesn't work right now.

We need a /db switch to set the database, I don't see one.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jan 07, 2010 6:22 pm
Profile ICQ WWW
Boo! inc.
User avatar

Joined: Sat Oct 09, 2004 2:00 am
Posts: 865
Location: USA
Unread post Re: Using a *.bat file
if you create a new DB will it se it to default?

_________________
“The object of war is not to die for your corp but to make the other bastard die for his.”

Boo! inc.


Thu Jan 07, 2010 6:29 pm
Profile
Gameop
User avatar

Joined: Tue Sep 25, 2007 7:27 pm
Posts: 530
Location: Long Island
Unread post Re: Using a *.bat file
I have a modified version of TWX that includes a switch to set the DB. The only downside is in doing so, it broke the port select switch, so it is not as useful as some would like.

_________________
If you have a building game, they will come...

Proud Sysop of ICE9 TWGS
Home of Building and Non Regulated Games
http://www.oregonsouth.com/ice9
telnet://ice9-tw.com:2002


Thu Jan 07, 2010 6:59 pm
Profile
Boo! inc.
User avatar

Joined: Sat Oct 09, 2004 2:00 am
Posts: 865
Location: USA
Unread post Re: Using a *.bat file
it is interesting to think of what possibly could be done...

_________________
“The object of war is not to die for your corp but to make the other bastard die for his.”

Boo! inc.


Thu Jan 07, 2010 7:38 pm
Profile
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Using a *.bat file
Nod. In a future ver I'm sure there'll be a functional select DB and a functional script setup.

What would be nice is a command-line way of running twxproxy and having it load a script,
then have twxproxy quit when done.

That script could then output results to a file, and it could be parsed for errors. Would make
it possible for sysops to use the twgs scheduler to regularly run scripts without keeping
twxproxy in memory.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jan 07, 2010 8:52 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: Using a *.bat file
Singularity wrote:
Nod. In a future ver I'm sure there'll be a functional select DB and a functional script setup.

What would be nice is a command-line way of running twxproxy and having it load a script,
then have twxproxy quit when done.

That script could then output results to a file, and it could be parsed for errors. Would make
it possible for sysops to use the twgs scheduler to regularly run scripts without keeping
twxproxy in memory.


That is so true ;) I suppose we can only hope.

Cheers

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Jan 07, 2010 8:57 pm
Profile
Boo! inc.
User avatar

Joined: Sat Oct 09, 2004 2:00 am
Posts: 865
Location: USA
Unread post Re: Using a *.bat file
Is all that really too far fetched? It sounds really do able but Im also not a programmer...

_________________
“The object of war is not to die for your corp but to make the other bastard die for his.”

Boo! inc.


Thu Jan 07, 2010 9:05 pm
Profile
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Using a *.bat file
it's do-able, it's just with the way all the code is intertwined it takes some time pouring thru it to figure it all out.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jan 07, 2010 9:16 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: Using a *.bat file
Almost reminds me of sifting through a strainer full of spaghetti ;)

Cheers

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Jan 07, 2010 9:47 pm
Profile
Boo! inc.
User avatar

Joined: Sat Oct 09, 2004 2:00 am
Posts: 865
Location: USA
Unread post Re: Using a *.bat file
How did you know what I had for dinner??

_________________
“The object of war is not to die for your corp but to make the other bastard die for his.”

Boo! inc.


Thu Jan 07, 2010 9:55 pm
Profile
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Using a *.bat file
All that talk of pasta sauce, some of it must've leaked thru...

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jan 07, 2010 11:20 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.