Results 1 to 7 of 7

Thread: Help Closing and Restating SMART in Script

  1. #1
    Join Date
    Oct 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Help Closing and Restating SMART in Script

    Hi everyone, I'm new to Simba and Pascal and would greatly appreciate your help with one of my first scripts.

    In this script, an important feature is closing the current SMART and opening a new one in order to log in a new account. I have no difficulty with logging the accounts in, but my problem arises at closing and opening SMART.

    I believe the functions necessary are at: https://github.com/SRL/SRL-5/blob/ma...rtParams.Simba

    (SmartKillClient, SetupSmart, etc.)

    However, I am struggling with using these functions. I either receive an error or they simply do nothing.

    I would greatly appreciate it if someone could explain to me how to properly use the functions necessary and/or give me an example of each in use.

    Thank you in advance

  2. #2
    Join Date
    May 2012
    Location
    Somewhere in, PA
    Posts
    1,810
    Mentioned
    9 Post(s)
    Quoted
    226 Post(s)

    Default

    Simba Code:
    SRLSixHourFix := True

    In the main loop.
    My First Build!, Selling Downloadable Games
    -------------------------------------

  3. #3
    Join Date
    Oct 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Austin View Post
    Simba Code:
    SRLSixHourFix := True

    In the main loop.

    Thanks for replying, unfortunately the six hour fix does not resolve the issue with my current script

    Strangely enough though, while I've been stuck on this problem the past couple days I somehow found the solution ~30min after finally giving up and posting my question on Villavu


    However, I'll leave this thread up in case anyone else has comments/questions on this topic

  4. #4
    Join Date
    May 2012
    Location
    Somewhere in, PA
    Posts
    1,810
    Mentioned
    9 Post(s)
    Quoted
    226 Post(s)

    Default

    Are you using SMART for something other than RS?
    My First Build!, Selling Downloadable Games
    -------------------------------------

  5. #5
    Join Date
    Oct 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Austin View Post
    Are you using SMART for something other than RS?
    It's for RS

    I'm still a bit of a rookie with SRL, but I was under the impression that the six hour fix waited several hours then refreshed SMART (please correct me if I'm wrong). The function I needed and created kills and restarts SMART precisely when I need it done in the script.

  6. #6
    Join Date
    May 2012
    Location
    Somewhere in, PA
    Posts
    1,810
    Mentioned
    9 Post(s)
    Quoted
    226 Post(s)

    Default

    Quote Originally Posted by ekips88 View Post
    It's for RS

    I'm still a bit of a rookie with SRL, but I was under the impression that the six hour fix waited several hours then refreshed SMART (please correct me if I'm wrong). The function I needed and created kills and restarts SMART precisely when I need it done in the script.
    The SixHourFix closes and restarts SMART when it sees the "your game client has expired" message (when it tries to log in).
    My First Build!, Selling Downloadable Games
    -------------------------------------

  7. #7
    Join Date
    Oct 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Austin View Post
    The SixHourFix closes and restarts SMART when it sees the "your game client has expired" message (when it tries to log in).
    Thanks for clarifying that

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
  •