The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: SuperTimo on July 27, 2023, 10:54:31 AM

Title: Game crashes when trying to upgrade Merchant Navy class through replace function
Post by: SuperTimo on July 27, 2023, 10:54:31 AM
Not sure if this a bug caused just by this train or an issue relating to upgrades in general, so I put it in this board rather than the pakset bugs.

When trying to upgrade the merchant navy class selecting the br standard tender causes the game to crash with the following meesage:

QuoteFATAL ERROR: vector_tpl<T>::[] - PK14vehicle_desc_t: index out of bounds: 2 not in 0..1
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
https://forum.simutrans.com

This does not occur when sending the consist to the depot to replace the loco manually.

Does anyone know another upgrade like this so I can test this? Perhaps the A1 to A3?
Title: Re: Game crashes when trying to upgrade Merchant Navy class through replace function
Post by: jamespetts on September 07, 2023, 08:12:57 PM
Thank you for your report. Do you have a saved game in which this can reliably be reproduced?
Title: Re: Game crashes when trying to upgrade Merchant Navy class through replace function
Post by: jamespetts on February 25, 2024, 04:26:53 PM
RanRan has recently produced a fix for a bug matching this description. Can I check whether this resolves this issue?