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
The problem is that I first connect to the match, when that succeeds I start a websocket connection. If some message gets send between being join and being websocket connected, the message is voided.
This is a tricky one, because not all messages should be queued, because you receive the full state.
Two options:
Change the order of things, first you join, then I do the websocket handshake then I create a seperate request to get the match state.
I could create the message queue and clear it when a new gamestate is being requested. This wayy if you reconnect you will be up to date, but you won't redo messages which were intended from the last state you had.
The text was updated successfully, but these errors were encountered:
The problem is that I first connect to the match, when that succeeds I start a websocket connection. If some message gets send between being join and being websocket connected, the message is voided.
This is a tricky one, because not all messages should be queued, because you receive the full state.
Two options:
The text was updated successfully, but these errors were encountered: