Simba Code:
Function FindMonster(x, y: Integer): Boolean;
Var
CTS, I: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
Begin
CTS := GetColorToleranceSpeed;
Area1 := IntToBox(13,28,48,136);
Area2 := IntToBox(245,135,290,185);
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.07, 0.57);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5672059, MSX1, MSY1, MSX2, MSY2, 20);
ColorToleranceSpeed(CTS);
TPA:= ClearTPAFromTPA(TPA, TPAFromBox(Area1));
TPA:= ClearTPAFromTPA(TPA, TPAFromBox(Area2));
ATPA := TPAToATPAEx(TPA, 30, 30);
For I := 0 To High(ATPA) Do
Begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x, y, 0, 0);
If(WaitUpTextMulti(['Dea','eath','th ess','wrai','aith'],800)) Then
Begin
Result := True;
GetMousePos(x, y);
Break;
End;
End;
End;
This is the function I am currently using to find monsters and nodes in Runespan but leave out the colors on my character and the icons in the upper left area. Hope it helps to see it "in action"!