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

type error #76

Open youmustp opened 1 year ago

youmustp commented 1 year ago

how do i fix type error?

youmustp commented 1 year ago

TypeError: unsupported operand type(s) for |: 'type' and 'type'

youmustp commented 1 year ago

please

youmustp commented 1 year ago

please how do I fix this?

jonathan-gatard commented 1 year ago

Hi, Please give MORE details, so we can help you :)

Bye

youmustp commented 1 year ago

C:\Users\youmu>py "C:\Users\youmu\Downloads\btd6farmer-main\src\main.py" --path "C:\Users\youmu\Downloads\btd6farmer-main\gameplans\Dark_Castle_Hard_Chimps" Getting resolution Traceback (most recent call last): File "C:\Users\youmu\Downloads\btd6farmer-main\src\main.py", line 5, in from Bot import Bot File "C:\Users\youmu\Downloads\btd6farmer-main\src\Bot.py", line 14, in import simulatedinput File "C:\Users\youmu\Downloads\btd6farmer-main\src\simulatedinput.py", line 32, in def click(location: tuple | tuple, amount=1, timeout=0.5, move_timeout=0.1, hold_time=0.075, _button='left', ): TypeError: unsupported operand type(s) for |: 'type' and 'type'

youmustp commented 1 year ago

please help

youmustp commented 1 year ago

please

linus-jansson commented 1 year ago

what version of python do you have?

youmustp commented 1 year ago

3.9.0

youmustp commented 1 year ago

ohhhhhhhhhhhhhhhhhhh