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

fix(gs): Send empty chunk of blocks when the gameserver is ready #102

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

jespertheend
Copy link
Owner

Fixes #92

The mobile client seems to expect a CHUNK_OF_BLOCKS message before it starts moving the player.
So we send an empty chunk to trick the client into enabling player movement.

This wasn't an issue in the past because CHUNK_OF_BLOCKS was sent frequently. But now only FILL_RECT is used for updating the map.

@jespertheend jespertheend merged commit 5b8ec6d into main Oct 25, 2023
1 check passed
@jespertheend jespertheend deleted the 92-Mobile-client-doesnt-work-with-the-new-server branch October 25, 2023 19:59
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

Successfully merging this pull request may close these issues.

Mobile client doesn't work with the new server
1 participant