Dgby714
2010-03-08 08:25:38
Changes:
- Fixed a problem with the password field
- Updated two of the Actions
Index: SRL/core/Login.scar
===================================================================
--- SRL/core/Login.scar (revision 415)
+++ SRL/core/Login.scar (working copy)
@@ -438,7 +438,7 @@
Wait(100+Random(50));
//Type Password
- while (CountColor(16777215, 255, 270, 240, 285) > 0) do
+ while (CountColor(16777215, 255, 270, 385, 285) > 0) do
begin
TypeByte(VK_BACK);
Wait(50+Random(50));
@@ -457,22 +457,18 @@
case (CountColor(16777215, 253, 170, 510, 290)) of //Number of text colour points
// Actions := ['WriteLn Text', TimeToWait, NumberOfRetries, 'FinalAction', 'PlayerStatus'];
949: Actions := ['Invalid Username / Password', 0, 2, 'NextPlayer', 'Wrong User/Pass'];
+ 1222: Actions := ['Error Connecting.', 20000, 9, 'Terminate', 'Error Connecting'];
1549: Actions := ['Your account is already logged in', 5000, 0, 'RandomNextPlayer', ''];
1608: Actions := ['Not a Members Account', 0, 0, 'NextPlayer', 'Non-member'];
1610: Actions := ['Too many incorrect logins.', 5 * 60000, 2, 'NextPlayer', ''];
+ 1994: Actions := ['Your account has been disabled', 0, 0, 'NextPlayer', 'Acc Disabled'];
2106: Actions := ['You are standing in a members-only area.', 0, 0, 'NextPlayer', 'In Mems-Only Area'];
{Havnt been updated yet =)}
- //711: If (CountColor(16711680, 341, 219, 391, 233) = 128) then
- // Actions := ['Your account has been disabled', 0, 0, 'NextPlayer', 'Acc Disabled'];
//555: Actions := ['The Server is being updated.', 60000, 4, 'Terminate', 'Server Updating'];
- //218: Actions := ['Error Connecting.', 20000, 9, 'Terminate', 'Error Connecting'];
//335: Actions := ['Unable to connect Login Server offline.',(20000) + Random(6000), 4, 'Terminate', 'Login Server Offline'];
//512: Actions := ['RuneScape has been updated. Script Terminated.', 0, 0, 'Terminate', 'RS Updated'];
//489: Actions := ['Connection timed out.', 0, 4, 'Terminate', 'Connection Timed Out'];
-
- {Not needed anymore}
- //536: Actions := ['Login limit exceeded. Please wait 1 minute and try again.', 60000, 2, 'NextPlayer', ''];
end;
if (Length(Actions) > 0) then