Skip to content

System Messages

This page describes the system messages structure, all kind of system messages available and its purpose.

Message IDName
0Unused
1NETMSG_INFO
2NETMSG_MAP_CHANGE
3NETMSG_MAP_DATA
4NETMSG_CON_READY
5NETMSG_SNAP
6NETMSG_SNAPEMPTY
7NETMSG_SNAPSINGLE
8Unused
9NETMSG_INPUTTIMING
10NETMSG_RCON_AUTH_STATUS
11NETMSG_RCON_LINE
12Unused
13Unused
14NETMSG_READY
15NETMSG_ENTERGAME
16NETMSG_INPUT
17NETMSG_RCON_CMD
18NETMSG_RCON_AUTH
19NETMSG_REQUEST_MAP_DATA
20Unused
21Unused
22NETMSG_PING
23NETMSG_PING_REPLY
24Unused
25NETMSG_RCON_CMD_ADD
26NETMSG_RCON_CMD_REM

1 - NETMSG_INFO

This message

  • Vital : ✅
  • Instant Sending : ✅
  • Sending Path : Client -> Server

Structure:

FieldTypeDescription
VersionStringThe client version
PasswordStringThe server password (optional)

2 - NETMSG_MAP_CHANGE

This message

  • Vital : ✅
  • Instant Sending : ✅
  • Sending Path : Server -> Client

Structure:

FieldTypeDescription
Map NameStringThe map name
Map CRCIntegerThe map CRC
Map SizeIntegerThe map size (bytes?)

3 - NETMSG_MAP_DATA

This message

  • Vital : ✅
  • Instant Sending : ✅
  • Sending Path : Server -> Client

Structure:

FieldTypeDescription
LastIntegerTODO
Current Map CRCIntegerTODO
ChunkIntegerTODO
Chunk SizeIntegerTODO
DataBinaryTODO

4 - NETMSG_CON_READY

This message

  • Vital : ✅
  • Instant Sending : ✅
  • Sending Path : Server -> Client

Structure:

Empty payload

5 - NETMSG_SNAP

This message sends a slice of a snap with part of the items.

  • Vital : ❌
  • Instant Sending : ✅
  • Sending Path : Server -> Client

INFO

Snap is a complex type of chunk. You can find more information about it on Snap Structure page.

6 - NETMSG_SNAPEMPTY

This message sends an empty snap with no items.

  • Vital : ❌
  • Instant Sending : ✅
  • Sending Path : Server -> Client

INFO

Snap is a complex type of chunk. You can find more information about it on Snap Structure page.

7 - NETMSG_SNAPSINGLE

This message sends a full snap with all items.

  • Vital : ❌
  • Instant Sending : ✅
  • Sending Path : Server -> Client

INFO

Snap is a complex type of chunk. You can find more information about it on Snap Structure page.

9 - NETMSG_INPUTTIMING

This message is a response from the server to the client "INPUT" chunk.

  • Vital : ❌
  • Instant Sending : ❌
  • Sending Path : Server -> Client

Structure:

FieldTypeDescription
Intended TickIntegerTODO
Time LeftIntegerTODO

INFO

Check the Input & Input Timing Chunks section for more information about this chunk.

10 - NETMSG_RCON_AUTH_STATUS

This message

  • Vital : ✅
  • Instant Sending : ❌
  • Sending Path : Server -> Client

Structure:

FieldTypeDescription
AuthedBooleanTODO
CmdListBooleanTODO

11 - NETMSG_RCON_LINE

This message

  • Vital : ✅
  • Instant Sending : ❌
  • Sending Path : Server -> Client

Structure:

FieldTypeDescription
LineStringTODO

14 - NETMSG_READY

This message

  • Vital : ✅
  • Instant Sending : ✅
  • Sending Path : Client -> Server

Structure:

Empty payload

15 - NETMSG_ENTERGAME

This message

  • Vital : ❌
  • Instant Sending : ✅
  • Sending Path : Client -> Server

Structure:

Empty payload

16 - NETMSG_INPUT

This message is sent by the client to the server with the player's input.

  • Vital : ❌
  • Instant Sending : ✅
  • Sending Path : Client -> Server

Structure:

FieldTypeDescription
Ack Game TickIntegerTODO
Prediction TickIntegerTODO
Input SizeIntegerTODO
Input -> DirectionIntegerTODO
Input -> Target XIntegerTODO
Input -> Target YIntegerTODO
Input -> JumpBooleanTODO
Input -> FireBooleanTODO
Input -> HookBooleanTODO
Input -> PlayerFlagsIntegerTODO
Input -> WantedWeaponIntegerTODO
Input -> NextWeaponIntegerTODO
Input -> PrevWeaponIntegerTODO

INFO

Check the Input & Input Timing Chunks section for more information about this chunk.

17 - NETMSG_RCON_CMD

This message

  • Vital : ✅
  • Instant Sending : ❌
  • Sending Path : Client -> Server

Structure:

FieldTypeDescription
CommandStringThe command to be executed

18 - NETMSG_RCON_AUTH

This message

  • Vital : ✅
  • Instant Sending : ❌
  • Sending Path : Client -> Server

Structure:

FieldTypeDescription
Send CommandsBooleanThis is always 1 (true)

19 - NETMSG_REQUEST_MAP_DATA

This message

  • Vital : ✅
  • Instant Sending : ✅
  • Sending Path : Client -> Server

Structure:

FieldTypeDescription
ChunkIntegerTODO

22 - NETMSG_PING

This message

  • Vital : ❌
  • Instant Sending : ❌
  • Sending Path : Both ways

Structure:

Empty payload

23 - NETMSG_PING_REPLY

This message

  • Vital : ❌
  • Instant Sending : ❌
  • Sending Path : Both ways

Structure:

Empty payload

25 - NETMSG_RCON_CMD_ADD

This message

  • Vital : ✅
  • Instant Sending : ❌
  • Sending Path : Server -> Client

Structure:

FieldTypeDescription
NameStringTODO
HelpStringTODO
ParamsStringTODO

26 - NETMSG_RCON_CMD_REM

This message

  • Vital : ✅
  • Instant Sending : ❌
  • Sending Path : Server -> Client

Structure:

FieldTypeDescription
NameStringTODO