Half-Life Standard Log Format Specification
Revision 1.03
Notice This document began as a proposal developed by a group of Half-Life server administrators and utility developers, on the hlds_apps mailing list. Valve Software have now implemented this new format (in TFC, CS and HLDM), and it is included in all client/server releases of Half-Life since version 1.1.0.6. This document can now be used as a reference specification for mod authors and utility developers. |
Intended Audience
This document is aimed at anyone involved with HL logging or log parsing -- Valve Software, mod authors and developers, utility developers, etc.
Goals
Note The L mm/dd/yyyy - hh:mm:ss: timestamp prefix on log messages is omitted from all format specifications below.
Events - HL Engine
Server cvars start
Server cvar "var" = "value"
Server cvars end
Log file started (file "filename") (game "game") (version "protocol/release/build")
Log file closed
Loading map "map"
Started map "map" (CRC "crc")
Rcon: "rcon challenge "password" command" from "ip:port"
Bad Rcon: "rcon challenge "password" command" from "ip:port"
Server name is "hostname"
Server say "message"
Events - Game
"Name<uid><wonid><>" connected, address "ip:port"
"Name<uid><wonid><>" entered the game
"Name<uid><wonid><team>" disconnected
"Name<uid><wonid><team>" committed suicide with "weapon"
"Name<uid><wonid><team>" joined team "team"
"Name<uid><wonid><team>" changed role to "role"
"Name<uid><wonid><team>" changed name to "Name"
"Name<uid><wonid><team>" killed "Name<uid><wonid><team>" with "weapon"
"Name<uid><wonid><team>" attacked "Name<uid><wonid><team>" with "weapon" (damage "damage")
"Name<uid><wonid><team>" triggered "action" against "Name<uid><wonid><team>"
"Name<uid><wonid><team>" triggered "action"
Team "team" triggered "action"
World triggered "action"
"Name<uid><wonid><team>" say "message"
"Name<uid><wonid><team>" say_team "message"
Team "team" formed alliance with team "team"
Team "team" scored "score" with "numplayers" players
Use the property3 mechanism to extend this event where necessary. Some standard property key names to use for this event have been defined as follows:
Example:
Team "Yellow" scored "73" with "5" players (kills "182") (kills_unaccounted "4") (deaths "217") (allies "<Red><Green>")
"Name<uid><wonid><team>" tell "Name<uid><wonid><team>" message "message"
Player "Name<uid><wonid><team>" scored "score"
Use the property3 mechanism to extend this event where necessary. Some standard property key names to use for this event have been defined as follows:
Example:
Player "Joe<123><654321><123>" scored "54" (kills "36") (deaths "11")
"Name<uid><wonid><team>" selected weapon "weapon"
"Name<uid><wonid><team>" acquired weapon "weapon"
Appendix A - Code Examples
Appendix B - Example Log Files
ChangeLog
1.03Comments to Simon Garner <>
Last modified 2001-09-25 12:58:42 NZST