Grid Sage Forums

Grid Sage Forums

  • November 22, 2024, 08:57:12 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: Game loaded with 0 core integrity  (Read 4145 times)

zill

  • Derelict
  • **
  • Weekly Seed Participant Participated in the Alpha Challenge 2015 Supported Cogmind Alpha Access 2015-2017 (Prime Tier)
  • Posts: 27
    • View Profile
Game loaded with 0 core integrity
« on: June 11, 2015, 05:28:02 AM »

I was in the mines area, got the game over screen and I pressed esc to quit.  Next time I opened the game it loaded me at the point where I had previously died, with 0 core integrity.  I was able to continue on until the next hit ended the game again.  I haven't been able to reproduce the bug.  This is alpha 1b
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Game loaded with 0 core integrity
« Reply #1 on: June 11, 2015, 05:40:19 AM »

Hm, that's weird. Something tells me this might get reported more than once now. I did make several changes to the save system to make it compatible with remembering your specific part slots between level transfers and saves, and no one reported this happening in Alpha 1, so...

If there's a serious problem in here we'll have an Alpha 1c hot fix really quick. I'll do some quick tests tonight and see if I can come up with anything. Thanks!
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Gaspard

  • Unaware
  • *
  • Weekly Seed Participant Supported Cogmind Alpha Access 2015-2017 (Prime Tier)
  • Posts: 15
    • View Profile
Re: Game loaded with 0 core integrity
« Reply #2 on: June 18, 2015, 05:06:57 AM »

I have the exact same problem. Upon dying and quitting and returning (the same process) everything works fine.
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Game loaded with 0 core integrity
« Reply #3 on: June 18, 2015, 05:32:19 AM »

Thanks for reporting it. I was just looking at this today and couldn't figure it out because it doesn't happen to me. I'm going to need more information to solve this one. I did change up some of the game saving code between Alpha 1 and 1b, so it must have something to do with that, but whatever's causing it isn't obvious, or certain.

For the next release I've added an error message in the code that will write a warning to the log when the game is saving the player despite having 0 integrity, but that doesn't help us diagnose the issue here and now.

Does this happen every time you die? Or only under certain circumstances that you might be able to discern? Is it always after you've continued from a saved game? Or from a fresh start all the way to death without saving and resuming first?
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

zill

  • Derelict
  • **
  • Weekly Seed Participant Participated in the Alpha Challenge 2015 Supported Cogmind Alpha Access 2015-2017 (Prime Tier)
  • Posts: 27
    • View Profile
Re: Game loaded with 0 core integrity
« Reply #4 on: June 21, 2015, 01:21:32 AM »

I have reproduced the bug.  I died in the mines, and when I reload the game I have 0 core integrity.  This time the problem is repeating, I load, get killed instantly, quit, then load again at the same spot, happened 3 or 4 times in a row.  I will leave the game for the time being incase you want a save uploaded or whatever. 
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Game loaded with 0 core integrity
« Reply #5 on: June 21, 2015, 02:53:56 AM »

Okay thanks. If you can attach the save.bin here for me here that'd be great. (Or you could email it to me if that's easier, since the file can sometimes be a little large.) It didn't repeat for me for some reason so this will help track it down much more quickly!
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

zill

  • Derelict
  • **
  • Weekly Seed Participant Participated in the Alpha Challenge 2015 Supported Cogmind Alpha Access 2015-2017 (Prime Tier)
  • Posts: 27
    • View Profile
Re: Game loaded with 0 core integrity
« Reply #6 on: June 21, 2015, 03:09:40 AM »

Here is the save.
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Game loaded with 0 core integrity
« Reply #7 on: June 21, 2015, 03:23:27 AM »

Oh okay that's a pretty small one :D. Thanks, I'll have that fixed for next time.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Gaspard

  • Unaware
  • *
  • Weekly Seed Participant Supported Cogmind Alpha Access 2015-2017 (Prime Tier)
  • Posts: 15
    • View Profile
Re: Game loaded with 0 core integrity
« Reply #8 on: June 30, 2015, 03:33:24 AM »

In case you need more, my game just had the same bug, want the save file?
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Game loaded with 0 core integrity
« Reply #9 on: June 30, 2015, 07:58:40 AM »

Two would be nice for cross-comparison, though honestly I believe this will be easy to solve, and zill's should be repeatable so that's okay. (I should've gotten to this already, but I'm a day behind on my dev schedule because I shifted a work day to next Saturday.) Thanks!
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Game loaded with 0 core integrity
« Reply #10 on: July 02, 2015, 12:47:50 AM »

Resolved this one today. It was a case of the catch-all auto-save feature re-saving the game even after your save file was already deleted on death. Many thanks for the save file, as that combined with the steps made this much easier to quickly get to the heart of the problem (though it still took about an hour because I followed what I thought was a bug down the wrong rabbit hole at first :P)
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon