SRL Archive - Help

It has been 3 minutes and...


Shatterhand

2012-10-09 15:31:11

My scripts keep crashing with this error:
'It has been 3 minutes and Runescape is not yet ready… Terminating.'

Its in login.simba/LoginPlayerToLob


T := GetSystemTime;
repeat
if (RSReady) then
Break;
if ((GetSystemTime - T) > 180000) then
begin
WriteLn('It has been 3 minutes and Runescape is not yet ready... Terminating.');
TerminateScript;
end;
Wait(RandomRange(1000, 2000));
until (False);
WriteLn('Welcome to Runescape.');
The account was in lobby.
RSReady should return true if we are in lobby screen so I have no clue why it stucks there.

mormonman

2012-10-09 15:34:23

Are you on fixed or re-sizable resolution?

Solar

2012-10-09 15:37:43

This has been happening to me too after the six hour restart the last couple of days.

Shatterhand

2012-10-09 15:37:54

From: mormonman
Are you on fixed or re-sizable resolution?

Fixed, using SMART. The script was running fine for 3 hours. I think there was a disconnect and I got kicked out to lobby.
Made tests on the lobby, LobbyScreen returned True.

Lalaji

2012-10-09 21:16:40

This kept happening to me. Then realized that I {$define SMART} was commented and that is why SMART never opened up.
Not saying you are as unfocused as me, but are you sure SMART is enabled?

Crazydictator

2012-10-13 14:23:08

Babysitting to try and catch it as its happening..

litoris

2012-10-13 14:25:48

RSReady checks for colors in a few places, maybe the coordinates got screwed up?

Ashaman88

2012-10-13 15:05:36

I had this problem too, I think it has to do with smart losing focus. I was clearly logged in, but it would still do it, so I had the script check if it's been 2 minutes and nothing has happened, disable then reenable smart (can't remember those functions) which always fixed it. This was on smart 8.0 and only happened on certain scripts

litoris

2012-10-14 00:48:00

From: Ashaman88
I had this problem too, I think it has to do with smart losing focus. I was clearly logged in, but it would still do it, so I had the script check if it's been 2 minutes and nothing has happened, disable then reenable smart (can't remember those functions) which always fixed it. This was on smart 8.0 and only happened on certain scripts


Oh, could it be about the ActivateClient function maybe? ie. not using it?

riwu

2012-10-14 00:51:14

Could be due to http://villavu.com/forum/showthread.php?t=90988?
You lagged, but remains logged in, but script will think you're logged out, and client area will be set wrongly. I've already sent a pull request.

Shatterhand

2012-10-14 03:55:02

From: riwu
Could be due to http://villavu.com/forum/showthread.php?t=90988?
You lagged, but remains logged in, but script will think you're logged out, and client area will be set wrongly. I've already sent a pull request.

This might be the problem. :spot:

riwu

2012-10-14 04:25:41

From: Shatterhand
This might be the problem. :spot:

Try testing it and see if you still get the problem then.
https://github.com/SRL/SRL-5/pull/85/files

Change the bitmap and search area.

Shatterhand

2012-10-14 05:12:48

From: riwu
Try testing it and see if you still get the problem then.
https://github.com/SRL/SRL-5/pull/85/files

Change the bitmap and search area.

Ok, replaced the globals.simba files. Testing it now. :)

Ashaman88

2012-10-17 18:26:57

Has this been confirmed to be fixed? I have a few people reporting the same problem on a few of my scripts

Shatterhand

2012-11-16 16:22:54

Its still not fixed. I get this error a lot of times.
The reason I get this error that many times is my script does LoginChecks frequently, and im sure like 1 out 100 times LoggedIn returns false.

Ashaman88

2012-11-16 16:24:40

Do you use any antiban that moves the mouse off of the client screen?

Shatterhand

2012-11-16 16:26:30

From: Ashaman88
Do you use any antiban that moves the mouse off of the client screen?

Nope. Why?

riwu

2012-11-16 18:54:34

From: Shatterhand
Its still not fixed. I get this error a lot of times.
The reason I get this error that many times is my script does LoginChecks frequently, and im sure like 1 out 100 times LoggedIn returns false.

If LoggedIn ever return false, this is definitely the problem:
http://villavu.com/forum/showpost.php?p=1124856&postcount=12

Think i'll add a temp change to CTS 1 upon entry to FoundBar..

Shatterhand

2012-11-17 03:11:18

From: riwu
If LoggedIn ever return false, this is definitely the problem:
http://villavu.com/forum/showpost.php?p=1124856&postcount=12

Think i'll add a temp change to CTS 1 upon entry to FoundBar..

I always set CTS back to 1. This isnt the problem. :(

Ashaman88

2012-11-17 08:15:14

IMO it has to do with smart losing focus. If you implement my pull request on github see if that stops it from happening

Shatterhand

2012-11-17 09:34:59

From: Ashaman88
IMO it has to do with smart losing focus. If you implement my pull request on github see if that stops it from happening

Okay, thanks, testing it now. :)
EDIT: not working, wont even log in. Starts smart without focus on it.

riwu

2012-11-17 09:41:13

From: Ashaman88
IMO it has to do with smart losing focus. If you implement my pull request on github see if that stops it from happening

It has never happened to any of my scripts though, maybe you can compare your scripts to Shatter's and see what's common in them?

CephaXz

2012-11-20 03:41:57

I had this problem for a few days now with my script, it only occurs everytime after the sixhourfix restart. It logs me in to the lobby and get stucked there.

Does anyone has a solution yet? I forced the loginplayer to click on "Play" without checking lobbyscreen, but its not even clicking too.