The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: DrSuperGood on March 27, 2018, 01:41:32 AM

Title: Bug: City roads not renewed using current city road type.
Post by: DrSuperGood on March 27, 2018, 01:41:32 AM
As time progresses so does the type of road a city uses to pave its streets. When new buildings are built the current road type will be applied to all surrounding roads, upgrading any older city roads in the process. All new city roads are built using the current road type.

However if an older city road wears out it will still be renewed with the old road type rather than being renewed with the current city road type. This means well developed areas which have stagnant building growth might maintain old city roads far longer than makes sense, especially seeing how they are filled with premium/highly developed housing. They will eventually be upgraded, but only when new types of high development city buildings become available or the old city road type completely obsoletes so cannot be renewed.

As soon as cities start to use a new city road type, all city roads should have their renew type changed to this new city road type. If the deployment of the road type is too quick then maybe some staggering on a city by city basis could be used to represent slow adaptation of a new city road standard.

It appears inter-city roads do correctly upgrade replacement type, just not city roads.
Title: Re: Bug: City roads not renewed using current city road type.
Post by: jamespetts on March 28, 2018, 05:18:09 PM
Thank you for letting me know. I have now modified the behaviour as suggested. I should be grateful if you could confirm whether this is working with to-morrow's nightly build and onwards.
Title: Re: Bug: City roads not renewed using current city road type.
Post by: DrSuperGood on March 29, 2018, 06:09:08 AM
Nightly build deployment seems to have failed today.
Title: Re: Bug: City roads not renewed using current city road type.
Post by: jamespetts on March 29, 2018, 10:54:51 AM
I am not entirely sure why that happened - I suspect that there must have been a scheduled restart for updates during the rebuild process. In any event, it is back up and running now.
Title: Re: Bug: City roads not renewed using current city road type.
Post by: DrSuperGood on March 29, 2018, 11:35:51 PM
Seems fixed. All old city roads are now scheduled for renewal with the current city road type.

However the costs are inconsistent, not that it matters as no one pays. Renewing cobblestone road into cobblestone road is quoted by the detail UI to be more expensive than upgrading dirt road into cobblestone road.
Title: Re: Bug: City roads not renewed using current city road type.
Post by: jamespetts on March 30, 2018, 01:06:24 AM
Splendid, thank you for confirming.