-
Couldn't load subscription status.
- Fork 4.7k
start of persistence support #20770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start of persistence support #20770
Conversation
|
This doesn't seem to work for Oasis. [ERRO] entity_deserializer: Encountered invalid EntityUid reference wile reading entity 13611, component: ContainerContainer The round just keeps restarting. |
|
my brother in christ this pr is 2 years old |
I am aware of it but that doesn't necessarily mean it's not working. Especially, since the persistencesave command is still there and no other PR or post regarding this has been made. I'd really love to get this working as I try to save modified maps for our server. |
you'd want to look at space-wizards/RobustToolbox#6166 for that then |
Thanks 🙏🏽 that's Indeed helpful. |
About the PR
mini revival of #14740
lets maps be loaded from persistence saves and adds
persistencesavecommandthis pr doesnt change any components to reserialize properly nor does it add the save load test as that wouldn't work at all.
more data will be saved in future prs piece by piece until eventually the test can be added and boom persistence can be used live.
Why / Balance
good
Technical details
the bool cvar
game.usepersistenceis used as before to control persistence being used at all.with persistence enabled
game.persistencestartmapmap prototype is loaded.with persistence
game.mapis no longer a prototype id but a path to a save file in the userdata directory.if it exists, the MapPath on the start map prototype is replaced with this.
Media
a modified empty map saved and loaded on a fresh server

a few things are serialized properly :) like ame jar being in the controller, nodegroups probably and the akms bolt being closed.
Breaking changes
no
Changelog
no cl no fun