[RELEASE] How to use ClientState (All Clients Mods) - NextGenUpdate
Page 1 of 3 1 2 3 Last
THREAD: [RELEASE] How to use ClientState (All Clients Mods)
  1. 02-19-2013, 02:14 PM
    #1
    iMCSx's Avatar
    iMCSx
    French Modding Team
    iMCSx's Avatar
    iMCSx
    French Modding Team
    456
    Posts
    50,673
    Reputation
    Oct 2010
    NextGenUpdate
    Sponsored Links

    Hello.


    Today i decide to make this thread for explain some things with the ClientState.

    First , i know some guys have found this also , but their information are not correct.

    I'll Give you some exemple about this , and these informations it's the same for all cod's.


    -> Modern Warfare 3 ClientState : 0x0110A280


    Are you sure about this offset ?:

    - Yea , Look this :




    So , at this offset , you can get / set some informations for all clients in game, When you leave your party , all bytes are Refreshed/Reset.

    This function work also with the g_client , his size for Mw3 is 0x3980 :



    You can also easily found it in debugger , exemple you need just to do math. Find your name in game for change it , and find the name of your friend also. Once you have this , done this math (example) :

    Name in game Client 0 : 0x0110D694
    Name in game Client 1 : 0x1111014

    So :

    0x1111014 - 0x0110D694 = 0x3980


    You have now understand how to do , i'll give an exemple with C# language for give easily your bytes for clients :

    Code:
           
     private void GiveRedboxes(uint clientIndex, byte[] MyValue)        
    {
        iMCSxLib.PS3.SetMem(0x0110A280 + (clientIndex * 0x3980) + 0x13, MyValue); // It's My Custom Function
    }
    Other Good Example :

    Code:
            private uint MW3ClientState(uint clientIndex)
            {
                return (0x0110A280 + (clientIndex * 0x3980));
            }
    
            private void GiveRedboxes(uint clientIndex, byte[] MyValue)        
            {
               iMCSxLib.PS3.SetMem(MW3ClientState(clientIndex) + 0x13, MyValue); // It's My Custom Function also
            }
    0x0110A280 is the ClientState.
    0x3980 is the Client Size.
    0x13 is the RedBoxes location starting from the ClientState.

    Code:
    byte[] RedBoxes = new byte[] { 0x10 }; // Byte for Set RedBoxes
    GiveRedboxes(0, RedBoxes); // RedBoxes for client 0 (Host)
    GiveRedboxes(0x11, RedBoxes); // RedBoxes for client 17 (Example)
    You can now send easily mods to your friend , you need just to do maths , don't forget for the client 16 it's 0x10 & the client 17 it's 0x11.

    With the ClientState you could change weapons , change the state for mFlags , Names Clients...



    I Saw also someone who has leak the God Mode. The God Mode is just the health of players in game , but it's not with ClientState, He is in the g_entity.

    -> Modern Warfare 3 g_entity : 0x00FCA280

    - It's like the ClientState but he is different , he do others things and his size for client is different.
    - You can check in the XREF from the clientState his location :




    The Size for give something to a client is 0x280

    You have just to change my example C# with the right offset for this and it's the same thing

    Faster exemple : 0x00FCA280 + (ClientIndex * 0x280) + 0x19f

    0x19f is the location to the health to players. Original bytes is 0x64 (0x64 in Decimal it's 100)

    You can also put 0xFF ahead , so put this offset 0x19e.

    I'll not explain everything about these functions , it's now to you to find others things yourself. It's not necessary to release once you have found other things keep this for you and like that everyone will found themselves.


    I hope these information will help you with the modding, if i may have said one or two errors in this thread , tell me i'll edit it.

    Thanks to Aerosoul94 for the rectification about playerState.

    Have fun.
    Last edited by iMCSx; 02-19-2013 at 03:01 PM.

  2. Sponsored Links
  3. The Following 25 Users Say Thank You to iMCSx For This Useful Post:

    , , , , , , , , , , , , , , , , , , , , ,

  4. 02-19-2013, 02:17 PM
    #2
    KoS_Riitalo's Avatar
    KoS_Riitalo
    Do a barrel roll!
    KoS_Riitalo's Avatar
    KoS_Riitalo
    Do a barrel roll!
    115
    Posts
    450
    Reputation
    Aug 2012
    NextGenUpdate
    Nice work
  5. 02-19-2013, 02:20 PM
    #3
    33
    Posts
    1,153
    Reputation
    Nov 2012
    NextGenUpdate
    Very nice work bro !!
  6. 02-19-2013, 02:29 PM
    #4
    24
    Posts
    344
    Reputation
    Aug 2012
    NextGenUpdate
    Nice , very nice =)
  7. 02-19-2013, 02:34 PM
    #5
    Cesei's Avatar
    Cesei
    Banned
    Cesei's Avatar
    Cesei
    Banned
    4,483
    Posts
    19,084
    Reputation
    Dec 2012
    NextGenUpdate
    very nice
  8. 02-19-2013, 02:49 PM
    #6
    FM|T xDevOpS's Avatar
    FM|T xDevOpS
    Save Point
    FM|T xDevOpS's Avatar
    FM|T xDevOpS
    Save Point
    7
    Posts
    10
    Reputation
    Feb 2012
    NextGenUpdate
    Good job, this post will help many people !
  9. 02-19-2013, 02:51 PM
    #7
    U WOT M8's Avatar
    U WOT M8
    You talkin to me?
    U WOT M8's Avatar
    U WOT M8
    You talkin to me?
    499
    Posts
    1,309
    Reputation
    Aug 2011
    NextGenUpdate
    thanks bud
  10. 02-19-2013, 04:40 PM
    #8
    Ass Burgers's Avatar
    Ass Burgers
    Are you high?
    Ass Burgers's Avatar
    Ass Burgers
    Are you high?
    428
    Posts
    1,193
    Reputation
    Nov 2012
    NextGenUpdate
    Nice release but I don't understand much of it :P
  11. The Following User Groaned At Ass Burgers For This Awful Post:


  12. 02-19-2013, 07:13 PM
    #9
    Tustin's Avatar
    Tustin
    Former Site Developer
    Tustin's Avatar
    Tustin
    Former Site Developer
    5,365
    Posts
    286,349
    Reputation
    May 2008
    NextGenUpdate
    Very nice tutorial. Should help some people find some cool things
  13. 02-20-2013, 02:59 AM
    #10
    BrinkerzHD's Avatar
    BrinkerzHD
    Ex PS3 Modder
    BrinkerzHD's Avatar
    BrinkerzHD
    Ex PS3 Modder
    893
    Posts
    15,645
    Reputation
    Nov 2011
    NextGenUpdate
    Awesome tutorial ! (=
    You never dissapoint!
Page 1 of 3 1 2 3 Last

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •