/// <summary> /// Knock Back. /// </summary> //private static uint knockBack = 0x003A4020; /// <summary> /// Cave rendering. /// </summary> //private static uint groundHack = 0x00A9B768; #endregion #endregion /// <summary> /// The "MainWindow" class constructor. /// </summary> public MainWindow() { InitializeComponent(); Stream clickSoundStream = Properties.Resources.minecraftClick; clickSound = new SoundPlayer(clickSoundStream); mainPS3.ChangeAPI(currentAPI); }
private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { switch (listBox1.SelectedIndex) { case 0: PS3.ChangeAPI(SelectAPI.ControlConsole); break; case 1: PS3.ChangeAPI(SelectAPI.TargetManager); break; } }
private void checkBox1_CheckedChanged(object sender, EventArgs e) { if (checkBox1.Checked) { PS3.ChangeAPI(SelectAPI.ControlConsole); } else { PS3.ChangeAPI(SelectAPI.TargetManager); } }
private void toggleSwitch1_Toggled(object sender, EventArgs e) { if (toggleSwitch1.IsOn) { PS3.ChangeAPI(SelectAPI.ControlConsole); } else { PS3.ChangeAPI(SelectAPI.TargetManager); } }
private void TMAPIradiobutton_Checked(object sender, RoutedEventArgs e) { try { if ((TMAPIradiobutton.IsChecked == true) && (CCAPIradiobutton.IsChecked == false) && (RPCS3radiobutton.IsChecked == false)) { ConnectAttachbutton.IsEnabled = true; PS3API.ChangeAPI(SelectAPI.TargetManager); usingPS3Lib = true; } } catch { } }
private void connectCex_Click(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); if (connectCex.Text == "Connect [ CEX ]") { if (PS3.ConnectTarget()) { flatLabel2.ForeColor = Color.White; flatLabel2.Text = "Connected"; connectCex.Text = "Attach"; } else { flatLabel2.Text = "Can't Connect"; flatLabel2.ForeColor = Color.Red; } } else if (connectCex.Text == "Attach") { if (PS3.AttachProcess()) { flatLabel3.ForeColor = Color.White; flatLabel3.Text = "Attached"; RPC.Enable(); } else { flatLabel3.Text = "Can't Attach"; flatLabel3.ForeColor = Color.Red; } } }
bool Connection(SelectAPI API) { PS3.ChangeAPI(API); bool state = PS3.ConnectTarget(); if (state) { ctext.Text = state ? "Connected" : "Not Connected"; ctext.ForeColor = state ? Color.Blue : Color.Red; state = PS3.AttachProcess(); if (state) { atext.Text = state ? "Attached" : "Not Attached"; atext.ForeColor = state ? Color.Blue : Color.Red; MLevel.Enabled = true; MMoney.Enabled = true; GOD.Enabled = true; speed.Enabled = true; weapons.Enabled = true; physics.Enabled = true; clip.Enabled = true; } } return(state); }
private void monoFlat_Button1_Click(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); PS3.ConnectTarget(); PS3.AttachProcess(); MessageBox.Show("Vous éte connecter & attacher ;)"); monoFlat_Button1.Text = "PS3 connecter"; }
private void Main_Load(object sender, EventArgs e) { //Initilize MW3Guard core MW3_BOT = new Guarder(PS3); MW3_GUARDER.Interval = 500; //Upd8 leaderboard every half sec. MW3_GUARDER.Tick += new EventHandler(guarder); PS3.ChangeAPI(SelectAPI.ControlConsole); //Sorry dude, this will only work with CCAPI. //You could try to convert it to TMAPI if you wanted to. }
private void Form1_Load(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); targetList.Items.Clear(); if (targetList.Items.Count > 0) { targetList.SelectedIndex = 0; } targetList.Visible = true; UpdateConsoles(); }
private void toolStripButton1_Click(object sender, EventArgs e) { // Select API SelectAPI API; if (tMAPIToolStripMenuItem.Checked) { API = SelectAPI.TargetManager; } else if (cCAPIToolStripMenuItem.Checked) { API = SelectAPI.ControlConsole; } else { API = SelectAPI.TargetManager; } PS3.ChangeAPI(API); // Attempt to connect to target if (!PS3.ConnectTarget()) { DialogResult dialogResult = MessageBox.Show("Could not connect to target", "Error", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); // If the user clicks the retry button if (dialogResult == DialogResult.Retry) { toolStripButton1_Click(sender, e); } return; } // Attempt to attach to process if (!PS3.AttachProcess()) { DialogResult dialogResult = MessageBox.Show("Could not attach to process", "Error", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); // If the user clicks the retry button if (dialogResult == DialogResult.Retry) { toolStripButton1_Click(sender, e); } return; } // If the user successfully connects and attaches tabControl1.Enabled = true; // Enable features of the program statusPrint("Successfully connected and attached", Color.Green); // Print success at the bottom of the screen }
private void monoFlat_RadioButton1_CheckedChanged(object sender) { PS3.ChangeAPI(SelectAPI.TargetManager); }
public void ChangePS3API(PS3Lib.SelectAPI newAPI) { PS3API.ChangeAPI(newAPI); }
public API() { PS3API = new PS3API(); PS3API.ChangeAPI(PS3Lib.SelectAPI.TargetManager); }
public Form1() { InitializeComponent(); PS3.ChangeAPI(SelectAPI.ControlConsole); }
private void radioButton1_CheckedChanged(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); MessageBox.Show("API Changed to CCAPI!", "API Changer", MessageBoxButtons.OK, MessageBoxIcon.Information); }
public static PS3API PS3 = new PS3API(); //New PS3API object declaration used for connecting to PS3 private void CCAPI_CheckedChanged(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); //Changes the API to CCAPI }
private void firefoxRadioButton1_CheckedChanged(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.TargetManager); }
private void ccapi_radiobutton_CheckedChanged(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); }
private void useCCAPI_CheckedChanged(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); }
public static void CCAPI() { API.ChangeAPI(SelectAPI.ControlConsole); }
public static void ChangeAPI(SelectAPI API) { DEX.ChangeAPI(API); CEX.ChangeAPI(API); }
private void conBtnCex_Click(object sender, EventArgs e) { try { API = false; if (API == false) { PS3.ChangeAPI(SelectAPI.ControlConsole); } if (conBtnCex.Text == "Connect [ CEX ]") { if (PS3.ConnectTarget()) { conBtnCex.Text = "Attach"; alertBox1.kind = theme.FlatAlertBox._Kind.Success; alertBox1.Text = "Connected"; alertBox1.Visible = true; alertBox1.Refresh(); } else { alertBox1.kind = theme.FlatAlertBox._Kind.Error; alertBox1.Text = "Error"; alertBox1.Visible = true; alertBox1.Refresh(); } } else if (conBtnCex.Text == "Attach") { if (PS3.AttachProcess()) { RPC.Init(); if (antiBanCh.Checked) { Func.Antiban.EnableAntiBan(); } antiBanBtn.Visible = false; antiBanCh.Visible = false; userName = Functions.ReadStr(Offsets.NonHost.LocalName); userClan = Func.Clan.GetClan(); nameLbl.Text = "Welcome : " + userName; PS3.CCAPI.Notify(CCAPI.NotifyIcon.FRIEND, "Welcome : \n\n" + userName + "\n\nThx for using \nBISOON's RTM Tool <3"); Func.changeStr.ChangeString(false); Functions.WriteStr(Offsets.NonHost.FPSText, "^1BISOON ^3<3"); Func.NonHost.FPS(true); this.BISOON.Icon = this.Icon; this.BISOON.BalloonTipIcon = ToolTipIcon.Info; this.BISOON.BalloonTipText = "Welcome \n\n " + (userName) + "\n\nHave Fun :)\n"; this.BISOON.BalloonTipTitle = "BISOON RTM Tool"; this.BISOON.ShowBalloonTip(20); openRtmBtn.Visible = true; alertBox1.kind = theme.FlatAlertBox._Kind.Success; alertBox1.Text = "Attached"; alertBox1.Visible = true; alertBox1.Refresh(); conBtnCex.Text = "Disconnect"; } else { alertBox1.kind = theme.FlatAlertBox._Kind.Error; alertBox1.Text = "Error"; alertBox1.Visible = true; alertBox1.Refresh(); conBtnCex.Text = "Connect [ CEX ]"; } } else if (conBtnCex.Text == "Disconnect") { PS3.DisconnectTarget(); conBtnCex.Text = "Connect [ CEX ]"; } } catch (Exception ex) { MessageBox.Show("There is something error \n" + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void metroRadioButton1_CheckedChanged(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.ControlConsole); }
public static void ChangeCEX() { PS3.ChangeAPI(SelectAPI.ControlConsole); }
private void skyDarkRadio1_Click(object sender, EventArgs e) { PS3.ChangeAPI(SelectAPI.TargetManager); }
private void radioTM_CheckedChanged(object sender, EventArgs e) { EnableOthersBox(false); PS3.ChangeAPI(SelectAPI.TargetManager); }