ilpersi / BHBot

A bot that automates a game called Bit Heroes
GNU General Public License v3.0
28 stars 32 forks source link

Raid 1 (Astaroth) Crashes #168

Closed MugenEnzan closed 4 years ago

MugenEnzan commented 4 years ago

Describe the bug Whenever I try to run raid 1, the bot errors out saying "Impossible to detect the currently selected grey cue " (???)

To Reproduce Steps to reproduce the behavior:

  1. Set the bot up for r 1
  2. Run bot
  3. Immediate crash and restart

I tried it with several settings files, even known-working ones, as well as a brand new one generated by BHBot.exe from a new download in a new location.

Expected behavior It should run raid 1

Screenshots If applicable, add screenshots to help explain your problem. https://i.imgur.com/MVxh8to.png

Settings Please attach a copy of your settings.ini file. Make sure to remove personal/sensitive information I uploaded the "clean" settings.ini, only changed fams to bribe and what raid to run. settings.zip Had to zip it because of GitHub.

Desktop (please complete the following information):

Additional context None

MugenEnzan commented 4 years ago

Nvm, go ahead and close this if you want. I decide to try a fresh installation of BHBot and it worked.

Something must be borked in my own config...

Sorry for the trouble!

Edit: weirdly enough, I am using my old settings.ini, not the newly generated one. And its working fine. Weird...

MugenEnzan commented 4 years ago

Aaaaaand its back after restarting the bot and using a new settings.ini...

MugenEnzan commented 4 years ago

Ran a few more tests and it happens on all raids

ilpersi commented 4 years ago

When the bot crashes, in the /screenshots folder a screenshot of the game is created. Can you please attach that?

Be sure to hide personal details.

MugenEnzan commented 4 years ago

errors.zip Here it is! There were no details I could see in the image or the log.

ilpersi commented 4 years ago

I fixed this in the last commit. The issue only happens when R1 is currently selected.

ilpersi commented 4 years ago

V45.2 containing the fix is out, check it out.

MugenEnzan commented 4 years ago

Confirmed working for all raids. Thanks!!!!