Valokoodari / btd6-ahk

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

Script breaks after going into map selection menu #97

Closed thatmanwhousesgithub closed 1 year ago

thatmanwhousesgithub commented 1 year ago

After starting, the script enters the map selection menu, then bugs out saying "Menu state not recognized" Screenshot 2023-04-24 194706

Valokoodari commented 1 year ago

Have you tried waiting so that the script checks the state again?

GreamDesu commented 1 year ago

Same issue, log file states: [05:21:36] Script started [05:21:37] Menu state not recognized

Resolution is correct, game running on the second fulhd monitor

Valokoodari commented 1 year ago

Resolution is correct, game running on the second fulhd monitor

Have you tried running the game on the other display? AutoHotkey's default coordinate system has universal coordinates across displays.

thatmanwhousesgithub commented 1 year ago

Sorry for being 2 months late image I don't know what to do Next ill try to replace ingame.png with my own image but first I need you to tell me what ingame.png even is

Valokoodari commented 1 year ago

As the problem happens in map selection, you could replace the img/states/map_selection.png.

image

But since you asked for in_game.png and it could have the same problem:

image

thatmanwhousesgithub commented 1 year ago

That fixed the menu state not recognized, but now it gets stuck image

Valokoodari commented 1 year ago

I'd guess you have additional anti-aliasing or something like that enabled in your graphics control panel as that has caused problems like this before. You probably have to replace most of the images which takes some work or figure out which additional graphics settings are enabled and disable them to have the existing images work.

thatmanwhousesgithub commented 1 year ago

Thank you so much, I had AMD adrenalin software for my GPU and image sharpening was on, turning it off had fixed it!