SRL Archive - OSR Help

Detect if SMART fails to start


slushpuppy

2012-03-20 12:29:06

is there a way to detect if SMART fails to launch, be it rs updates or just lag o.O?

slushpuppy

2012-03-20 14:05:03

**Update**


Looking through source code, I believe it is this:

if (Smart_Server = 0)


Correct me if i am wrong pls

Nebula

2012-03-20 17:19:09

If smart fails to launch (which usually doesnt happen…) you can just restart the script. No need for this.

Er1k

2012-03-21 04:42:13

From: Nebula
If smart fails to launch (which usually doesnt happen…) you can just restart the script. No need for this.


I think he is looking for a way for the script to detect that error and restate the script.

The only thing I know that checks this error is smartmanager.

zamserv

2012-03-21 05:51:14

it wont work for me now..

NKN

2012-03-23 13:42:41

 if not LoggedIn then
LoginPlayer;
Like that?
If you mean SMART not loading at all, you just have to restart the script.