Author Topic: [Resolved] Failed the mission - all data corrupted  (Read 21170 times)

Chabbrik

  • Newbie
  • *
  • Posts: 43
[Resolved] Failed the mission - all data corrupted
« on: December 27, 2016, 11:39:12 PM »
I managed to fail a mission by getting Case killed. Then I went back to main menu and suddenly Sam is level 9 and has ridiculous amount of health. If there is a save file, please let me know, in case it helps debugging.
« Last Edit: April 04, 2018, 01:41:47 PM by Daithi »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Failed the mission - all data corrupted
« Reply #1 on: December 29, 2016, 06:38:10 PM »
Thanks for the report. Did you use an existing save file (from V10 or before) by any chance?

Chabbrik

  • Newbie
  • *
  • Posts: 43
Re: Failed the mission - all data corrupted
« Reply #2 on: December 31, 2016, 03:32:01 PM »
No, I started freshed. I expected the old save not to work, so I did not bother.

Chabbrik

  • Newbie
  • *
  • Posts: 43
Re: Failed the mission - all data corrupted
« Reply #3 on: December 31, 2016, 03:55:48 PM »
Where are all saved games kept on Mac?

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Failed the mission - all data corrupted
« Reply #4 on: December 31, 2016, 06:37:37 PM »
Should be: ~/Library/Application Support/Timeslip Softworks/Vigilantes

Yeah, just wanted to eliminate the possibility of an earlier version save. I'll track down this bug and get it fixed.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Failed the mission - all data corrupted
« Reply #5 on: January 03, 2017, 07:16:49 PM »
I've been trying to re-create this bug. Haven't been able to yet. Here are the steps I've used:

1. Fail to save Ray Case, resulting in mission failure
2. Select "Main Menu"
3. From Main Menu, select "Load", and then select the autosave slot

It loads normally in my case. Am I doing something wrong? Thanks

Chabbrik

  • Newbie
  • *
  • Posts: 43
Re: Failed the mission - all data corrupted
« Reply #6 on: January 03, 2017, 08:10:33 PM »
I've been trying to re-create this bug. Haven't been able to yet. Here are the steps I've used:

1. Fail to save Ray Case, resulting in mission failure
2. Select "Main Menu"
3. From Main Menu, select "Load", and then select the autosave slot

It loads normally in my case. Am I doing something wrong? Thanks

You should see it immediately in the home screen where you see all character stats. No reload is needed

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Failed the mission - all data corrupted
« Reply #7 on: January 04, 2017, 10:58:56 AM »
You should see it immediately in the home screen where you see all character stats. No reload is needed

Thanks. So picking the restart from home option that appears when the mission is failed causes it to trigger also?
« Last Edit: January 04, 2017, 07:08:11 PM by Daithi »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Failed the mission - all data corrupted
« Reply #8 on: January 04, 2017, 07:18:34 PM »
Still no luck getting this bug to occur. When the mission has failed, I've tried:

1) Restart from home (in the mission failed menu)
2) Going back to main menu, then loading in the autosave (in the mission failed menu)
3) Pressing escape to bring up the menu, and loading the autosave from there

None of these routes has caused the bug to occur, which makes it difficult to solve. If memory serves, you are on Mac? There is a possibility that the issue is specific to Mac, or to a subset of Macs, or even a subset of computers running different operating systems. With so many hardware and software configs, it can happen. I'll try to recreate on my Mac when I'm testing the builds, using a development build so I will have access to debugging info. If I'm missing something, or doing something wrong in trying to recreate, please let me know and I'll investigate further.

I'll also look at holding the last 2 autosaves in order to prevent issues with data corruption.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: Failed the mission - all data corrupted
« Reply #9 on: April 04, 2017, 09:52:43 PM »
If it helps, for me, v14 linux build, it's the Restart From Home option which leads into an unplayable state: it goes back to the base on the character screen, but with white background and no skills stats nor name, no party info, or shop there, nothing. I cannot even reload, unless first going into the main menu. Though I'm not aware any savefile corruption.

Just to understand, can I ask what is the purpose of failing / not-failing the intro mission of a party member? Is this a way they can die?

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Failed the mission - all data corrupted
« Reply #10 on: April 05, 2017, 11:00:10 AM »
Thanks. I'll try to recreate this issue. From V15, you won't have to restart most missions. Exceptions are the first mission and ally encounters.

The allies can't die, but your goal is to extricate them from danger. If you don't do that, you've failed the objective.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] Failed the mission - all data corrupted
« Reply #11 on: July 26, 2017, 04:00:48 PM »
Can anyone recreate this one? It appears to be fixed, though I mustn't have noted it at the time.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Confirm Fix] Failed the mission - all data corrupted
« Reply #12 on: July 26, 2017, 10:02:22 PM »
Seems to me like the issue we discussed in later versions here:
http://timeslipsoftworks.com/forum/index.php/topic,214

Practically, if you go into an ally mission without any autosave being made or already present among savefiles and fail the mission by letting the ally die.

How recreated in v18:
-- Delete any "Autosave"
-- Goto an ally mission (no prior autosave being made).
-- Let the ally die
-- Click at Restart from Home button
-- It brought me onto city map without HUD, Esc into the menu.
-- Cannot load nor save game, but you can click at Resume button...
-- That brought me back Home with tabs but the game is pretty much bugged, see attached images.
-- Quitting from game or going to the main menu and loading any other save from there works ok.

Found out one very unsettling thing...
« Last Edit: July 26, 2017, 10:03:54 PM by ushas »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Confirm Fix] Failed the mission - all data corrupted
« Reply #13 on: July 27, 2017, 07:49:12 AM »
Thanks Ushas. I've added a save to before ally missions now, so I don't think this will happen anymore.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Confirm Fix] Failed the mission - all data corrupted
« Reply #14 on: July 27, 2017, 09:35:25 AM »
I know you've added autosaves for allies, read that elsewhere else, only tried to reproduce the home corruption.

However, the main issue wasn't "no prior autosave created", it was that the game doesn't handle the situation when there isn't any suitable to load from well. There needs to be some proper test on the autosave loading, the game taking us to the main menu if there is no save or is corrupted, for example. Apologies, if that was already addressed.