Skip to main content
Topic: [Crash v6.6] Pak128.Britain-EX and Pak128.Britain (Read 3328 times) previous topic - next topic

[Crash v6.6] Pak128.Britain-EX and Pak128.Britain

James,

Whenever I start a new game in v6.6 with any of the latest Britain paksets (Pak128.Britain-EX or just Pak128.Britain) and have a Goods AI enabled, then fast-forward, the game crashes sooner or later. If you don't encounter crash the first time, quit game and try again. The same doesn't happen with other paksets.

The problem itself is not very important (one can just play without Goods AI), but it hints at possible bugs with either the pakset or the code dealing with pakset (makeobj or code reading pak files).

Actually, I also experienced similar crashes when I use Pak128.Britain v1.0.3 in ST STD r2611, but comparatively it took longer before a crash set in and such crash might not happen every time.

Knightly

Re: [Crash v6.6] Pak128.Britain-EX and Pak128.Britain

Reply #1
Thank you very much for the report; sorry for not looking into this sooner: I have been away this week. I shall look into this and revert to you when I have isolated the issue. Thank you for finding it :-)

Edit:Hmm, if a crash occurs in Standard and more frequently in Experimental, the bug may well be in Standard, but the buggy code simply called more often in Experimental. The bug may well not be specific to Experimental. Have you reported this as a bug for Standard?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

 

Re: [Crash v6.6] Pak128.Britain-EX and Pak128.Britain

Reply #2
James,

If you ask me, my guess is that it might not be related to code, but is rather caused by some erratic settings in Pak128.Britain-Ex or Pak128.Britain. I say this because Pak64 and Pak128 don't exhibit this problem in both ST STD and ST EXP, and when I tested r2611 with Pak128.Britain v1.0.2, the frequency of crashes is close to v6.6 with the latest Pak128.Britain-Ex. With Pak128.Britain v1.0.3 against r2611, however, the frequency of crashes has largely reduced, causing me to think that Pak128.Britain v1.0.3 has probably changed something, but which is not changed in your latest Pak128.Britain-EX.

This is just my guess. I did not report this as a bug in ST STD as it is not very likely to be STD code issue, and I did not report this in Pak128.Britain section because v1.0.3 with latest nightly crashes only infrequently. Since crashes happen mostly with EXP v6.6, and you have helped The Hood with creating Pak128.Britain, and even created Pak128.Britain-Ex yourself, I think you are the most suitable person to which this problem should be reported.

Knightly