SRL Archive - Help

I forgot how! please help.


freepure

2012-11-09 10:54:19

hello everyone, i used to script on scar long ago. anyway thats not important. im playing a private server of runescape and im useing scar to write myself a fighting script. now my problem is i need to right click on the monster but i forgot how to move the mouse to the "attack" button after right clicking. i know its so simple and i'll get alot of crap for this but i could use the help. thanks (:

program Turoth;

//Constant//
const
Turoth=3815999;

//variable//
var
x,y:integer;


///Lets kill some monsters///

///////////MonstaMashBaby//////////////////
begin
repeat
(Findcolor(x,y,Turoth,532,3,1264,464));
begin
MoveMouse(x,y);
wait(100);
ClickMouse(x,y,false);
wait(1000);

end;
until(false);
end.

Lalaji

2012-11-09 16:10:02

if you dont want to include declare include SRL, i think the easiest way to do it would be to
 (Findcolor(x,y,Turoth,532,3,1264,464));
begin
MoveMouse(x,y);
wait(100);
ClickMouse(x,y,false);
wait(1000);
ClickMouse(x +10, y + 50, True)

I think its the first option(?) but you may have to change the +10 and +50 a little bit.

Sax

2012-11-09 17:00:54

I think it is chooseoption('optionstringhere');
at least in simba.

Rezozo

2012-11-09 17:02:46

^^^srl

Justin

2012-11-09 18:37:16

Since you are on a Private Server, the fonts could be different to what the current RuneScape is using. Try taking a bitmap of the Attack option then after your clickmouse function, do a search for the attack bitmap and click it

Ian

2012-11-09 18:44:35

If you're more used to DTMs you could make one of those too.

freepure

2012-11-10 04:58:06

you guys are great! that first example worked perfectly! <3<3<3 F_CKING AWESEOME! lol i appreciate the help and the fast replys. (:

btw im playing soulsplit. its usually pretty up to date with the runescape graphics.