Basic Info:
Platform: Steam
Issue Type: Gameplay
Game Mode: Online Private
Server Type: PvP
Map: Exiled Lands
Server Name: Cry Havoc
Mods: none
Bug Description:
Server age and decay reset upon restart (submitting this for consolidation of info) Hundreds of other private servers seem to be suffering from this from looking at the server age column in the server list.
Bug Reproduction:
Create private server. Enable decay. Build something. Recreate character and check decay time on building, or have someone else not clanned with you check it. Wait a few minutes. Restart server. Check decay time.
Starting with this thread (Thank you, Ratsuky !) I was able to begin my journey toward a temp fix? Maybe? The database triples in size after applying it, so I am not sure if it has done more harm than good.
To sum up, Ratsuky found that the files used to generate a server do not contain the serverruntime line that seems to keep track of server age and subsequently decay progression.
Contained in the thread are instructions to manually add it, as well as the troubleshooting involved in dialing in on what the value for the line should be. Initial suppositions that the value didn’t matter and that the db would auto correct regardless of the entry were incorrect. If you put in a value of 0, the server will begin as if it was just created. If you want to have your server age reflect a different age, enter the value in seconds. BE WARNED, entering a value larger than 0 caused several anomalies with buildings and thralls in my attempts. (thanks so much to Xevyr for his help!)
The current state of my server has age and decay progressing through restarts. Buildings and thralls seem to be functioning as intended within the decay system. However, as mentioned above, my database size tripled after applying the serverruntime line (453mb to 1.42gb). I do not know what thus far unseen consequences this fix has had. Use at your own risk!
I have tried brand new servers with both G portal and 4netplayers, changing nothing from initial startup except to enable decay with the same results. I have tried the repair function within G portal. The serverruntime line just does not generate on its own.