Exemplo n.º 1
0
        public static void Start()
        {
            while (Properties.Settings.Default.weaponspammer)
            {
                Thread.Sleep(10);

                if (!LocalPlayer.InGame)
                {
                    continue;
                }

                if (LocalPlayer.Health <= 0)
                {
                    continue;
                }

                if (Structs.SpamWeaponList.Contains(LocalPlayer.ActiveWeapon))
                {
                    if (LocalPlayer.ActiveWeapon == 64 || LocalPlayer.ActiveWeapon == 262208)
                    {
                        Memory.Write <int>(Memory.Client + signatures.dwForceAttack, 5);
                        Thread.Sleep(100);
                        Memory.Write <int>(Memory.Client + signatures.dwForceAttack, 4);
                        Thread.Sleep(100);
                    }
                    else
                    {
                        ClientCMD.Exec("+attack2");
                        Thread.Sleep(10);
                        ClientCMD.Exec("-attack2");
                    }
                }
            }
            ClientCMD.Exec("-attack2");
        }
Exemplo n.º 2
0
        public static void ChangeName(string name)
        {
            ConVar nick = new ConVar("name");

            nick.ClearCallbacks();
            ClientCMD.Exec("name \"" + name + "\"");
        }
Exemplo n.º 3
0
        public static void Start()
        {
            if (Settings.userSettings.MiscSettings.ChatSpammer)
            {
                Random r = new Random();
                int    t = r.Next(0, 9);
                switch (t)
                {
                case 0: ClientCMD.Exec("say Get Mediocre, Go Euphoric."); break;

                case 1: ClientCMD.Exec("say Darc Euphoira, an alright C# External Cheat."); break;

                case 2: ClientCMD.Exec("say Get Mediocre, Get Darc Euphoria."); break;

                case 3: ClientCMD.Exec("say Don't cry if I kill you. It's just a good gaming chair."); break;

                case 4: ClientCMD.Exec("say If you say Darc Euphoria is shit, I won't argue, cause it is."); break;

                case 5: ClientCMD.Exec("say Phansea owns Darc Euphoria and me."); break;

                case 6: ClientCMD.Exec("say Why you mad? Is it because I rejected your confession?"); break;

                case 7: ClientCMD.Exec("say If you kill me it's luck."); break;

                case 8: ClientCMD.Exec("say If I kill you it's because you suck."); break;

                default: break;
                }
                Thread.Sleep(20);
            }
        }
Exemplo n.º 4
0
        public static void Start()
        {
            while (true)
            {
                Thread.Sleep(50);

                if (!Properties.Settings.Default.doorspammer)
                {
                    continue;
                }
                if (!LocalPlayer.InGame)
                {
                    continue;
                }
                if (LocalPlayer.Health <= 0)
                {
                    continue;
                }

                while ((DllImport.GetAsyncKeyState(Properties.Hotkey.Default.doorspammerKey) & 0x8000) != 0)
                {
                    ClientCMD.Exec("+use");  // I did not add this to LocalPlayer to avoid delay. But i dont try, maybe this will not happen lol
                    Thread.Sleep(15);
                    ClientCMD.Exec("-use");
                    Thread.Sleep(15);
                }
            }
        }
Exemplo n.º 5
0
        public static void StealName(int id)
        {
            ConVar nick = new ConVar("name");

            nick.ClearCallbacks();
            ClientCMD.Exec("name \" " + new Entity(id).Name2 + " \"");
        }
Exemplo n.º 6
0
        public static void InstantChange()
        {
            ConVar nick = new ConVar("name");

            nick.ClearCallbacks();
            ClientCMD.Exec("name \"\n\xAD\xAD\xAD\"");
        }
Exemplo n.º 7
0
 public static void LoadMap(string MapPath)
 {
     if (File.Exists(MapPath) && Local.ActiveWeapon.WeaponID != -1)
     {
         Local.bspMap = new BSPFile(MapPath);
         ClientCMD.Exec(string.Format("clear; echo Map File {0} Loaded!", Local.MapName));
     }
 }
Exemplo n.º 8
0
 public static void LoadMap(string MapPath)
 {
     if (File.Exists(MapPath) && Local.ActiveWeapon.WeaponID != -1)
     {
         Local._bsp = new Euphoric.BspParsing.BSP(MapPath);
         ClientCMD.Exec(String.Format("clear; echo Map File {0} Loaded!", Local._bsp.FileName));
     }
 }
Exemplo n.º 9
0
        public static void ChatCleaner()
        {
            while (Properties.Settings.Default.chatcleaner)
            {
                Thread.Sleep(100);

                ClientCMD.Exec("say \"﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽\"");
            }
        }
Exemplo n.º 10
0
        public static void Start()
        {
            while (true)
            {
                Thread.Sleep(10);

                if (!Properties.Settings.Default.perfectnade)
                {
                    continue;
                }
                if (!Engine.InGame)
                {
                    continue;
                }

                var lp = new LocalPlayer();
                if (lp.Ptr == IntPtr.Zero)
                {
                    continue;
                }

                if (lp.Health <= 0)
                {
                    continue;
                }

                if (lp.ViewAngle.X != -89f)
                {
                    continue;
                }

                if (lp.ActiveWeapon.Id != 44)
                {
                    continue;
                }

                if (lp.Velocity.Length > 3)
                {
                    continue;
                }

                if ((WinAPI.GetAsyncKeyState(0x02) & 0x8000) != 0)
                {
                    Thread.Sleep(800);
                    if (!((WinAPI.GetAsyncKeyState(0x02) & 0x8000) != 0))
                    {
                        continue;
                    }
                    ClientCMD.Exec("+attack");
                    Thread.Sleep(80);
                    ClientCMD.Exec("-attack2");
                    Thread.Sleep(1);
                    ClientCMD.Exec("-attack");
                }
            }
        }
Exemplo n.º 11
0
        public static void Start()
        {
            while (true)
            {
                Thread.Sleep(10);

                if (!Properties.Settings.Default.perfectnade)
                {
                    continue;
                }

                if (!LocalPlayer.InGame)
                {
                    continue;
                }

                if (LocalPlayer.Health <= 0)
                {
                    continue;
                }

                if (LocalPlayer.ViewAngle.x != -89)
                {
                    continue;
                }

                if (LocalPlayer.ActiveWeapon != 44)
                {
                    continue;
                }

                if (LocalPlayer.Speed > 3)
                {
                    continue;
                }

                if ((DllImport.GetAsyncKeyState(0x02) & 0x8000) != 0)
                {
                    Thread.Sleep(800);
                    if (!((DllImport.GetAsyncKeyState(0x02) & 0x8000) != 0))
                    {
                        continue;
                    }

                    ClientCMD.Exec("+attack");
                    Thread.Sleep(80);
                    ClientCMD.Exec("-attack2");
                    Thread.Sleep(1);
                    ClientCMD.Exec("-attack");
                }
            }
        }
Exemplo n.º 12
0
        public static void RceMem()
        {
            Random rnd = new Random();

            while (Properties.Settings.Default.chatcleaner)
            {
                Thread.Sleep(100);

                string mem = String.Format("{0}:{1}:{2}:{3}:{4}:{5}:{6}:{7} pwned 0_o", rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100));

                ClientCMD.Exec("say \"" + mem + "\"");
            }
        }
Exemplo n.º 13
0
        public static void Start()
        {
            while (Properties.Settings.Default.weaponspammer)
            {
                Thread.Sleep(10);

                if (!Engine.InGame)
                {
                    continue;
                }

                var lp = new LocalPlayer();
                if (lp.Ptr == IntPtr.Zero)
                {
                    continue;
                }

                if (lp.Health <= 0)
                {
                    continue;
                }

                var weapon = lp.ActiveWeapon.Id;

                if (Structs.SpamWeaponList.Contains(weapon))
                {
                    if (weapon == 64 || weapon == 262208)
                    {
                        Memory.Write <int>(Memory.Client + Signatures.dwForceAttack, 5);
                        Thread.Sleep(100);
                        Memory.Write <int>(Memory.Client + Signatures.dwForceAttack, 4);
                        Thread.Sleep(100);
                    }
                    else
                    {
                        ClientCMD.Exec("+attack2");
                        Thread.Sleep(10);
                        ClientCMD.Exec("-attack2");
                    }
                }
            }

            ClientCMD.Exec("-attack2");
        }
Exemplo n.º 14
0
 public static void MoveClearY()
 {
     ClientCMD.Exec("-moveright");
     Thread.Sleep(1);
     ClientCMD.Exec("-moveleft");
 }
Exemplo n.º 15
0
 public static void MoveForward()
 {
     ClientCMD.Exec("+forward");
 }
Exemplo n.º 16
0
 public static void MoveClearX()
 {
     ClientCMD.Exec("-forward");
 }
Exemplo n.º 17
0
 public static void VoteKick(int id)
 {
     //ConVar vote = new ConVar("vote");
     //vote.ClearCallbacks();
     ClientCMD.Exec("callvote kick " + id);
 }