Skip to main content

SvcServerInfo

Part of Net/Svc message.

NameTypeSize in bytesSize in bitsValue
Protocolint18-
ServerCountint432-
IsHltvboolean0.1251-
IsDedicatedboolean0.1251-
ClientCrcint432-
MaxClassesint216-
MapCrcint432-
PlayerSlotint18-
MaxClientsint18-
UnkNEint432-
UnkOEint1296-
TickIntervalfloat432-
COschar18-
GameDirstring---
MapNamestring---
SkyNamestring---
HostNamestring---

Pseudocode Example

let protocol = read_le_u16();
let server_count = read_le_u32();
let is_hltv = read_one_bit();
let is_dedicated = read_one_bit();
let client_crc = read_le_u32();
let max_classes = read_le_u16();
let map_crc = read_le_u32();
let player_slot = read_le_u8();
let max_clients = read_le_u8();

let unk = if demo_protocol_3_or_4() {
read_le_u32()
} else if demo_network_protocol == 24 {
read_bits(96)
};

let tick_interval = read_le_f32();
let c_os = read_le_u8() as char;
let game_dir = read_ascii_string();
let map_name = read_ascii_string();
let sky_name = read_ascii_string();
let host_name = read_ascii_string();