News:

SimuTranslator
Make Simutrans speak your language.

[r3464 and later] Game crash when ending itself

Started by Václav, June 26, 2010, 05:43:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Václav

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.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Dwachs

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?
Parsley, sage, rosemary, and maggikraut.

Václav

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.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi

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 assymetric 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.

Václav

#4
??? 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.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi

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.

Václav

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
Pak128 dir

In column with text Free download rewrite text into greyfilled input form element - and click on Stáhnout FREE.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi


Václav

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

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.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi

With release 3480 I do not get any crashes. But the small change I did will just speed up deletion.