Is there a way to stop World save lag shudders?

I get [2] about 1-2 sec 'shudders' every time there is a World save, is there any way to eliminate it or lower the frequency of the World saves?
8:13 pm, August 3, 2022
SLOWpoke 0 comments 0 likes

Polonius Ulf replied to Is there a way to stop World save lag shudders? August 4, 2022 @ 7:29:11 pm PDT

Originally posted by vinyblaster:
Originally posted by Polonius Ulf:
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.
:steamthumbsup:

With one drawback: An on-demand save allows you to save your world before trying something risky. One cure is possible if Valheim starts keeping score:* deduct n points for each on-demand save.

This same drawback applies to a lesser-degree to event-driven saves. But the pia of manipulating that system looks like a sufficient deterrent to me, when the save method will still use it's own criteria to decide whether to save or not, so stand and sit down all you like.

*Score-keeping would give us a reason to accumulate loot until Valheim's grand finale is written, for which maybe we need mercenaries.
11:13 am, August 5, 2022
0 comments 0 likes

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.
2:13 am, August 5, 2022
0 comments 0 likes

vinyblaster replied to Is there a way to stop World save lag shudders? August 4, 2022 @ 6:34:50 pm PDT

Originally posted by Polonius Ulf:
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
0 comments 0 likes

76561198153184326 replied to Is there a way to stop World save lag shudders? August 3, 2022 @ 2:47:10 pm PDT

After that patch that saves my running game to the cloud, my gaming experience has deteriorated. Oft times if it occurs while I am doing construction inside a building my game will become so choppy I have to quit & restart. Due to the extent of the lag the process of trying to quit the game can take upwards of 10 minutes. Not good considering before that patch my game was working smoothly, and the auto-save feature for me was seamless. Fortunately 9 out of 10 times when it happens I am inside a building and relatively safe from being attacked. If it occurs while I am being attacked it is highly likely I would be killed.
5:13 pm, August 4, 2022
0 comments 0 likes

SLOWpoke replied to Is there a way to stop World save lag shudders? August 4, 2022 @ 8:10:27 am PDT

Originally posted by electricdawn:
1. Valheim has always used Steam Cloud like most other Steam game, WHEN it is turned on in the global Steam settings. It is highly advised to turn it off. Specifically with the way IG is currently handling the world save.

2. IG DID change the way the world saves, and they also introduced a new version of the Unity engine, which might've led to the wave of world resets we now experience.

Mind, the majority of people have no issues, but for the unlucky few that do get hit with this, it is a real killer, especially since most people do no proper backups.

On top of that, they changed where the game saves stuff, with no recourse ingame to recover files that where stored locally to be uploaded into the cloud, when Steam Cloud is turned off, which is, IMHO, an absolute no-go.

3. Backups, backups, backups. It can't be stressed enough. Don't have backups? Your fault when you lose data. The game save system can be as crappy as hell (and Valheim's world save borders on the unusable), but it is YOU who is responsible for keeping your important data save.

External hard drives are cheap. Back up your ♥♥♥♥.
Thanks for the reminder to back my game up, I'd hate to lose it all to some kind of crash
5:13 pm, August 4, 2022
0 comments 0 likes

electricdawn replied to Is there a way to stop World save lag shudders? August 3, 2022 @ 10:54:40 pm PDT

1. Valheim has always used Steam Cloud like most other Steam game, WHEN it is turned on in the global Steam settings. It is highly advised to turn it off. Specifically with the way IG is currently handling the world save.

2. IG DID change the way the world saves, and they also introduced a new version of the Unity engine, which might've led to the wave of world resets we now experience.

Mind, the majority of people have no issues, but for the unlucky few that do get hit with this, it is a real killer, especially since most people do no proper backups.

On top of that, they changed where the game saves stuff, with no recourse ingame to recover files that where stored locally to be uploaded into the cloud, when Steam Cloud is turned off, which is, IMHO, an absolute no-go.

3. Backups, backups, backups. It can't be stressed enough. Don't have backups? Your fault when you lose data. The game save system can be as crappy as hell (and Valheim's world save borders on the unusable), but it is YOU who is responsible for keeping your important data save.

External hard drives are cheap. Back up your ♥♥♥♥.
8:13 am, August 4, 2022
0 comments 0 likes

Cap'n Bells replied to Is there a way to stop World save lag shudders? August 3, 2022 @ 8:40:06 pm PDT

my understanding is terra forming increases the file size so i now only mine to the world surface approx.... world save is still bad but not noticeably getting worse... yet
5:13 am, August 4, 2022
0 comments 0 likes

SLOWpoke replied to Is there a way to stop World save lag shudders? August 3, 2022 @ 2:30:40 pm PDT

Thanks for the answer, I'll just have to cope like everyone else
11:13 pm, August 3, 2022
0 comments 0 likes

Complaintdesk replied to Is there a way to stop World save lag shudders? August 3, 2022 @ 2:47:10 pm PDT

After that patch that saves my running game to the cloud, my gaming experience has deteriorated. Oft times if it occurs while I am doing construction inside a building my game will become so choppy I have to quit & restart. Due to the extent of the lag the process of trying to quit the game can take upwards of 10 minutes. Not good considering before that patch my game was working smoothly, and the auto-save feature for me was seamless. Fortunately 9 out of 10 times when it happens I am inside a building and relatively safe from being attacked. If it occurs while I am being attacked it is highly likely I would be killed.
11:13 pm, August 3, 2022
0 comments 0 likes

electricdawn replied to Is there a way to stop World save lag shudders? August 3, 2022 @ 12:21:57 pm PDT

No.

IG is working on this (hopefully).

What they do now is pretty much dumping the entire world file every few minutes. They need to change that to a more database like structure where only changed data gets saved, thus massively reducing the amount of data that needs to be written.
8:13 pm, August 3, 2022
0 comments 0 likes