Detergent13 / tft-bot

Automate Teamfight Tactics (TFT) for token/mission farming. Updated for Set 11!
GNU Affero General Public License v3.0
81 stars 45 forks source link

bot gets stuck when game is lost #64

Closed vsnrytune closed 2 years ago

vsnrytune commented 2 years ago

Works fine, until you finish in 8th place, then it just gets stuck on the screen that has two buttons saying "Exit Now" or "Keep Watching"...

Also is there a way to make it surrender at exactly 15 or 20 minutes in? As surrendering at 6-6 takes too long, anywhere from 20 to 30 minutes which is not what I want

Detergent13 commented 2 years ago

Probably best to re-capture dead.png. This case is covered for, but probably just an issue with the capture not matching for you. There is a line in the code where you can change when you surrender- just change it to a capture of whichever stage you want to surrender at! (Should be commented)

vsnrytune commented 2 years ago

Probably best to re-capture dead.png. This case is covered for, but probably just an issue with the capture not matching for you. There is a line in the code where you can change when you surrender- just change it to a capture of whichever stage you want to surrender at! (Should be commented)

hi i found out the issue was caused by the new tft update, i had to update loading.png and all champion png's, also replace kled, kennen and vlad with different champs as they're no longer in the game

Detergent13 commented 2 years ago

You could also just pull the current branch- the script is already updated to the new set!