Post: [1.14] Draw FPS/Button Monitor
07-04-2014, 08:14 PM #1
Notorious
Caprisuns Is Back
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU,

Here is everything you need to draw FPS the way you want it and make a little mod menu! Enjoy! Smile

    
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text


    
enum Buttons : unsigned int
{
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
};
bool pressedButton(unsigned int button)
{
char offset = *(char*)0xCBCCC0 + button;
if (offset != 0)
return 1;
else return 0;
}
Last edited by Notorious ; 07-05-2014 at 08:43 PM.

The following 6 users say thank you to Notorious for this useful post:

Asian, Joren, LaRip8, Mango_Knife, Swaqq, Laser
07-04-2014, 08:56 PM #2
LaRip8
Mario!
Good shit mah bro Winky Winky

The following user thanked LaRip8 for this useful post:

Notorious
07-05-2014, 02:49 AM #3
SC58
Former Staff
Originally posted by Prime
Hello NGU,

Here is everything you need to draw FPS the way you want it and make a little mod menu! Enjoy! Smile

    
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text


    
public class Buttons
{
public static uint
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B;
}
public bool pressedButton(uint button)
{
if (PS3.Extension.ReadByte(0xCBCCC0 + button) != 0)
return true;
else return false;
}



The function for this is named " menu_paint_screen "
07-05-2014, 07:01 AM #4
Mango_Knife
In my man cave
Originally posted by Prime
Hello NGU,

Here is everything you need to draw FPS the way you want it and make a little mod menu! Enjoy! Smile

    
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text


    
public class Buttons
{
public static uint
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B;
}
public bool pressedButton(uint button)
{
if (PS3.Extension.ReadByte(0xCBCCC0 + button) != 0)
return true;
else return false;
}


Thanks man
I was looking for the no host buttons
Any chance you can get the DPAD Monitoring No host?
07-05-2014, 10:51 AM #5
Notorious
Caprisuns Is Back
Originally posted by Knife View Post
Thanks man
I was looking for the no host buttons
Any chance you can get the DPAD Monitoring No host?


Go to the address in the function and start pressing dpad buttons and find its offset Smile
07-05-2014, 11:22 AM #6
Mango_Knife
In my man cave
Originally posted by Prime
Go to the address in the function and start pressing dpad buttons and find its offset Smile


Im 2 lazy :p
hmm didnt noticed, il have a look tomorrow.
07-05-2014, 08:40 PM #7
Mango_Knife
In my man cave
Originally posted by Prime
Hello NGU,

Here is everything you need to draw FPS the way you want it and make a little mod menu! Enjoy! Smile

    
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text


    
public class Buttons
{
public static uint
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B;
}
public bool pressedButton(uint button)
{
if (PS3.Extension.ReadByte(0xCBCCC0 + button) != 0)
return true;
else return false;
}


Here are the DPAD, in case someone is making a mod menu or something:
                    private static UInt32 Key_IsDown = 0xCBCCC0;
public enum Buttons
{
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
}
public static bool PressedButton(Buttons Button)
{
if (PS3.Extension.ReadByte(Key_IsDown + (UInt32)Button) != 0)
return true;
else return false;
}
public static void Exmple()
{
if (PressedButton(Buttons.DpadUp))
{
MessageBox.Show("DPAD UP PRESSED");
}
}
07-06-2014, 01:38 AM #8
SC58
Former Staff
Originally posted by Knife View Post
Here are the DPAD, in case someone is making a mod menu or something:
                    private static UInt32 Key_IsDown = 0xCBCCC0;
public enum Buttons
{
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
}
public static bool PressedButton(Buttons Button)
{
if (PS3.Extension.ReadByte(Key_IsDown + (UInt32)Button) != 0)
return true;
else return false;
}
public static void Exmple()
{
if (PressedButton(Buttons.DpadUp))
{
MessageBox.Show("DPAD UP PRESSED");
}
}


0xCBCCC0 is not called Key_IsDown, its really called PlayerKeyState :p
You must login or register to view this content.
07-06-2014, 06:28 AM #9
Mango_Knife
In my man cave
Originally posted by SC58 View Post
0xCBCCC0 is not called Key_IsDown, its really called PlayerKeyState :p
You must login or register to view this content.


Hmm ok then.
07-06-2014, 12:02 PM #10
Originally posted by Knife View Post
Hmm ok then.



Did you ever learn Pay Per Click?

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

Kurt, Sticky, VezahMoDz, xReaperv3

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo