View unanswered posts | View active topics It is currently Sat Apr 18, 2026 9:04 pm



Reply to topic  [ 7 posts ] 
 twx message 
Author Message
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
Since the TWX forums seem to have alot of questions and no answers lately...

I would like to suppress proxy messages like

Script terminated: scripts\blah blah blah

That stuff is very annoying

is there a way?


Sat Aug 28, 2004 12:13 pm
Profile ICQ YIM WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
Not that I know of. Why would you want to?

+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Sun Aug 29, 2004 3:00 am
Profile WWW
Gameop

Joined: Thu Jun 06, 2002 2:00 am
Posts: 2371
Location: USA
Unread post 
cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh.

Slim

_________________
Ask Slim!

--==[The Outfit]==--


Sun Aug 29, 2004 6:09 pm
Profile ICQ WWW
Lieutenant Commander
User avatar

Joined: Thu Mar 21, 2002 3:00 am
Posts: 890
Location: USA
Unread post 
quote:Originally posted by Slim Shady

cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh.

Slim


On VERY rare occasions, script termination can obscure incoming text. Particularly if your script crashes. That is the only reason I could think of for wanting to to suppress those messages.

And I don't know of any way to suppress it either.

_________________
http://tw-cabal.navhaz.com - THE TW info site

Man, I gotta quit showing up here...next thing you know i'll get dragged back in.


Sun Aug 29, 2004 7:04 pm
Profile WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
You mean people write scripts that crash and terminate? Heh, just kidding.

You could always run a deaf proxy and clientMessage all incoming text except TWX Proxy messages... but its a bit drastic. And I've never used TWX in deaf mode, so I'm not even sure that making it deaf would supress those messages. But if it doesn't, you could run the deaf proxy attached to the second proxy where the scripts run, but that is definately drastic. So while it can be done... you'll need a good reason to be bothered.

+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Sun Aug 29, 2004 11:54 pm
Profile WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
quote:Originally posted by Slim Shady

cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh.

Slim


I am already in the habbit of hitting my kill script button alot anyway so chances of a script doing that to me are almost none. But really, if a script hangs your not gonna see any messages anyway are you! Its just hiding there and the only way to know is to actually check or you see that it has stopped running without a message.

My purpose is that I have scripts running to pull up small information displays, and as Traitor says some of that information gets over written when the script terminates, plus it tends to scroll aother couple lines off the screen of information that I want to see.

Yeah EP that idea is a little more envolved than I want to get. Thanks though.


Tue Aug 31, 2004 8:05 pm
Profile ICQ YIM WWW
Lieutenant Commander
User avatar

Joined: Thu Mar 21, 2002 3:00 am
Posts: 890
Location: USA
Unread post 
quote:Originally posted by PHX

quote:Originally posted by Slim Shady

cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh.

Slim


I am already in the habbit of hitting my kill script button alot anyway so chances of a script doing that to me are almost none. But really, if a script hangs your not gonna see any messages anyway are you! Its just hiding there and the only way to know is to actually check or you see that it has stopped running without a message.

My purpose is that I have scripts running to pull up small information displays, and as Traitor says some of that information gets over written when the script terminates, plus it tends to scroll aother couple lines off the screen of information that I want to see.

Yeah EP that idea is a little more envolved than I want to get. Thanks though.


PHX,
One thing you could try doing is playing around with the ANSI escape codes. Some of them allow you to repostion the text. I use it a ton in one of my scripts.

http://www.dee.ufcg.edu.br/~rrbrandt/tools/ansi.html has a nice list of codes. You will have to experiment to see which ones work best.

The format for entering these codes isn't well documented, but for example, to clear the screen, you would do the following:

echo #27 "[2J"

To move your text up a few lines, you do the following

echo "********hello world"
echo #27 "[9A" ANSI_12 "Hello from up here"

This would move it up 9 lines.

The #27 = Esc

You can do some really interesting things with this. I have a script that totally REPLACES my density scan with a new desity scan that shows things like port types if known, enemy figs, corp figs, etc...

I leave it up to you to figure out if this will help you or not.

_________________
http://tw-cabal.navhaz.com - THE TW info site

Man, I gotta quit showing up here...next thing you know i'll get dragged back in.


Tue Aug 31, 2004 10:11 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 23 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.