Started by emirkir, June 12, 2018, 01:36:03 PM
0 Members and 1 Guest are viewing this topic.
QuoteThe problem is that the algorithm (lines 970-983 in simworld.cc) for generating a list of population sizes is taking an inconsistent set of parameters. In particular, it is currently impossible to generate cities with a population smaller than half of median_population, which you set to 7500. However, in pak128.sweden we have max_small_city_size=3000. This means that it gets stuck in an infinite loop once it starts trying to generate 'small' cities, since each number it tries is at least 3750.To avoid this, you can set median_population to less than 6000. There should probably be some checks in the code to prevent this situation arising; in the long term I think the city generation algorithm is likely to be rewritten without this code for generating population sizes.
QuoteEDIT: Why don't make a warning with the maximum set value?
Quote from: DrSuperGood on June 12, 2018, 09:24:24 PMPlease try running Pak128-Britain and with localization set to English. This is to rule out the crash being caused by the pakset and not the x86-64 build.
Quote from: emirkir on June 13, 2018, 11:00:33 AMOk, so you mean Shift+P and "Increase City-population by 100"?Thanks!