Cataclysm-dda: [9183] Critical issue: player displaced and skills erased on game save (possibly other effects)

Created on 19 Jun 2019  路  5Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug

Starting in 9183, a critical bug has been introduced where the player is displaced (always northwest), has all of their skills erased, and gender set to male when saving and reloading the game.

Stats, traits, and inventory seem to be unaffected, but I did not do a thorough examination for what was affected.

This does lead to situations where survivors will find themselves reloading in midair or in the ocean and then falling or drowning.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Create a character on version 9183.
  2. Move at least one tile. The bug does not trigger if you save and reload in your starting tile. It might also trigger if any time passes, but I was able to reliably trigger it by moving at least one tile.
  3. Save and return to the main menu.
  4. Reload your save.
  5. You will find that your skills have been erased, you have been displaced somewhere to the northwest on your Z-level (including into solid rock), and your gender has been set to male (if female).

Versions and configuration

  • OS: Windows

    • OS Version: 10.0 1803

  • Game Version: 0.D-4674-g2e5c67a [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Filthy Clothing [filthy_morale],
    Garden Pots [growable-pots],
    Medieval and Historic Content [Medieval_Stuff],
    More Survival Tools [More_Survival_Tools],
    Modular Turrets [modular_turrets],
    Salvaged Robots [Salvaged_Robots],
    More Locations [more_locations],
    Fuji's More Buildings [FujiStruct],
    Urban Development [Urban_Development],
    Boats [boats],
    Folding Parts pack [deoxymod],
    Vehicle Additions Pack [blazemod],
    Tanks and Other Vehicles [Tanks],
    Sleep Deprivation [sleepdeprivation],
    StatsThroughSkills [StatsThroughSkills],
    Generic Guns [generic_guns],
    Mythological Replicas [nw_pack],
    Alternative Map Key [alt_map_key],
    Hydroponics [hydroponics],
    sees-player icon, retrodays [sees_player_retro],
    Bionic Slots [cbm_slots],
    SpeedyDex [speedydex]
    ]
(P1 - Critical) (S2 - Confirmed) <Bug> Character / Player

Most helpful comment

Can confirm the displacement issue on vanilla 9184. Didnt notice the rest but I was in a test world. I can provide a save file if needed.

image

All 5 comments

Can confirm the displacement issue on vanilla 9184. Didnt notice the rest but I was in a test world. I can provide a save file if needed.

image

Same here. I thought it was due to the skills char - player changes and refactoring [edit] latest change was here: https://github.com/CleverRaven/Cataclysm-DDA/commit/a9de97cd00fd10219b3f9cd20d011295f28e6c69
I am also getting a map crash, but not sure if it's the same or different.

I was able to start a new game. Save, and roll back to an older version 9177, and the stats show. So seems something to do with upgrading older saves to 9181?
@KorGgenT Is this the save game version check code missing something?
(I see I may have failed in fixing my save, if the skills are moving to a different file, I kept trying to change the existing skills location by hand for my saves. Oops!)

'm fairly confident that my refactoring pr is not the cause of this, but i'll help investigate if i can.

I also lost the starting scenario profession name & all bionic power.

I also lost the starting scenario profession name & all bionic power.

There is an error during savegame loading, so you characters stats were reset to default values.

Was this page helpful?
0 / 5 - 0 ratings