Polling client events
Events must be polled often as possible, preferably every “game frame”.
The client-side events are:
equ8_event_id_send_request
. EQU8 has data to send (same as server).equ8_event_id_error
. An error occurred.
If we received a equ8_event_id_send_request
event, EQU8 has data that should be sent to the server.
If we received a equ8_event_id_error
event, an error was detected. This can be anything for an environmental problem to an internal error. It is recommended that the user is notified and the game is terminated. The error-code should always be saved for debugging purposes.
EQU8 will NEVER send more than 256
(0x100
) bytes in a single packet.
Closing the session
Ok, so the last thing left to do code-wise is to close the connection to the EQU8 Anti-Cheat servers when player is no longer in a game.
Last updated