Valokoodari / btd6-ahk

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

Images don't work #13

Closed ReallyNoteless closed 3 years ago

ReallyNoteless commented 3 years ago

I've tried to run the script and it returns 0 for all menu states, when I replaced the play_home image with one I quickly cropped myself and reloaded the script it worked. (Clicking play that is, then it gets stuck on the next step.)

gc_play_home

This is the one it worked with, frankly I have no idea why it's having issues since I am not familiar with AHKv2.

Not sure if that's a me issue or if others experience the same thing.

Valokoodari commented 3 years ago

I adjusted the image search variation tolerance so this problem should now be less common.

ReallyNoteless commented 3 years ago

Same thing as before, returns 0 for all until I feed it that new screenshot for gc_home_play.

Really clueless, running the default game in fullscreen 1920x1080 and the script with AHK v2 beta 1.

Friend of mine is also getting the same issue.

ReallyNoteless commented 3 years ago

I’ve been messing around with it a bit, turns out AMDs Video settings can affect the image recognition to the point where it no longer works, disabled the sharpening and disabled the anisotropic filtering - viola it works all of the sudden.

Also using the bigger cursor introduced in the update might mess with the stage selection.

Thought those details might be worth sharing for future troubleshooting/usage advice. :)