So working on my first ish script (after my working jadinko tracker one)
It is a thieving one, which rhymes with donkey kmife lighters (spelt so it doesnt come up in forum search yet).
Most of the logical steps are working, so jail solved, walking, banking etc.
Can someone suggest, without necessarily giving me the code, how to perform the second and third steps of
1)punch
2)pickpucket (Mis-Spelling on purpose)
3)pickpucket
punch is easy, with either finddtm or FindColorSpiralTolerance finding the donkey and knocking it out.
the problem i have is then finding the location of the fallen donkey and clicking on it again fast enough. The finddtm/colour dont seem fast enough, so i was hoping to use the x, y co-ords from the finddtm to just click in the same place:-
This only works ok if the donkey was standing beside my character when punched - if i have to runto it, then the x,ys are thrown off.Code:if pos('thump', GetBlackChatMessage) <> 0 then begin Wait(RandomRange(50, 75)); Mouse(x, y, 2, 2, mouse_Right); // LOOT 1 Wait(RandomRange(20, 40)); ChooseOption('pocket'); Writeln('Looted x1'); Wait(RandomRange(50, 75)); Mouse(x, y+RandomRange(1, 5), 2, 2, mouse_Right); // LOOT 2 Wait(RandomRange(20, 40)); ChooseOption('pocket'); Writeln('Looted x2'); Wait(RandomRange(200, 300)); End;
can anyone suggest an alternative method?


)
Reply With Quote
.


