SRL Archive - First Scripts

Autologin for more than one character


Brianb

2008-08-22 17:35:07

Yes i know that its not that great but it works so try it out post if you like it and just fill it out select rs as your client and click play :)





V1.2 "mouse" instead of "clickmouse" added

boss01

2008-08-22 18:25:52

Its is good you are tryng but using clickmouse and sendkeys is detectable by jagex and will get you banned. And there is no point re-inventing the wheel as SRL already has multiple player support built in.

Brianb

2008-08-22 19:12:39

wait so what do you use instead of clickmouse and sendkeys..

Shuttleu

2008-08-22 19:16:37

From: Brianb
wait so what do you use instead of clickmouse and sendkeys..

Mouse and SendKeys

~shut

Brianb

2008-08-22 19:25:00

Line 21: [Error] (21:1): Unknown identifier 'mouse' in script…..

Shuttleu

2008-08-22 19:28:10

thats because you didnt include srl
add this to the top of the script
{.include srl/srl.scar}

and add this just before the last login1;
setupsrl;

and assuming you have set all the perameters correctly it will work

~shut

Brianb

2008-08-22 19:31:01

i did what you said but now i get a new error
Line 22: [Error] (16045:22): Invalid number of parameters in script

Shuttleu

2008-08-22 19:38:16

well Mouse in scar is differant than ClickMouse
procedure ClickMouse(x, y: Integer; Left: Boolean);
procedure Mouse(mousex, mousey, ranx, rany: Integer; left: Boolean);
as you can see they are slightly differant
all you need to do is change it from something like
clickmouse(375, 172, true);
to
Mouse(375, 172, 5, 5, true);
there fixed as easily as that :D

~shut

Brianb

2008-08-22 19:41:12

thank you i changed it soo ill upload the new one. But i have a question. Whats the mouse(x, y, 5, 5, true) what are the 5's for?

Shuttleu

2008-08-22 19:45:00

well if you look at the description it is the randomness in pixels
so if it was told to click at point (100, 100) with a random of 5, 5 then it woulld click anywhere in the box (100, 100) (105, 105)

i hope you understand that

~shut