Page 1 of 1

Bug after load a mod that don't work

Posted: Sat May 29, 2021 8:39 am
by paulwoman
After I load this script :

https://www.capitalism2.com/forum/viewt ... =39&t=8325

One city go to bankruptcy if there is more that one city


I leave all the files need for testing there.

https://data.netfinity.fr/d/bbc576d4b6b84f69a30f/

Note : the save "oliv_008" has a company went bankrupt after one month

I let the version of the mod that has a problem. 3dmodel update the file when I say the problem, it could be not the same version.

Re: Bug after load a mod that don't work

Posted: Tue Jun 01, 2021 5:24 am
by 3dmodel
There are lines in the script

[CITY ECONOMIC SIMULATION DLC]
City Initial Cash Level = Low
This is responsible for the start-up capital of the city.

Disable Generating Apartments = Yes
Disable Generating Commercial Buildings = Yes
These two lines disable buildings that belong to the city at the start of the game.

When turning off buildings in the city, I did not take into account the fact that income from renting buildings at the start of the game is also turned off and, thus, the city will remain without profit. Perhaps this was the reason for the bankruptcy of the city.
You can try to increase the start-up capital for the city.

City Initial Cash Level = High
If this helps resolve the issue, I'll add that in an update.

Re: Bug after load a mod that don't work

Posted: Tue Jun 01, 2021 6:55 am
by paulwoman
3dmodel wrote: Tue Jun 01, 2021 5:24 am City Initial Cash Level = High
If this helps resolve the issue, I'll add that in an update.
Fine. The city are not go to bankrupt.

Now I can't get the bug to happen every time, but it seems that the script was running every game, even if I didn't run it "manually".