SRL Archive - Bugs

loginplayer() and loginplayertolob() bug lead to can't login auto


pencilbi

2012-03-24 22:50:31

i met an error 'Client token changed' when login player.

screen was stop on lobby.

then i think this is a simba bug, because i can manual to login player by click 'play' button.

so i search the login.simba and fond this:



case (CountColor(LOGIN_TEXTCOLOUR, 260, 140, 510, 400)) of //text colour points
// WriteLn Error Wait for Retrys Action Player[CurrentPlayer].Loc
763, 2348, 2299:
Actions := ['Invalid Username / Password', 0, 2, 'PlayerFalse', 'Wrong User/Pass'];
1088: Actions := ['Your account has been disabled', 0, 0, 'PlayerFalse', 'Acc Disabled'];
951: Actions := ['Your account is already logged in', 5000, 5, 'PlayerTrue', 'Already logged in'];
1239: Actions := ['Not a Members Account', 0, 1, 'PlayerTrue', ''];
364: Actions := ['Error Connecting.', 20000, 9, 'Terminate', 'Error Connecting'];
1057: Actions := ['Too many incorrect logins.', 5 * 60000, 2, 'PlayerFalse', 'Too many logins'];
732: Actions := ['Runescape has been updated.', 0, 0, 'RSUpdate', 'RS Updated'];
//591: Actions := ['Client token changed.', 0, 0, 'RSUpdate', 'Client Token Changed'];
777: Actions := ['Login limit exceeded.', 20000, 10, '', 'Waiting for login.'];
end;


this code can find in loginplayer and loginplayertolob.
delete or let it become comment statement as u see below , then it works.

//591: Actions := ['Client token changed.', 0, 0, 'RSUpdate', 'Client Token Changed'];

Harry

2012-03-24 22:58:39

Uh, when you get that error you must restart RS.

pencilbi

2012-03-24 23:14:34

hi Harry, i was restart RS already when i met this error first time…but it was error again.

when i delete code below, my player auto login success.
//591: Actions := ['Client token changed.', 0, 0, 'RSUpdate', 'Client Token Changed'];

i think this is a SRL bug?