Valokoodari / btd6-ahk

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

Can't beat dark dungeons #72

Closed ipisgood closed 1 year ago

ipisgood commented 1 year ago

I just got this script, I have all monkey knowledge, all tower upgrades and ben selected. It would lose to Dark Dungeons map everytime

Valokoodari commented 1 year ago

Do other maps work properly?

ipisgood commented 1 year ago

so far, lost to infernal and lost to workshop, I was watching it, I think the issue is sometimes the script tries to upgrade the tower but the tower doesn't get upgraded properly. The only map I've seen it beat so far is sanctuary.

Valokoodari commented 1 year ago

I'll add a more verbose option for logging soon to see if this is an issue with the round detection as that's the only explanation I can currently think of.

You could try replacing the images in img/round with ones made from screenshots taken on your computer. Only the totally white parts should be included as white and everything else in the images should be totally black (black is handled as transparent).

ipisgood commented 1 year ago

I don't think the round recognition is the issue, bc I can see the script trying to upgrade the towers during some rounds bc it clicks on the monkey, but it fails to upgrade

ipisgood commented 1 year ago

My towers are only able to be upgraded on the top path, the middle and bottom path upgrades do not work

ipisgood commented 1 year ago

Ok, last update, I figured out all the problems with my script, the upgrade key was not binded to the default keybind. After fixing that I had some issues with map recognition. Here is my updated screenshots, might help you update the script. image

Valokoodari commented 1 year ago

After fixing that I had some issues with map recognition.

The map recognition has been changed completely.