What's new

Tutorial MW3 All Client Button Monitoring C++

JTAG

JTAG

Well Known JTAG
10th Anniversary Stickied Grizzled Veteran
Messages
1,458
Reaction score
667
Points
395
Sin$
0
Hello Guys,

First off, id like to thank Furibunda (DreamyTKD) For Confirming That this Will Work.
Also SnappiestJack SnappiestJack For The MW2 Method.

Ok so First Off You Need To Add This To Your Project.

Code:
int GetClientState(int client)
{
return(0x82F99580 + (client * 0x3980));
}

Then For The Actual Button Monitoring Do This

Code:
int _Buttons(int ClientID)
{
return (*(int *)(GetClientState(ClientID) + 0x3608));
}

Then Where Your Commands(LPVOID) is add this in the For Section

int Down = _Buttons(i);

Then To Call Buttons Do This

Code:
if (Down && Button Code Here)
{
Do Function
}


Thats About It.

Enjoy
 
Const

Const

Übermensch
Messages
575
Reaction score
758
Points
205
Sin$
0
Not sure why this matters, seeing anyone could convert C# to C++ its not hard.
 
Hacksorce

Hacksorce

Enthusiast
Messages
585
Reaction score
401
Points
125
Sin$
7
Here are a few buttons to get the ball rolling.
Code:
B - 131072
A - 262144
LB - 4194304
RS - 67108868
I believe that you can also find them by doing something like this in c# while you hold down a button in game. Correct me if i'm wrong on this though.
Code:
public uint Button(uint ClientID)
		{
			byte[] Button = new byte[4];
			uint num2 = BitConverter.ToUInt32(Jtag.GetMemory(getClientState(ClientID) + 0x3604 + 0x04, 4), 0);
			return num2;		   
		}
then
MessageBox.Show(Convert.ToString(Button(0)));
 
X

xXMalowXx

Enthusiast
Messages
53
Reaction score
10
Points
55
Sin$
7

lol you just convert the C# button monitoring where you have probably find in a source who was leak

and all is already release ... GClientState was release a long time ago and you just need the cmdbutton offset

EDIT : You forget Hooker in the credits for the original button monitoring C#
 
JTAG

JTAG

Well Known JTAG
10th Anniversary Stickied Grizzled Veteran
Messages
1,458
Reaction score
667
Points
395
Sin$
0
lol you just convert the C# button monitoring where you have probably find in a source who was leak

and all is already release ... GClientState was release a long time ago and you just need the cmdbutton offset

EDIT : You forget Hooker in the credits for the original button monitoring C#

i dont look in sources. so nuff said.

Also since when did i say i was releasing GClientState. i was releasing Buttom Monitoring For C++ so credits to SnappiestJack who made the TU8 MW2 one and i just simply updated for MW3
 
X

xXMalowXx

Enthusiast
Messages
53
Reaction score
10
Points
55
Sin$
7

i said "probably"

And it doesn't make any sens

i said GClientState was release a long time ago i didn't say "you have release GClientState"

Snappiestjack made a another version of this , this looks like to the Hooker version on MW2 (Yes hooker version is C# but it's easy to convert)
 
Xx jAmes t xX

Xx jAmes t xX

Getting There
Frame In Gold
Messages
427
Reaction score
677
Points
250
Sin$
0
Here are all the buttons:
Code:
0x80800 - LT
0x1 - RT
0x8000 - LB
0x4000 - RB
0x2002 - LS
0x4000004 - RS
0x20 - X
0x400 - A
0x200 - CROUCHED
0x100 - PRONED
0x400000 - GRENADE LAUNCHER
 
TeamGeckos KYZA

TeamGeckos KYZA

Enthusiast
Seasoned Veteran Stickied
Messages
898
Reaction score
440
Points
140
Sin$
0
Here are all the buttons:
Code:
0x80800 - LT
0x1 - RT
0x8000 - LB
0x4000 - RB
0x2002 - LS
0x4000004 - RS
0x20 - X
0x400 - A
0x200 - CROUCHED
0x100 - PRONED
0x400000 - GRENADE LAUNCHER

wouldn't surprise me if you got the of DreamyTKD.
 
Top Bottom
Login
Register