The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Junna on August 25, 2016, 07:22:19 AM

Title: More crashes
Post by: Junna on August 25, 2016, 07:22:19 AM
https://www.mediafire.com/?4mq9kkwn83p9bpb

Should crash at 2:52:xx of current month. Same type of crash as previously exhibited.

On the upside, the reservation oddities and trains not being released from signals appears to be fixed.
Title: Re: More crashes
Post by: jamespetts on August 25, 2016, 10:06:55 AM
I think that I have fixed these, but have not had a chance to test fully. Are you able to re-test?
Title: Re: More crashes
Post by: Junna on August 25, 2016, 08:03:12 PM
That fixes the one crash, but non-easily reproducible ones seem to form. They seem to occur randomly; re-loading a game saved just prior will not exhibit the same crash. Reservation oddities are back, too.

https://www.mediafire.com/?74z42j59ce1txmg

Applechester is a good example of a place where spurious reservations appear.
Title: Re: More crashes
Post by: jamespetts on August 26, 2016, 08:10:38 AM
Thank you for letting me know: I will have to look into this. These problems are, unfortunately, difficult to solve because changing the signalling code to allow reservations routinely beyond stations invalidated assumptions made by very large numbers of disparate parts of the code.

Incidentally, would you be able to recompile your pakset, or at least the ways, with the latest makeobj (compiled with the new monthly way wear feature) so that I can load your saved games with the latest builds? Thank you.
Title: Re: More crashes
Post by: Junna on August 26, 2016, 03:00:29 PM
The ways are unchanged from regular pak.britain-ex (apart from some unrelated roads I have added which are from standard and don't have experimental parameters), you should be able to replace those with whatever you already have compiled? 
Title: Re: More crashes
Post by: jamespetts on August 26, 2016, 03:21:49 PM
Can you indicate the file names of the .pak files for these extra roads?

Edit: I have fixed one more crash - do you care to re-test?

The reason that I ask for that information, incidentally, is that my .pak files are compiled differently to yours, using the Python script rather than the makefile, so I just have one .pak file for each type of object (ways, rail vehicles, road vehicles, stations, depots, etc.) rather than one for each object as you have.
Title: Re: More crashes
Post by: Junna on August 27, 2016, 03:01:05 AM
Half-heights ways on github does not seem to have been updated with the new variable set_monthly_wear ?
Title: Re: More crashes
Post by: jamespetts on August 27, 2016, 10:55:02 AM
I had set the default values (for an unused way to be fully worn out in 50 years with no usage except for waterways, which never wear out) to be what I wanted so that I did not need to alter the individual .dat files at this stage, until such time, at least, as balancing testing shows those defaults to be sub-optimal.