Results 1 to 2 of 2
  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 01: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),[MPGH]Luffy (08-19-2016)

  3. #2
    Luffy's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    d3d9.dll
    Posts
    1,855
    Reputation
    157
    Thanks
    8,745
    My Mood
    Innocent
    Nice share
    Last edited by Luffy; 09-11-2016 at 02:58 AM.


    MPGH History:
    Member since 02/1/2016
    Contributor since 29/6/2016
    Combat Arms Minion since 25/8/2016
    BlackShot Minion since 6/10/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, 09: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, 01:30 PM
  3. Alguem tem o hook s2s?
    By thedark22 in forum Combat Arms BR Coding Help
    Replies: 5
    Last Post: 03-14-2013, 04:26 PM
  4. Hooking s2s
    By NotRealPro in forum Combat Arms Coding Help & Discussion
    Replies: 10
    Last Post: 07-17-2012, 06:03 PM
  5. D3d Hook example
    By XGelite in forum C++/C Programming
    Replies: 4
    Last Post: 10-05-2009, 05:05 PM