Permanent, unrestorable "ghost ship" due to force-quitting after death

Started by Tacroy, November 01, 2014, 10:00:00 PM

Tacroy

Game version: v0.10.4_Win
Game mode: Single player
Bug location: Immediately after losing combat, in the main "flying around" view.
Steps to reproduce:

  • Play in Windowed mode
  • Let a pirate explode your ship
  • While still staring at the emptiness of space, rage quit by hitting the "X" button on the window.
  • Reload the save file
Reproduction rate: Happened by accident once, reproduced on another save file afterwards.
Bug description: Upon reloading the save file thus abused, your ship will be in the same spot it was when it exploded. However, you'll have zero health and be unable to move or fire; your turrets will still track the mouse, but you'll be otherwise completely ignored by the AI. If you happened to be near a jump gate when this happened, you won't be able to interact with it. /heal and structural repair items will still heal you, but won't restore control. /kill will take you to zero health if you restored your health in some fashion, but won't actually grant you the sweet release of true death. Console commands to teleport the player will say that the player cannot be teleported right now.

Basically, from what I've tried, once your game gets into this state you're pretty much hosed. So don't try it with a save file you care about.

ai_enabled

Hello! Thanks for reporting. Will be fixed in the next version (but sorry, savegames from 0.10.4 will be incompatible with next version as we do many changes in the game code and scripts).

To fix a broken savegame, you can modify savegame data manually:
1. open saved folder and locate folder with broken savegame data.
2. rename "world.data" to "world.data.zip".
3. extract it and open "data" file in editor (the Notepad++ works good for such a big file);
4. find all strings like this and replace "true" with "false":
"isDead": true
5. save the "data" file and add it to "world.data.zip" archive (with overwrite of current value). Save!
6. rename "world.data.zip" to "world.data".
7. enjoy recovered savegame! (after loading your ship will blow up and respawn on the last visited space station)

Regards!