hooking s2s packets example 114

Posts 1–4 of 4 · Page 1 of 1
hooking s2s packets example 114
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
Nice share
hi, today i got unbaned from a perma punkbuster ban for using hacks, is it only me or all previous perma banned acc are now unbanned?
Quote Originally Posted by polak97 View Post
hi, today i got unbaned from a perma punkbuster ban for using hacks, is it only me or all previous perma banned acc are now unbanned?
first off why'd you bump a 2 year old thread... and second, I think all accounts were unbanned in the move to Volfe ownership
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?