TeamFightTacticsBots / Alune

Mobile TFT Bot - Automate Teamfight Tactics in the mobile version through emulators, to farm pass exp and event tokens.
GNU Affero General Public License v3.0
52 stars 8 forks source link

Do not exit the bot on minor app version mismatch #30

Closed MisterRath closed 2 months ago

MisterRath commented 3 months ago

Hi there is a new patch that went live, leading the bot to be outdated. Is it posible to patch the bot ?

MisterRath commented 3 months ago

Hi again, I've read the code to understand what was the problem and found out that even tho we have the latest patch of tft it blocked and returned error "new version stuck in queue blabla". So to bypass this problem I have just change the raise_and_exit into a logger.info in main.py in order to let the programm run. But the problem of version checker is still here.

akshualy commented 2 months ago

Hey, that error only happens when your TFT app package version is smaller than the one listed in the global Google Play store. If you installed through Google Play, try restarting the Google Play app to check for the update. The UI is a bit weird sometimes. It's probably fine to change this to a warning instead of exiting the bot, if only the minor part of the version string is smaller.