Post: [1.09] All Client Dpad Monitoring
03-05-2014, 12:24 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Since 1.09 came out today, I thought I would update my button monitoring for it.

It's really simple, just add this coding to your source.

Also, I DO NOT allow this script to be on any other website

Coding:

    
public class Buttonz
{
public static int
DpadUp = 13617,
DpadDown = 14129,
DpadLeft = 14641,
DpadRight = 12594,
Cross = 13618,
Square = 12593,
Circle = 13106,
R2 = 53,
R1 = 49,
L2 = 55,
L1 = 13105,
L3 = 57,
R3 = 14130;
}
public static bool ButtonPressed(int client, int Button)
{
if (BitConverter.ToInt16(PS3.Extension.GetBytes(0x38A81A52 + ((uint)client * 0x6FA00), 2), 0) == Button || BitConverter.ToInt16(PS3.Extension.GetBytes(0x38F91A52 + ((uint)client * 0x6FA00), 2), 0) == Button)
return true;
else return false;
}


This script will monitor all clients buttons both in online (Private Match, Public Match) and offline (Lan, Splitscreen).

If you do not have a definition of ReadMemory(uint, int); Please use PS3Lib by iMcsx, it's really helpful :p.

Anyways, have fun with this!

How to use in a timer/backgroundworker
    
if(ButtonPressed(0, Buttonz.DpadUp))
MessageBox.Show("Client 0 is pressing up");
else if(ButtonPressed(3, Buttonz.DpadDown))
MessageBox.Show("Client 3, is pressing dpad down");


If you have any questions ask me!


Update: For those who are having trouble with button monitoring, try this version using G_Client

    
public class Buttons
{
public static Int32
L1 = 526336,
R1 = 16777216,
L2 = 8388608,
R2 = 4194304,
L3 = 35651584,
R3 = 67108868,
Cross = 262144,
Crouch = 131072,
Square = 805306368,
Start = 32768;
}
public bool ButtonPressed(int client, Int32 Button)
{
if (BitConverter.ToInt32(Debug.GetBytes(0xF46E30 + ((uint)client * 0x3700), Cool Man (aka Tustin), 0) == Button)
return true;
else return false;
}


How to use: In a timer or backgroundworker

    
private void timer1_Tick(object sender, EventArgs e)
{
if (ButtonPressed(0, Buttons.L1 + Buttons.R1))
textBox1.Text = "C0 L1 R1";
else if (ButtonPressed(0, Buttons.L1 + Buttons.R1 + Buttons.L2 + Buttons.R2))
textBox1.Text = " C0 L1 R1 L2 R2";
else textBox1.Text = "None";
}


Credits:

    
SC58 - Original Dword for client_s on 1.06
Imcsx - PS3Lib
RatchetBooy - for helping me test earlier even though we couldn't find it at the time (I didn't have my ps3 at that time)
Me - Script
(adsbygoogle = window.adsbygoogle || []).push({});

The following 12 users say thank you to Black Panther for this useful post:

-SuperMan, Akaipwn, br0wniiez, FusionIsDaName, Jannik007, M-alShammary, Mango_Knife, Marco_Legend, Notorious, xProvXKiller, RatchetBooty, Raz0rMind
03-05-2014, 12:30 AM #2
RatchetBooty
Former Staff
Awesome, thanks for the release, glad to have someone like u in the community :yes:

The following 2 users say thank you to RatchetBooty for this useful post:

br0wniiez
03-05-2014, 12:35 AM #3
Originally posted by RatchetBooty View Post
Awesome, thanks for the release, glad to have someone like u in the community :yes:

Thanks bud!
03-05-2014, 12:48 AM #4
Notorious
Caprisuns Is Back
Originally posted by AlmightySo View Post
Since 1.09 came out today, I thought I would update my button monitoring for it.

It's really simple, just add this coding to your source.

Also, I DO NOT allow this script to be on any other website

Coding:

    
public class Buttonz
{
public static int
DpadUp = 13617,
DpadDown = 14129,
DpadLeft = 14641,
DpadRight = 12594,
Cross = 13618,
Square = 12593,
Circle = 13106,
R2 = 53,
R1 = 49,
L2 = 55,
L1 = 13105,
L3 = 57,
R3 = 14130;
}
public static bool ButtonPressed(int client, int Button)
{
if (BitConverter.ToInt16(PS3.Extension.GetBytes(0x38A81A52 + ((uint)client * 0x6FA00), 2), 0) == Button || BitConverter.ToInt16(PS3.Extension.GetBytes(0x38F91A52 + ((uint)client * 0x6FA00), 2), 0) == Button)
return true;
else return false;
}


This script will monitor all clients buttons both in online (Private Match, Public Match) and offline (Lan, Splitscreen).

If you do not have a definition of ReadMemory(uint, int); Please use PS3Lib by iMcsx, it's really helpful :p.

Anyways, have fun with this!

How to use in a timer/backgroundworker
    
if(ButtonPressed(0, Buttonz.DpadUp))
MessageBox.Show("Client 0 is pressing up");
else if(ButtonPressed(3, Buttonz.DpadDown))
MessageBox.Show("Client 3, is pressing dpad down");


If you have any questions ask me!

Credits:

    
SC58 - Original Dword for client_s on 1.06
Imcsx - PS3Lib
RatchetBooy - for helping me test earlier even though we couldn't find it at the time (I didn't have my ps3 at that time)
Me - Script


I cannot thank you enough man! Just what I needed!

The following user thanked Notorious for this useful post:

03-05-2014, 01:42 AM #5
Originally posted by Prime
I cannot thank you enough man! Just what I needed!


Haha no problem
03-05-2014, 02:21 AM #6
xProvXKiller
Climbing up the ladder
love you Smile

The following user thanked xProvXKiller for this useful post:

03-05-2014, 03:22 AM #7
-SuperMan
Krazy Weed
Very Nice Boy!!

The following user thanked -SuperMan for this useful post:

03-05-2014, 03:38 AM #8
br0wniiez
Yung Chico
Top guy right here! Great release

The following user thanked br0wniiez for this useful post:

03-05-2014, 12:42 PM #9
Originally posted by br0wniiez View Post
Top guy right here! Great release


Lol thanks
03-12-2014, 08:19 PM #10
Mango_Knife
In my man cave
Originally posted by AlmightySo View Post
Since 1.09 came out today, I thought I would update my button monitoring for it.

It's really simple, just add this coding to your source.

Also, I DO NOT allow this script to be on any other website

Coding:

    
public class Buttonz
{
public static int
DpadUp = 13617,
DpadDown = 14129,
DpadLeft = 14641,
DpadRight = 12594,
Cross = 13618,
Square = 12593,
Circle = 13106,
R2 = 53,
R1 = 49,
L2 = 55,
L1 = 13105,
L3 = 57,
R3 = 14130;
}
public static bool ButtonPressed(int client, int Button)
{
if (BitConverter.ToInt16(PS3.Extension.GetBytes(0x38A81A52 + ((uint)client * 0x6FA00), 2), 0) == Button || BitConverter.ToInt16(PS3.Extension.GetBytes(0x38F91A52 + ((uint)client * 0x6FA00), 2), 0) == Button)
return true;
else return false;
}


This script will monitor all clients buttons both in online (Private Match, Public Match) and offline (Lan, Splitscreen).

If you do not have a definition of ReadMemory(uint, int); Please use PS3Lib by iMcsx, it's really helpful :p.

Anyways, have fun with this!

How to use in a timer/backgroundworker
    
if(ButtonPressed(0, Buttonz.DpadUp))
MessageBox.Show("Client 0 is pressing up");
else if(ButtonPressed(3, Buttonz.DpadDown))
MessageBox.Show("Client 3, is pressing dpad down");


If you have any questions ask me!

Credits:

    
SC58 - Original Dword for client_s on 1.06
Imcsx - PS3Lib
RatchetBooy - for helping me test earlier even though we couldn't find it at the time (I didn't have my ps3 at that time)
Me - Script


It dosent work man.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo