Hello,
I am currently trying to 'catch' a moving target, to right click it and trade it, however the process is looking slobby as the mouse moves to the one location is was at, doesn't find it, then finds his new location, then moves there and continues till it finally catchs up. Is there a better way to go about this?
Heres the mouse finding I am doing:
So, how can I improve the pathfinding?Code:repeat FindColorTolerance(x, y, OurColor, 5, 5, 515, 338, 10); MMouse(x, y, 6, 6); if (IsUpText('alk') = true) then begin GetMousePos(x, y); Mouse(x, y, 0, 0, false); end; until(FindText(x, y, Text, upchars, 5, 5, 515, 338));
Thanks for any help I can be given on this.


Reply With Quote















