News:

SimuTranslator
Make Simutrans speak your language.

City growth behaving erratically with altered settings

Started by 1993matias, February 14, 2025, 08:04:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

1993matias

Hello,

Altering some city growth settings seems to break the construction of new city buildings altogether. This can be seen in the server game of user Sou7: https://ob.sou7.io/simutrans/%E3%81%AA%E3%81%AA%E3%81%95%E3%81%B0/%E3%81%AA%E3%81%AA%E3%81%95%E3%81%B01%E6%9C%9F/Day-1-of-the-Nanasaba-1st-Season-Development-Diary
They state that they have grown their cities by placing low-level buildings by hand and letting the growth tool level them up later.

The only settings that were changed from the standard values are (according to Sou7) the following:
threads = 8
max_hops=4000

auto_connect_industries_and_attractions_by_road=0
commuting_trip_chance_percent=60
max_discomfort_penalty_differential=0
max_discomfort_penalty_percent=0
growthfactor_villages = 133
growthfactor_cities = 66
growthfactor_capitals = 33
max_comfort_preference_percentage = 1000
starting_money
=1750,7500000000,1
starting_money[1]=1900,9000000000,1
starting_money[2]=2000,12000000000,1
interest_rate_percent = 1
allow_bankruptcy = 0
allow_purchases_when_insolvent = 1
cost_found_city=50000
region_name = 上北・下北
region_upper_left_percent = 0,0
region_lower_right_percent = 33,66
region_name[1] = 峰狭
region_upper_left_percent[1] = 0,66
region_lower_right_percent[1] = 33,100
region_name[2] = 中部
region_upper_left_percent[2] = 33,0
region_lower_right_percent[2] = 66,50
region_name[3] = 七島
region_upper_left_percent[3] = 33,50
region_lower_right_percent[3] = 66,100
region_name[4] = 南西
region_upper_left_percent[4] = 66,0
region_lower_right_percent[4] = 100,33
region_name[5] = 南東・南海
region_upper_left_percent[5] = 66,0
region_lower_right_percent[5] = 33,100

I have tried to replicate it with a new game which does indeed replicate the results. Also the demo game seems affected if these settings are in use.

Description of the problem:
Take any city, new or existing, and use the city growth tool as the public player. Notice the population increasing, but no new city buildings are built. Existing buildings do level up - including buildings that are hand placed within the city limits.
Notice that attractions are built though.

This is the case on the latest nightly with these altered settings.

All the files are available here: https://drive.google.com/file/d/156gkcsntTiWl6WaSH-jgD72rpoxuk3I4/view?usp=drivesdk

1993matias

It seems like the issue is also present in the nightly build from 26th of April 2024 (#df2f187) when creating a new map. Has it really been this buggy for so long?