Sorry, I cant see the script but i made this function to find the maple for you... Dunno if its useful? It moves mouse to the tree and if the uptext is 'Maple' then it gets the mouse position and stores it.
You need to add two different maple colors where I have put {Maple Color}. But enjoy if its useful... Creds for me if you dooo!
SCAR Code:
Function FindMaple(var x,y: Integer): Boolean;
Var
MapleP: TPointArray;
TP: Tpoint;
Maple: T2DPointArray;
I: Integer;
Begin
If Not LoggedIn then Exit;
ColorToleranceSpeed(2);
FindColorsSpiralTolerance(MSCX, MSCY, MapleP, {Maple Color}, MSX1, MSY1, MSX2, MSY2, 5);
If Length(MapleP) = 0 then
FindColorsSpiralTolerance(MSCX, MSCY, MapleP, {Maple Color}, MSX1, MSY1, MSX2, MSY2, 5);
Maple:= TPAtoATPAEx(MapleP, 40, 40);
for i := 0 to Length(Maple)-1 do
begin
TP := MiddleTPA(Maple[i]);
MMouse (TP.x, TP.y, 3, 3);
Inc(Times);
Wait(200+Random(100));
if IsUpText('Maple') then
begin
GetMousePos(x, y);
Result:= True;
Writeln('Maple found at X: '+inttostr(x)+' Y: '+inttostr(y));
ColorToleranceSpeed(1);
Exit;
end;
If Times = 8 then
Begin
Writeln('Not Found Deposit Box, Exiting');
Exit;
end;
Wait(800+random(500));
end;
end;
Thanks.