Ok so my scripts real sloppy, but for finding the fishspot im using this.
Var TPA : TPointArray;
ATPA : T2DPointArray;
I, X, Y : Integer;
Begin
SetupSRL;
FindColorsTolerance(TPA, 11248026, MSX1, MSY1, MSX2, MSY2, 10);
ATPA := TPAToATPAEx(TPA, 20, 20);
SortATPASize(ATPA, True);
For I := 0 To Low(ATPA) Do
Begin
If MiddleTPAEx(ATPA[I], X, Y) Then
MMouse(x, y, 0, 0);wait (20);
If IsUpText('et') Then
Mouse(x, y, 0, 0, True);
GetMousePos(x,y);
Break;
End;
DebugATPABounds(ATPA);
End.
Could you help me understand a bit better by using my script as an example? Not sure how to sort tpas from the distance from me. I know the scripts messy, i havnt thrown in any antiban yet.