Valokoodari / btd6-ahk

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

Bloody puddles not working #74

Closed danielhits closed 1 year ago

danielhits commented 1 year ago

I try to use the script and it works on all other maps but not bloody puddles.

Valokoodari commented 1 year ago

In which way does it not work (doesn't start the game, ends up in defeat, something else)? What gets written in the log (by default logs/log.txt)?

danielhits commented 1 year ago

The script enters bloody puddles but does not put down monkeys or start the bloons

[11:25:09] Script started [11:25:09] home [11:25:11] map_selection [11:25:20] in_game [11:25:48] Script stopped

log.txt

Valokoodari commented 1 year ago

Please wait a bit longer so that there is either Map not recognized or Map recognized: ... in the log. The map recognition is unfortunately sometimes quite slow but it will be optimized the next time I have some extra time.

danielhits commented 1 year ago

[12:01:03] Script started [12:01:03] home [12:01:05] map_selection [12:01:15] in_game [12:01:36] Map not recognized [12:01:56] Map not recognized [12:02:17] Map not recognized [12:02:37] Map not recognized [12:02:57] Map not recognized [12:03:17] Map not recognized [12:03:39] Map not recognized [12:04:12] Script stopped log.txt

danielhits commented 1 year ago

Or longer

danielhits commented 1 year ago

when will you add this to main build

Valokoodari commented 1 year ago

I should have enough time on Thursday or Friday but for now you could try replacing the image img/maps/bloody_puddles.png with a screenshot with the map open cropped so that there are no moving elements in the area. Raindrops moving through the area are okay as long as there aren't multiple at different times and they don't end up in the screenshot. The screenshot should also have enough contrast to not cause problems with other maps so I recommend including at least a small part of the car.

Valokoodari commented 1 year ago

The map recognition has been updated.