Post: [RELEASE] How to use ClientState (All Clients Mods)
02-19-2013, 07:14 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); 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 :

You must login or register to view this content.


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 must login or register to view this content.

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 Smile


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

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


Other Good Example :

    

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.

    
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 :

You must login or register to view this content.


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 Smile

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

The following 25 users say thank you to iMCSx for this useful post:

Eddie Mac, 192.168.1.1, BadChoicesZ, BrinkerzHD, Crashradio98-, CrEaTiiOn_BuRn, FAKA_ELITE, FM|T ZoRo, Ghost Rolly, hack black ops, Hack Pack, II Dave II, KCxFTW, KoS_Riitalo, Mango_Knife, MrKiller261, Cmd-X, SC58, SnaY, Taylor, ThePaaqoHD, ZerOtObey+RM
02-20-2013, 01:35 PM #11
Raz0rMind
I love BadChoicesZ
Very nice, thank you. Smile
02-20-2013, 06:16 PM #12
Thank you all
02-20-2013, 11:02 PM #13
KevinWinterX
< ^ > < ^ >
Thanks
02-21-2013, 01:39 AM #14
Crashradio98-
Pokemon Trainer
Originally posted by iMCSx View Post
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 :

You must login or register to view this content.


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 must login or register to view this content.

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 Smile


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

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


Other Good Example :

    

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.

    
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 :

You must login or register to view this content.


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 Smile

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.


Well done! Rep+
03-11-2013, 06:32 AM #15
Originally posted by Crashradio98
Well done! Rep+


Thanks , have fun Smile
03-19-2013, 01:44 AM #16
I can send Unlock all to a friend???
exist a offset for this?
05-02-2013, 03:56 AM #17
ImSooCool
Vault dweller
Good job creating this tutorial Smile
05-03-2013, 11:12 AM #18
KevinWinterX
< ^ > < ^ >
nice imcs always do good stuff and good release :y:
05-03-2013, 08:14 PM #19
thanks

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo