Valokoodari / btd6-ahk

An AutoHotkey (v2) script to automate collection events in Bloons TD 6.
MIT License
70 stars 30 forks source link

Wont detect game #80

Closed G1Apples closed 1 year ago

G1Apples commented 1 year ago

LogMsg("Script stopped because the game windows wasn't active") The game is running in told settings, config data is set to totem but it wont find the game. am i just stupid or is there something wrong ?

Valokoodari commented 1 year ago

Try clicking on the game so that it's the active window before starting the script.

G1Apples commented 1 year ago

Now im sitting here with "Menu state not recognized" like in #75 changing img/states/in_game.png with an cropped screenshot didnt work for me.

Valokoodari commented 1 year ago

Does this happen in all possible states (main menu, level selection, in game)? Could you attach a screenshot of the game from when this happens?

Kerruya commented 1 year ago

I am having the exact same thing My script keeps switching maps ( swiping the screen from left, right, left, right) But it doesn't click on the map. He doesn't select the map. Also, when I choose the map for the bot, and I start the script after. then after the script finishes the map, it doesn't continue. It stays stuck at victory.

Kerruya commented 1 year ago

image

Kerruya commented 1 year ago

image It doesn't go further than this.

Valokoodari commented 1 year ago

–– script keeps switching maps ( swiping the screen from left, right, left, right) But it doesn't click on the map. ––

–– after the script finishes the map, it doesn't continue. It stays stuck at victory.

Both of these problems should now be fixed.