BHBot icon indicating copy to clipboard operation
BHBot copied to clipboard

Game restarting after trying to persuade

Open igoramd opened this issue 4 years ago • 11 comments

The game is restarting after trying to persuade a familiar. It's happen when the new feature (auto persuade) is actived. The game acts faster then bot. Maybe any way to deactive AUTOBRIBE?

The logs: [DungeonThread] AUTOBRIBE com.github.ilpersi.BHBot.BHBotLogger - Familiar encountered [DungeonThread] WARN com.github.ilpersi.BHBot.BHBotLogger - Count for familiar squib is 0! Temporary removing it form the settings... [DungeonThread] ERROR com.github.ilpersi.BHBot.BHBotLogger - Impossible to find the decline button, restarting... [DungeonThread] WARN com.github.ilpersi.BHBot.BHBotLogger - Doing driver emergency restart...

Desktop:

  • OS: Windows 10 Home Single Language (x64)
  • Browser: Chromium
  • Version: BHBot v46.1 build on Wed Dec 31 21:00:00 GFT 1969 started.

settings.zip

igoramd avatar Aug 08 '20 14:08 igoramd

Try to comment out the familiars settings and to set persuasionLevel to 0. This should completely disable the auto-bribing and the auto-persuading features.

ilpersi avatar Aug 09 '20 16:08 ilpersi

I commented the familiars settings and set the persuasionLevel to 0 and the bot continued restarting the game :(

It looked like this:

persuasionLevel 0 #bribeLevel 0 #familiars squib 0 #familiarScreenshot 1 #contributeFamiliars 1

I also tried to comment on persuasionLevel, but got the same result. Is there any other setting for commenting?

settings.ini: settings.zip

igoramd avatar Aug 09 '20 21:08 igoramd

I am able to reproduce this and I am still thinking about the best way to fix this.

Probably, as the feature is built in the game, we do not need it anymore so more code refactoring is required. If you want to run the bot I suggest disabling the game feature while I try to find a better solution.

ilpersi avatar Aug 12 '20 12:08 ilpersi

Yes, I have currently disabled the game feature and am using the bot's AUTOBRIBE, but this makes a dungeon rush slower.

I'll be waiting for news. Thank you very much for your attention! <3 :)

igoramd avatar Aug 12 '20 14:08 igoramd

I would prefer if we keep this open. It helps me remind things to do and it may be useful for other people having the same issue.

ilpersi avatar Aug 12 '20 18:08 ilpersi

Is any possibility to add a choice switch in front of all above the capture logic procedure to decide bot going to handle the capture or not ? If chose let game build-in handling, bot complete ignore the capture window. Otherwise, user can use now bot capture process but must close built-in option first.

tengen-toppa avatar Aug 23 '20 15:08 tengen-toppa

@tengen-toppa as one of the bot features is overlapping with a built-in one I am going to remove the unnecessary function from the bot otherwise it may be misleading for users.

ilpersi avatar Sep 09 '20 19:09 ilpersi

@tengen-toppa as one of the bot features is overlapping with a built-in one I am going to remove the unnecessary function from the bot otherwise it may be misleading for users.

Appreciate your hard work on BH bot.

tengen-toppa avatar Sep 10 '20 06:09 tengen-toppa

@igoramd I just released the new v46.4: it does not solve this issue, but it has many improvements and optimizations for encounter management that now is much faster than it used to be.

Check it out. 👍🏻

ilpersi avatar Oct 27 '20 22:10 ilpersi

Hey, it's incredibly faster now! It was really good.

I will have no more problems with that. Should I close this now?

igoramd avatar Oct 28 '20 14:10 igoramd

I still need to make the bot work with built-in settings so l let's keep this open even if I consider it a low priority. :)

ilpersi avatar Oct 28 '20 15:10 ilpersi