Log in

View Full Version : It has been 3 minutes and...



Shatterhand
10-09-2012, 07:31 PM
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.

tls
10-09-2012, 07:34 PM
Are you on fixed or re-sizable resolution?

Solar
10-09-2012, 07:37 PM
This has been happening to me too after the six hour restart the last couple of days.

Shatterhand
10-09-2012, 07:37 PM
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
10-10-2012, 01:16 AM
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
10-13-2012, 06:23 PM
Babysitting to try and catch it as its happening..

litoris
10-13-2012, 06:25 PM
RSReady checks for colors in a few places, maybe the coordinates got screwed up?

Ashaman88
10-13-2012, 07:05 PM
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
10-14-2012, 04:48 AM
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
10-14-2012, 04:51 AM
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
10-14-2012, 07:55 AM
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
10-14-2012, 08:25 AM
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
10-14-2012, 09:12 AM
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
10-17-2012, 10:26 PM
Has this been confirmed to be fixed? I have a few people reporting the same problem on a few of my scripts

Shatterhand
11-16-2012, 09:22 PM
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
11-16-2012, 09:24 PM
Do you use any antiban that moves the mouse off of the client screen?

Shatterhand
11-16-2012, 09:26 PM
Do you use any antiban that moves the mouse off of the client screen?
Nope. Why?

riwu
11-16-2012, 11:54 PM
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
11-17-2012, 08:11 AM
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
11-17-2012, 01:15 PM
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
11-17-2012, 02:34 PM
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
11-17-2012, 02:41 PM
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
11-20-2012, 08:41 AM
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.