-
-
Notifications
You must be signed in to change notification settings - Fork 254
Open
Description
Is your feature request related to a problem? Please describe.
We need to support the new protocol in order to support the new version
Describe the solution you'd like
Implement the new protocol specifications
Describe alternatives you've considered
N/A
Additional context
Network protocol
- The client-bound
player_chat
packet now contains an index increasing for every message sent to the client.- The index starts at 0 when logging in (or is reset by configuration phase and the
login
packet). - For every message, the server should increment this value by 1.
- If this value updates in an unexpected way, the client will disconnect.
- As the protocol requires that every chat packet reaches the client in produced order, the goal is to enable faster detection of missed/reordered chat messages for custom server developers.
- The index starts at 0 when logging in (or is reset by configuration phase and the
- The server-bound
chat
andchat_command_signed
packets now contain a checksum byte along with the 'last seen' update.- This is a simple hash of the 'last seen' signatures which should be reconstructed by the server, allowing quicker detection of de-synchronized state.
- This can be passed as
0
to disable the check, for compatibility with protocol translation.
hyzhak
Metadata
Metadata
Assignees
Labels
No labels