fieryhenry / BCSFE-Python

A python save editor for the mobile game The Battle Cats
MIT License
126 stars 17 forks source link

Parsing save error (address=4560) #4

Closed AleZaTar closed 2 years ago

AleZaTar commented 2 years ago

Hello and thank you for creating this editor! I just tried using the editor for the first time. I made the game generate a new save file and the programm gives me this error:

Error: An error has occurred while parsing your save data (address=4560): Traceback (most recent call last): File "C:\Users\Alexander\AppData\Roaming\Python\Python310\site-packages\BCSFE_Python\parse_save.py", line 1370, in start_parse save_stats = parse_save(save_data, game_version_country) File "C:\Users\Alexander\AppData\Roaming\Python\Python310\site-packages\BCSFE_Python\parse_save.py", line 1464, in parse_save save_stats["second_time"] = get_time_data(save_stats["dst"]) File "C:\Users\Alexander\AppData\Roaming\Python\Python310\site-packages\BCSFE_Python\parse_save.py", line 87, in get_time_data time = datetime.datetime(year, month, day, hour, minute, second) ValueError: year 0 is out of range SAVE_DATA.zip

fieryhenry commented 2 years ago

This should be fixed in the latest release

AleZaTar commented 2 years ago

Just tried it out. Yes, it works now, though I got instantly banned for tampering with cat food too much. Cleared save file with the program and went further messing around with the game. Thank you!