SRL Archive - General Botting Help

Quick Question Please help


Kozs

2013-03-04 18:32:10

Is it possible to make it so when I walk near the object, it detects and clicks it… For my Script I just want it to smith Rune2h's I spent like 3 days on it so far its very frustrating

Program SmithingRune2h;
{$i srl/srl.simba}
Procedure ClickBank;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 5264475, 718, 193, 718, 193, 5000) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
wait(3150);
Mouse(475,133,0,0,Mouse_Right); //selects rune bar
wait(3150);
Mouse(486,244,0,0,Mouse_Left); //withdraw all
wait(3150);
end;
end;
Begin
MouseSpeed := 15;
ClickBank;
SetupSRL;
end.

Le Jingle

2013-03-04 18:41:21

Have you seen Ashaman88's Varrock West Bank Smither? If you're on normal RS, this would probably be ideal for the short description you asked. Aside from me suggesting tutorials, if you would like to give some more information to your snippet, I could try to help you out from there.

Cheers,
Lj

Sjoe

2013-03-04 18:43:31

Try using AutoColorAid for color picking and use FindObject since it will check for the correct uptext too.
Guide on AutoColorAid http://villavu.com/forum/showthread.php?t=71074

Also put SetupSRL; at the beginning of your main loop.

Begin
SetupSRL;
MouseSpeed := 15;
ClickBank;
end.

Kozs

2013-03-04 18:53:20

@Le Jingle;

I'm playin on a RSPS I ONLY need the Rune 2h's