SRL Archive - OSR Help

Help Closing and Restating SMART in Script


ekips88

2013-01-03 07:36:13

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/master/SRL/misc/SmartParams.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

Austin

2013-01-03 07:56:08

SRLSixHourFix := True

In the main loop.

ekips88

2013-01-03 08:33:52

From: Austin
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

Austin

2013-01-03 08:58:04

Are you using SMART for something other than RS?

ekips88

2013-01-03 09:49:00

From: Austin
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.

Austin

2013-01-03 09:55:37

From: ekips88
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).

ekips88

2013-01-03 10:15:55

From: Austin
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