okay, i'm redoing my cowkill and collecthide procedure in my cow killing script, and for my cow killing, it's fairly accurate, but it also finds bones
SCAR Code:
Procedure CollectHide;
var
j,p,highest,hide: integer;
H: Tpoint;
Hc: TpointArray;
Hca: TpointArrayArray;
begin
Hide := 12040128;
FindColorsSpiralTolerance(MSCx,MSCy,Hc,Hide,MSX1,MSY1,MSX2,MSY2,2);
if length(Hc) > 0 then
begin
Writeln('found some colors...');
Hca := SplitTpaEx(Hc,10,10);
highest := high(Hca);
for p := 0 to highest do
begin
if length(Hca) > 2 then
begin
H := MiddleTPA(Hca[j]);
if (h.x <> 0) and (h.y <> 0) then
begin
Mouse(h.x,h.y,5,5,False);
if Chooseoption('owhi') then
begin
{Fast}Flag;
//FindNormalRandoms;
//HidesPicked := HidesPicked + 1;
//Players[CurrentPlayer].integers[6] := Players[CurrentPlayer].integers[6] + 1;
Break;
end;
end;
end;
end;
end;
Wait(3000);
end;
i was wondering if maybe i could make it so that if that's not where i wanted it, i could make those coords go inactive, so as long as i'm doing that same findcolors procedure, it wouldn't go to that place