shamhi / HamsterKombatBot

Bot that mines coins in HamsterKombat
Apache License 2.0
768 stars 233 forks source link

A bug in buying combo cards when one card is already bought [SOLVED] #2183

Open kamranmt21 opened 3 months ago

kamranmt21 commented 3 months ago

[DESCRIBING BUG AND SUGGEST SOLUTION]

Today, I noticed that when one card from the daily combo cards has already been bought, the bot doesn't buy other combo cards.

To solve the problem, I changed line 144 of the file bot/core/tapper.py : need_cards_count = len(cards) To: need_cards_count = len(cards) - len(upgraded_list) And now it works properly.

kamranmt21 commented 3 months ago

please check this. @shamhi @4erdenko

aozbebit commented 3 months ago

Lütfen bunu kontrol edin. @shamhi @4erdenko