Skip to content
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

Sync radiation leaks #2100

Merged
merged 3 commits into from
Jan 7, 2024
Merged

Conversation

tornac1234
Copy link
Collaborator

  • Sync radiation leak fixing (can be fixed by two people at a time)
  • Recalculates the radiation radius based on the time at which the last unfixed leak was fixed
  • Add a subsystem to modify worlds when they're created, in this case it's used to create the radiation leak entities but it could be used as well for BZ
  • Desync-proof local radiation updates because I replaced Time.deltaTime by our own loss-less deltaTime.
  • Add a "real elapsed time" on server-side which is propagated to the client so both of them can work with "Time.deltaTime" behaviours on clients.

@tornac1234 tornac1234 linked an issue Dec 23, 2023 that may be closed by this pull request
@tornac1234 tornac1234 added Area: persistence Related to serialization for long term storage (i.e. files and databases) Area: spawning Related to spawning and/or terrain labels Dec 23, 2023
NitroxServer/Serialization/World/WorldPersistence.cs Outdated Show resolved Hide resolved
NitroxServer/GameLogic/TimeKeeper.cs Outdated Show resolved Hide resolved
NitroxServer/GameLogic/StoryManager.cs Outdated Show resolved Hide resolved
NitroxServer/GameLogic/StoryManager.cs Outdated Show resolved Hide resolved
NitroxServer/GameLogic/TimeKeeper.cs Outdated Show resolved Hide resolved
@tornac1234 tornac1234 mentioned this pull request Jan 6, 2024
10 tasks
@dartasen dartasen requested a review from Measurity January 7, 2024 14:34
@tornac1234 tornac1234 merged commit 9c5cd40 into SubnauticaNitrox:master Jan 7, 2024
@Measurity Measurity added this to the 1.8 milestone Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: persistence Related to serialization for long term storage (i.e. files and databases) Area: spawning Related to spawning and/or terrain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Aurora] Nuclear reactor damage points and radiation syncing
3 participants