SRL Archive - RS3 Outdated / Broken Scripts

Tutorial Request


RudeBoiAlex

2007-03-03 10:07:35

I need an srl tutorial because iwanna script for rs not use clickmouse ive read the things the begging tuts dont teach u but ineed a full tut any help please

JAD

2007-03-03 11:33:38

actually I just made a tut for that about 6 days ago :p click the "things the beginner tuts don't teach you" links in sig. that should help you out (I hope).

RudeBoiAlex

2007-03-03 12:02:29

yeah i tryied that but i dont want a movemouse thing i want it to be completely undectable like i neeed it to click a color but that script did help me

JAD

2007-03-03 12:20:32

clicking a color is moving the mouse to the color, so you would do something (like in the tutorial) like this:

program WhatEver;
procedure IDontCare;
begin
if(FindColorSpiralTolerance(x,y,color,coords,coords,coords,coords,tolerance))then
begin
MMouse(x,y,2,2);
wait(50+random(100));
Mouse(x,y,2,2,true);
end;
begin
IDontCare;
end.
that would be clicking on a color, and you would have to use MMouse and Mouse to do that (unless your a very advanced scripter, which they use that still, but just not very often) so that is how you click on a color as shown in the example above, and in the tutorial.

RudeBoiAlex

2007-03-03 12:27:20

wat i put as the tolerance?

Boreas

2007-03-03 17:01:29

MMouse(x,y,2,2);
wait(50+random(100));
Mouse(x,y,2,2,true);

This is bad. Mouse includes MMouse so just

Mouse(x,y,2,2,true);

is fine.

The only reason to separate the moving and clicking is if you want to do something else in between, in that case use this

MMouse(x,y,2,2);
//something else, like an uptext check
GetMousePos(x,y);
Mouse(x,y,0,0,true);//no randomness here, because it was above