shamhi / HamsterKombatBot

Bot that mines coins in HamsterKombat
Apache License 2.0
780 stars 234 forks source link

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

Open kamranmt21 opened 1 month ago

kamranmt21 commented 1 month 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 1 month ago

please check this. @shamhi @4erdenko

aozbebit commented 1 month ago

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