Send packet ,No response to the game
DWORD g_55F8A6 = 0x55F8A6;
void __declspec (naked) Old55F8A0(char *arg)
{
__asm
{
push ebp;
mov ebp,esp;
push esi;
mov esi,ecx;
jmp g_55F8A6;
}
}
void sendpkt()
{
//build packet
PARAM Param = BuildParam((DWORD)&myPacket);
DWORD dwClassPt = GetClassPointer();
__asm
{
mov ecx,dwClassPt;
lea eax,Param;
push eax;
call Old55F8A0;
}
}
No response to the game,why?
how to fix it.