opiumhautopium1 Posted February 14, 2012 Share Posted February 14, 2012 (edited) got always problems with FindcolorSpiralTolerance for TY:=0 to High(Box) do if (FindcolorSpiralTolerance(Boxx,Boxy,Box[TY],bkx1, bky1, bkx2, bky2,1)=true)then begin writeln('Check Box '+inttostr(Boxx)+'/'+inttostr(Boxy)+'/'+inttostr(TY)+'/'+inttostr(Box[TY])); mouse(Boxx,Boxy); sendkey(zentrieren); break; end; Runtime error (609 ms) Execution error line 798 (if find color) acess violation at add 00df8480 in module 'scar.exe`Read of add 04c719ac var Box : TIntegerArray; and i got the right sf window aktivatet ;-P i dont know whats wrong so please help me greetings at 5 o clock in the morning Edited February 14, 2012 by opiumhautopium1 Link to comment Share on other sites More sharing options...
shadowrecon Posted February 14, 2012 Share Posted February 14, 2012 your going outside of your box, in you for loop do this (High(Box) - 1) Link to comment Share on other sites More sharing options...
opiumhautopium1 Posted February 14, 2012 Author Share Posted February 14, 2012 (edited) your going outside of your box, in you for loop do this (High(Box) - 1) done but the same as before good mornig and send a cup of coffee Edited February 14, 2012 by opiumhautopium1 Link to comment Share on other sites More sharing options...
FHannes Posted February 14, 2012 Share Posted February 14, 2012 Please only report bugs in the bug tracker, also, this has already been reported. http://bug.scar-divi.com/view.php?id=37 Link to comment Share on other sites More sharing options...