View unanswered posts | View active topics It is currently Mon Apr 27, 2026 6:45 am



Reply to topic  [ 7 posts ] 
 "send" ing to menus in other scripts 
Author Message
Staff Sergeant

Joined: Wed Feb 04, 2004 3:00 am
Posts: 15
Location: Canada
Unread post 
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
Profile
Staff Sergeant

Joined: Wed Feb 04, 2004 3:00 am
Posts: 15
Location: Canada
Unread post 
Spose I should mention the language is TWX.


Sun Feb 15, 2004 5:12 pm
Profile
Commander

Joined: Thu Feb 20, 2003 3:00 am
Posts: 1529
Location: USA
Unread post 
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
Profile ICQ
Staff Sergeant

Joined: Wed Feb 04, 2004 3:00 am
Posts: 15
Location: Canada
Unread post 
I've posted in both. :)


Sun Feb 15, 2004 6:12 pm
Profile
Ensign

Joined: Sat Jan 19, 2002 3:00 am
Posts: 214
Location: USA
Unread post 
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
Profile ICQ YIM WWW
Staff Sergeant

Joined: Wed Feb 04, 2004 3:00 am
Posts: 15
Location: Canada
Unread post 
OH That's a great Idea! That's EXACTLY what I need! Thanks! :D :D :D


Sun Feb 15, 2004 7:23 pm
Profile
Lieutenant

Joined: Fri Apr 05, 2002 3:00 am
Posts: 580
Location: USA
Unread post 
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
Profile ICQ YIM
Display posts from previous:  Sort by  
Reply to topic   [ 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

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