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

Script crashes
https://mail.black-squirrel.com/viewtopic.php?f=14&t=17343
Page 1 of 1

Author:  Promethius [ Fri May 26, 2006 5:45 pm ]
Post subject: 

k, I run a script for a couple of hours while relaxing in front of the TV... check the script and it is doing its thing. I leave with the script running - 5 mins after leaving crash.

Come back home, restart script and it runs fine while I am doing general maintenance on my motorcycle - about an hour - go for a ride, script crashes prob 5-10 minutes after leaving....

Seems like there is a law of probability that increases on a script crashing as soon as I go AFK.

Script is running fine again, but I need to make a run to the store to stock up for the weekend... figure it will crash about the time I get to the parking lot......

Author:  Wildstar [ Fri May 26, 2006 6:04 pm ]
Post subject: 

There is a formula for that.

Systemscript
:check
if ($afk = $5mins)
Disconnect
else
#everything is ok, reset
goto :check
end

Never fails.

Author:  Traitor [ Fri May 26, 2006 9:03 pm ]
Post subject: 

You could write a script that would simulate being at keys.

Simply open up a new instance of TWX, point it at your existing TWX, then run the following:

:trigger
send "#"
setDelaytrigger trigger :trigger 60000
pause

Hope that helps [:D]

Author:  ElderProphet [ Sun May 28, 2006 3:50 am ]
Post subject: 

Instead of sending "#", send the Esc key (#27). The keystroke is registered as activity so it keeps you alive, but seems to be inert in TW.

Granted, that won't help with your problem. The real solution is to determine why the script is crashing and fix it :P

+EP+

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