Hello, I'm fairly new to battle.net. I just started working on a client to emulate starcraft. Packet logging and reading the BNLS Protocol have helped me understand the protocol.
I'm currently working on the SID_AUTH_CHECK (0x51) packet.
(9 DWORDs) CD-key data is giving me a bit of trouble. Does anyone have a C++ function publicly available that will put the cdkey into the correct format?
just insert the data bnls sends you as a non null terminated string
There is a (set of) function(s) publicly available that does that, though. Not sure where'd you find it at this point, however. Also, it's not the most intuitive thing, figuring out how the functions in the said file work to create those 9 DWORDs. ;)