SRL Archive - First Scripts

Minkinos Auto Login


Minkino

2008-07-05 22:45:04

Hey this is My First Script its an Auto Login with S.M.A.R.T Note: I Have Not tested to see if it works with smart. Could you Please Go Over It.. Also Is there some way to add a Const to fill in Login Details. Thanks.:sasmokin:

turbobk

2008-07-05 23:05:13

I have fixed it up for you..

The way you had your mouse movements your account would of been banned pretty fast.

Never use 1 as a random value.. Mouse(342, 52, 1, 1, True);

program AutoLogin;
{.Include SRL\SRL\Misc\Smart.scar}
{.Include SRL\SRL.scar}

{-------------------------------------------------------------}
{-------------------------------------------------------------}
{--------------Welcome To Minkinos Auto Login Script----------}
{-------------------------------------------------------------}
{-------------------------------------------------------------}

// Simply type user and pass in the below section\\
//<><><><><><>-Select Your Client-<><><><><><><><><\\
//<><><><><><><><><>-And Play-<><><><><><><><><><><><\\
Const
Username := ''; // Set Runescape Username
Password := ''; // Set Runescape Password


Procedure TypeInUserAndPass;
begin
TypeSend(Username); // Set in the Const :)
Wait(1000+Random(1000));
Typesend(Password); // Set in the Const
WriteLn('SucessFully Typed In user and pass');
end;

Procedure ClickOnLogInButton;
begin
Mouse(378, 171, 5, 5,true);
Wait(1000+Random(3000));
WriteLn('Sucessfully clicked on Log In button');
end;

Procedure ClickOnPlay;
begin
wait(5000+Random(7000));
Mouse(376, 348, 10, 5,true);
WriteLn('Sucessfully Clicked On Play');
end;


begin
SmartSetUp('world38', True, True); {World prefix. Use low detail. Use unsigned Java.}
SetTargetDC(SmartGetDC);
SetUpSRL;
Activateclient;
ClickOnLogInButton;
TypeInUserAndPass;
ClickOnPlay;
end.

Minkino

2008-07-05 23:06:25

Thanks does it Work With S.M.A.R.T

turbobk

2008-07-05 23:08:06

I'm not sure, It should…

Give it and try and find out ;)

0wn 4 skill

2008-07-06 05:47:32

Use MouseBox to make it less detectable

MouseBox(x1,y1,x2,y2,1)

To use, use colour picker at the top left of the option "Log in" and then at the bottom left. Ignore the colours and just add the Co-ordinates in order.
Goodluck!! You could also try making bitmaps with this to make it better!! Maybe failsafes too?

PvH

2008-07-06 05:54:57

Smart doesn't work atm, world urls have been changed;)
It will be updated soon^^
Good job on the script, but yes, try adding failsafes and mousebox:)

PvH

bigboi

2008-07-06 06:03:50

Ah that would explain why I couldn't get smart to work haha :P

Thanks for the update PvH!

0wn 4 skill

2008-07-06 08:55:08

Aparently BenLand100 has sent Wizzup? a updated Smart. I think its still in testing but u never know!

turbobk

2008-07-06 09:42:19

From: 0wn 4 skill
To use, use colour picker at the top left of the option "Log in" and then at the bottom left.


You mean the top left then the bottom 'right' corner ;)

Minkino

2008-07-06 20:38:51

Do i have to put random with mouse box or is it just click withing the perimeter of the box??

turbobk

2008-07-06 22:26:15

MouseBox clicks anywhere in the perimeter of the co-ords

So there for, alot less detectable. :)

Minkino

2008-07-07 01:35:33

Ok thank added const (figured out how to then read post) and adding Mouse Box Now.