Author Topic: How to debug a save/load error?  (Read 527 times)

Offline Mark McWire

  • Posts: 83
  • Cookies: 1010
How to debug a save/load error?
« on: June 25, 2019, 05:29:29 PM »
Have anyone of you an experience how to debug a error, that accours while loading a single player mission savegame?

I have the problem, that after my modifikation on mission script some savegames cannot be reloaded without to crash to desktop. I save them after moding the script. No old savegames from before.

In one case, I moved the savegame code to another line in mission script (before all objects in game are loaded) and that works fine. No crash anymore.

But in Mission E4M3 (named E4M5 in source), that doesn't work. The mission savegame crashs, reagardless if I save it before or after I create all mission objects.

My script are visible under https://www.dropbox.com/sh/2be8g4acicqr7ey/AADYq47EBxUPk0STfab5sEoqa?dl=0
My PC sync it with dropbox while I saving it. So you have always the actual version in this folder.


Offline Mark McWire

  • Posts: 83
  • Cookies: 1010
Re: How to debug a save/load error?
« Reply #1 on: June 27, 2019, 02:50:57 AM »
Problem solved. The issue was a preload-call in a system map for map object. As I removed the preload-call, the savegam works fine.

Strange game engine...