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

What do you think could be my mistake? #14

Closed JokoKenguru closed 5 months ago

JokoKenguru commented 5 months ago

https://youtu.be/MmbsFlAJUPY

JokoKenguru commented 5 months ago

logs 2024-05-21 02:48:36.301 | INFO | main:check_version:380 - You are running the latest version. 2024-05-21 02:48:36.303 | INFO | alune.adb:_connect_to_device:73 - Attempting to connect to ADB session with device localhost:5555 2024-05-21 02:48:38.310 | DEBUG | main:main:415 - ADB is connected, checking phone and app details 2024-05-21 02:48:38.310 | DEBUG | main:check_phone_preconditions:325 - Checking screen size 2024-05-21 02:48:38.319 | DEBUG | main:check_phone_preconditions:334 - Checking screen density 2024-05-21 02:48:38.328 | DEBUG | main:check_phone_preconditions:340 - Checking memory 2024-05-21 02:48:38.333 | DEBUG | main:check_phone_preconditions:344 - Checking if TFT is installed 2024-05-21 02:48:38.342 | DEBUG | main:check_phone_preconditions:348 - Checking TFT app version

akshualy commented 5 months ago

It seems the connection to scrape the TFT app version from Google Play was forcibly closed. There's nothing much we can do here, except try again later. I've pushed a catch for this in the latest release.

JokoKenguru commented 5 months ago

Thanks a lot, it worked And when will the opportunity to choose your own assembly be available?) And I also wanted to clarify, is it necessary to install the English version of the language? or can any one be dispensed with?

JokoKenguru commented 5 months ago

I noticed another point, after losing, he quits the game.. but it doesn't do anything on the table of places

akshualy commented 5 months ago

And when will the opportunity to choose your own assembly be available?)

We won't implement something like defining every unit to buy in the config, but using the team planner is something that has been suggested and relatively easy to implement.

And I also wanted to clarify, is it necessary to install the English version of the language?

The screenshots were made in the English version, but it shouldn't be necessary at the moment as I tried to make sure not to include any text in the recognition screenshots. Feel free to tell me if it breaks using a different language.

but it doesn't do anything on the table of places

It should click the "Play again" button, I'd need a screenshot to see if anything is blocking the recognition. (Please remember to blur any usernames for your own protection)

JokoKenguru commented 5 months ago

Feel free to tell me if it breaks using a different language.

Thank you, then I will still use the translator) And it would also be cool for him to recognize the picture of the "heavenly ones" faster. Then it would be possible to run it in the mode with a "set of points". Since there is no event right now)

As well as spending money when it exceeds the amount of 50

akshualy commented 5 months ago

Sadly there is no speed improvement that i can think of, ADB itself is quite slow and python isn't the fastest either. But saving up to 50 gold before spending it is something I already have planned.

santahashi commented 4 months ago

@akshualy

Dear,

I have had the same problem and can't seem to fix it. Using 0.1.2

Is that because of the new TFT version? currently 14.12

2024-06-13 07:20:26.337 | INFO | main:check_version:388 - You are running the latest version. 2024-06-13 07:20:26.340 | INFO | alune.adb:_connect_to_device:73 - Attempting to connect to ADB session with device localhost:5555 2024-06-13 07:20:28.349 | DEBUG | main:main:423 - ADB is connected, checking phone and app details 2024-06-13 07:20:28.349 | DEBUG | main:check_phone_preconditions:326 - Checking screen size 2024-06-13 07:20:28.356 | DEBUG | main:check_phone_preconditions:335 - Checking screen density 2024-06-13 07:20:28.362 | DEBUG | main:check_phone_preconditions:341 - Checking memory 2024-06-13 07:20:28.365 | DEBUG | main:check_phone_preconditions:345 - Checking if TFT is installed 2024-06-13 07:20:28.371 | DEBUG | main:check_phone_preconditions:349 - Checking TFT app version

akshualy commented 4 months ago

@santahashi Quick question, are you by chance from russia? If so, could you try again by using a VPN (if that's possible, I am not up to date on what Russia is and isn't allowed to do.) It may be related to the sanctions they made against russia 2-ish years ago. I might need to look into an alternative way if this is the case.

santahashi commented 4 months ago

@santahashi Quick question, are you by chance from russia? If so, could you try again by using a VPN (if that's possible, I am not up to date on what Russia is and isn't allowed to do.) It may be related to the sanctions they made against russia 2-ish years ago. I might need to look into an alternative way if this is the case.

Dear akshualy,

Thank you for your reply, but no, I am not from Russia. I'm from Vietnam, using this apk: https://apkpure.com/vn/%C4%91%E1%BA%A5u-tr%C6%B0%E1%BB%9Dng-ch%C3%A2n-l%C3%BD-lmht-teamf/com.riotgames.league.teamfighttacticsvn

santahashi commented 4 months ago

Okay so I found the problem.

Its relating to the self.tft_package_name in adb.py . Just change it if your TFT are from different regions.

akshualy commented 4 months ago

Ahh okay, got it, thanks for investigating it!

JokoKenguru commented 3 months ago

A new set No. 12 has been released. Will there be an assembly icon under it? the bot is already a job, of course, but.. suddenly)

JokoKenguru commented 1 month ago

There's a new mode added, maybe you can add a selection of it? And also.. there you can make an assembly, for example, "imp"

JokoKenguru commented 1 month ago

I checked it out.. even if you do nothing in the game and give up at stage 3-1, you still get experience

JokoKenguru commented 1 month ago

@akshualy

akshualy commented 1 month ago

I checked it out.. even if you do nothing in the game and give up at stage 3-1, you still get experience

Depends on TFT pass or Event experience; TFT pass experience is per game and event experience is per minute played, double for wins.

I'm not home at the moment to look into the new mode, sorry.

RomeoAlphaEkko commented 1 month ago

Yes there is a grind pass too for 5.5

But they have a different trait set

JokoKenguru commented 3 weeks ago

it would be cool if you had time to make a "switch" for this mode) @akshualy

JokoKenguru commented 3 weeks ago

image And at all.. What I wanted to say.. it is already impossible to find the game, I tried both night and day as now, the timer passes in 10 minutes to no avail ((