Tool Some coding to get you started in tool creation! BO2 1.19

ThomasModdeur

Member
Messages
12
Reaction score
1
Points
8
We start with the basics:
//CONNECT
try
{
PS3.ConnectTarget(0);
PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Successfully Connected To PS3");
}
catch
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Failed To Connect");
}
----------------------------------------------------------------------------------------------------------------------------------------

//ATTACH

try
{
PS3.AttachProcess();

PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Successfully Attached To TrickyModz Black Ops II RTM Tool!");
}
catch
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Failed To Attach :/");
}


Disconnect

PS3.DisconnectTarget();
MessageBox.Show("You Have Successfully Disconnect your PS3 Console.", "Successful.", MessageBoxButtons.OK);

Then the encodings of the stats:
Prestige:

byte[] prestige = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Text));
PS3.Extension.WriteBytes(0x26FD014, prestige);


Kills:

byte[] kill = BitConverter.GetBytes(Convert.ToInt32(numericUpDown2.Text));
PS3.Extension.WriteBytes(0x26FCB70, kill);

Deaths:

byte[] die = BitConverter.GetBytes(Convert.ToInt32(numericUpDown3.Text));
PS3.Extension.WriteBytes(0x26FC942, die);


Wins:

byte[] wins = BitConverter.GetBytes(Convert.ToInt32(numericUpDown4.Text));
PS3.Extension.WriteBytes(0x26FD152, wins);

Losses:

byte[] lose = BitConverter.GetBytes(Convert.ToInt32(numericUpDown5.Text));
PS3.Extension.WriteBytes(0x26FCBE2, lose);


Lvl55:

PS3.Extension.WriteBytes(0x026FD02C, new byte[] { 0x00, 0xFF, 0x12
 
L

LowKeyDNS

Guest
We start with the basics:
//CONNECT
try
{
PS3.ConnectTarget(0);
PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Successfully Connected To PS3");
}
catch
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Failed To Connect");
}
----------------------------------------------------------------------------------------------------------------------------------------

//ATTACH

try
{
PS3.AttachProcess();

PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Successfully Attached To TrickyModz Black Ops II RTM Tool!");
}
catch
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, "Failed To Attach :/");
}


Disconnect

PS3.DisconnectTarget();
MessageBox.Show("You Have Successfully Disconnect your PS3 Console.", "Successful.", MessageBoxButtons.OK);

Then the encodings of the stats:
Prestige:

byte[] prestige = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Text));
PS3.Extension.WriteBytes(0x26FD014, prestige);


Kills:

byte[] kill = BitConverter.GetBytes(Convert.ToInt32(numericUpDown2.Text));
PS3.Extension.WriteBytes(0x26FCB70, kill);

Deaths:

byte[] die = BitConverter.GetBytes(Convert.ToInt32(numericUpDown3.Text));
PS3.Extension.WriteBytes(0x26FC942, die);


Wins:

byte[] wins = BitConverter.GetBytes(Convert.ToInt32(numericUpDown4.Text));
PS3.Extension.WriteBytes(0x26FD152, wins);

Losses:

byte[] lose = BitConverter.GetBytes(Convert.ToInt32(numericUpDown5.Text));
PS3.Extension.WriteBytes(0x26FCBE2, lose);


Lvl55:

PS3.Extension.WriteBytes(0x026FD02C, new byte[] { 0x00, 0xFF, 0x12
The first try/catch should use a message box notification because you are unable to notify the ps3 without a console connection. It would also make it much easier to manage your code if you renamed your components in the propeties section because 'numericupdown1' is fairly unorganized and can cause issues later down the line in development when you have many, many components.
Hope it helps :smile:
 
Top