Jump to content

Troubleshooting: is there way to sync up days player survived with the days the world is at


Recommended Posts

So if I the player survived for 2000 days and the world was at 4000 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

Screenshot 2024-10-20 162056.png

So I got some help but 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

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 //

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...