private void attachProcessToolStripMenuItem_Click(object sender, EventArgs e) { if (PS3.AttachProcess()) { /* Enable RemoteProcedureCalls */ MW3_BOT.RPCEnable_124(); /* Enable ForceHost (minpartyplayer = 1) */ //MW3_BOT.ForceHost_124(); MessageBox.Show("Current game is attached successfully.", "MW3Guard", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); attachProcessToolStripMenuItem.Enabled = false; initializeGuarderToolStripMenuItem.Enabled = true; enableForceHostToolStripMenuItem.Enabled = true; } else { MessageBox.Show("No game process found!", "MW3Guard", MessageBoxButtons.OK, MessageBoxIcon.Error); initializeGuarderToolStripMenuItem.Enabled = false; enableForceHostToolStripMenuItem.Enabled = false; } }