seafight17 Posted November 28, 2011 Share Posted November 28, 2011 (edited) hallo everyone i need your help in a "repair" some errors i have on the way to make one sript for a online game(seafight) Actually these days we are having event so i think the best way to get "advantage" is now! SO here we are these days we have some ice floe one picture of the game is http://imageshack.us/photo/my-images/197/10363524.jpg/ i made one sript that soposed to : 1)hit the ice floe by presing the "f" 2) moving arond the map 3)repair but it cant "find the icons" any soloutions? thanks myfirtsttest.scar Edited November 28, 2011 by seafight17 Quote Link to comment Share on other sites More sharing options...
opiumhautopium1 Posted November 30, 2011 Share Posted November 30, 2011 if you are german post it in the german corner it is easier to talk about Quote Link to comment Share on other sites More sharing options...
wundertüte Posted December 1, 2011 Share Posted December 1, 2011 maybe this helps you a bit function killscholle : boolean; var schussi, drivi : integer; begin drivi:=0; repeat inc(drivi); if (FindBitmaptolerance(attack, angriff_x, angriff_y, angriff_leuchtet_tolerance)=true) then begin writeln('attack gefunden - sendkey(angrifff);'); sendkey(angrifff); wait(300); if (FindBitmaptolerance(atttacking, angriff_abbrechen_x, angriff_abbrechen_y, abbrechen_tolerance)=true) then begin repeat if (gamemessages=true) then schussi:=1000; wait(1000); Inc(schussi); if (FindBitmaptolerance(atttacking, angriff_abbrechen_x, angriff_abbrechen_y, abbrechen_tolerance)=false) then begin result:=true; schussi:=1000; end; until (schussi>400); if (schussi>400) and (schussi<1000) then begin reload; // reload browser page end; drive; // start random drive end; end else writeln('attack nicht gefunden'); gamemessages; if (drivi>50) then begin result:=true; if(checkmove=true) then drive; end; until (result=true); end; Quote Link to comment Share on other sites More sharing options...
seafight17 Posted December 2, 2011 Author Share Posted December 2, 2011 hmmm i need more help pfff anyway danke wundertute Quote Link to comment Share on other sites More sharing options...
opiumhautopium1 Posted December 5, 2011 Share Posted December 5, 2011 i have understand a big thx wundertüte ^^ Quote Link to comment Share on other sites More sharing options...