コード例 #1
0
        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();
        }
コード例 #2
0
 private static void NoFlashThread()
 {
     while (true)
     {
         NoFlash.Run();
         Thread.Sleep(1);
     }
 }
コード例 #3
0
 private void Start()
 {
     if (cbWh.Checked)
     {
         new Thread(() =>
         {
             if (Color != Color.Empty)
             {
                 Wallhack.On(bs, Color);
             }
             else
             {
                 Wallhack.On(bs);
             }
         })
         {
             IsBackground = true,
             Priority     = ThreadPriority.Normal
         }.Start();
     }
     if (cbRh.Checked)
     {
         new Thread(() =>
         {
             Radar.On(bs);
         })
         {
             IsBackground = true,
             Priority     = ThreadPriority.Normal
         }.Start();
     }
     if (cbBh.Checked)
     {
         new Thread(() =>
         {
             BunnyHope.On(bs);
         })
         {
             IsBackground = true,
             Priority     = ThreadPriority.Normal
         }.Start();
     }
     if (cbFh.Checked)
     {
         new Thread(() =>
         {
             NoFlash.On(bs);
         })
         {
             IsBackground = true,
             Priority     = ThreadPriority.Normal
         }.Start();
     }
 }
コード例 #4
0
        public static void Attach(System.Diagnostics.Process process, bool isInjected = false)
        {
            if (_isAttached)
            {
                return;
            }

            if (isInjected)
            {
                Memory = new LocalProcessMemory(process);
            }
            else
            {
                Memory = new ExternalProcessMemory(process);
            }

            Thread.Sleep(2000);

            Renderer   = new Renderer(process);
            ClientBase = Memory.GetModule("client.dll").BaseAddress;
            EngineBase = Memory.GetModule("engine.dll").BaseAddress;
            Offsets.Initialize();
            ClientState = Memory.Read <int>(EngineBase + Offsets.ClientState.Base);
            Objects     = new ObjectManager(ClientBase + Offsets.Misc.EntityList);

            Box           = new Box();
            HeadHelper    = new HeadHelper();
            SkinChanger   = new SkinChanger();
            ControlRecoil = new Rcs();
            TriggerBot    = new TriggerBot();
            KeyUtils      = new KeyUtils();
            BunnyJump     = new BunnyJump();
            SoundEsp      = new SoundEsp();
            Radar         = new Radar();
            NoFlash       = new NoFlash();
            AutoPistol    = new AutoPistol();
            Glow          = new Glow();
            AimAssist     = new AimAssist();

            var enginePtr = Memory.Read <IntPtr>(EngineBase + Offsets.ClientState.Base);

            if (enginePtr == IntPtr.Zero)
            {
                throw new Exception("Couldn't find Engine Ptr - are you sure your offsets are up to date?");
            }

            Client      = new GameClient(enginePtr);
            _isAttached = true;
        }
コード例 #5
0
        private static void MainThread()
        {
            if (Modules.IsModuleRunning(Modules.ClientDLLName))
            {
                AimBotController Aim = new AimBotController();
                while (true)
                {
                    if (CLocalPlayer.IsPlaying)
                    {
                        for (int i = 0; i <= EngineClient.MaxPlayer; i++)
                        {
                            int EntBase = CylMem.ReadInt(Modules.ClientDLLAdress + Offsets.signatures.dwEntityList + i * 0x10);
                            if (EntBase == 0)
                            {
                                continue;
                            }
                            if (CEntityPlayer.isDormant(EntBase))
                            {
                                continue;
                            }
                            if (CEntityPlayer.isDead(EntBase))
                            {
                                continue;
                            }
                            if (CEntityPlayer.Team(EntBase) == Teams.NONE || CEntityPlayer.Team(EntBase) == Teams.SPECTATOR)
                            {
                                continue;
                            }
                            if (CEntityPlayer.WeaponName(EntBase) == "NONE")
                            {
                                continue;
                            }
                            Aimbot.ConfigureAimbot(EntBase, Aim);
                            GlowESP.RunGlowESPPanorama(EntBase);
                            Chams.RunChamsPanorama(EntBase);
                            EngineRadar.RunRadarPanorama(EntBase);
                        }
                        BunnyHop.RunBunnyHopPanorama();
                        AutoPistol.RunAutoPistolPanorama();
                        Triggerbot.RunTriggerBotPanorama();
                        NoFlash.RunNoFlashPanorama();
                        NoHands.RunNoHandsPanorama();
                        DamageIndicator.RunDamageIndicatorPanorama();
                        RemoveScope.RunRemoveScopePanorama();
                        ViewModelFOV.RunViewModelFOV();
                        RecoilControlSystem.RunRCSPanorama();
                        GrenadeTrajectory.RunGPRJPanorama();
                        NoSmoke.RunNoSmokePanorama();
                        Aimbot.RunAimbotPanorama(Aim);

                        #region Performance Settings
                        if (CheatPerf == PerformanceTimes.VHIGH)
                        {
                        }
                        else
                        {
                            Thread.Sleep((int)CheatPerf);
                        }
                        #endregion
                    }
                }
            }
        }