示例#1
0
        private static void Main(string[] args)
        {
            Console.Title         = Cheat.NAME;
            Console.CursorVisible = false;

            DebugUtility.Log("\n\n");
            WriteWithColor("CGWH - Started", ConsoleColor.Yellow, true);
            WriteWithColor($"> [VD] = {Cheat.VERSION_DATE} [VT] = {Cheat.VERSION_TIME}\n\n", ConsoleColor.White, true);

            Cheat cheat = new Cheat();
            ESP   esp   = new ESP(cheat);

            if (cheat.IsValidVersion())
            {
                if (cheat.IsGetProcess())
                {
                    WriteWithColor("Sucsesfully working!", ConsoleColor.Green, true);
                    esp.LoadESP();
                }
                else
                {
                    WriteWithColor("Process '" + Cheat.PROCESS_NAME + "' was not found!", ConsoleColor.Red, true);
                }
            }
            else
            {
                WriteWithColor("Version of game is not valid", ConsoleColor.Red, true);
            }

            Console.ForegroundColor = ConsoleColor.Black;
            Console.ReadLine();
        }
示例#2
0
        internal Main()
        {
            InitializeComponent();

            Instance = this;

            FormClosed += onApplicationUnloading;

            Listener = new SimpleKeyboardListener();

            if (!Cheat.TryCheckValidVersion(out string content))
            {
                MessageBox.Show(content, "Game version is not valid!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }

            if (!Cheat.TryFindProcess())
            {
                MessageBox.Show("Please start game!", "CSGO Not found", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            new ESP(true);

            new Trigger();

            new AntiFlash(false);

            new AutoBunnyhop(false);

            new AutoPistol(true);

            new Radar(false);

            new FovChanger(false);
        }
示例#3
0
文件: ESP.cs 项目: AuD1tek/CGWH
 internal ESP(Cheat cheat)
 {
     this.cheat = cheat;
 }