Results 1 to 6 of 6

Thread: Detect if SMART fails to start

  1. #1
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default Detect if SMART fails to start

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

  2. #2
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    **Update**


    Looking through source code, I believe it is this:

    if (Smart_Server = 0)


    Correct me if i am wrong pls

  3. #3
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

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

  4. #4
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    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.
    Current activity: Recovering from vacation
    - Nulla pars vitae vacare officio potest -
    SRL membership? Can I buy that?
    Scripts - AGS - SWF - WAR - EMS - W100S-EM
    If you need scripting help, you can pm me. Remember, if you need help you have to ask for it properly though

  5. #5
    Join Date
    Aug 2006
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  6. #6
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •