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

Server Unloading Slices #139

Open
olls opened this issue Feb 16, 2017 · 0 comments
Open

Server Unloading Slices #139

olls opened this issue Feb 16, 2017 · 0 comments

Comments

@olls
Copy link
Member

olls commented Feb 16, 2017

In the Game object, we have the reload_slices method (triggered by event_unload_slices from a client after loading chunks) which trims the loaded map down to the edges of all the players. But the edges item of a player dictionary is only added after that player calls event_unload_slices.

So if a new-to-the-server player logs in as another player triggers event_unload_slices, the new players slices (which they had just loaded) will be unloaded on the server, meaning any modifications to those slices by the new player will not be saved on the server until the player reloads the chunks containing those slices.

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

No branches or pull requests

2 participants