Heres the deal: it is supposed to sit there and twitch the screen until it finds the dtm, sometimes it does, but sometimes it clicks at the edge of mmx1 mmy2 and just goes on and ignores all my failsafes. It's like the logoff and exit command dont work in my scar. (im using scar 3.15 with srl 16). Help me?
SCAR Code:function WalkDTM(cDTM : Integer) : boolean;
var c : TPoint;
begin
ii := 0
if not LoggedIn then Exit;
Randoms;
SetRun(True);
while not DTMRotated(cDTM, c.x, c.y, MMX1, MMY1, MMX2, MMY2) do
begin
if ii > 20 then
begin
ii := 0
logout;
exit;
end;
twitch;
ii := ii + 1;
end;
Mouse(c.x, c.y, 0, 0, true);
fflag(5);
result := true;
end;





Reply With Quote









