Log in

View Full Version : Scar restarter?



1337w33d
01-10-2009, 01:27 PM
I have come across a script, that my (crappy) computer lags with, and ends up walking past and getting a bit lost. As soon as I restart the script, it finds its way back and continues what it's doing. I was wondering if there was some sort of restarter for SCAR, either separate from the scar script, or one made by scar itself. I'd imagine its not too hard to do, but I was just wondering if someone could save me the time by pointing me in the right direction

The script is stopping, after it gets lost, then when I manually press the start button, it works perfectly fine up until it gets lost again, then I have to restart it again.

I've searched forums/googled although I know that I possibly have over looked something.

(Excuse my ignorance if there is something I am completely not seeing in front of my face.)

~thanks

Lee Lok Hin
01-10-2009, 01:44 PM
To the best of my knowledge, there isn't a restartscript. But, with a bit of simple coding and reading the mainloop, you should be able to make a failsafe:


if not(LoggedIn) then
if Players[currentplayer].loc = 'Usually lost place' then
Nextplayer(true);


Nextplayer true IN GENERAL "restarts" the script.

1337w33d
01-10-2009, 01:49 PM
To the best of my knowledge, there isn't a restartscript. But, with a bit of simple coding and reading the mainloop, you should be able to make a failsafe:


if not(LoggedIn) then
if Players[currentplayer].loc = 'Usually lost place' then
Nextplayer(true);


Nextplayer true IN GENERAL "restarts" the script.

Hmm yeah, I was thinking something like WoWglider's restarter thing. I'll just have to modify that then, although I think the script already has it, then I'll just have to set up another player (solo autoing = lose).
Thank you (:

MylesMadness
01-10-2009, 03:24 PM
Well, if it gets laggyer and laggyer, its a memory leak in the script