The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: BoredEngineer on January 21, 2020, 05:31:51 PM

Title: FATAL ERROR on loading save
Post by: BoredEngineer on January 21, 2020, 05:31:51 PM
Using self-compiled version from the latest source. On trying to load save game got this error:
FATAL ERROR: depot_t::vehicle_laden() - invalid vehicle type #4A
Save file:
https://www.dropbox.com/s/tuxkj4ctdva0qnc/1800.sve?dl=0
Title: Re: FATAL ERROR on loading save
Post by: Matthew on January 21, 2020, 05:57:05 PM
I get the same crash with the same error message if I try to open that save file.  :-[

What pakset are you using? If pak128.Britain-Ex, have you updated your simuconf.tab to the latest version? It has changed a bit in the last few days.

EDIT: The logfile has Warning: karte_t::load:   Fileversion: 120002 just before the crash; I don't know whether that helps anyone else or not.
Title: Re: FATAL ERROR on loading save
Post by: BoredEngineer on January 21, 2020, 06:36:28 PM
Using latest pre-build of pak128.Britain-Ex from here:
https://forum.simutrans.com/index.php/topic,15887.0.html
I have not touched simuconf.tab. I thought that master branch of source has the latest. Could you tell me what I can update there?

EDIT: Do you mean overwriting simuconf.tab from the pack over the one in config folder of simutrans?
Title: Re: FATAL ERROR on loading save
Post by: jamespetts on January 21, 2020, 09:00:10 PM
Thank you for that. Unfortunately, it appears that this saved game has become corrupt. Without being able to reproduce the steps necessary for the corruption to occur in the first place, there is no practical way for me to ascertain what caused this and thus to be able to fix it.