/// <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);
        }
Exemple #2
0
        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;
            }
        }
Exemple #3
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked)
     {
         PS3.ChangeAPI(SelectAPI.ControlConsole);
     }
     else
     {
         PS3.ChangeAPI(SelectAPI.TargetManager);
     }
 }
Exemple #4
0
 private void toggleSwitch1_Toggled(object sender, EventArgs e)
 {
     if (toggleSwitch1.IsOn)
     {
         PS3.ChangeAPI(SelectAPI.ControlConsole);
     }
     else
     {
         PS3.ChangeAPI(SelectAPI.TargetManager);
     }
 }
Exemple #5
0
 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 { }
 }
Exemple #6
0
 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);
        }
Exemple #8
0
 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";
 }
Exemple #9
0
        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.
        }
Exemple #10
0
 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();
 }
Exemple #11
0
        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
        }
Exemple #12
0
 private void monoFlat_RadioButton1_CheckedChanged(object sender)
 {
     PS3.ChangeAPI(SelectAPI.TargetManager);
 }
Exemple #13
0
 public void ChangePS3API(PS3Lib.SelectAPI newAPI)
 {
     PS3API.ChangeAPI(newAPI);
 }
Exemple #14
0
 public API()
 {
     PS3API = new PS3API();
     PS3API.ChangeAPI(PS3Lib.SelectAPI.TargetManager);
 }
 public Form1()
 {
     InitializeComponent();
     PS3.ChangeAPI(SelectAPI.ControlConsole);
 }
Exemple #16
0
 private void radioButton1_CheckedChanged(object sender, EventArgs e)
 {
     PS3.ChangeAPI(SelectAPI.ControlConsole);
     MessageBox.Show("API Changed to CCAPI!", "API Changer", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }
Exemple #17
0
 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
 }
Exemple #18
0
 private void firefoxRadioButton1_CheckedChanged(object sender, EventArgs e)
 {
     PS3.ChangeAPI(SelectAPI.TargetManager);
 }
Exemple #19
0
 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);
 }
Exemple #21
0
 public static void CCAPI()
 {
     API.ChangeAPI(SelectAPI.ControlConsole);
 }
Exemple #22
0
 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);
     }
 }
Exemple #24
0
 private void metroRadioButton1_CheckedChanged(object sender, EventArgs e)
 {
     PS3.ChangeAPI(SelectAPI.ControlConsole);
 }
Exemple #25
0
 public static void ChangeCEX()
 {
     PS3.ChangeAPI(SelectAPI.ControlConsole);
 }
Exemple #26
0
 private void skyDarkRadio1_Click(object sender, EventArgs e)
 {
     PS3.ChangeAPI(SelectAPI.TargetManager);
 }
Exemple #27
0
 private void radioTM_CheckedChanged(object sender, EventArgs e)
 {
     EnableOthersBox(false);
     PS3.ChangeAPI(SelectAPI.TargetManager);
 }