The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Václav on June 26, 2010, 05:43:34 am

Title: [r3464 and later] Game crash when ending itself
Post by: Václav on June 26, 2010, 05:43:34 am
I found in these releases very big error (on Windows) - game crashes when ending if game was played (not if game was ended from intro menu). Of course, this is certainly also in release between these. I wrote numbers I downloaded and tested.

And else error is in loading - I loaded game but it called that game could not be loaded - but it was loaded. I don't understand it.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: Dwachs on June 26, 2010, 07:49:33 am
I cannot reproduce this (neither with 3464 nor with the current trunk version).

Does this happen for you if you end the game directly after loading? Or does it happen only if you did certain actions? Do you have some dialog windows open when closing simutrans?
Title: Re: [r3464 and later] Game crash when ending itself
Post by: Václav on June 26, 2010, 10:39:10 am
1. Directly after saving? Yes.
2. Directly also after loading? Yes.
3. After certain actions? No. I only clicked on Quit game. Then nothing happens.
4. Any dialog? No.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: prissi on June 26, 2010, 06:30:26 pm
This happens, when for instance building are on places, where a factory is; or when buildings are accidently twice in townlists. Some time ago pak128 had one big building (forget if townhall or factory) which had dims 2,2,3 instead the correct 2,3,2. Thus the building was after loading at wrong places. There was also several addons which were ****ymetric but only had a single rotation. There are many such errors possible, which are not recoverable. Especially double (or non-existent) buildings in townlists (usually resulting from normal building in spaces where later townhalls or factories appear after loading) will cause a non-recoverable error.

There more broken addons you use, the more frequent such stuff will be.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: Václav on June 26, 2010, 07:02:57 pm
??? If I understand right, this is caused mainly by graphics. And also, before all was right. Only inside (I think) r3460  relocation to supplier or receiver was not running - and so I could not to find between which factories I have to make connection.

-->
I tried to load older save and then exit game and it did not crash - I only would like to know why this process takes so much time.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: prissi on June 26, 2010, 09:51:49 pm
If the crash does not happen with older version, please provide a savegame, because there has been much restructuring done, which may introduced new errors.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: Václav on June 27, 2010, 06:33:14 am
Older version? I have played with pak128 nightly 974 since it was published at nightly page.

Here is that running savegame and also my graphics dir.
Savegame (http://www.ulozto.cz/5200449/vma-cz-18.sve)
Pak128 dir (http://www.ulozto.cz/5200485/pak128.zip)

In column with text Free download rewrite text into greyfilled input form element - and click on Stáhnout FREE.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: prissi on June 27, 2010, 08:47:52 pm
No crashes for me.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: Václav on June 28, 2010, 02:51:57 pm
Of course. That save is that old save where it is OK.

Here is new save (after some minor changes - I think that some factories appeared; else only trains were sent into depot).
http://www.ulozto.cz/5213315/vma-cz-19.sve (http://www.ulozto.cz/5213315/vma-cz-19.sve)

Download it like previous one and test it.
I wish problem was in game, instead my PC - because else I don't know what steps to do to I would continue in this game.
Title: Re: [r3464 and later] Game crash when ending itself
Post by: prissi on June 28, 2010, 10:09:37 pm
With release 3480 I do not get any crashes. But the small change I did will just speed up deletion.