S>C 0x23 SID_WRITECOOKIE
Transport Layer:
Transmission Control Protocol (TCP)
Application Layer:
Battle.net v1 TCP Messages (SID)
Message Id:
0x23
Message Name:
SID_WRITECOOKIE
Direction:
Server to Client
Options:
Deprecated
Deprecated
Used By:
Starcraft OriginalStarcraft BroodwarStarcraft SharewareStarcraft JapaneseDiablo RetailDiablo SharewareWarcraft II BNE
Message Format:
(does not include protocol header)
(does not include protocol header)
(UINT32) unknown/unparsed -- Flags, Request ID?
(UINT32) unknown/unparsed -- Timestamp?
(STRING) Registry key name
(STRING) Registry key value
Remarks
Much like a website cookie, simply stores some arbitrary string to a 'cookie jar' to save preferences et al. which can be retrieved later by the server.
Not used because it was quickly discovered that storing preferences produces less problems and were faster by storing them server-side, associating them with the account. It is somewhat curious that these packet IDs are close to SID_READUSERDATA/SID_WRITEUSERDATA (0x26 & 0x27).
Found at: battle!190216FBh and battle!1901D660h, respectively.
🔖diablostarcraftstarcraft-broodwarstarcraft-japanwarcraft-ii
Anonymous