CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.68k stars 4.19k forks source link

Supposed corruption deletes files #70624

Closed SuspiciousSchrodinger closed 8 months ago

SuspiciousSchrodinger commented 10 months ago

Describe the bug

every so often saves get corrupted, files containing the sections of the maps just go empty, ive saved the game by Save and exit and then quit to avoid breaking anything and it still doesnt work characters survive this problem companions do not

Attach save file

Cochran.zip

Steps to reproduce

1 open the game 2 load the game 3 your map has reset lol

Expected behavior

saves not going poof because it ruins hours of grinding

Screenshots

image image

Versions and configuration

Version: Cataclysm-DDa experimentals build 2023-11-26-2202( has happened through many different versions), windows 10, english lenguage, chibi ultica tileset,

Additional context

the problem is that pieces of the map get reset arbitrarily, as shown in screen shots some parts of the map get regenerated without any reason.

DEBUG : Failed to read from "C:/Users/kenic/Downloads/dda/userdata/save/Cochran/maps/0.9.1/5.301.1.map": Json error: C:/Users/kenic/Downloads/dda/userdata/save/Cochran/maps/0.9.1/5.301.1.map:EOF: input file is empty

FUNCTION : read_from_file_json FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\cata_utility.cpp LINE : 563 VERSION : 4f6df0a this is not the only error ar the vehicle not found error will also be present at loading

ZhilkinSerg commented 10 months ago

That is environmental issue. I suggest you to make savegame backups more often.

PatrikLundell commented 10 months ago

I assume @ZhilkinSerg means it's an issue with the player's computer? The wording sound like it would be real world environmental issues like e.g. air pollution, or possibly the environment within the game...

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.