The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Mastermax on June 05, 2025, 02:15:26 PM

Title: Loading save game: FATAL ERROR: planquadrat_t::rdwr()
Post by: Mastermax on June 05, 2025, 02:15:26 PM
Hi, following error message while loading a save game:

(new_york scenario, version 124.3.1).
What can i do to solve? or to give traces for root cause?
THX
Max

-----


8091054953243412

1Wc@ypD!FATAL ERROR: planquadrat_t::rdwr() - Error while loading game: Unknown ground type '8'
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
https://forum.simutrans.com
PRESS ANY KEY
Title: Re: Loading save game: FATAL ERROR: planquadrat_t::rdwr()
Post by: Mastermax on June 05, 2025, 07:18:17 PM
save file: https://files.simutrans-germany.com/upload/new_york_7.sve
100% reproducable.
Title: Re: Loading save game: FATAL ERROR: planquadrat_t::rdwr()
Post by: ceeac on June 06, 2025, 07:24:48 PM
OK, I can finally reproduce the error from a non-broken save/map:

Title: Re: Loading save game: FATAL ERROR: planquadrat_t::rdwr()
Post by: Mastermax on June 06, 2025, 09:28:44 PM
Hm, yes I did this accidentally... Thx for testing in details!

And I don't know what changed with clicking default.sve settings, I toggle between both available buttons.
Title: Re: Loading save game: FATAL ERROR: planquadrat_t::rdwr()
Post by: ceeac on June 07, 2025, 08:34:15 AM
Thanks for the report, this should be fixed in r1172.

I have managed to fix your save file (at least it now loads, there might still be other non-fatal errors):
https://files.simutrans-germany.com/upload/new_york_7_fixed.sve
Title: Re: Loading save game: FATAL ERROR: planquadrat_t::rdwr()
Post by: Mastermax on June 07, 2025, 11:10:51 AM
Will test the nightly. Thx.
Also a big thank u for fixing the save. But I don't need it. Saving frequently;)
Title: Re: Loading save game: FATAL ERROR: planquadrat_t::rdwr()
Post by: prissi on June 07, 2025, 01:26:56 PM
THank you very much for fixing this.