DingoDjango / snAutosave

An autosave system for Subnautica
MIT License
4 stars 8 forks source link

Patch_Subroot_PlayerEnteredOrExited_Postfix is causing issues #22

Closed DingoDjango closed 1 year ago

DingoDjango commented 1 year ago

Since DelayAutosave method was changed, Patch_Subroot_PlayerEnteredOrExited_Postfix is probably the root of some player reports about timing issues.

Redo this delay system and maybe have a way to delay and a way to schedule a new save if appropriate...

DingoDjango commented 1 year ago

DelayAutosave() - for short delays like player entering/exiting vehicles. ScheduleAutosave() - for the timed autosaves / on bed rest etc.

Should improve things quite a bit. Also add a vehicle bay to test save and a bed to test these features.

DingoDjango commented 1 year ago
DingoDjango commented 1 year ago

And let's force the game to pause when saving. Don't fight UWE on this one.

DingoDjango commented 1 year ago

DelayAutosave() - for short delays like player entering/exiting vehicles. ScheduleAutosave() - for the timed autosaves / on bed rest etc.

Should improve things quite a bit. Also add a vehicle bay to test save and a bed to test these features.

For the on sleep trigger, we can then simply postfix a very short scheduled save.