Post: DPAD Monitoring [C#] [1.18]
04-28-2014, 06:18 PM #1
Shark
Retired.
(adsbygoogle = window.adsbygoogle || []).push({}); Hey, Today I decided to release DPAD Monitoring for BO2, I found this a few days ago and thought I would share it with the community :y:, before you use this you should know one thing, this is not like ghost, mw3, mw2 where you can hold the button, this will only respond to press's of the button like if you press DPAD up it will say that you have pressed it then go back to 0 (means you have not pressed it), so basically you cant make a function that requires holding the dpad, only pressing Smile, still its great for menus, and Enstone uses it in his menu (Revolution V1) that's why you cant hold the DPAD to scroll Needa

Note: you will probably need PS3Lib, unless you have your own Lib...



Code

    
public static uint G_Client(int clientIndex)
{
return (0x1780F28 + ((uint)(clientIndex * 0x580Cool Man (aka Tustin)));
}

public static UInt32
DPADUp = 0x34,
DPADDown = 0x38,
DPADLeft = 0x3C,
DPADRight = 0x40;

public static bool DetectButton(int clientIndex, uint Button)
{
Int32 ButtonIndex = PS3.Extensions.ReadInt32(0x94641C + Button);
Int32 B1 = PS3.Extensions.ReadInt32(G_Client(clientIndex) + 0x56BCool Man (aka Tustin);
Int32 B2 = PS3.Extensions.ReadInt32(G_Client(clientIndex) + 0x56A0);
if ((B1 == ButtonIndex) || (B2 == ButtonIndex))
return true;
return false;
}


How To Use It

    
DetectButton(clientIndex, Button);


Example (Runs In A Loop)

    
while (true)
if (DetectButton(0, DPADUp))
MessageBox.Show("Client 0 Pressed DPAD UP!");
(adsbygoogle = window.adsbygoogle || []).push({});

The following 20 users say thank you to Shark for this useful post:

..jigsaw, Kappa, Eddie Mac, B777x, FusionIsDaName, ImAzazel, ImPiffHD, iNDMx, Jannik007, Karisma, Luphox, MaNamesTyler, Notorious, OLDSCHOOLMODZHD, smashedya, SnaY, Taylor, Swiss, Fatality
05-07-2014, 02:42 PM #11
Originally posted by Shark View Post
try adding ps3lib to your project...

I have ps3lib my tools work perfectly when i remove this it's the same whith aimbot and forge on mw3 or aimbot on bo2 :'(
05-10-2014, 05:42 PM #12
BoatyMcBoatFace
Are you high?
Originally posted by darkchopper View Post
I have ps3lib my tools work perfectly when i remove this it's the same whith aimbot and forge on mw3 or aimbot on bo2 :'(

add this in your code :fa: "
public static PS3API PS3 = new PS3API();"
05-11-2014, 02:43 PM #13
iMoDz-Baptiste
Do a barrel roll!
Originally posted by darkchopper View Post
Why i have this You must login or register to view this content. :(

Remove "static".

The following user thanked iMoDz-Baptiste for this useful post:

darkchopper
05-13-2014, 06:02 PM #14
Merci :p You must login or register to view this content.
05-19-2014, 02:33 PM #15
Jannik007
Do a barrel roll!
Doesn't work for me. Look at this bro :

You must login or register to view this content.
05-19-2014, 03:06 PM #16
Shark
Retired.
Originally posted by Jannik007 View Post
Doesn't work for me. Look at this bro :

You must login or register to view this content.


why are you putting a breakpoint where it reads the value lol
05-19-2014, 03:19 PM #17
Jannik007
Do a barrel roll!
lol the values has been read already .
05-19-2014, 03:31 PM #18
Jannik007
Do a barrel roll!
Got it working bro, sry

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo