Explv / Explvs-AIO

Explv's AIO
MIT License
23 stars 18 forks source link

Fix item dropping when misclick #51

Open Explv opened 5 years ago

Explv commented 5 years ago

"When my bot was fishing Salmon in Barbarian Village, powerlevelling (drop) it somehow managed to click use on the last fish. Then, it got stuck trying to click on the fishing spots, it went back and forth between two of these for some time until i stepped in and solved it for it."

Azn2000 commented 5 years ago

We could do a getInventory().isItemSelected() to check when this happens while dropping and handle it if it happens, its more a workaround than a fix, what do you guys think?

Azn2000 commented 5 years ago

Can also happen in the GE when trying to sell stuff, couldn't reproduce, so it seems like something that can happen in all inventory clicking activities