|
|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 7 posts ] |
|
"send" ing to menus in other scripts
| Author |
Message |
|
TrickyNinja
Staff Sergeant
Joined: Wed Feb 04, 2004 3:00 am Posts: 15 Location: Canada
|
Hey all,
I'm trying to write an addon for SupG's World SSM script that'll keep track of how much exp you have and when it gets too low "As determined by you" It'll halt the script, go planet bust until your back up, drop off excess credits at a planet of your choosing, and start the script over again.
The problem I'm having is the SSM script has a menu at the beginning where you have to press C to continue and then Y or N to clear busts, Is there a command that will send characters to the scripts menu and not to the server?
Thanks for your time,
Tricky
|
| Sun Feb 15, 2004 4:51 pm |
|
 |
|
TrickyNinja
Staff Sergeant
Joined: Wed Feb 04, 2004 3:00 am Posts: 15 Location: Canada
|
Spose I should mention the language is TWX.
|
| Sun Feb 15, 2004 5:12 pm |
|
 |
|
Harley Nuss
Commander
Joined: Thu Feb 20, 2003 3:00 am Posts: 1529 Location: USA
|
You might want to try talking with SupG specifically or posting in the TWX forums. Someone else here might be able to help (we have some pretty knowledgable people who post here), but I'm not sure.
|
| Sun Feb 15, 2004 5:43 pm |
|
 |
|
TrickyNinja
Staff Sergeant
Joined: Wed Feb 04, 2004 3:00 am Posts: 15 Location: Canada
|
I've posted in both. 
|
| Sun Feb 15, 2004 6:12 pm |
|
 |
|
Cherokee-TLTT
Ensign
Joined: Sat Jan 19, 2002 3:00 am Posts: 214 Location: USA
|
Within a single TWX version 2.02 instance, you cannot "send" directly to another script.
You can load up 2 instances, and have the "top instance" send directly to the "bottom"
For example, instead of this configuration...
Client - TWX - TWGS
Use this...
Client - TWX(top) - TWX(bottom) - TWGS
Run supg's wssm in the bottom, and run your "launcher" script in the top.
Just make sure you don't get your listener and connect ports confused, as you can easily get one twx trying to connect to itself, resulting in 100% CPU usage and an unplanned visit to the Task Manager.
ALso, I don't know if supg wssm source is available, but if so, you could modify it to check for the existence of saved variables that would tell it how to start up. If they exist, it uses them, otherwise, it asks for user input. Your launcher script would then be able to run in the same TWX instance... first setting the necessary saved variables, then loading up the wssm script, then either exiting itself or waiting for wssm to indicate it is finished.
_________________ Cherokee
The Lost Traders Tavern
http://tavern.homeip.net
Deployed Fighters Report Sector 911: Cherokee's Imperial Starship entered sector.
|
| Sun Feb 15, 2004 7:12 pm |
|
 |
|
TrickyNinja
Staff Sergeant
Joined: Wed Feb 04, 2004 3:00 am Posts: 15 Location: Canada
|
|
| Sun Feb 15, 2004 7:23 pm |
|
 |
|
Wildstar
Lieutenant
Joined: Fri Apr 05, 2002 3:00 am Posts: 580 Location: USA
|
I was haveing the same problem,same script,different idea though,but same solution.Either way,youre looking at a hard some crap to get it working .
Wildstar
_________________ My scripts can be downloaded at http://www.grimytrader.com/.
Ore *****.
Even in my signature it's blocked out.
|
| Mon Feb 16, 2004 12:54 am |
|
 |
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 43 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
|
|