vinyblaster replied to Is there a way to stop World save lag shudders? August 4, 2022 @ 6:34:50 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.
Or, now hear me out cause this one is gonna shock a lot of people, how about letting the player manually save? If your save is gonna freeze my game for 3 seconds, maybe let me save manually when it doesn't happen in the middle of a fight or something.
2:13 am, August 5, 2022