I need a FindObj function that is good for finding willow tree's or certain colors....(if it has tolerance it is good 2).
Any idea?
I need a FindObj function that is good for finding willow tree's or certain colors....(if it has tolerance it is good 2).
Any idea?
Custom TPA's?
Originally Posted by irc

FindObjTPA or custom TPA's would probably be the best answer.
I have something like this right now that find the willow, but, it keep clicking chopwillow chopwillow over and over again, how would i make it stop doing that and wait for the willow to be "chopped"?SCAR Code:procedure ChopTree;
var
X,Y: Integer;
CuttingTime: integer;
Tries: integer;
begin
MarkTime(CuttingTime);
MakeCompass('S');
repeat
if FindObjCustom(x , y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7) then
begin
Mouse(x,y,0,0,false);
if(IsUpText('Chop'))then
Wait(5000 + (random(150)));
ChooseOption('hop')
if (not (FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7))) then
Wait(100+random(100));
Tries := Tries + 1;
if(Tries = 50)then
begin
Writeln ('Willow Logs not found. Switching Players..');
Logout;
NextPlayer(False);
Exit;
end;
end;
until(InvFull) or (TimeFromMark(CuttingTime) > 800000+random(60000));
end;
Also anyone know a good FindAxe function?
There are currently 1 users browsing this thread. (0 members and 1 guests)