[General] - Exiting game while pinning guard causes error when loading


Recommended Posts

Bug Submission:

Category: General

Platform: Mac

Issue Title: Exiting game while pinning guard causes error when loading

Issue Description: If I save and exit during a level when one of my agents is pinning a guard down, or dragging a guard, I get an error when I try to load that game again.

This has happened several times, before and after I downloaded the DLC. The most recent time, it could reload the same level from about three turns back, but in the past it's loaded the same level but put me all the way back to turn 1.

Have attached files, this error occurred on save slot 1. Thanks for the great game :D

Steps to Reproduce: * Exit game when at least one agent is pinning down a guard or has picked up a guard to drag

* Reopen Invisible Inc and load game

Link to comment
Share on other sites

  • Developer

Hey garlicBug. I'm trying to decipher what I'm seeing in the save file.

I have a question. Do you recall if, in these games that failed to save properly, you were able to close a door while dragging a body?  Or did you always have to drop the body before closing a door?

Link to comment
Share on other sites

  • Developer

I've narrowed down the issue. I know what's causing the problem now. 

The problem occurs because of the way the door hotkey is working right now. The action doesn't work while dragging a body and causes a error report in the log when it's used. The game still records you tried to use it though. When it gets to that action in the reload, it stops processing thinking the error is serious when it's isn't. At least not in this case. 

I will fix the hotkey action being saved when it fails, but I'm still thinking of a way for you to be able to continue your game. One potential way is for me to edit that failed action out of your savegame file but I'm still looking for a less manual solution.

Link to comment
Share on other sites

  • Developer

The patch is out, so you can use the door open/close hotkey safely, it won't create the error. But the patch won't allow you to continue you savegame yet. I'm still thinking of a patchable solution for that.

You CAN edit your savefile manually, which does work. But the trick is getting around the steam Cloud save.  If you want to do this, here's what to do:

1) Once you have the edited savefile (see below), you need to disable the Steam Cloud for a moment. At the top left of Steam, click on the steam menu item and choose SETTINGS, then CLOUD and uncheck the box that says "Enables Steam Cloud synchronization".

2) You need to put the edited save file in two places:
Documents\Klei\InvisibleInc\saves\savegame.lua
Program Files (x86)\Steam\userdata\#######\243907\remote\savegame.lua   where ##### is your steam user number.

3) Start Invisible Inc. Continue your game. Save and exit. 

4) Finally, turn cloud save back on. It should then say that your two versions are different and ask you which one you want to use, local or steam cloud. You should select the local version.


As for editing the save file itself. You can send me your latest version if you aren't sure, but all you need to do is change this:

 

_[1][130]=_[289]
_[292]={}
_[292][1]=2
_[292][2]=1003
_[292][3]=13
_[292][4]=27
_[292][5]=6
_[292]["\099\114\099"]=3447339584598
_[292]["\110\097\109\101"]="\117\115\101\068\111\111\114\065\099\116\105\111\110"
_[292]["\112\108\097\121\101\114\073\110\100\101\120"]=2
 
with this:
 
_[1][130]=_[289]
_[292]={}
_[292][1]=1016
_[292][2]=1016
_[292][3]=9
_[292]["\099\114\099"]=3447339584598
_[292]["\110\097\109\101"]="\097\098\105\108\105\116\121\065\099\116\105\111\110"
_[292]["\112\108\097\121\101\114\073\110\100\101\120"]=2

What it's doing is changing the action that creates the error into a different action. In this case, Derek will go into ambush mode, which in this instance, doesn't change the outcome of the mission.
Link to comment
Share on other sites

Thanks for your quick reply! Sorry I didn't get back to you about the door earlier.

 

I will probably wait until an official patch has come out myself (I don't play Endless much otherwise I'd consider it, and tbh I go through new campaigns very quickly anyway :p) but thank you for including the workaround for anyone else who might have this issue.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.