Thats the problem exactly the problem I can't find anyother way of making it fast apoon object finding.
Simba Code:
Function MiningEnter:Boolean;
Var
T:Integer;
Begin
SPSPoints;
if FindObj_Mx(pX, pY,5400966,10,800,200,50,0.04,0.47,'Mine','ock')then
begin
Result:=True;
Report(7);
ClickMouse2(True);
MarkTime(T);
Repeat
Wait(350+Random(50));
Until((InArea(Point(185, 205),Point(290, 325))) Or (FindBlackChatMessage('fail'))Or(FindBlackChatMessage('reach that'))Or(TimeFromMark(T) > 16000));
If FindBlackChatMessage('reach that')then
Result := False;
end else
Result := False;
end;
Theres the whole function, I have 3 for different objects.
Mat