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

Prebuilds get desynced when there is at least 2 clients with host. #112

Closed
hubastard opened this issue Apr 9, 2021 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@hubastard
Copy link
Collaborator

hubastard commented Apr 9, 2021

During our playthrough:

  1. The create the game
  2. Client 1 connects
  3. Client 2 connects
  4. Both client 1 and 2 add a couple of buildings
  5. Host starts to receive prebuild id that is not tracked in the prebuildRequest dictionnary.

You will see a warning like this on the host that will repeat overtime since the client will try to BuildFinally the prebuild forever:
BuildEntityRequest received does not have a corresponding PrebuildRequest with the id 20 for the planet 104

@hubastard hubastard added the bug Something isn't working label Apr 9, 2021
@hubastard hubastard self-assigned this Apr 9, 2021
@hubastard
Copy link
Collaborator Author

Fixed in the following commit: aeb063e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant