WOL Gameres Packet

WOLv2 Gameres Packet:

A few notes:

1. The first 4 bytes indicate the length. The gameres packet is in big-endian byte order.

2. Some tags have more data than the length indicates. This is because the packet is aligned along a 4 byte boundary. Discard any junk data after the length.

[07 40] 00 00 First 2 bytes are length of GAMERES packet HEX than is 00 00

SID# : Game Session ID SID# 00 07 00 01 00 00 00 00

SER# : Game / Player Serial (serial have 22 bytes + 1 is 00 and than 00) SER# 00 07 00 17 0547690215986669937256 00 00

IDNO : Game ID Number IDNO 00 06 00 04 [00 F7 2D 2D] (in hex = 16198957) IDNO 00 06 00 04 [00 00 00 00] (0) IDNO 00 06 00 04 [00 00 00 01] (1)

GSKU : Game SKU GSKU 00 06 00 04 [00 00 1c 00] (in hex = 7168 - Firestorm)

TRNY : Game is turney? 0-isnot 1-is TRNY 00 06 00 04 [00 00 00 00] (normal game) TRNY 00 06 00 04 [00 00 00 01] (turnament)

OOSY : ???????? OOSY 00 02 00 01 [00 31 34 35] (char = .145 | hex = ) OOSY 00 02 00 01 [00 34 35 32] (char = .452 | hex = )

FINI : ???????? FINI 00 02 00 01 [01 f5 77 c4] (char = ..w. | hex = ) FINI 00 02 00 01 [01 35 39 35] (char = .595 | hex = )

DURA : Game Duration DURA 00 06 00 04 [00 00 01 F4] (hex = 500) second? DURA 00 06 00 04 [00 00 00 06] (hex = 6)

CRED : Starting Credits CRED 00 06 00 04 [00 00 27 10] (in hex = 10 000) CRED 00 06 00 04 [00 00 27 10] (10 000)

BASE : Bases On/Off (Boolean) BASE 00 02 00 01 [01 00 00 00] (??True) BASE 00 02 00 01 [01 FF FF FF] (??False)

TIBR : Tiberium On/Off TIBR 00 02 00 01 [01 00 00 00]

CRAT : Crates On/Off CRAT 00 02 00 01 [01 00 00 00]

AIPL : AI Players count AIPL 00 06 00 04 [00 00 00 00] (in hex = 0)

SHAD : Shadow On/Off (first byte 00 - false 01 - true) SHAD 00 02 00 01 [00 FF FF FF] SHAD 00 02 00 01 [00 00 00 00]

FLAG : Capture the Flag mode On/Off (why is first byte 00??) FLAG 00 02 00 01 [00 FF FF FF] FLAG 00 02 00 01 [00 00 00 00]

UNIT : Start Unit count UNIT 00 06 00 04 [00 00 00 0C] (in hex = 12) UNIT 00 06 00 04 [00 00 00 00] (in hex = 0)

TECH : Technology Level TECH 00 06 00 04 [00 00 00 0a] (in hex = 10)

SCEN : Scenarion (Map) SCEN 00 07 00 [0d] G_CANYON.MAP 00 00 00 00 (TSUN) (0d is length of string that ended by one 00) SCEN 00 07 00 09 DUEL.MAP 00 00 00 00 (FSTORM) SCEN 00 07 00 0D G_CANYON.MAP 00 FF FF FF (FSTORM)

PNGS : ???????? PNGS 00 06 00 04 [00 00 00 00]

PNGR : ???????? PNGR 00 06 00 04 [00 00 00 00]

PLRS : Count of Players PLRS 00 06 00 04 [00 00 00 02]

SPID : ???????? SPID 00 06 00 04 [00 00 00 01]

TIME : Game start time - t_time (I hope :) ) TIME 00 05 00 04 [45 0E 0C 0F] TIME 00 05 00 04 [45 0E 04 A3] TIME 00 05 00 04 [45 bb 96 4e]

AFPS : ???????? AFPS 00 06 00 04 [00 00 00 29] AFPS 00 06 00 04 [00 00 00 2B]

PROC : ???????? PROC 00 01 00 01 [0F 00 00 00] PROC 00 01 00 01 [0F FF FF FF]

MEMO : ???????? MEMO 00 05 00 04 [3F DB A0 00]

VIDM : ???????? VIDM 00 05 00 04 [17 60 00 00]

SPED : Game Speed?? SPED 00 01 00 01 [00 00 00 00]

VERS : Gameres packet version (WOL protocol vers.?) VERS 00 07 00 05 [V2.0 00 00 00 00]

DATE : Date... DATE 00 14 00 08 [09 A3 24 00 01 BF CE CC]

-Player Informations: (x is Player 0 - 7)- NAMx : Player name NAM0 00 07 00 07 Schiff 00 00 NAM0 00 07 00 0A pvtschlag 00 FF FF

IPAx : IP Addess IPA0 00 06 00 04 [c0 a8 02 06]

CID0 00 06 00 04 00 00 01 00 CID1 00 06 00 04 00 00 00 00

SIDx : Player Side/Country SID0 00 06 00 04 00 00 00 01 SID1 00 06 00 04 00 00 00 00

TIDx : Player Team TID0 00 06 00 04 00 00 00 00 TID1 00 06 00 04 00 00 00 01

CMPx : Player resolut - Win lose disconnect CMP0 00 06 00 04 00 00 01 00 CMPx 00 06 00 04 [00 00 02 00] 0x0100=WIN 0x0200=LOSE (0x0210) 0x0300=DISCONECT

LCN0 00 02 00 01 00 FF FF FF

COLx : Player Color COL0 00 06 00 04 00 00 00 03

CRD0 00 05 00 04 00 00 00 02

INB0 00 14 00 5C [00 00 00 02 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02] INB0 00 14 00 08 [00 00 00 04 00 00 00 03]

UNB0 00 14 00 48 [00 00 00 01 ........ 00 00 00 02]

PLB0 00 14 00 00 (if are last two bytes 0 than is only sended TAG)

BLB0 00 14 00 00

INL0 00 14 00 08 [00 00 00 04 00 00 00 03]

UNL0 00 14 00 48 [00 00 00 01 ........ 00 00 00 02]

PLL0 00 14 00 00 BLL0 00 14 00 00 INK0 00 14 00 00 UNK0 00 14 00 00 PLK0 00 14 00 00 BLK0 00 14 00 00 BLC0 00 14 00 00 CRA0 00 14 00 00

HRV0 00 06 00 04 [00 00 00 00]

NAM1...bloatyboy... IPA1........ CID1........ SID1........ TID1........ CMP1........ LCN1........ COL1......./ CRD1......'. INB1............ UNB1...H........................................................................ PLB1.... BLB1.... INL1............ UNL1...H........................................................................ PLL1.... BLL1.... INK1.... UNK1.... PLK1.... BLK1.... BLC1.... CRA1.... HRV1........

WOLv1 Gameres BASE.... 00000060 4f 4e 00 61 54 49 42 52  00 07 00 03 4f 4e 00 30 ON.a

TECH : Technology Level TECH 00 06 00 04 [00 00 00 0a] (in hex = 10)

SPED : Game Speed SPED 00 01 00 01 [00 61 73 74] (the las 3 bytes are not relevant)

IDNO : Game ID Number

SCEN : Scenarion (Map) SCEN....A Path Beyond (Lg)..

VERS : Version DATE : Date...

CRDx : Credits

CMPx : Player resolut - Win lose disconnect CMPx 00 06 00 04 [00 00 02 00] (in hex) 1=WIN 2=LOSE 3=DISCONECT

Probably - checked by REX: SHRT : Short game on off MODE : Game mode 0 = normal 1 = tourn 3 = observer 4 = battle clan HRVx : Harvester truce SUPR : Super weapons