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

When host is autosaving clients can send duplicate build events #365

Open
PhantomGamers opened this issue Jul 10, 2021 · 3 comments
Open

Comments

@PhantomGamers
Copy link
Collaborator

PhantomGamers commented Jul 10, 2021

This affects both new buildings and building upgrades and results in multiple things being built in the same location

@sp00ktober
Copy link
Collaborator

Any idea how we could prevent this?

@PhantomGamers
Copy link
Collaborator Author

it's not ideal but one possible solution would be to notify the clients when the host starts saving and pause the clients until the host finishes saving

@douglasg14b
Copy link

I wouldn't call that unideal. That's a fairly common tactic for handling multiplayer game saves.

Sure, you could have complex state updates & management during save, but why do that when you can pause other clients 🤔

If anything that's an acceptable work around until such time as an elegant solution is created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants