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

inverted round coordinates #38

Closed mirko93s closed 1 year ago

mirko93s commented 1 year ago

This should fix #37, I didn't test it tho. You only inverted x/y with the latest update.

mirko93s commented 1 year ago

Never mind I tested it and it doesn't work. But I still think 1850,35 is the right one.

Found text 'OS' does not match regex requirements is what debug says, for round 6/100. (I'm using a chimps gameplan I made)

Where does the bot read "OS" if the screenshot in the debug folder is black?

linus-jansson commented 1 year ago

They were indeed mixed up in the scaling method. Just needed to swap the top and left values and it should work properly know.