so its me again long time ago j has been posting so i thought i would help out also
you can do this for all packets in s2s
example packet used 114 since people love it so much
Pointer:
Code:
DWORD dwPacket114 = 0x374DE050;
How it Works
this address or pointer goes to the packet 114 and this bit of code
374DE050 push eax// pMsg
___:374DE051 mov eax, [edx+164h]//pLtClient->s2s
so we do this midfunction
Code:
__declspec(naked) void HookS2SPacket()
{
static ILTMessage_Read * pMsg;
__asm
{
PUSHAD
MOV pMsg, EAX
}
//Do Stuff Here
__asm
{
POPAD
PUSH pMsg
JMP dwReturn
}
}
so we will push pMsg are selfs at this address into s2s call in cshell
so
dwReturn = dw114Packet + 1;
so we can edit pMsg and push ares into s2s thus doing s2s hacks like character hack etc
ill release some pubs too soon
extra
if you want to do char hack
remove constructers in the Message class
to use it in the midfunction