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

6.5 Bot Loading PNG Broken + solution #79

Closed RomeoAlphaEkko closed 2 years ago

RomeoAlphaEkko commented 2 years ago

Good morning,

as "loading" is not printed be the loading icon which seems to be taken from the background picture. i captured a flower (pic below) and it works again

# Start main process
def queue():
    if onscreen("./captures/tft logo.png"):
        click_to("./captures/find match ready.png")      
    while not onscreen("./captures/loading.png"):
        time.sleep(1)
        click_to("./captures/accept.png")

    print("Loading!")
    loading()

loading

MrIslamAIman commented 2 years ago

that fix my problem ty =D

Detergent13 commented 2 years ago

Implemented, thank you!

In the future, feel free to implement these changes through a pull request; it's quicker and means you get credit too ;)