[0.981] Beta 5c - Stalled City Growth

I have a city that has 1 food remaining and is 1 food away from growing, but turn after turn it does not grow.  I can't figure out why...it must be a bug.  Attached is the save file and screen shot.

 

 https://dl.dropbox.com/u/59194037/drago981v2_bug.EleSav

 

city screen_bug

5,713 views 12 replies
Reply #1 Top

Rounding possibly? The numbers are fractional underneath everything, they just get rounded when shown onscreen. So the city might actually be 1.2 pop away from going up to the next level and is still 0.2 short after 1 turn, does it go up in level if you wait 2 turns?

Reply #2 Top

Agreed, posted this some time ago, never noticed it since.

Sincerely
~ Kongdej

Reply #3 Top

I will look at the actual numbers a little closer, but I must have gone 5-6 turns without seeing that city get it's 1 pop remaining.  For some reason it seems stuck right now.  Thought I would post this as a possible bug (seems like a rare one though).

Reply #4 Top

Quoting relmich, reply 3
I will look at the actual numbers a little closer, but I must have gone 5-6 turns without seeing that city get it's 1 pop remaining.  For some reason it seems stuck right now.  Thought I would post this as a possible bug (seems like a rare one though).

It happens when you have multiple cities, and prestige that is not even with 50.

Lets say you have 3 cities, one of them with 2 grain, and 25 food per grain (just enough for levelling to level 2, as shown above).

If you have 3 prestige, each city will grow at 1 population each turn, and even the 3rd with only 2 grain will become level 2.
but if you have 4 or 5 prestige, they will grow at a respective 1.3 population, or 1.6 population each turn, and it ends up getting clogged up around 49 population. If it cannot add THE FULL GROWTH, it will not add anything at all.

Sincerely
~ Kongdej

Reply #5 Top

I've seen this before as well.

Scenario: I have 200 food (exactly) produced in a city.

The city goes to 199 population then stops.

Why? Because when Growth > Food remaining, the game stops the growth completely.

So now I have a 200-food city capped at 199 population. Obviously 200 is an important number, because it is when a city levels up to level 3.


They need to tune this capping of growth so that it is not a toggle.

Right now:
If growth > Food remaining, stop_growth()

What it should be:
If (growth > Food remaining) && (Food remaining > 0) then (Growth = Food remaining)
else
If (Food remaining = 0) then stop_growth()


Reply #6 Top

Quoting Heavenfall, reply 6
They need to tune this capping of growth so that it is not a toggle.

Right now:
If growth > Food remaining, stop_growth()

What it should be:
If (growth > Food remaining) && (Food remaining > 0) then (Growth = Food remaining)
else
If (Food remaining = 0) then stop_growth()

What he said, I tried to give an elaborate explanation of the earlier though (the cap)

Sincerely
~ Kongdej

Reply #7 Top

Yes...I see.  That is exactly what is happening.  I forced my way through the stall be researching a tech to boost food per grain.  This should be fixed as per Heavenfall's post...as a new player running into this will think the game is broke

Reply #9 Top

I've run into this same scenario. Very frustrating.

Great suggestion, Heavenfall.

Reply #10 Top

I just added +1 food to each food building. Problem solved, but not fixed.  :D

Reply #11 Top

Quoting seanw3, reply 11
I just added +1 food to each food building. Problem solved, but not fixed. 

Bah, you and your mods.

Also bump-o-lump!
- Just because I find this rather annoying when it happens I want it fixed quickly :P (And obviously I should decide these things... O_o)

Sincerely
~ Kongdej

Reply #12 Top

Agree with OP and others.  I hate it when this happens, and like others, it forces me to either build a new town and appropiate empire-wide food buildings, or to research a tech to make food production more efficient.