Citybuilder towns grow once every 30,996 days

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
Wakki2
Engineer
Engineer
Posts: 1
Joined: 21 Aug 2013 05:38

Citybuilder towns grow once every 30,996 days

Post by Wakki2 »

Hi,

I downloaded Citybuilder a few days ago after playing it online at some server and it worked at first, but after one or two games the towns just won't grow anymore with default settings with Open TTD 1.3.2 and Citybuilder 86 and today 87. The town window says all the towns grow once every 30,996 days and it's true. Even if I meet the transport requirements every month for 4 years in a row there is no real growth aside from a few houses randomly disappearing and being rebuilt with minor effects on the population. Cities grow once every 100, 50, or 36 days most of the time when I take a look at them.

If I select no script in single player a town grows every 200 days in the beginning and within no time it will grow faster and faster. But when I select the Citybuilder script in the main menu it seems like town growth is frozen and stuck on 30,996. I also saved a multiplayer Citybuilder game once and when I played it in single player the cargo requirements and town growth stayed fixed for the entire game. The winner's town kept growing every day and my town kept growing every 45 days I believe, and the required cargo stayed the same all the time regardless of population.

In my first single player Citybuilder game everything seemed to work fine, I was able to grow my town to 1000 population but it wouldn't get higher. I don't remember the town growth but when I load the game it's 30,996. Maybe the town just grew because of linear settings and the cargo requirements being met, but it can't get higher than 1000 and I suspect it's because of the town growth.

Has anyone experienced this problem before? Maybe I'm doing something wrong. Town growth should be at once every 200 days in the beginning and quickly rise to 70 or 50, not stuck at 30,996 for eternity.

One other thing that bothers me is that I have 3 installs of TTD on different locations, but whenever I change settings and close one TTD, the settings have changed in all the TTDs. If I play 1.3.2 and set the max loan to 300k instead of 200k, close the game and then open 0.7, then the settings have changed in 0.7 as well. I wonder if this could have something to do with the town growth problem I'm experiencing.

I imagine it could have to do with my citybuilder setup as well. I downloaded it ingame with online content at first. I couldn't figure out how to play it in single player and then found citybuilder.tar on the forums and placed it in my scripts folder. I also unzipped it just to be sure. I read the readme and it seemed pretty complicated, especially the server setup. Then I found the AI/Scripts button ingame and just selected citybuilder, configured it and everything except town growth was similar to the server I played on.

Just to be sure it wasn't because of my configuration I played with the settings that seemed to relate to town growth to no avail. In the end I downloaded another installer of 1.3.2 and installed it freshly in a different location and the citybuilder config also had reset to it's defaults. But it still was the same. Even though I installed it somewhere else, when I close another TTD the settings are also changed in my fresh location so I wonder if it really had any effect.

I hope somebody can help me =) Thanks in advance!
krinn
Transport Coordinator
Transport Coordinator
Posts: 342
Joined: 29 Dec 2010 19:36

Re: Citybuilder towns grow once every 30,996 days

Post by krinn »

Wakki2 wrote: Has anyone experienced this problem before? Maybe I'm doing something wrong. Town growth should be at once every 200 days in the beginning and quickly rise to 70 or 50, not stuck at 30,996 for eternity.
No, town growth should be like the script you use says it should. And the huge number is just a way to says "no grow".

You better ask in the script thread if you think there's something wrong, or just read the script readme for more instructions on how to use/how it works.

For your openttd versions trouble : i won't speak about others system as i don't know (but the wiki would tell you for sure). But in linux, configuration is saved in your ~/.openttd so no matter what openttd versions you use, as long as you open it with the same user, the configuration place remain the same, and so changes are saved in the same file. Just use another user if you want different configurations for different openttd versions (or tricks to handle this).
Aphid
Traffic Manager
Traffic Manager
Posts: 168
Joined: 16 Dec 2011 17:08

Re: Citybuilder towns grow once every 30,996 days

Post by Aphid »

The '30,996' you see is just an artifact of a trick that is being used. You see, by setting this constant to a very large number, the town is prevented from building houses, yet it can still 'upgrade' existing buildings to more modern versions. In actuality the script uses the GSTown.ExpandTown function to build additional houses, so by feeding it cargo it should grow. Do not pay attention to the population number, but look at the house count. Is this increasing? You've got a growing town. Note that for small towns with certain settings growth may be (very) slow.

Now one possible cause for growth halting is that there are too many dead-end roads with 'towns build roads' turned off. (You have to build roads yourself). Other causes might be that you turned on a 'minimum %age of passengers transported for towns' setting, or that you have a town set that doesn't have houses for the period you are playing in for some section(s) of town. (For example the UK set failed in the 1800s the last time I tried).
antonfm
Engineer
Engineer
Posts: 1
Joined: 12 Sep 2013 03:08

Re: Citybuilder towns grow once every 30,996 days

Post by antonfm »

Hello Aphid,

I do agree that there is something wrong with the current citybuilder script (87) My cities also stop growing around 1000 pop. and no matter what I do it wont continue growing. (also if it says town is growing, no houses are added) And yes, plenty space, roads, pax and cargo's delivered, changed growth rate settings etc. fiddled a lot with the settings but I cant get my city to grow in number of houses...

I have played Citybuilder before many times... I''m telling ya, it Should work captain! but it do nie
emilh2
Engineer
Engineer
Posts: 2
Joined: 08 Sep 2013 10:31

Re: Citybuilder towns grow once every 30,996 days

Post by emilh2 »

Just wanted to chime in and say that I have the exact same problem too - my Citybuilder towns won't grow whatever I do and are stuck at every 30,996 days too. The amount of buildings does not increase.
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 11 guests