| Type |
Name |
Dependency |
Comment |
| LogMod Query |
| UINT32 |
|
|
Value: 0xFFFFFFFF |
| SzString |
ID |
|
Value: "LogMod: GetStatus" |
| UINT8 |
Protocol |
LogMod 0.4c |
Protokoll Version. Muss 1 sein. |
| UINT32 |
Bit 0: bHeader1
Bit 1: bHeader2
Bit 2: bPlayerList
Bit 3: bHostname
Bit 4: bRunTime
Bit 5: bMaxPlayers
Bit 6: bGameDir
Bit 7: bMap
|
|
Gibt an welche Daten alle Abgefragt werden sollen. |
| NString |
Header1 |
bHeader1 |
Zusätzlicher Header für die Antwort. Wird ganz an den Anfang gesetzt. |
| NString |
Header2 |
bHeader2 |
Zusätzlicher Header für die Antwort. Wird als normaler Parameter übergeben. |
| UINT16 |
Bit 0: bSlot
Bit 1: bName
Bit 2: bFrags
Bit 3: bID
Bit 4: bWONID (obsolete)
Bit 5: bPing
Bit 6: bLoss
Bit 7: bTeam
Bit 8: bModel
Bit 9: bRate
Bit 10: bDead
Bit 11: bAuthID
Bit 12: bCoord
Bit 13: bAngles
|
bPlayerList |
Wenn eine Player Liste zurückgegeben werden soll, gibt dieses Feld an, welche Informationen die Playerliste haben wird |
| LogMod Answer |
| String |
Header1 |
bHeader1 (Query) |
Wenn im Query das bHeader1 Flag gesetzt wurde, werden bei der Anwort die Daten von Header1 ganz an den Anfang dazugefügt. |
| UINT32 |
|
|
Value: 0xFFFFFFFF |
| SzString |
ID |
|
Value: "LogMod: StatusResponse" |
| UINT8 |
Protocol |
LogMod 0.4c |
Protokoll Version. Muss 1 sein. |
| UINT32 |
Bit 0: bHeader1 (=0)
Bit 1: bHeader2
Bit 2: bPlayerList
Bit 3: bHostname
Bit 4: bRunTime
Bit 5: bMaxPlayers
Bit 6: bGameDir
Bit 7: bMap
|
|
Gibt an welche Daten zurückgeliefert werden. Die Bits können sich von den Query-Bits unterscheiden, wenn die LogMod Version z.B. einen bestimmten Datentype noch nicht unterstüzt. |
| NString |
Header2 |
bHeader2 |
Zusätzliche Informationen um z.B. eine Query ID oder so mitzuschicken. |
| PLAYERLIST |
PlayerList |
bPlayerList |
Gesamte Playerliste. Siehe PLAYERLIST-Type. |
| SzString |
Hostname |
bHostname |
Servername |
| UINT32 |
RunTime |
bRunTime |
Laufzeit des Servers in Sekunden |
| UINT8 |
MaxPlayers |
bMaxPlayers |
Maximale Spieleranzahl |
| SzString |
ModDir |
bModDir |
Mod Verzeichnis |
| SzString |
Map |
bMap |
Map File |
| PLAYERLIST |
| UINT16 |
Bit 0: bSlot
Bit 1: bName
Bit 2: bFrags
Bit 3: bID
Bit 4: bWONID
Bit 5: bPing
Bit 6: bLoss
Bit 7: bTeam
Bit 8: bModel
Bit 9: bRate
Bit 10: bDead
Bit 11: bAuthID
Bit 12: bCoord
Bit 13: bAngles
|
|
Welche Informationen in der Playerliste enthalten sind. |
| UINT8 |
PlayerCount |
|
Anzahl der Spieler in der Liste. |
| PLAYERLISTENTRY-Array |
List |
|
PlayerCount-Mal wird der PLAYERLISTENTRY-Type wiederholt. |
| PLAYERLISTENTRY |
| UINT8 |
Slot |
bSlot |
Welchen Serverslot der Player benutzt. |
| SzString |
Name |
bName |
Spielername |
| SINT16 |
Frags |
bFrags |
|
| UINT32 |
ID |
bID |
Eindeutige Serverweite ID |
| UINT32 |
WONID |
bWONID |
|
| UINT16 |
Ping |
bPing |
|
| UINT16 |
Loss |
bLoss |
|
| UINT8 |
Team |
bTeam |
0xFF: Spectator
CS: 0 - Unkown, 1 - CT, 2 - T
|
| SzString |
Model |
bModel |
|
| UINT16 |
Rate |
bRate |
|
| UINT8 |
Dead |
bDead |
0: Alive
1: Dead
0xFF: Spectator
|
| SzString |
AuthID |
bAuthID |
Global ID of this player e.g. STEAM_x:x:xxxx |
| Float |
Coord.x |
bCoord |
X, Y and Z coordinate of player |
| Float |
Coord.y |
bCoord |
| Float |
Coord.z |
bCoord |
| Float |
Angles.x |
bAngles |
Three angles of player |
| Float |
Angles.y |
bAngles |
| Float |
Angles.z |
bAngles |