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 straight away when joining server #3057

Closed
IntelOrca opened this issue Mar 1, 2016 · 2 comments
Closed

Disconnected straight away when joining server #3057

IntelOrca opened this issue Mar 1, 2016 · 2 comments
Labels
bug Something went wrong. multiplayer Related to the multiplayer functionality of OpenRCT2.

Comments

@IntelOrca
Copy link
Contributor

I think one cause of this is when joining a game containing objects the player does not have. The objects are sent with the map, but when the player has its object cache re-constructed - the connection to the server will timeout as re-constructing the object cache is a blocking function and multiplayer update is not asynchronous, therefore not able to ping back.

Of course once the player rebuilds the cache, they can reconnect to the server and they will not have to re-construct their cache this time thus getting into the game successfully.

@IntelOrca IntelOrca added bug Something went wrong. multiplayer Related to the multiplayer functionality of OpenRCT2. labels Mar 1, 2016
@IntelOrca IntelOrca changed the title Disconnected straight away when joining Disconnected straight away when joining server Mar 1, 2016
@pizza2004
Copy link
Contributor

Yes, I noticed exactly what you just described happening the other day when I was joining servers while doing some debugging.

@IntelOrca
Copy link
Contributor Author

No longer a problem as the object cache is never reconstructed when loading a park.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something went wrong. multiplayer Related to the multiplayer functionality of OpenRCT2.
Projects
None yet
Development

No branches or pull requests

2 participants