Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no run #23

Open
kut2tjjj opened this issue May 30, 2024 · 3 comments
Open

no run #23

kut2tjjj opened this issue May 30, 2024 · 3 comments

Comments

@kut2tjjj
Copy link

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(executable_path="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<resolution_x>\d+)x(?P<resolution_y>\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
Copy link
Author

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:122: SyntaxWarning: invalid escape sequence '/'
"^(?:(?:own_|unvalidated_|unsuccessful_)?playthroughs/)?(?P\w+)#(?P\w+)#(?P(?P<resolution_x>\d+)x(?P<resolution_y>\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
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants