Skip to content

Packet Format

Eric Tsai edited this page Dec 5, 2013 · 3 revisions

If the 'Broadcast Statistics' box is checked, the mutator will emit UDP packets containing information about the match that took place and the players that participated in the match. This page details the format of the packets.

Header

All packets have a header section that describe the packet. The header consists of 3 parts as described in the below table.

Section Description
format The format that the packet is encoded in.
version Version of the format used. This will be a single number.
password Tracking server password to accept the packet.

The header sections are separated by a comma:

$format,$version,$password

Formats

There are currently only two packet formats: one describing the player statistics, and the other describing match information. They have both undergone 2 revisions, with version 3 of both closely tying together the player and match information and providing a higher level of detail of statistics.

Section Current Version Description
kfstatsx-match 3 Encodes match results, used mutators, and wave statistics
kfstatsx-player 3 Encodes player related statistics that are viewable in the ESC menu, including perk play time, and session info

Clone this wiki locally