Und da sieht man doch schon, dass du immer noch nicht
richtig in die Doku geschaut hast.
Wenn der Wert vom Typ
BYTE ist, dann hat es da nur
1 (in Worten
ein) Byte.
Data | Type | Description | Byte-Länge | HEX | Erwartet |
---|
Header | byte | 8 bit character or unsigned integer | 1 | 49 | I |
Protocol | byte | 8 bit character or unsigned integer | 1 | 11 | 17 |
Name | string | variable-length byte field, encoded in UTF-8, terminated by 0x00 | ~ | 5B 4C 2D 54 2D 53 5D 20 45 70 6F 63 68 20 4F 72 69 67 69 6E 73 20 28 31 2E 30 2E 35 2E 31 2F 31 32 35 35 34 38 29 00 | [L-T-S] Epoch Origins (1.0.5.1/125548) |
Map | string | variable-length byte field, encoded in UTF-8, terminated by 0x00 | ~ | 54 61 76 69 00 | Tavi |
Folder | string | variable-length byte field, encoded in UTF-8, terminated by 0x00 | ~ | 61 72 6D 61 32 61 72 72 6F 77 70 63 00 | arma2arrowpc |
Game | string | variable-length byte field, encoded in UTF-8, terminated by 0x00 | ~ | 44 61 79 5A 20 45 70 6F 63 68 20 4F 72 69 67 69 6E 73 00 | Dayz Epoch Origins |
ID | short | 16 bit signed integer | 2 | 8A 84 | 33930 |
Players | byte | 8 bit character or unsigned integer | 1 | 00 | 0 |
Max. Players | byte | 8 bit character or unsigned integer | 1 | 19 | 25 |
Bots | byte | 8 bit character or unsigned integer | 1 | 00 | 0 |
Server Type | byte | 8 bit character or unsigned integer | 1 | 64 | d |
Environment | byte | 8 bit character or unsigned integer | 1 | 77 | w |
Visibility | byte | 8 bit character or unsigned integer | 1 | 00 | 0 |
VAC | byte | 8 bit character or unsigned integer | 1 | 00 | 0 |
Version | string | variable-length byte field, encoded in UTF-8, terminated by 0x00 | ~ | 8A 84 | DAS PASST DOCH HIER NICHT |
Extra Data Flags | byte | 8 bit character or unsigned integer | 1 | 00 | 0 |
Bei der Version hast du dich definitiv
vertan und
falsche Daten aufgeschrieben.
Hier Beispielhaften von der Valve Seite
Code:
FF FF FF FF 49 02 67 61 6D 65 32 78 73 2E 63 6F ˙˙˙˙I.game2xs.co
6D 20 43 6F 75 6E 74 65 72 2D 53 74 72 69 6B 65 m Counter-Strike
20 53 6F 75 72 63 65 20 23 31 00 64 65 5F 64 75 Source #1.de_du
73 74 00 63 73 74 72 69 6B 65 00 43 6F 75 6E 74 st.cstrike.Count
65 72 2D 53 74 72 69 6B 65 3A 20 53 6F 75 72 63 er-Strike: Sourc
65 00 F0 00 05 10 04 64 6C 00 00 31 2E 30 2E 30 e......dl..1.0.0
2E 32 32 00 .22.
Das sieht man, dass es den Wert für
Extra Data Flags nicht geben muss!
Kaum macht man's richtig - schon funktioniert's
Zertifikat: Sir Rufo (Fingerprint: ea 0a 4c 14 0d b6 3a a4 c1 c5 b9
dc 90 9d f0 e9 de 13 da 60)