Post: [C#/Script] 1.06 All Client Dpad Button Handling [Read Thread!]
12-29-2013, 08:12 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,

Today I'm going [sort of] release a script that I wrote for all client button handling that includes Dpads. Before you groan saying SC58 Already p0sted theeeesez >:( Listen, he released the Dword for client_s and the offset for the buttons and client interval but not an actual script for people that don't understand how to use it. So I made one today. If you want to look at SC58's thread then here it You must login or register to view this content..

Anyways, when making this I quickly used the You must login or register to view this content.

The function

    
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.GetBytes(0x389B1A52 + ((uint)client * 0x6C600), 2), 0) == Button)
return true;
else return false;
}

Example of how to use (In a timer or background worker)

    
private void Buttons_Tick(object sender, EventArgs e)
{
if (ButtonPressed(0, Buttonz.DpadUp) == true)
{
MessageBox.Show("client 0 Uppp and true nigga");
}
if (ButtonPressed(1, Buttonz.DpadRight) == true)
{
MessageBox.Show("client 1 dpad right");
}
}


Credits:

    
SC58 for the dword for client_s
Seb5594 for his Black ops 1 button handling. (It helped me, lol)
Bad Luck Kevin for helping me with an host only dpad monitoring method!


If you groan tell me why.
(adsbygoogle = window.adsbygoogle || []).push({});

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

Mango_Knife, Sticky, Swiss, Turk_Warrior

The following user groaned Black Panther for this awful post:

milky4444
12-29-2013, 04:20 PM #2
Sticky
Mary J Wannnnna
Originally posted by Corey View Post
Hey NGU,

Today I'm going [sort of] release a script that I wrote for all client button handling that includes Dpads. Before you groan saying SC58 Already p0sted theeeesez >:( Listen, he released the Dword for client_s and the offset for the buttons and client interval but not an actual script for people that don't understand how to use it. So I made one today. If you want to look at SC58's thread then here it You must login or register to view this content..

Anyways, when making this I quickly used the You must login or register to view this content.

The function

    
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.GetBytes(0x389B1A52 + ((uint)client * 0x6C600), 2), 0) == Button)
return true;
else return false;
}

Example of how to use (In a timer or background worker)

    
private void Buttons_Tick(object sender, EventArgs e)
{
if (ButtonPressed(0, Buttonz.DpadUp) == true)
{
MessageBox.Show("client 0 Uppp and true nigga");
}
if (ButtonPressed(1, Buttonz.DpadRight) == true)
{
MessageBox.Show("client 1 dpad right");
}
}


Credits:

    
SC58 for the dword for client_s
Seb5594 for his Black ops 1 button handling. (It helped me, lol)
Bad Luck Kevin for helping me with an host only dpad monitoring method!


If you groan tell me why.

Nice release but I made a button monitoring with the buttons that SC released and it only worked in LAN party. NOT ONLINE.

The following user thanked Sticky for this useful post:

12-29-2013, 04:26 PM #3
Mango_Knife
In my man cave
Originally posted by Sticky View Post
Nice release but I made a button monitoring with the buttons that SC released and it only worked in LAN party. NOT ONLINE.


And this work online?
12-29-2013, 04:31 PM #4
Turk_Warrior
League Champion
Originally posted by Corey View Post
Hey NGU,

Today I'm going [sort of] release a script that I wrote for all client button handling that includes Dpads. Before you groan saying SC58 Already p0sted theeeesez >:( Listen, he released the Dword for client_s and the offset for the buttons and client interval but not an actual script for people that don't understand how to use it. So I made one today. If you want to look at SC58's thread then here it You must login or register to view this content..

Anyways, when making this I quickly used the You must login or register to view this content.

The function

    
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.GetBytes(0x389B1A52 + ((uint)client * 0x6C600), 2), 0) == Button)
return true;
else return false;
}

Example of how to use (In a timer or background worker)

    
private void Buttons_Tick(object sender, EventArgs e)
{
if (ButtonPressed(0, Buttonz.DpadUp) == true)
{
MessageBox.Show("client 0 Uppp and true nigga");
}
if (ButtonPressed(1, Buttonz.DpadRight) == true)
{
MessageBox.Show("client 1 dpad right");
}
}


Credits:

    
SC58 for the dword for client_s
Seb5594 for his Black ops 1 button handling. (It helped me, lol)
Bad Luck Kevin for helping me with an host only dpad monitoring method!


If you groan tell me why.


Very Usefull

The following user thanked Turk_Warrior for this useful post:

12-29-2013, 04:54 PM #5
Originally posted by Sticky View Post
Nice release but I made a button monitoring with the buttons that SC released and it only worked in LAN party. NOT ONLINE.

I believe this should work online But I did this for mw3 and mw2 for mw3 it works if you're only a host in the match but if someone else joins it doesn't :/
12-29-2013, 04:56 PM #6
Originally posted by Knife View Post
And this work online?

It did when I was testing
12-29-2013, 05:02 PM #7
Sticky
Mary J Wannnnna
Originally posted by Corey View Post
It did when I was testing


Yeah man works in LAN only.
12-29-2013, 05:17 PM #8
Originally posted by Sticky View Post
Yeah man works in LAN only.

I was in private match when I tested this lol.
12-29-2013, 05:37 PM #9
Sticky
Mary J Wannnnna
Originally posted by Corey View Post
I was in private match when I tested this lol.


What I was trying to say is it worked online but you cant have anyone else in. If someone joins or you have bots in, the button monitoring doesn't work. It works for all clients in LAN.
12-29-2013, 06:25 PM #10
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Corey View Post
Hey NGU,

Today I'm going [sort of] release a script that I wrote for all client button handling that includes Dpads. Before you groan saying SC58 Already p0sted theeeesez >:( Listen, he released the Dword for client_s and the offset for the buttons and client interval but not an actual script for people that don't understand how to use it. So I made one today. If you want to look at SC58's thread then here it You must login or register to view this content..

Anyways, when making this I quickly used the You must login or register to view this content.

The function

    
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.GetBytes(0x389B1A52 + ((uint)client * 0x6C600), 2), 0) == Button)
return true;
else return false;
}

Example of how to use (In a timer or background worker)

    
private void Buttons_Tick(object sender, EventArgs e)
{
if (ButtonPressed(0, Buttonz.DpadUp) == true)
{
MessageBox.Show("client 0 Uppp and true nigga");
}
if (ButtonPressed(1, Buttonz.DpadRight) == true)
{
MessageBox.Show("client 1 dpad right");
}
}


Credits:

    
SC58 for the dword for client_s
Seb5594 for his Black ops 1 button handling. (It helped me, lol)
Bad Luck Kevin for helping me with an host only dpad monitoring method!


If you groan tell me why.


Mine works online Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo