Valhalla Legends Forums Archive | Battle.net Bot Development | help 1.10 ERR!!

AuthorMessageTime
SubLiminaL_WolF
how would i get the code from [code]case 0x50:
               //protocol id
               //platform id
               packetbuf.insert("68XIPXES", 8); //product ID
               //version Id
               //product language
               //Local IP for NAT compatibility*
               //Time zone bias*
               //Locale ID*
               //Language ID*
               //Country abreviation
               //Country
               packetbuf.sendpacket(s, 0x51);
               break;
            case 0x51:
               //Version check result
               if(buffer[4] != 0x51){
                  AppendText(IDC_CHATWND, WHITE, "%s", timestamp);
                  AppendText(IDC_CHATWND, RED, "Version check failed!\n");
                  Disconnect();
                  return;
               }
               AppendText(IDC_CHATWND, WHITE, "%s", timestamp);
               AppendText(IDC_CHATWND, GREEN, "Passed version check!\n");
               packetbuf.insert("tenb", 4);
               packetbuf.sendpacket(s, 0x14);
               packetbuf.sendpacket(s, 0x2d);
               packetbuf.insert((int)0x1b);
               packetbuf.insert((int)0);
               packetbuf.insert("bnserver.ini");
               packetbuf.sendpacket(s, 0x33);
               AppendText(IDC_CHATWND, WHITE, "%s", timestamp);
               AppendText(IDC_CHATWND, WHITE, "Checking CDKey...\n");
               //this is where cdkey packet would be ^^
               break;[/code]
to 0x50: (DWORD)       Protocol ID (0)
(DWORD)       Platform ID
(DWORD)       Program ID
(DWORD)       Version
(DWORD)       Product language
(DWORD)       Local IP for NAT compatibility*
(DWORD)       Time zone bias*
(DWORD)       Locale ID*
(DWORD)       Language ID*
(STRING)       Country abreviation
(STRING)       Country
and 0x51: (DWORD)       Client Token
(DWORD)       Version Hash
(DWORD)       Checksum
(DWORD)       Number of keys in this packet
(BOOLEAN)    Using Spawn

For Each Key:
(DWORD)       Key Length
(DWORD)       Product
(DWORD)       CDKEY Value 1
(DWORD)       Unknown (0)
(DWORD[5])    Hashed Data

(STRING)       Exe Information
(STRING)       CD Key owner name
April 29, 2003, 4:37 AM
Yoni
Err... Please restate the question?
April 29, 2003, 4:38 AM
SubLiminaL_WolF
ok i dunno the structure of 0x50/51 so ima bit confused i want to get bnet to review my version of sexp and it wont it always says failed because i have 0x07 and i tryed changing it to 0x50 and 51 also am i skipping a step?
April 29, 2003, 4:42 AM

Search