Пример #1
0
        public static void RunGlowESPPanorama(int EntBase)
        {
            int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);

            if (CEntityPlayer.Team(EntBase) == Teams.TERRORIST && CheatStatus.WallActive && CEntityPlayer.isAlive(EntBase) && ((CLocalPlayer.Team != CEntityPlayer.Team(EntBase) && VisualConfig.glowEnemyTeam) || (CLocalPlayer.Team == CEntityPlayer.Team(EntBase) && VisualConfig.glowLocalTeam))) //T
            {
                if (VisualConfig.selectedGlowColor == VisualColor.ENGINE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowEngineTerrorist, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.REDBLUE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowRed, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.HEALTH)
                {
                    CEntityPlayer.Glow(GlowIndex, Parsers.ParseEnemyGlowHealth(CEntityPlayer.Health(EntBase)), VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
            }
            if (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST && CheatStatus.WallActive && CEntityPlayer.isAlive(EntBase) && ((CLocalPlayer.Team != CEntityPlayer.Team(EntBase) && VisualConfig.glowEnemyTeam) || (CLocalPlayer.Team == CEntityPlayer.Team(EntBase) && VisualConfig.glowLocalTeam))) //AT
            {
                if (VisualConfig.selectedGlowColor == VisualColor.ENGINE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowEngineATerrorist, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.REDBLUE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowBlue, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.HEALTH)
                {
                    CEntityPlayer.Glow(GlowIndex, Parsers.ParseEnemyGlowHealth(CEntityPlayer.Health(EntBase)), VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
            }
        }
Пример #2
0
 public static void ConfigureAimbot(int EntBase, AimBotController Aim)
 {
     if (CLocalPlayer.Team != CEntityPlayer.Team(EntBase) && (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST || CEntityPlayer.Team(EntBase) == Teams.TERRORIST) && CEntityPlayer.Health(EntBase) <= 100 && CEntityPlayer.Health(EntBase) > 0 && CEntityPlayer.WeaponName(EntBase) != "NONE" && !(CEntityPlayer.Team(EntBase) == Teams.NONE || CEntityPlayer.Team(EntBase) == Teams.SPECTATOR) && CEntityPlayer.isAlive(EntBase) && !CEntityPlayer.isDormant(EntBase) && CEntityPlayer.isPlayerSpotted(EntBase))
     {
         Aim.closestEngine(EntBase, Methods.GetBonePos(EntBase, AimBotConfig.SelectedBone));
     }
 }
Пример #3
0
 public static void RunChamsPanorama(int EntBase)
 {
     if (CheatStatus.ChamsActive)
     {
         if (CEntityPlayer.Team(EntBase) == Teams.TERRORIST && CEntityPlayer.isAlive(EntBase)) //T
         {
             if (VisualConfig.selectedChamsColor == VisualColor.ENGINE)
             {
                 CEntityPlayer.ApplyChams(VisualConfig.EngineTerroristColor, VisualConfig.ChamsBrightness, EntBase);
             }
             else if (VisualConfig.selectedChamsColor == VisualColor.REDBLUE)
             {
                 CEntityPlayer.ApplyChams(VisualConfig.Red, VisualConfig.ChamsBrightness, EntBase);
             }
             else if (VisualConfig.selectedChamsColor == VisualColor.HEALTH)
             {
                 CEntityPlayer.ApplyChams(Parsers.ParseEnemyChamsHealth(CEntityPlayer.Health(EntBase)), VisualConfig.ChamsBrightness, EntBase);
             }
         }
         if (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST && CEntityPlayer.isAlive(EntBase)) //AT
         {
             if (VisualConfig.selectedChamsColor == VisualColor.ENGINE)
             {
                 CEntityPlayer.ApplyChams(VisualConfig.EngineATerroristColor, VisualConfig.ChamsBrightness, EntBase);
             }
             else if (VisualConfig.selectedChamsColor == VisualColor.REDBLUE)
             {
                 CEntityPlayer.ApplyChams(VisualConfig.Blue, VisualConfig.ChamsBrightness, EntBase);
             }
             else if (VisualConfig.selectedChamsColor == VisualColor.HEALTH)
             {
                 CEntityPlayer.ApplyChams(Parsers.ParseEnemyChamsHealth(CEntityPlayer.Health(EntBase)), VisualConfig.ChamsBrightness, EntBase);
             }
         }
     }
     else
     {
         CEntityPlayer.ClearChams(EntBase);
     }
 }
Пример #4
0
        public static void RunGlowESPLegit(int EntBase, bool Active, GlowStruct TColor, GlowStruct ATColor)
        {
            int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);

            if (Active)
            {
                if (CLocalPlayer.isDead)
                {
                    if (CLocalPlayer.Team != CEntityPlayer.Team(EntBase))
                    {
                        if (CEntityPlayer.Team(EntBase) == Teams.TERRORIST && CEntityPlayer.isAlive(EntBase)) //T
                        {
                            CEntityPlayer.Glow(GlowIndex, TColor, GlowStyle.NORMAL, GlowType.NORMAL);
                        }
                        if (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST && CEntityPlayer.isAlive(EntBase)) //AT
                        {
                            CEntityPlayer.Glow(GlowIndex, ATColor, GlowStyle.NORMAL, GlowType.NORMAL);
                        }
                    }
                }
            }
        }
Пример #5
0
        public static void RunChamsLegit(int EntBase, bool Active, bool dEspActive)
        {
            int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);

            if (Active)
            {
                if (CLocalPlayer.Team != CEntityPlayer.Team(EntBase))
                {
                    if (CLocalPlayer.isAlive || !dEspActive)
                    {
                        CEntityPlayer.Glow(GlowIndex, Parsers.ParseEnemyGlowHealth(CEntityPlayer.Health(EntBase)), GlowStyle.NORMAL, GlowType.FROZEN);
                    }
                    CEntityPlayer.ApplyChams(Parsers.ParseEnemyChamsHealth(CEntityPlayer.Health(EntBase)), 90, EntBase);
                }
            }
            else if (!Active)
            {
                if (CLocalPlayer.Team != CEntityPlayer.Team(EntBase))
                {
                    CEntityPlayer.ClearChams(EntBase);
                }
            }
        }
Пример #6
0
 public static void RunGlowESPOWALL(GlowStruct red, GlowStruct blue, bool Active)
 {
     for (int i = 0; i <= EngineClient.MaxPlayer; i++)
     {
         int EntBase = CylMem.ReadInt(Modules.ClientDLLAdress + 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;
         }
         int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);
         if (CEntityPlayer.Team(EntBase) == Teams.TERRORIST && Active && CEntityPlayer.isAlive(EntBase)) //T
         {
             CEntityPlayer.Glow(GlowIndex, red, GlowStyle.NORMAL, GlowType.NORMAL);
         }
         if (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST && Active && CEntityPlayer.isAlive(EntBase)) //AT
         {
             CEntityPlayer.Glow(GlowIndex, blue, GlowStyle.NORMAL, GlowType.NORMAL);
         }
     }
 }
Пример #7
0
        private static void MainThread()
        {
            Main m = Main.getInstance();

            m.log("Main Thread Started");
            m.log("A:" + aimbot.ToString());
            AimBotController aimbotController = new AimBotController();

            if (Modules.IsModuleRunning(Modules.ClientDLLName))
            {
                while (true)
                {
                    if (CLocalPlayer.IsPlaying)
                    {
                        #region Aimbot-Start
                        if (aimbot)
                        {
                            aimbotController.setFrom(CLocalPlayer.Position);
                        }
                        #endregion

                        #region PlayerLoop
                        for (int i = 0; i <= EngineClient.MaxPlayer; i++)
                        {
                            #region Entity Cheats
                            int EntBase = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + i * 0x10);
                            if (EntBase == 0)
                            {
                                continue;
                            }
                            if (CEntityPlayer.isDormant(EntBase))
                            {
                                continue;
                            }
                            #region Aimbot-GetClosestPlayer
                            int   health = CEntityPlayer.Health(EntBase);
                            Teams team   = CEntityPlayer.Team(EntBase);
                            if (CheatStatus.AimbotActive &&
                                team != CLocalPlayer.Team &&
                                team != Teams.SPECTATOR &&
                                team != Teams.NONE &&
                                CEntityPlayer.isAlive(EntBase) &&
                                health > 0 && health <= 100
                                )
                            {
                                aimbotController.closestEngine(EntBase, CEntityPlayer.Position(EntBase));
                            }
                            #endregion
                            #endregion
                        }
                        #region Aimbot-Target
                        if (aimbot)
                        {
                            int     target_aim_entbase = aimbotController.closestPlayerEntityBase;
                            Vector3 target_aim_vector  = aimbotController.closestPlayerVector;
                            if (CEntityPlayer.isPlayerSpotted(target_aim_entbase) && Methods.HoldingKey(Keys.LButton))
                            {
                                Vector3 raw          = aimbotController.CalcAngle(target_aim_vector);
                                Vector3 raw_unp      = aimbotController.RemovePunch(raw);
                                Vector3 target_angle = Parsers.ClampAngle(raw_unp);
                                CLocalPlayer.ViewAngles = target_angle;

                                //m.log(
                                //    String.Format("Closest Player x:{0} y:{1} z:{2} Distance : {3}", target_aim_vector.X, target_aim_vector.Y, target_aim_vector.Z,aimbotController.target_distance),
                                //    "Aimbot Closest"
                                //    );
                                //m.log(
                                //    String.Format("Angle x:{0} y:{1} z:{2} Distance : {3}", raw_unp.X, raw_unp.Y, raw_unp.Z, aimbotController.target_distance),
                                //    "Aimbot Closest"
                                //    );
                            }
                        }

                        #endregion
                        #endregion
                    }
                }
            }
        }
Пример #8
0
 public static void RunTriggerBotPanorama()
 {
     if (CheatStatus.TriggerActive)
     {
         if (AssistsConfig.TriggerKey == KeysList.NOKEYS || (AssistsConfig.TriggerKey != KeysList.NOKEYS && Methods.HoldingKey(Parsers.KeyListToRealKey(AssistsConfig.TriggerKey))))
         {
             if (CLocalPlayer.IsCloseRangeWeapon)
             {
                 return;
             }
             if (CLocalPlayer.IsThrowableWeapon)
             {
                 return;
             }
             else
             {
                 int CrossEntity;
                 if (CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (CLocalPlayer.CrossID - 1) * 0x10) == -1)
                 {
                     CrossEntity = 0;
                 }
                 else
                 {
                     CrossEntity = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (CLocalPlayer.CrossID - 1) * 0x10);
                 }
                 if (CrossEntity == 0)
                 {
                     return;
                 }
                 if (CEntityPlayer.isDormant(CrossEntity))
                 {
                     return;
                 }
                 if (CEntityPlayer.isDead(CrossEntity))
                 {
                     return;
                 }
                 if (CEntityPlayer.Team(CrossEntity) == Teams.NONE || CEntityPlayer.Team(CrossEntity) == Teams.SPECTATOR)
                 {
                     return;
                 }
                 if (CEntityPlayer.WeaponName(CrossEntity) == "NONE")
                 {
                     return;
                 }
                 if (AssistsConfig.isNoScope)
                 {
                     if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer && ((CEntityPlayer.Team(CrossEntity) == CLocalPlayer.Team && AssistsConfig.isFriendlyFire) || (CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team)))
                     {
                         if (CEntityPlayer.isAlive(CrossEntity) && CLocalPlayer.CrossID >= 0)
                         {
                             for (int i = 0; i < 2; i++)
                             {
                                 if (CLocalPlayer.IsPistolWeapon)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                     continue;
                                 }
                                 else if (AssistsConfig.isSprayRandom)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                 }
                                 else
                                 {
                                     CLocalPlayer.ShootWithPointer(WeaponSettings.TriggerSprayTime);
                                 }
                             }
                         }
                     }
                 }
                 else if (!CLocalPlayer.Scoped)
                 {
                     if (CLocalPlayer.IsScopedWeapon)
                     {
                         return;
                     }
                     else
                     {
                         if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer && ((CEntityPlayer.Team(CrossEntity) == CLocalPlayer.Team && AssistsConfig.isFriendlyFire) || (CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team)))
                         {
                             if ((CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team) && CEntityPlayer.isAlive(CrossEntity) && CLocalPlayer.CrossID >= 0)
                             {
                                 for (int i = 0; i < 2; i++)
                                 {
                                     if (CLocalPlayer.IsPistolWeapon)
                                     {
                                         CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                         continue;
                                     }
                                     else if (AssistsConfig.isSprayRandom)
                                     {
                                         CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                     }
                                     else
                                     {
                                         CLocalPlayer.ShootWithPointer(WeaponSettings.TriggerSprayTime);
                                     }
                                 }
                             }
                         }
                     }
                 }
                 else
                 {
                     if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer)
                     {
                         if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer && ((CEntityPlayer.Team(CrossEntity) == CLocalPlayer.Team && AssistsConfig.isFriendlyFire) || (CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team)))
                         {
                             for (int i = 0; i < 2; i++)
                             {
                                 if (CLocalPlayer.IsPistolWeapon)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                     continue;
                                 }
                                 else if (AssistsConfig.isSprayRandom)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                 }
                                 else
                                 {
                                     CLocalPlayer.ShootWithPointer(WeaponSettings.TriggerSprayTime);
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
Пример #9
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
                    }
                }
            }
        }
Пример #10
0
        public static void RunAimbotPanorama(AimBotController Aim)
        {
            Aim.setFrom(CLocalPlayer.Position);
            int     target_aim_entbase = Aim.closestPlayerEntityBase;
            Vector3 target_aim_vector  = Aim.closestPlayerVector;

            if (CEntityPlayer.isPlayerSpotted(target_aim_entbase) && CLocalPlayer.Team != CEntityPlayer.Team(target_aim_entbase) && (CEntityPlayer.Team(target_aim_entbase) == Teams.ANTI_TERRORIST || CEntityPlayer.Team(target_aim_entbase) == Teams.TERRORIST) && CEntityPlayer.Health(target_aim_entbase) <= 100 && CEntityPlayer.Health(target_aim_entbase) > 0 && CEntityPlayer.WeaponName(target_aim_entbase) != "NONE" && !(CEntityPlayer.Team(target_aim_entbase) == Teams.NONE || CEntityPlayer.Team(target_aim_entbase) == Teams.SPECTATOR) && CEntityPlayer.isAlive(target_aim_entbase) && !CEntityPlayer.isDormant(target_aim_entbase) && CEntityPlayer.isPlayerSpotted(target_aim_entbase) && CheatStatus.AimbotActive)
            {
                if (AimBotConfig.LockKey == KeysList.NOKEYS)
                {
                    if (Methods.HoldingKey(Keys.LButton))
                    {
                        Vector3 raw          = Aim.CalcAngle(CLocalPlayer.VectorEyeLevel, target_aim_vector);
                        Vector3 raw_unp      = Aim.RemovePunch(raw);
                        Vector3 target_angle = Parsers.ClampAngle(raw_unp);
                        CLocalPlayer.ViewAngles = target_angle;
                    }
                }
                else
                {
                    if (Methods.HoldingKey(Parsers.KeyListToRealKey(AimBotConfig.LockKey)))
                    {
                        Vector3 raw          = Aim.CalcAngle(CLocalPlayer.VectorEyeLevel, target_aim_vector);
                        Vector3 raw_unp      = Aim.RemovePunch(raw);
                        Vector3 target_angle = Parsers.ClampAngle(raw_unp);
                        CLocalPlayer.ViewAngles = target_angle;
                    }
                }
            }
        }