示例#1
0
        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 void StartThreads()
        {
            Update Update  = new Update();
            Thread Updater = new Thread(Update.Read);

            Updater.Start();

            Bunnyhop Bunnyhop = new Bunnyhop();
            Thread   Hopper   = new Thread(Bunnyhop.Jump);

            Hopper.Start();

            Triggerbot Triggerbot = new Triggerbot();
            Thread     Trigger    = new Thread(Triggerbot.Trigger);

            Trigger.Start();

            //Skinchanger Skinchanger = new Skinchanger();
            //Thread Skins = new Thread(Skinchanger.Reskin);
            //Skins.Start();

            NoFlash noFlash = new NoFlash();
            Thread  flash   = new Thread(NoFlash.See);

            flash.Start();
        }
 private static void BunnyhopThread()
 {
     while (true)
     {
         Bunnyhop.Run();
         Thread.Sleep(1);
     }
 }
示例#4
0
        private static void Bunnyhop()
        {
            Bunnyhop bunny = new Bunnyhop();

            while (true)
            {
                bunny.Start();
                Thread.Sleep(1);
            }
        }
示例#5
0
文件: Menu.cs 项目: waifuNET/NEThack
        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
            }
        }
示例#6
0
        public Menu()
        {
            //AllocConsole();
            InitializeComponent();

            if (RunStartup())
            {
                OffsetUpdater.UpdateOffsets();
                #region Start Cheats

                new Thread(() =>
                {
                    Thread.CurrentThread.IsBackground = true;
                    CheckMenu();
                }).Start();
                new Thread(() =>
                {
                    Thread.CurrentThread.IsBackground = true;
                    Tools.InitializeGlobals();
                }).Start();
                /////////////////////////////////////////////////
                new Thread(() =>
                {
                    Thread.CurrentThread.IsBackground = true;
                    Bunnyhop.Start();
                }).Start();

                new Thread(() =>
                {
                    Thread.CurrentThread.IsBackground = true;
                    Triggerbot.Start();
                }).Start();

                new Thread(() =>
                {
                    Thread.CurrentThread.IsBackground = true;
                    Visuals.Start();
                }).Start();

                new Thread(() =>
                {
                    Thread.CurrentThread.IsBackground = true;
                    Misc.Start();
                }).Start();
                #endregion
            }
        }