Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using PS3Lib;
- namespace BF4_Jecou_RTM_Tool
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- public static PS3API PS3 = new PS3API();
- public static PS3API PS32 = new PS3API();
- public static PS3API PS31 = new PS3API();
- public static CCAPI CCAPI = new CCAPI();
- public static string userName;
- public static string userClan;
- private void deimosButton1_Click(object sender, EventArgs e)
- {
- PS3.DisconnectTarget();
- MessageBox.Show("PS3 Disconnected");
- ATTATCHLBL.Text = "Not Attached";
- connectstuslbl2.Text = "Not Connected";
- }
- private void deimosRadioButton1_Click(object sender, EventArgs e)
- {
- PS3.ChangeAPI(SelectAPI.ControlConsole);
- connectButton.Enabled = true;
- }
- private void deimosGroupbox1_Click(object sender, EventArgs e)
- {
- }
- private void deimosRadioButton2_Click(object sender, EventArgs e)
- {
- PS3.ChangeAPI(SelectAPI.TargetManager);
- connecttButton.Enabled = true;
- }
- private void deimosButton2_Click(object sender, EventArgs e)
- {
- try
- {
- if (!PS3.ConnectTarget(0))
- {
- connectstuslbl2.Text = "Failed";
- connectstuslbl2.ForeColor = Color.Red;
- return;
- }
- if (PS3.GetCurrentAPI() == SelectAPI.ControlConsole)
- {
- MessageBox.Show("Successfully Connected To PS3", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- connectstuslbl2.Text = "Connected";
- connectstuslbl2.ForeColor = Color.Green;
- PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Single);
- PS3.CCAPI.Notify(CCAPI.NotifyIcon.TROPHY4, "Successfully Connected To BF4 - Jecou RTM Tool!");
- attachButton.Enabled = true;
- disconnectButton.Enabled = false;
- }
- else if (PS3.GetCurrentAPI() == SelectAPI.TargetManager)
- {
- MessageBox.Show("Connected", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- connectstuslbl2.Text = "Connected";
- connectstuslbl2.ForeColor = Color.Green;
- attachButton.Enabled = true;
- disconnectButton.Enabled = false;
- }
- }
- catch
- {
- MessageBox.Show("Something is wrong please try again :/", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- connectstuslbl2.Text = "Failed";
- connectstuslbl2.ForeColor = Color.Red;
- }
- }
- private void deimosButton3_Click(object sender, EventArgs e)
- {
- try
- {
- if (!PS3.AttachProcess())//what this does is runs a error code if theres nothing there, so instead of it saying "Connected" like some tools do it will say ERROR.
- {
- ATTATCHLBL.Text = "Failed";
- ATTATCHLBL.ForeColor = Color.Red;
- return;
- }
- if (PS3.GetCurrentAPI() == SelectAPI.ControlConsole)
- {
- PS3.CCAPI.Notify(CCAPI.NotifyIcon.TROPHY4, "Successfully Attached To BF4 - Jecou RTM Tool!");
- PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double);
- PS3.CCAPI.Notify(CCAPI.NotifyIcon.DIALOGSHADOW, "FULL ACCESS GRANTED");
- this.timer1.Enabled = true;
- }
- ATTATCHLBL.Text = "Attached";
- ATTATCHLBL.ForeColor = Color.Green;
- MessageBox.Show("Successfully Attached To BF4 - Jecou RTM Tool!", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- disconnectButton.Enabled = true;
- }
- catch
- {
- ATTATCHLBL.Text = "Failed To Attach";
- ATTATCHLBL.ForeColor = Color.Red;
- PS3.CCAPI.Notify(CCAPI.NotifyIcon.TROPHY4, "Access to BF4 - Jecou RTM Tool denied:/");
- private void getinfo()
- {
- string firmwareType = PS3.CCAPI.GetFirmwareType();
- string firmwareVersion = PS3.CCAPI.GetFirmwareVersion();
- string temperatureCell = CCAPI.GetTemperatureCELL();
- string temperatureRsx = CCAPI.GetTemperatureRSX();
- this.label38.Text = temperatureCell;
- this.label39.Text = temperatureRsx;
- this.label34.Text = firmwareVersion;
- this.label33.Text = firmwareType;
- this.Refresh();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement