The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: HDomos on May 25, 2012, 10:45:35 PM

Title: Program crashes on deleting underground depot...
Post by: HDomos on May 25, 2012, 10:45:35 PM
I extended the underground system of a town, and when i wanted to delete the underground maglev depot, the program crashed...
The problematic depots (there are two of them, next to each other) are below Marcali p.u. (527,147,-2) The upper depot which is still connected to the track is impossible to delete (when click on it with delete tool the program crashes) and i can't even click on the other depot...

Here is the savegame:http://simutrans-germany.com/files/upload/BugDepot.sve (http://simutrans-germany.com/files/upload/BugDepot.sve)
I play with the latest nightly (r5743) and pak128-864 with these addons:
http://forum.simutrans.com/index.php?topic=291.0 (http://forum.simutrans.com/index.php?topic=291.0) Maglevs
http://forum.simutrans.com/index.php?topic=7793.0 (http://forum.simutrans.com/index.php?topic=7793.0) Fabio's trams
http://forum.simutrans.com/index.php?topic=6224.msg59983#msg59983 (http://forum.simutrans.com/index.php?topic=6224.msg59983#msg59983) Freight Trams
http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:tram_stop_full.pak (http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:tram_stop_full.pak) Tram stops by mEGa
http://forum.simutrans.com/index.php?topic=4181.msg40207#msg40207 (http://forum.simutrans.com/index.php?topic=4181.msg40207#msg40207) Vaclav Macurek's underground stations
EDIT: http://forum.simutrans.com/index.php?topic=4736.0 (http://forum.simutrans.com/index.php?topic=4736.0) Fences
Title: Re: Program crashes on deleting underground depot...
Post by: Dwachs on May 26, 2012, 09:29:23 AM
Thanks for reporting! Removing of underground depots should work in r5746 again. The bug affected all type of underground depots.

One of these problematic depots in your savegame cannot be used anymore. I hope this is not a big problem for you.
Title: Re: Program crashes on deleting underground depot...
Post by: HDomos on May 28, 2012, 10:58:26 PM
Thanks for fixing...
Quote from: Dwachs on May 26, 2012, 09:29:23 AM
One of these problematic depots in your savegame cannot be used anymore. I hope this is not a big problem for you.
So i can't use that tile anymore :( Is it another bug that i can't even click on that depot (528,148,-2)?
Not a big problem, but its interesting...
Title: Re: Program crashes on deleting underground depot...
Post by: Dwachs on May 29, 2012, 06:08:12 AM
Quote from: HDomos on May 28, 2012, 10:58:26 PM
So i can't use that tile anymore :( Is it another bug that i can't even click on that depot (528,148,-2)?
It is a side-effect of the fixed bug. The problem is that the bug let you remove the way under the depot. The mouse pointer cannot select tunnel tiles without ways, so the depot is unusable, as you cannot connect it to your network again.
Title: Re: Program crashes on deleting underground depot...
Post by: HDomos on May 29, 2012, 01:47:15 PM
Ok. Thanks
Title: Re: Program crashes on deleting underground depot...
Post by: Ters on May 29, 2012, 02:54:03 PM
With bugs like this, I wish there was a way to correct or remove the invalid data in the save game. Other than hacking that huge xml save game format in a text editor, or worse, the binary format directly.
Title: Re: Program crashes on deleting underground depot...
Post by: Dwachs on May 29, 2012, 07:06:52 PM
Lets see.

Edit: you can delete this depot in r5749.
Title: Re: Program crashes on deleting underground depot...
Post by: Ters on May 29, 2012, 07:59:13 PM
Good for HDomos, but I guess I still have to live with my split level city hall, and city halls that stopped growing.