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
59 stars 9 forks source link

ValueError when parsing installed TFT app version #17

Closed novak24611 closed 5 months ago

novak24611 commented 5 months ago

I followed the steps but it still doesn't work. Can you help me please 123

akshualy commented 5 months ago

I tried with the most recent version and it seems to work. So something is wrong with your installed TFT app version (or what ADB is reporting it to be), if you installed via Google Play try from APKMirror or vise versa. If the problem persists, you could add a debug statement to print version_two_parts: logger.info(version_two) in is_version_string_newer and debug from there.

novak24611 commented 5 months ago

I also downloaded it from google play but it still doesn't work and adb doesn't work. I don't know if something is missing or not. I just followed the steps you gave.

akshualy commented 5 months ago

Which Emulator are you using? As I said, it's doing something weird in reporting your TFT app version. I've tried on BlueStacks and LDPLayer9 and both work fine as of right now.

If you don't want a proper fix or don't want to bother debugging, you can temporarily add a # in front of the lines 360 and 361 in main.py. That'll disable the TFT app version check.

novak24611 commented 5 months ago

Can you be specific? Because I'm very bad at English. I tried LD Player and it still works, even bluestack does.

akshualy commented 5 months ago

I'm not sure I can be more specific than I was in that above sentence, use DeepL to translate it into your language.

JokoKenguru commented 5 months ago

Has the project gone into hibernation?)

akshualy commented 5 months ago

Has the project gone into hibernation?)

Not really, I just did not work on it since no urgent update was needed.