linus-jansson / btd6farmer

A tool to make autonomous macros in Bloons Td 6. Relies on OCR and template matchmating for navigation. Made in python
https://discord.gg/qyKT6bzqZQ
MIT License
31 stars 11 forks source link

Unable to locate current round on 1080p monitors #37

Closed linus-jansson closed 1 year ago

linus-jansson commented 1 year ago

As seen in #21 the new locate current round system does not seem to work properly on 1080p monitors, thus the bot is not able to run on 1080p.

Taken from debug logs:

RUNNING IN DEBUG MODE, DEBUG FILES WILL BE GENERATED Waiting for 5 seconds... Please select the Bloons TD 6 window during this time. Selecting OBYN Scaling: [799, 1272] -> (599.25, 954.0) ... selecting map Scaling: [1123, 1248] -> (842.25, 936.0) ... Waiting for loading screen.. Game start Could not find round area, setting default values Scaling: [35, 1850] -> (26.25, 1387.5) Found text 'OS' does not match regex requirements

and the debug picture is a black image which indicates that the screenshot is out of bounds, probably wrong scaled default values as it cant seem to found round area at all.