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

Automatic entity resync #2145

Conversation

tornac1234
Copy link
Collaborator

  • Automatically request an entity resync when they were missing in a ReparentProcessor or in PlayerHeldItemChanged (client-side) [needs to be tested]
  • Fix old transpiler to now broadcast items drop on death
  • Add a button to request resync for all vehicles [children respawning is currently not correctly handled for this resync]

…requests, and a manual resync system for vehicles (just like the one for bases)
@tornac1234 tornac1234 added Area: player Related to player character actions Area: items Related to items and inventories labels Jun 16, 2024
Andbli

This comment was marked as off-topic.

@dartasen dartasen marked this pull request as draft December 30, 2024 18:59
@Coding-Hen
Copy link
Collaborator

Do we need this now or is it redundant after the changes to the entity system recently?

@tornac1234
Copy link
Collaborator Author

This is all in an effort to avoid restarting the game every time you have some slight desync, but as it is right now, it needs to be thought about, so we either mostly fix the desync occurrences or we enable disconnecting without crashing game, and then if some bad issue persist, we'll implement this kind of resyncer

@tornac1234 tornac1234 closed this Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: items Related to items and inventories Area: player Related to player character actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants