public Menu() { InitializeComponent(); if (Main.RunStartup()) { OffsetUpdater.UpdateOffsets(); #region Start Threads // found the process and everything, lets start our cheats in a new thread new Thread(() => { Thread.CurrentThread.IsBackground = true; CheckMenu(); }).Start(); new Thread(() => { Thread.CurrentThread.IsBackground = true; Tools.InitializeGlobals(); }).Start(); new Thread(() => { Thread.CurrentThread.IsBackground = true; Bunnyhop.Run(); }).Start(); Visuals v = new Visuals(); #endregion } }
private static void BunnyhopThread() { while (true) { Bunnyhop.Run(); Thread.Sleep(1); } }
public Menu() { InitializeComponent(); if (Main.RunStartup()) { OffsetUpdater.UpdateOffsets(); #region Start Threads // found the process and everything, lets start our cheats in a new thread new Thread(() => { Thread.CurrentThread.IsBackground = true; CheckMenu(); }).Start(); Tools.InitializeGlobals(); new Thread(() => { Thread.CurrentThread.IsBackground = true; Bunnyhop.Run(); }).Start(); new Thread(() => { Thread.CurrentThread.IsBackground = true; Visuals v = new Visuals(); v.Initialize(); v.Run(); }).Start(); #endregion #region HACK new Thread(() => { Thread.CurrentThread.IsBackground = true; AimBot.Aim(); }).Start(); new Thread(() => { Thread.CurrentThread.IsBackground = true; SalentAim.Salent(); }).Start(); new Thread(() => { Thread.CurrentThread.IsBackground = true; Waifu.Cheats.TriggerBot.triggerBot(); }).Start(); #endregion } }