ilpersi / BHBot

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

Quantity of tokens, shards and badges is recognized wrong #180

Closed vatuma closed 3 years ago

vatuma commented 3 years ago

Describe the bug When the bot detects the quantity of tokens, shards and badges it recognizes the numbers wrong (see screenshots)

To Reproduce Steps to reproduce the behavior:

  1. Set resource cost of all activities to 1
  2. Run the bot 3 . See logs - some of the numbers are recognized wrong

Expected behavior The numbers in logs should be correct

Screenshots wrong tokens wrong shards

Settings Please attach a copy of your settings.ini file. Make sure to remove personal/sensitive information

Desktop (please complete the following information):

vatuma commented 3 years ago

This also applies to PVP tickets and Xeals

ilpersi commented 3 years ago

Do you have guild perks that increase the total number of resources?

If you do, make sure to apply the correct max values in settings.ini

Standard configuration (see below) comes without guild perks.

# Set maximum resources (For calculating values with guild perks)
maxShards 4
maxTokens 10
maxTickets 10
maxBadges 10
maxXeals 4
vatuma commented 3 years ago

Ah, that's it! Thank you so much!