private void button_gateshark_execute_Click(object sender, EventArgs e) { String code = textBox_gateshark.Text; gateshark gs = new gateshark(code); gs.execute(); }
public void beat() { while (!shouldStop) { // WORKING if (gs_code != null) { gs_code.execute(); Console.WriteLine("Executing code"); } Thread.Sleep(4000); } // Stopped working // Cleaning Console.WriteLine("Cleaning Thread"); // Finished }
private void button_mh4u_eu_mon2_kill_Click(object sender, EventArgs e) { String gs_code = "D3000000 081C8174\r\n" + "40000000 08000000\r\n" + "30000000 0B13EFFF\r\n" + "B0000000 00000000\r\n" + "DC000000 00000E28\r\n" + "40000000 08000000\r\n" + "30000000 0B13EFFF\r\n" + "B0000000 00000000\r\n" + "DC000000 000003E8\r\n" + "10000000 00000001\r\n" + "D0000000 00000000\r\n" + "D0000000 00000000\r\n" + "D0000000 00000000\r\n" + "D0000000 00000000"; gateshark code = new gateshark(gs_code); code.execute(); }