Polonius Ulf replied to Is there a way to stop World save lag shudders? August 4, 2022 @ 6:04:15 pm PDT
The easiest thing IG can do to make saving better is to replace arbitrary timed saves with event-driven saving: Save when the player sleeps, sits down, goes through a portal, creates something with the hammer, etc. all fanning in to the same save method which then decides whether a save is really necessary.
The coding involved is to write a line calling the save method at the beginning of any action that can take a little extra time. It isn't necessary to be exhaustive. The save method looks at, for instance, the time since the last save and then decides whether to actually perform a save. Eliminate the timer-based save.
The coding involved is to write a line calling the save method at the beginning of any action that can take a little extra time. It isn't necessary to be exhaustive. The save method looks at, for instance, the time since the last save and then decides whether to actually perform a save. Eliminate the timer-based save.
2:13 am, August 5, 2022