hey ok i have no real experiance with scar programing but ive done other languages so im just kinda patching stuff ive found in the premade files that come with scar together to build my own auto fighter for a moded version of runescape 1.
ok so i have a if color found click on it, but now i need to make it do something if those monsters colors were not found. what would i use to do that? and also i need the script to press the left and right buttons to look around the map to find more monsters if it still cant find them.
heres what i got so far..
SCAR Code:program GoblenKiller;
var
x, y: Integer;
begin
repeat
if(FindColorTolerance(x, y, 251224, 1, 1, 350, 320, 25))then
begin
MoveMouse(x, y);
ClickMouse(x, y, True);
Wait(500);
end;
if(FindColorTolerance(x, y, 9666382, 1, 1, 350, 320, 25))then
begin
MoveMouse(x, y);
ClickMouse(x, y, True);
Wait(500);
end;
if(FindColorTolerance(x, y, 4208674, 1, 1, 350, 320, 25))then
begin
MoveMouse(x, y);
ClickMouse(x, y, True);
Wait(500);
end;
if(FindColorTolerance(x, y, 251224, 1, 1, 350, 320, 25))then
begin
MoveMouse(x, y);
ClickMouse(x, y, True);
Wait(500);
end;
until(False)
end.
you know what i suck at programing scar so maby just rewrite anything you want to make it better.. thanks!
oh yeah btw, in old runescape you cant retreat before 3 turns of fighting, and id kill these guys so fast that it dosnt matter that you keep clicking around while your fighting.



Reply With Quote

















