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

Rewrite of bot #66

Closed linus-jansson closed 1 year ago

linus-jansson commented 1 year ago

Don't like the state that it is in at the moment. I added some todos to the project that I will be working with. see The Project Tab

linus-jansson commented 1 year ago

From what seems to be the problem right now:

  1. The bot tries to get the round area on larger monitors than 1080p but is unable to (Because some reason?)
  2. Sets default values which are for 1080p
  3. Tries to capture round area 1080p res, doesn't find round

On 1080p monitors, the resizing breaks in-game but works in the menus which is wildly weird.

linus-jansson commented 1 year ago

OCR_FORMAT_1675683214 265232 GETROUND_IMAGE_1675683214 5652392

This sees 3730 and prints the runtime warning mentioned above. It seems like it doesn't filter away black good enough too from the code implemented from here

linus-jansson commented 1 year ago

Need to try on multiple monitors using multiple gameplans, but successful on 1440p on dark castle gameplan

linus-jansson commented 1 year ago

Works with 1080 on dark castle chimps

linus-jansson commented 1 year ago

Added --sandbox flag to try out a gameplan on the map with sandbox mode without needing to wait for the rounds. Mainly for placement etc

linus-jansson commented 1 year ago

Merging to have new development match this version of the bot

The bot has been tested on 1080p & 1440p monitors