rsbots2013
2013-05-22 17:22:09
Can someone please help make this work or look and tell me why my mouse won't move to the spot my DTM is at. Many thanks.
procedure new;
var
x , y : integer;
i : Boolean;
begin
if FindDTMRotatedAlternating(spot1, x, y, MMX1, MMY1, MMX2, MMY2, -Pi/2, Pi/2, Pi/30, aFound) or
FindDTMRotatedAlternating(spot2, x, y, MMX1, MMY1, MMX2, MMY2, -Pi/2, Pi/2, Pi/30, aFound) or
FindDTMRotatedAlternating(spot3, x, y, MMX1, MMY1, MMX2, MMY2, -Pi/2, Pi/2, Pi/30, aFound) or
FindDTMRotatedAlternating(spot4, x, y, MMX1, MMY1, MMX2, MMY2, -Pi/2, Pi/2, Pi/30, aFound) then
else
begin
repeat
i := True;
until(i);
writeln('Found spot!');
wait(1000);
MoveMouse( x, y);
end
end;