SRL Archive - SRL Archives

Login.scar UnNeeded Mouse


YoHoJo

2009-12-07 20:54:12

    WriteLn(Capitalize(Players[CurrentPlayer].Name));
TypeSend(Players[CurrentPlayer].Name);
Wait(100+random(50));

//Type Password
Mouse(315, 334, 10, 5, True);

The last line "Mouse(315, 334, 10, 5, True);" clicks he password field of the login screen. This is not necessary because the username is typed using Typesend, which presses enter (and therefore moves typing cursor to the password field).

Nothing super, but its extra and unneeded, and it bugs me :p

marpis

2009-12-08 05:25:46

Well it's a failsafe incase the cursor somehow doesn't go to the password field :rolleyes:

ZephyrsFury

2009-12-08 09:08:14

From: marpis
Well it's a failsafe incase the cursor somehow doesn't go to the password field :rolleyes:


That was my initial intention but I don't believe there's really a need for it. I'll go ahead and test it, but I doubt there'll be a problem with its removal.

Gu3st...

2009-12-08 10:02:06

It's never failed me and I removed it manually..

ZephyrsFury

2009-12-08 11:46:39

I'll remove it next time I commit. Ty.