The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: suitougreentea on November 14, 2017, 12:52:07 PM

Title: outgoing_private_cars not loaded just when loading savedata
Post by: suitougreentea on November 14, 2017, 12:52:07 PM
Hello,

I was suffering from the fact that some cities didn't grow at all even though I used city growth tool.
Today I downloaded the source code and investigated the cause, then I found that (all of these happen in simcity.cc):


I could not create a patch because I am not sure yet about how save/load works....
Hope that helps and issue will be fixed.
Title: Re: outgoing_private_cars not loaded just when loading savedata
Post by: jamespetts on November 14, 2017, 01:11:02 PM
Thank you very much for this. The fix to this requires altering the saved game version to load/save the data for outgoing private cars earlier. I have now pushed a fix to this on the passenger-and-mail-classes branch (because that branch is ahead in version numbering, and it would cause conflicts if I were to try to implement this on the master branch). This fix, however, will only work when loading a game last saved with an executable with the fix applied.

I am hoping that the passenger-and-mail-classes branch will be able to be merged into the master branch quite soon.

Thank you again for your work on this: this is most helpful.
Title: Re: outgoing_private_cars not loaded just when loading savedata
Post by: suitougreentea on December 02, 2017, 11:55:47 PM
Now I tried the latest nightly and confirmed it was fixed. Thank you very much!

For users who have a problem of cities not growing: the easiest way to reset unsupplied_city_growth is to check "Allow city growth" and uncheck it after a while (for a month is enough I think).