You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A heartbeat is needed so that servers and clients can decide about the health of their connection to the game environment. As an example, if a client dies without sending a leave message, that player simply idles forever.
Decision
A new protobuf security message type (heartbeat) will be implemented
Clients will send regular heartbeat messages
The server will discard players that it does not receive regular heartbeat messages from
Rationale
We don't want orphaned players or clients thinking the game is still going when it isn't
Status
Proposed
Consequences
The clients currently don't care which, or any, server they are working with. As we have one server today, it's not much of a problem. However, when we get to multi-server, we may need to figure out some kind of hand-off and to figure out how to make the client care about its specific server
ADR Context / Overview
A heartbeat is needed so that servers and clients can decide about the health of their connection to the game environment. As an example, if a client dies without sending a leave message, that player simply idles forever.
Decision
A new protobuf security message type (
heartbeat
) will be implementedClients will send regular heartbeat messages
The server will discard players that it does not receive regular heartbeat messages from
Rationale
We don't want orphaned players or clients thinking the game is still going when it isn't
Status
Proposed
Consequences
The clients currently don't care which, or any, server they are working with. As we have one server today, it's not much of a problem. However, when we get to multi-server, we may need to figure out some kind of hand-off and to figure out how to make the client care about its specific server
Authors
@thoraxe
The text was updated successfully, but these errors were encountered: