www.pudn.com > gamedata.rar > debug.c
#include "stdafx.h"
int debug1(SOCKET s)
{
// 00 01 02 03 04 05 06 07 08 09 10 11 12
// 08 00 00 00 DB 00 00 00 00 02 00 00 00
int ret;
BYTE lpSource[13];
memset(lpSource, 0x00, sizeof(lpSource));
lpSource[0] = 0x00;
lpSource[1] = 0x00;
lpSource[2] = 0x00;
lpSource[3] = 0x00;
lpSource[4] = 0xDB;
lpSource[5] = 0x00;
lpSource[6] = 0x00;
lpSource[7] = 0x00;
lpSource[8] = 0x00;
lpSource[9] = 0x02;
lpSource[10] = 0x00;
lpSource[11] = 0x00;
lpSource[12] = 0x00;
ret = add_pack_chain(s, lpSource, 13, 0, FALSE);
return ret;
}
int debug2(SOCKET s)
{
// 00 01 02 03 04 05 06 07 08 09 10 11 12
// 08 00 00 00 EB
int ret;
BYTE lpSource[5];
memset(lpSource, 0x00, sizeof(lpSource));
lpSource[0] = 0x00;
lpSource[1] = 0x00;
lpSource[2] = 0x00;
lpSource[3] = 0x00;
lpSource[4] = 0xEB;
ret = add_pack_chain(s, lpSource, 5, 0, FALSE);
return ret;
}