The Client Token is the first DWORD of SID_AUTH_CHECK (client to server)
If I recall correctly, BNLS returns the Client Token based on the CD-Key and Server Token (From SID_AUTH_INFO)
For non-SHA-1 products, the Client Token can be anything. However, on WarCraft III, sending a random number as the Client Token will result in an invalid CD-Key response from SID_AUTH_CHECK.
How do I define the Client Token variable without using BNLS?
Quote from: 1 on July 12, 2004, 03:44 AM
How do I define the Client Token variable without using BNLS?
Pick a random number
Since you send the ClientToken as a DWORD, you should make it an "int" data type.
Quote from: DaRk-FeAnOr on July 12, 2004, 01:00 PM
Since you send the ClientToken as a DWORD, you should make it an "int" data type.
huh?
Quote from: DaRk-FeAnOr on July 12, 2004, 01:00 PM
Since you send the ClientToken as a DWORD, you should make it an "int" data type.
Or you can make it the DWORD data type.
..
:o
Quote from: Newby on July 12, 2004, 01:14 PM
Or you can make it the DWORD data type.
..
:o
He didn't even specify what language he is using.
Quote from: 1 on July 12, 2004, 03:44 AM
How do I define the Client Token variable without using BNLS?
Try time(0).