123456789101112131415 |
- unsigned char SERVER_Packet40[36] = {
- 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x40, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x63, 0x48, 0x6C, 0x55, //(______@_____cHlU)
- 0x10, 0x00, 0x00, 0x00, 0x02, 0x00, 0x23, 0x28, 0xCF, 0x2E, 0xCC, 0x29, 0x00, 0x00, 0x00, 0x00, //(______#(_._)____)
- 0x00, 0x00, 0x00, 0x00, //(____)
- } ;
- void woot (void)
- {
- DWORD crc1,crc2,crc3;
- DWORD *crc;
- crc=(DWORD *)&SERVER_Packet40[12]; *crc=0x3291975;
- crc1=GetMagicNumber(&SERVER_Packet40[0x14], 0x10, 0);
- crc2=GetMagicNumber(&SERVER_Packet40[0x00], 0x14, 1);
- crc3=crc1+crc2;
- }
|