• Welcome to Valhalla Legends Archive.
 

CDkey Encryption

Started by alex, December 15, 2002, 10:56 AM

Previous topic - Next topic

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?


Noodlez

#1
just insert the data bnls sends you as a non null terminated string

Zakath

#2
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. ;)
Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.