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

"send" ing to menus in other scripts
https://mail.black-squirrel.com/viewtopic.php?f=15&t=12998
Page 1 of 1

Author:  TrickyNinja [ Sun Feb 15, 2004 4:51 pm ]
Post subject: 

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

Author:  TrickyNinja [ Sun Feb 15, 2004 5:12 pm ]
Post subject: 

Spose I should mention the language is TWX.

Author:  Harley Nuss [ Sun Feb 15, 2004 5:43 pm ]
Post subject: 

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.

Author:  TrickyNinja [ Sun Feb 15, 2004 6:12 pm ]
Post subject: 

I've posted in both. :)

Author:  Cherokee-TLTT [ Sun Feb 15, 2004 7:12 pm ]
Post subject: 

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.

Author:  TrickyNinja [ Sun Feb 15, 2004 7:23 pm ]
Post subject: 

OH That's a great Idea! That's EXACTLY what I need! Thanks! :D :D :D

Author:  Wildstar [ Mon Feb 16, 2004 12:54 am ]
Post subject: 

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

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