ANRAR4 / AutoBTD6

The scripts contained in this repository allow you to automatically play any gamemode on any map in Bloons TD6
36 stars 5 forks source link

no run #23

Open kut2tjjj opened 6 months ago

kut2tjjj commented 6 months ago

D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main>py replay.py file dark_castle#chimps#2560x1440#noMK#noLL.btd6 -mk D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py:20: SyntaxWarning: invalid escape sequence '\P' ahk = AHK(executablepath="D:\Python\python3.12\Scripts\AutoHotkey.exe") D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py:122: SyntaxWarning: invalid escape sequence '\/' "^(?:(?:own|unvalidated|unsuccessful)?playthroughs\/)?(?P\w+)#(?P\w+)#(?P(?P\d+)x(?P\d+))(?:#(?P.+))?.btd6$", D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py:318: SyntaxWarning: invalid escape sequence '\w' "^(?Pplace|upgrade|retarget|special|sell|remove) ?(?P[a-z_]+)? (?P\w+)(?: (?:(?:at|to) (?P\d+), (?P\d+))?(?:path (?P[0-2]))?)?(?: for (?P\d+|\?\?\?))?(?: with (?P\d{1,2}|100)% discount)?$", Traceback (most recent call last): File "D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\replay.py", line 1, in from helper import * File "D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py", line 2, in import keyboard ModuleNotFoundError: No module named 'keyboard'

D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main>

kut2tjjj commented 6 months ago

D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main>py replay.py file darkcastle#chimps#2560x1440#noMK#noLL.btd6 -mk D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py:122: SyntaxWarning: invalid escape sequence '\/' "^(?:(?:own|unvalidated|unsuccessful)?playthroughs\/)?(?P\w+)#(?P\w+)#(?P(?P\d+)x(?P\d+))(?:#(?P.+))?.btd6$", D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py:318: SyntaxWarning: invalid escape sequence '\w' "^(?Pplace|upgrade|retarget|special|sell|remove) ?(?P[a-z_]+)? (?P\w+)(?: (?:(?:at|to) (?P\d+), (?P\d+))?(?:path (?P[0-2]))?)?(?: for (?P\d+|\?\?\?))?(?: with (?P\d{1,2}|100)% discount)?$", Traceback (most recent call last): File "D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\replay.py", line 1, in from helper import * File "D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py", line 1338, in version = float(fp.read()) ^^^^^^^^^ UnicodeDecodeError: 'gbk' codec can't decode byte 0xab in position 259: illegal multibyte sequence

D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main>

kut2tjjj commented 6 months ago

D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main>py replay.py file dark_castle#chimps#2560x1440#noMK#noLL.btd6 -mk Traceback (most recent call last): File "D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\replay.py", line 1, in from helper import * File "D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main\helper.py", line 1338, in version = float(fp.read()) ^^^^^^^^^ UnicodeDecodeError: 'gbk' codec can't decode byte 0xab in position 259: illegal multibyte sequence

D:\Games\Bloons TD 6\AutoBTD6-main\AutoBTD6-main>

KendleMintJed commented 3 months ago

It looks like your version.txt file is corrupted somehow. Try downloading a new one from the repo. If that doesn't work, create a text document manually containing "43.0" and replace it with that.