Example #1
0
 private void btnAttach_Click(object sender, EventArgs e)
 {
     if (!ps4.AttachProcess())
     {
         MessageBox.Show("Attach field!");
     }
     else
     {
         MessageBox.Show("Attached..");
     }
 }
Example #2
0
 private void firefoxButton6_Click(object sender, EventArgs e)
 {
     try
     {
         PS4.AttachProcess();
         toolStripStatusLabel5.Text      = "Attached !";
         toolStripStatusLabel5.ForeColor = Color.Lime;
         PS4.Notify(222, "The process has been attached ! ");
     }
     catch
     {
         MessageBox.Show("Error while attaching the process !!");
     }
 }
Example #3
0
 private void AttachProcess(object sender, EventArgs e)
 {
     try
     {
         PS4.AttachProcess();
         PS4.Notify(222, "Process is attached");
         AttachLabel.Text      = "Process attached";
         AttachLabel.TextColor = Color.ForestGreen;
         DisplayAlert("Information", "The process is attached !", "OK");
     }
     catch
     {
         DisplayAlert("Information", "Process can't be attached !", "OK");
     }
 }
Example #4
0
        private void AttachBtn_Click(object sender, EventArgs e)
        {
            if (!PS4.AttachProcess())
            {
                MetroFramework.MetroMessageBox.Show(this, "Could not attach to target (" + IpAdressTxt.Text + ")");
            }
            else
            {
                PS4.Notify(222, "Succesfully attached!");
                UnlimitedPrimaryAmmoBtn.Enabled = true;

                materialLabel2.ForeColor = Color.Green;
                materialLabel2.Text      = "Attached!";
            }
        }
Example #5
0
 /// <summary>
 /// Attaches to target process.
 /// This should automatically continue the process if it is stopped.
 /// IMPORTANT:
 /// Since NetCheat connects and attaches a few times after the user does (Constant write thread, searching, ect)
 /// You must have it automatically use the settings that the user input, instead of asking again
 /// This can be reset on Disconnect()
 /// </summary>
 public bool Attach()
 {
     return(PS4.AttachProcess());
 }
 private void btnAttach_Click(object sender, EventArgs e)
 {
     btnAttach.ForeColor = (EnableMods = PS4.AttachProcess()) ? Color.Green : Color.Red;
     RPC.Enable(PS4);
 }