alexbatalov / fallout2-re

Reverse engineered Fallout 2
Other
324 stars 34 forks source link

Savegame corruption #30

Closed Lexx2k closed 1 year ago

Lexx2k commented 2 years ago

SLOT01.zip

Use lockpicking on the door to the armory. You will be spotted and combat starts. Now reload the savegame -- the game will crash and the savegame is now corrupted.

Interesting side note: If you make multiple saves in the same location (e.g. in slot 1 and slot 2), both saves will get corrupted and won't load anymore.

alexbatalov commented 2 years ago

Cannot reproduce this one. I've tried to use lockpick via context menu, via skilldex, and opening without using lockpick. The first attempt does nothing. On the second try it starts combat. Reloading/exiting to main menu/loading same slot works as expected. The same behaviour is seen in vanilla exe. Tried both debug and release versions. Probably there is a bug in other save game or data folder is not cleared correctly. Manually delete data/maps and data/proto. If it's still reproduced, send your entire data/savegame.

Lexx2k commented 2 years ago

Great, now I can't reproduce it either with that save. It's the third time that I corrupted my saves, and I had high hopes that I've found a reliable way to reproduce it ... looks like it isn't.

alexbatalov commented 2 years ago

Send corrupted savegame so I can check where it fails.

Lexx2k commented 2 years ago

This one is broken: SLOT02.zip

alexbatalov commented 2 years ago

I'm not sure this is fixed, so let's keep it open for a while. The problem is with saving objects marked with special flag. This flag is set when objects delete themselves via scripting.