Results 1 to 4 of 4
  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)

  3. #2
    RuShi's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    File Not Found 404!
    Posts
    2,531
    Reputation
    210
    Thanks
    13,008
    My Mood
    Innocent
    Nice share
    Last edited by Heroes; 09-11-2016 at 01:58 AM.


    MPGH History:
    Member: 02/1/2016
    Contributor: 29/6/2016
    Minion: 25/8/2016
    Former Staff: 07/02/2017
    Minion: 21/9/2017

  4. #3
    polak97's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    2
    My Mood
    Aggressive
    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?

  5. #4
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    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

    commando: You're probably the best non-coder coder I know LOL


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