Originally posted by Luckeyy
your welcome
Morning, this is my codes!
public static uint ProcessID;
public static uint[] processIDs;
public static string snresult;
private static string usage;
public static string Info;
public static PS3TMAPI.ConnectStatus connectStatus;
public static string Status;
public static string MemStatus;
#region Definitions
public static bool istmapi = true;
private PS3API PS3 = new PS3API();
CCAPI CCAPI = new CCAPI();
public static PS3API API = new PS3API();
#endregion Definitions
Connect:
if (PS3.ConnectTarget())
{
string Message = "You are now connected with this API : " + PS3.GetCurrentAPIName();
MessageBox.Show(Message, "Connected!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
else
{
string Message = "Impossible to connect :/";
MessageBox.Show(Message, "Error...", MessageBoxButtons.OK, MessageBoxIcon.Error);
Attach:
if (PS3.AttachProcess())
{
MessageBox.Show("Current game is attached successfully.", "Success.", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
else
{
MessageBox.Show("No game process found!", "Error.", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
CCAPI Radio button:
PS3.ChangeAPI(SelectAPI.ControlConsole);
Disconnect:
nnect
API.DisconnectTarget();
MessageBox.Show("okay to close tool", "disconnected", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
Prestige Button SET:
byte[] SetPrestige = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.ToString()));
PS3.SetMemory(0x01C1947C, SetPrestige);
That's all