SRL Archive - SRL Archives

Another Login.scar


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

Wanted

2010-03-08 10:41:34

while (CountColor(16777215, 255, 270, 385, 285) > 0) do


1994: Actions := ['Your account has been disabled', 0, 0, 'NextPlayer', 'Acc Disabled'];

Thanks for that

I already got the other stuff, I'm gonna reorganize the entire login procedure… should be commited before the end of today.

Dgby714

2010-03-08 12:25:58

From: IceFire908
while (CountColor(16777215, 255, 270, 385, 285) > 0) do


1994: Actions := ['Your account has been disabled', 0, 0, 'NextPlayer', 'Acc Disabled'];

Thanks for that

I already got the other stuff, I'm gonna reorganize the entire login procedure… should be commited before the end of today.


O.o ive been working on fixing standards in SRL lol ive finished skills and most of misc =)

Gu3st...

2010-03-08 15:39:47

From: Dgby714
O.o ive been working on fixing standards in SRL lol ive finished skills and most of misc =)
Don't bother.. They never committed my fixes..
http://villavu.com/forum/showthread.php?t=53893

Dgby714

2010-03-08 15:44:24

From: Zyt3x
Don't bother.. They never committed my fixes..
http://villavu.com/forum/showthread.php?t=53893


I already did it lol >.> took me a few hours…

Wanted

2010-03-08 16:21:25

From: Zyt3x
Don't bother.. They never committed my fixes..
http://villavu.com/forum/showthread.php?t=53893


Interesting, but it's been a while since those were made, one or two significant updates ago. (before I was on the team even ;) )

Perhaps you can reevaluate what you have posted and make a new thread so it can be examined and considered carefully?

Gu3st...

2010-03-08 16:25:38

From: IceFire908
Perhaps you can reevaluate what you have posted and make a new thread so it can be examined and considered carefully?
Looks like Dgby714 did it for me :)

Dgby714

2010-03-08 16:30:16

From: Zyt3x
Looks like Dgby714 did it for me :)


I didnt realy update anything just a big standards fix =)