Shatterhand
2012-01-28 09:01:01
Hi guys.
I just made an own superheater, it works flawless except one thing. When it does the superheating and I do minimaze/maximaze it to/from the taskbar, the mouse gets a lag, and SKIPS the click.
Thanks,
hunt3rx3
I just made an own superheater, it works flawless except one thing. When it does the superheating and I do minimaze/maximaze it to/from the taskbar, the mouse gets a lag, and SKIPS the click.
for i:=1 to 17 do
begin
MouseBox(664,390,674,403,mouse_left); //this will click on superheat spell
repeat until FindBitmapToleranceIn(nat, x, y, MIX1, MIY1, MIX2, MIY2, 30) //this will check for inventory tab
MouseBox(655,368,670,380,mouse_left); //this will click on ore
repeat until FindBitmapToleranceIn(supheat, x, y, MIX1, MIY1, MIX2, MIY2, 30) //this will check for spellbook tab
Xp:=XP+53;
Profit:=Profit+ProfitEach;
ReportOnSmart;
end; Here is the code. It will click on supheat spell, wait till sees the inventory, then click on the chosen ore. But sometimes it skips the click and then the bot stucks in the repeat thing. Any ideas how to solve this? Thanks,
hunt3rx3