SRL Archive - RS Scripts

Hey my first ever script


poomasterscar

2007-04-29 12:27:08

Hey yall i know this is probly crappy buy i though id post to see what yall think.

program AutoLogin;
{.include Rswalker.txt}

const
Username='username';
Password='Password';
Begin
Movemouse(470,291);
Wait(1000);
ClickMouse(470,291,true);
Movemouse(370,258);
Clickmouse(470,291,true);
Wait(1000);
Sendkeys(Username);
Wait(1000);
Movemouse(334,435);
Wait(1000);
ClickMouse(344,273,True);
Wait(1000);
Sendkeys(Password);
Wait(1000);
Movemouse(304,321);
ClickMouse(304,321,true);
Wait(5000);
Movemouse(396+Random(5),333-random(5));
Wait(1000);
ClickMouse(396+random(5),333-random(5),True);
End.

JAD

2007-04-29 13:02:01

Good try for your first script, but this script would get you banned. Never use MoveMouseSmooth, MoveMouse, MoveMouseSmoothEx or ClickMouse. They will all get you banned! Here, let me show you how you could make it a LOT less detectable (To learn about the commands I use, visit my tut (links in sig) Things the beginner tuts don't teach you)


program AutoLogin;
{.include Rswalker.txt}

const
Username='username';
Password='Password';
Begin
Mouse(470,291,5,5,true);
Mouse(470,291,5,5,true);
Wait(1000+random(500));
TypeSend(Username);
Wait(1000+random(500));
TypeSend(Password);
Wait(1000+random(500));
Mouse(304,321,5,5,true);
Wait(5000+random(1000));
Mouse(396,333,5,5,True);
End.

Much less detectability from Jagex there. See how I added randomness to your waits too? So it doesn't wait exactly 1 second each time, or exactly 5 seconds each time…etc. To learn about the other commands I used, like I said above this, visit my tut :D

PwNZoRNooB

2007-04-29 13:44:28

But isn't it easier to use the LogIn that's in SRL or is there :confused: ?

JAD

2007-04-29 14:06:03

Its his first script, and its good that he made a custom one, because thats how you learn. Even though a procedure like that is made in SRL, it wouldn't be hard to just put LoginPlayer. This is just practice so that he remembers his code, and has fun with it.

poomasterscar

2007-05-02 20:19:50

Ty you Jad. I found that i like coding and its fun to do.I will keep learning. Right now im also learning to program pascal which scar is made out of right? I will read your tut. Also another question. should i take the risk of getting ip banned from this new runescape update? well im gonna work on my next script.

alach11

2007-05-02 23:10:37

Yes SCAR scripting is based off of pascel. Also ip bans are extremely rare, so unless you're doing some seriously bad stuff I doubt you're at risk.