I've been trying for awhile and i can't get scar to recognize the bitmap picture. heres my coding. its my first try with it. any tips? thanks in advance
Code:
program red;
var
x,y: Integer;
tar3: Integer;
procedure loadtarget;
begin
tar3 := BitmapFromString(30, 30, 'beNrt1UsKACAIBNBq2wH60P2v' +
'aXSAonTsAw2uH7MQJfphxpg21pJzMG0wcJCNL8mT+KoJwb0XyezOY' +
'1zCTsohIPFSpJ17ckoAtocrdY4RIG/unLOWvGefb8MP3jqe/9BbUX' +
'qyP8dTASy9QDw=');
end;
procedure usebitmap;
begin
if(FindBitmapSpiralTolerance(tar3,x,y,219,264,797,367,255)) then
MoveMouse(x,y);
getmousepos(x,y);
ClickMouse(x,y,true);
wait(500)
end;
begin
loadtarget;
ClickMouse(477,331, true);
wait(500+random(200))
repeat
usebitmap;
until(false);
end.

