Valhalla Legends Forums Archive | Battle.net Bot Development | CDkey Encryption

AuthorMessageTime
alex
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?

December 15, 2002, 4:56 PM
Noodlez
just insert the data bnls sends you as a non null terminated string
December 16, 2002, 8:56 PM
Zakath
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. ;)
December 17, 2002, 12:59 PM

Search