Results 1 to 4 of 4

Threaded View

  1. #1
    DisOwned_'s Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    3

    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
    Last edited by DisOwned_; 08-19-2016 at 12:25 AM.

  2. The Following 3 Users Say Thank You to DisOwned_ For This Useful Post:

    DareoTheOreo_ALT (08-27-2016),gibam761 (08-19-2016),RuShi (08-19-2016)

Similar Threads

  1. [Help Request] Problema Hook S2S
    By NeoStryker in forum Combat Arms BR Coding Help
    Replies: 16
    Last Post: 11-22-2014, 08:57 PM
  2. [Source Code] Weapon Spawn List + Life Taker + Hook S2S
    By MrOriginal~ in forum Combat Arms BR Hack Coding/Source Code
    Replies: 49
    Last Post: 08-28-2013, 12:30 PM
  3. Alguem tem o hook s2s?
    By thedark22 in forum Combat Arms BR Coding Help
    Replies: 5
    Last Post: 03-14-2013, 03:26 PM
  4. Hooking s2s
    By NotRealPro in forum Combat Arms Coding Help & Discussion
    Replies: 10
    Last Post: 07-17-2012, 05:03 PM
  5. D3d Hook example
    By XGelite in forum C++/C Programming
    Replies: 4
    Last Post: 10-05-2009, 04:05 PM