using PS3Lib;
[IMG]https://i.imgur.com/rF296Zw.png?1[/IMG]
[SIZE=2][I]PS3API PS3 = new PS3API;
[IMG]https://i.imgur.com/VBtQGW2.png?1[/IMG]
[/I][/SIZE]
PS3.ConnectTarget(0);
[SIZE=2][I]try[/I][/SIZE]
[SIZE=2][I]{[/I][/SIZE]
[SIZE=2][I]PS3.ConnectTarget(0);[/I][/SIZE]
[SIZE=2][I]MessageBox.Show("Successfully Connected to Target!", "Connected", MessageBoxButtons.OK, MessageBoxIcon.Information);[/I][/SIZE]
[SIZE=2][I]}[/I][/SIZE]
[SIZE=2][I]catch[/I][/SIZE]
[SIZE=2][I]{[/I][/SIZE]
[SIZE=2][I]MessageBox.Show("Failed to Connect", "Failed", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
[IMG]https://i.imgur.com/Vk16mZG.png?1[/IMG]
[/I][/SIZE]
PS3.AttachProcess();
[SIZE=2][I]try[/I][/SIZE]
[SIZE=2][I]{[/I][/SIZE]
[SIZE=2][I]PS3.AttachProcess();[/I][/SIZE]
[SIZE=2][I]MessageBox.Show("Successfully Attached to Proccess!", "Attached", MessageBoxButtons.OK, MessageBoxIcon.Information);[/I][/SIZE]
[SIZE=2][I]}[/I][/SIZE]
[SIZE=2][I]catch[/I][/SIZE]
[SIZE=2][I]{[/I][/SIZE]
[SIZE=2][I]MessageBox.Show("Failed to Attached", "Failed", MessageBoxButtons.OK, MessageBoxIcon.Error);[/I][/SIZE]
[SIZE=2][I]}
[IMG]https://i.imgur.com/xUkis98.png?1[/IMG]
[/I][/SIZE]
PS3.ChangeAPI(SelectAPI.ControlConsole);
[IMG]https://i.imgur.com/HnSZywg.png?1[/IMG]
PS3.ChangeAPI(SelectAPI.TargetManager);
[IMG]https://i.imgur.com/KT5nwb7.png?1[/IMG]
1 Hit Kill Offets (Enable & Disable)
[SIZE=2][I]private void checkEdit1_CheckedChanged(object sender, EventArgs e)[/I][/SIZE]
[SIZE=2][I]{[/I][/SIZE]
[SIZE=2][I]if (checkEdit1.Checked)[/I][/SIZE]
[SIZE=2][I]{[/I][/SIZE]
[SIZE=2][I]PS3.SetMemory(0x7B2A9C, new byte[] { 0x3C, 0xE0, 0x44, 0x7A });[/I][/SIZE]
[SIZE=2][I]}[/I][/SIZE]
[SIZE=2][I]else[/I][/SIZE]
[SIZE=2][I]{[/I][/SIZE]
[SIZE=2][I]PS3.SetMemory(0x7B2A9C, new byte[] { 0x3c, 0xE0, 0x3F, 0x80 });//0x7B1F1C[/I][/SIZE]
[SIZE=2][I]}[/I][/SIZE]
[SIZE=2][I][IMG]https://i.imgur.com/1DBdWcd.png?1[/IMG]
Also another can be like this.
[/I][/SIZE]private void checkEdit1_CheckedChanged(object sender, EventArgs e)
{
PS3.SetMemory(0x7B2A9C, checkEdit1.Checked ? new byte[] { 0x3C, 0xE0, 0x44, 0x7A } : new byte[] { 0x3c, 0xE0, 0x3F, 0x80 });
}
//or if you declare the bytes as seperate variables
private void checkEdit1_CheckedChanged(object sender, EventArgs e)
{
byte[] On = { 0x3C, 0xE0, 0x44, 0x7A };
byte[] Off = { 0x3c, 0xE0, 0x3F, 0x80 };
PS3.SetMemory(0x7B2A9C, checkEdit1.Checked ? On : Off);
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.