Login | Register
Results 1 to 10 of 23

Thread: [RELEASE] How to use ClientState (All Clients Mods)


  1. iMCSx's Avatar

    iMCSx French Modding Team

    Join Date Oct 2010

    Posts 428

    Membership Former Staff

    Reputation: 37633

    02-19-2013 01:14 PM #1 [RELEASE] How to use ClientState (All Clients Mods)

    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 02:01 PM.

    -----------------------------------------------
    > [Only registered and activated users can see links. ] <
    > [Only registered and activated users can see links. ] <
    -----------------------------------------------
    Spoiler:


  2. KoS_Riitalo's Avatar

    KoS_Riitalo Do a barrel roll!

    Join Date Aug 2012

    Posts 117

    Membership Elite Founder

    Reputation: 430

    02-19-2013 01:17 PM #2

    Nice work
    FRENCH GAMER!!
    2 ps3 ofw
    1 ps3 cfw 3.55
    Team: Kings of Street

    [Only registered and activated users can see links. ]

  3. Join Date Nov 2012

    Posts 31

    Membership Standard

    Reputation: 1093

    02-19-2013 01:20 PM #3

    Very nice work bro !!
    French Modding|Team
    Website:
    [Only registered and activated users can see links. ]
    Developer Web

  4. Join Date Aug 2012

    Posts 24

    Membership Standard

    Reputation: 344

    02-19-2013 01:29 PM #4

    Nice , very nice =)

  5. Impacts's Avatar

    Impacts Expect The Unexpected

    Join Date Dec 2012

    Posts 4,072

    Membership Elite

    NextGenUpdate Elite Member

    Reputation: 17380

    02-19-2013 01:34 PM #5

    very nice

  6. FM|T xDevOpS's Avatar

    FM|T xDevOpS Save Point

    Join Date Feb 2012

    Posts 7

    Membership Standard

    Reputation: 10

    02-19-2013 01:49 PM #6

    Good job, this post will help many people !

  7. U WOT M8's Avatar

    U WOT M8 Climbing up the ladder

    Join Date Aug 2011

    Posts 498

    Membership Standard

    Reputation: 1356

    02-19-2013 01:51 PM #7

    thanks bud

  8. Ass Burgers's Avatar

    Ass Burgers Error… Cat invasion!

    Join Date Nov 2012

    Posts 417

    Membership Standard

    Reputation: 1173

    02-19-2013 03:40 PM #8

    Nice release but I don't understand much of it :P

  9. Tustin's Avatar

    Tustin Keto Friendly!

    Join Date May 2008

    Posts 3,443

    Membership Gaming Squad Manager & Coordinator

    Reputation: 100118

    02-19-2013 06:13 PM #9

    Very nice tutorial. Should help some people find some cool things

  10. BrinkerzHD's Avatar

    BrinkerzHD Cymru am byth

    Join Date Nov 2011

    Posts 892

    Membership Donator

    Reputation: 15355

    02-20-2013 01:59 AM #10

    Awesome tutorial ! (=
    You never dissapoint!
    :love: Ariana Grande :love:


Posting Permissions

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