UnboundGodz
Local Celebrity
Retired Staff
CC Dev Team
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster


Form1.cs:
Code:
namespace WindowsFormsApplication2
{
using MetroFramework;
using MetroFramework.Forms;
using PS3Lib;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
public class Form1 : MetroForm
{
private Button button1;
private Button button2;
private Button button3;
private IContainer components = null;
private Label label1;
private Label label2;
public static uint processID;
public static uint[] processIDs;
private PS3API ps3 = new PS3API(SelectAPI.TargetManager);
public static PS3API PS3 = new PS3API(SelectAPI.TargetManager);
private RadioButton radioButton1;
private RadioButton radioButton2;
private Random rand = new Random();
private TextBox textBox1;
private TextBox textBox2;
private TextBox textBox3;
public Form1()
{
this.InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
if (this.ps3.ConnectTarget(0))
{
this.label1.Text = "Connected";
this.label1.ForeColor = Color.Blue;
this.ps3.CCAPI.Notify(CCAPI.NotifyIcon.HAND, "Connected To PS3");
}
else
{
this.label1.Text = "Error";
this.label1.ForeColor = Color.Red;
}
}
catch (Exception)
{
this.label1.Text = "Error";
this.label1.ForeColor = Color.Red;
}
}
private void button2_Click(object sender, EventArgs e)
{
try
{
if (this.ps3.AttachProcess())
{
this.label2.Text = "Attached";
this.label2.ForeColor = Color.Blue;
this.ps3.CCAPI.Notify(CCAPI.NotifyIcon.HAND, "attached To PS3");
}
else
{
this.label2.Text = "Error";
this.label2.ForeColor = Color.Red;
}
}
catch (Exception)
{
this.label2.Text = "Error";
this.label2.ForeColor = Color.Red;
}
}
private void button3_Click(object sender, EventArgs e)
{
byte[] buffer3 = new byte[4];
buffer3[3] = 11;
byte[] buffer = buffer3;
PS3.SetMemory(0x38907e38, buffer);
buffer3 = new byte[4];
buffer3[3] = 0x37;
byte[] buffer2 = buffer3;
PS3.SetMemory(0x38907e58, buffer2);
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.radioButton1 = new RadioButton();
this.radioButton2 = new RadioButton();
this.button1 = new Button();
this.button2 = new Button();
this.label1 = new Label();
this.label2 = new Label();
this.button3 = new Button();
this.textBox1 = new TextBox();
this.textBox2 = new TextBox();
this.textBox3 = new TextBox();
base.SuspendLayout();
this.radioButton1.AutoSize = true;
this.radioButton1.Location = new Point(0x34, 0x3f);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new Size(0x2e, 0x11);
this.radioButton1.TabIndex = 2;
this.radioButton1.TabStop = true;
this.radioButton1.Text = "CEX";
this.radioButton1.UseVisualStyleBackColor = true;
this.radioButton1.CheckedChanged += new EventHandler(this.radioButton1_CheckedChanged);
this.radioButton2.AutoSize = true;
this.radioButton2.Location = new Point(0x73, 0x3f);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new Size(0x2f, 0x11);
this.radioButton2.TabIndex = 3;
this.radioButton2.TabStop = true;
this.radioButton2.Text = "DEX";
this.radioButton2.UseVisualStyleBackColor = true;
this.radioButton2.CheckedChanged += new EventHandler(this.radioButton2_CheckedChanged);
this.button1.Location = new Point(0x17, 0x60);
this.button1.Name = "button1";
this.button1.Size = new Size(0x4b, 0x17);
this.button1.TabIndex = 4;
this.button1.Text = "Connect";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new EventHandler(this.button1_Click);
this.button2.Location = new Point(0x73, 0x60);
this.button2.Name = "button2";
this.button2.Size = new Size(0x4b, 0x17);
this.button2.TabIndex = 5;
this.button2.Text = "Attach";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new EventHandler(this.button2_Click);
this.label1.AutoSize = true;
this.label1.Location = new Point(0x17, 0xe9);
this.label1.Name = "label1";
this.label1.Size = new Size(0x4f, 13);
this.label1.TabIndex = 6;
this.label1.Text = "Not Connected";
this.label2.AutoSize = true;
this.label2.Location = new Point(0x73, 0xe9);
this.label2.Name = "label2";
this.label2.Size = new Size(70, 13);
this.label2.TabIndex = 7;
this.label2.Text = "Not Attached";
this.button3.Location = new Point(0x17, 0x8d);
this.button3.Name = "button3";
this.button3.Size = new Size(0x4b, 0x2e);
this.button3.TabIndex = 8;
this.button3.Text = "Prestige 11 Level 55";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new EventHandler(this.button3_Click);
this.textBox1.Location = new Point(0x73, 0xa7);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new Size(100, 20);
this.textBox1.TabIndex = 9;
this.textBox1.TextChanged += new EventHandler(this.textBox1_TextChanged);
this.textBox2.Location = new Point(0x73, 0x8d);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new Size(100, 20);
this.textBox2.TabIndex = 10;
this.textBox2.Text = "Name Changer";
this.textBox2.TextChanged += new EventHandler(this.textBox2_TextChanged);
this.textBox3.BorderStyle = BorderStyle.None;
this.textBox3.Location = new Point(0xbf, 0xf2);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new Size(100, 13);
this.textBox3.TabIndex = 11;
this.textBox3.Text = "Made by Karisma";
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = AutoScaleMode.Font;
base.ClientSize = new Size(0x123, 0x102);
base.Controls.Add(this.textBox3);
base.Controls.Add(this.textBox2);
base.Controls.Add(this.textBox1);
base.Controls.Add(this.button3);
base.Controls.Add(this.label2);
base.Controls.Add(this.label1);
base.Controls.Add(this.button2);
base.Controls.Add(this.button1);
base.Controls.Add(this.radioButton2);
base.Controls.Add(this.radioButton1);
base.Name = "Form1";
this.Text = "Prestige and Level Tool";
base.ResumeLayout(false);
base.PerformLayout();
}
private void radioButton1_CheckedChanged(object sender, EventArgs e)
{
this.ps3.ChangeAPI(SelectAPI.ControlConsole);
}
private void radioButton2_CheckedChanged(object sender, EventArgs e)
{
this.ps3.ChangeAPI(SelectAPI.TargetManager);
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
byte[] bytes = Encoding.ASCII.GetBytes(this.textBox1.Text);
Array.Resize<byte>(ref bytes, bytes.Length + 1);
PS3.SetMemory(0x1fdf720, bytes);
}
private void textBox2_TextChanged(object sender, EventArgs e)
{
}
}
}
//Source Dropped by UnboundGodz
VIRUS SCAN:
(Not Needed For A Source)
Last edited: