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

Disconnected client entities trigger entity update once #21

Closed
markatk opened this issue Jul 23, 2019 · 4 comments
Closed

Disconnected client entities trigger entity update once #21

markatk opened this issue Jul 23, 2019 · 4 comments

Comments

@markatk
Copy link
Contributor

markatk commented Jul 23, 2019

When a client disconnects (or timeouts, doesn't matter) from the server there is one entity update event triggered after the disconnect event.

...
Update entity 1 for client 1773685128
Update entity 0 for client 647576079
Update entity 1 for client 1773685128
Update entity 0 for client 647576079
Update entity 1 for client 1773685128
Update entity 0 for client 647576079
Update entity 1 for client 1773685128
Update entity 0 for client 647576079
client 647576079 disconnected
Update entity 1 for client 1773685128
Update entity 0 for client 647576079
@inlife
Copy link
Member

inlife commented Jul 24, 2019

interesting
i'm assuming that is happening because of entity destruction on the server-side is not immediate, but rather it allows for one last tick to happen before entity destroy will be sent, however in this case, i'm not sure if that is the reason

@inlife
Copy link
Member

inlife commented Jul 25, 2019

hey @markatk
could you try the lastest version from master, to see if it the solves issue for you?

@markatk
Copy link
Contributor Author

markatk commented Aug 1, 2019

As far as my testing goes it seems to be fixed

@inlife
Copy link
Member

inlife commented Aug 1, 2019

oh, that is great news

@inlife inlife closed this as completed Sep 12, 2019
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

2 participants