| www.ClassicTW.com http://www.classictw.com/ |
|
| Using a *.bat file http://www.classictw.com/viewtopic.php?f=15&t=25386 |
Page 1 of 1 |
| Author: | mob [ Thu Jan 07, 2010 2:55 pm ] |
| Post subject: | 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? |
|
| Author: | Singularity [ Thu Jan 07, 2010 3:26 pm ] |
| Post subject: | Re: Using a *.bat file |
twxproxy /p 1234 Sets port to 1234 |
|
| Author: | Parrothead [ Thu Jan 07, 2010 4:56 pm ] |
| Post subject: | Re: Using a *.bat file |
Ahh..useful stuff. thx |
|
| Author: | Singularity [ Thu Jan 07, 2010 6:22 pm ] |
| Post subject: | 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. |
|
| Author: | mob [ Thu Jan 07, 2010 6:29 pm ] |
| Post subject: | Re: Using a *.bat file |
if you create a new DB will it se it to default? |
|
| Author: | V'Ger [ Thu Jan 07, 2010 6:59 pm ] |
| Post subject: | 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. |
|
| Author: | mob [ Thu Jan 07, 2010 7:38 pm ] |
| Post subject: | Re: Using a *.bat file |
it is interesting to think of what possibly could be done... |
|
| Author: | Singularity [ Thu Jan 07, 2010 8:52 pm ] |
| Post subject: | 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. |
|
| Author: | Thrawn [ Thu Jan 07, 2010 8:57 pm ] |
| Post subject: | 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 Cheers |
|
| Author: | mob [ Thu Jan 07, 2010 9:05 pm ] |
| Post subject: | Re: Using a *.bat file |
Is all that really too far fetched? It sounds really do able but Im also not a programmer... |
|
| Author: | Singularity [ Thu Jan 07, 2010 9:16 pm ] |
| Post subject: | 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. |
|
| Author: | Thrawn [ Thu Jan 07, 2010 9:47 pm ] |
| Post subject: | Re: Using a *.bat file |
Almost reminds me of sifting through a strainer full of spaghetti Cheers |
|
| Author: | mob [ Thu Jan 07, 2010 9:55 pm ] |
| Post subject: | Re: Using a *.bat file |
How did you know what I had for dinner?? |
|
| Author: | Singularity [ Thu Jan 07, 2010 11:20 pm ] |
| Post subject: | Re: Using a *.bat file |
All that talk of pasta sauce, some of it must've leaked thru... |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|