• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Athenium

Recruit
6 Badges
Jun 7, 2021
3
3
  • Cities: Skylines
  • Stellaris
  • Surviving Mars
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
Description
Newly constructed domes have 4x fertility rate for a predictable time


Windows


Steam

What is your game version?
1001586

Do you have Space Race installed?
Yes

Please explain your issue is in as much detail as possible.
Newly constructed domes update fertility every hour instead of every 4 hours. This problem lasts for an amount of time equal to 1/3 of the game time elapsed prior to the dome's construction. It is probably a serious contributor to the late-game birth rate issues that we all deal with--because we are building new domes at a frantic pace.

This issue was discovered while using ChoGGi's "Birth Progress" mod and watching the progress in real time.

I believe the reason is this: In the Dome.lua file, the variable next_birth_check_time is set to 0 when a dome is built. This variable is compared hourly to GameTime(). If GameTime() is larger than next_birth_check_time, then birth progress is added and next_birth_check_time is incremented by 4 hours. It takes some time for next_birth_check_time to catch up to GameTime() (in fact, 1/3 of the game time elapsed when the dome is built). During this catch-up time, the birth progress is added every hour, leading to the 4x fertility rate. Once next_birth_check_time catches up to GameTime(), birth progress is added every 4 hours as intended, and the fertility rate becomes "normal."

This bug may be fixed by setting next_birth_check_time to GameTime() when a dome is built, instead of 0.

Can you replicate the issue?
Yes. It's inherent to the game code. Just watch birth progress using ChoGGi's Birth Progress mod.

The save file attached shows a dome with accelerated fertility on Sol 16. If you watch, its fertility will return to normal sometime on Sol 18.

Attachments
File(s) attached
 

Attachments

  • Paradox Interactive Sol 16.savegame.sav
    36,6 MB · Views: 0
  • 2Like
Reactions:
Heh, looking at the code this has been in since release :)

Added a fix to my "Fix Bugs" mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2721921772
Yes it has been in since release. Thats why i was only able to play half a game. You start a nice challenging game at max difficulty to try the struggle to grow from 12 people. Then you move to another dome and all of a sudden you're in a baby boom beyond any proportions. Game gone.... waiting for fix.

So, are you, a player fixing all the bugs in a mod now because the developer isn't doing it ???
 
ChoGGi, thank you for providing a fix to this problem. The game is much more enjoyable on max difficulty now!
So the dev's still didnt fix it in the game itself ?

Ill wait a bit more, i want the game to be playable without needing mods to fix the bugs.

How hard can it be when people tell you not only that the bug exists, but the exact code causing it ! And its been almost a whole year now !

Athenium and ChoGGi thanks for your effort, i wish you would take a job at Paradox. I'm quite convinced that just the 2 of you would achieve better results than whoever are working on it now.
 
This has been fixed in the latest hot fix.