Jump to content

Recommended Posts

So if I the player survived for 2666 days and the world was at 4031 days is there a way to sync the two up. Its on my own hosted world and not a dedicated server.

Just some context but It was a silly mistake at the time but I wanted to get a new cave generation so I went down to the caves to regenerate that shard. Instead of just doing it in a separate world and moving the cave files over to the main world. Any help would be appreciated :D

Some more info: I am stuck on this step. In order to view the players age (days survived) I go to master/save/session and then go as far down in the randomly named folders and choose the file that has the highest numbered file. In that file theres two age= but regardless if I change both or just change one of them it just resets the characters day count when I load that world. (I did this on new world) The first age= was 21.300001110882 and I changed it to 1934880. (I assumed that 480 was equal to 1 in-game day) I changed the next age= which was 1 to 4031. Any help would be appreciated.

Just incase it affects it I changed the day count with commands with LongUpdate(480*4031) when I was testing it with new world

Screenshot 2024-10-20 162056.png

Thanks to walen from forge for helping me out fixing the problem. I would make a backup just incase theres any issues later on as I'm not playing much vanilla recently to see if there will be. (Instead of 4060 just put whatever your servers day count is and do this in remote) I just exited the game after saving and the day count remained the same when I logged back in
 

VVVVVVVVVVVVVVVVVVVVVVVV


ThePlayer.components.age.saved_age=4060*TUNING.TOTAL_DAY_TIME c_save() wait for the save to finish then quit and reload or you can continue that session and it'll sync up maybe if not change on relaunch //

wait a minute, aren't you NK from the forge servers?! I knew exactly why you asked Walen, heh...
but yeah, the age component is what stores your days survived. not to be confused with Wanda's oldager.

I just tried this but the days don't sync perfectly for me. For instance, in the morning the servers day will show 390 whilst mine is 389 until mid-day where they would align. Any way to fix this or no? Thanks.

@JiYoo7803 theres always gonna be some kind of desync between the server days and your days survived because of the loadtimes when u go in and out of caves. It won't ever be as bad as mine which was like a difference of ~2000 days.

You will have to constantly put that command in to sync the server days and client days (I've never had that issue where they are desynced until mid-day so dont know any solutions)

Just an update on the world but at one point it reset my day count back to 2 days if that happens to you just put in the same command  ThePlayer.components.age.saved_age=4607*TUNING.TOTAL_DAY_TIME then type c_save() and relog to make sure it worked
replace 4607 with whatever your day count is

I had made a copy of my cloud save so I was playing on a local save when I saw the changed player day count which could've been what caused this issue

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...