Exemplo n.º 1
0
        private void Main_Load(object sender, EventArgs e)
        {
            IntPtr aaaa = WinGetHandle(WINDOW_NAME);

            if (MessageBox.Show("Enable Fullscreen? Note: Aimbot works good on fullscreen only", "Fullscreen", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                const int GWL_STYLE  = (-16);
                const int WS_VISIBLE = 0x10000000;
                SetWindowLong(aaaa, GWL_STYLE, (WS_VISIBLE));
                Rectangle resolution = Screen.PrimaryScreen.Bounds;
                MoveWindow(aaaa, resolution.Top, resolution.Left, resolution.Width, resolution.Height, true);
            }


            //ShowWindowAsync(aaaa, 5); //Fullscreenbug
            this.TopMost         = true;
            this.BackColor       = Color.Black;
            this.TransparencyKey = Color.Black;
            this.DoubleBuffered  = true;
            this.FormBorderStyle = FormBorderStyle.None;
            this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.OptimizedDoubleBuffer, true);
            Mem.Initialize("ros");
            if (Mem.m_pProcessHandle == IntPtr.Zero)
            {
                int num = (int)MessageBox.Show("Game Not Found", "Please Start Rules of Survival");
                this.Close();
            }
            else
            {
                int num = (int)MessageBox.Show("ROS MultiHack v99 by ~Ashesh [unknowncheats]\n------------------------\nO & P - adjurst aimbot height \n F1 Show Players + esp \n F2 Only Aimbot, No ESP \n F3 -  SMART_AIM!  \nLEFT ALT - Toggle Aimbot \n U - Show FOV \n UP and DOWN arrow - Aimbot Range  \n LEFT and RIGHT arrow - Aimbot FOV change \n Y - toggle aimbot mode (4x8x, 2x,noscope) \n------------------------\nToggle Noclip: J\n Controls: RCTRL+Arrow Keys, Backspace,RShift , f4,f5 - speed of noclip");
                Main.SetWindowLong(this.Handle, -20, Main.GetWindowLong(this.Handle, -20) | 524288 | 32);
            }
            new Thread(new ThreadStart(this.thread)).Start();
        }
Exemplo n.º 2
0
        private void Main_Load(object sender, EventArgs e)
        {
            AppDomain currentDomain = AppDomain.CurrentDomain;

            currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
            try
            {
                IntPtr aaaa = WinGetHandle(WINDOW_NAME);
                if (MessageBox.Show("Enable Fullscreen? Note: Aimbot works good on fullscreen only", "Fullscreen", MessageBoxButtons.YesNo) == DialogResult.Yes)
                {
                    const int GWL_STYLE  = (-16);
                    const int WS_VISIBLE = 0x10000000;
                    SetWindowLong(aaaa, GWL_STYLE, (WS_VISIBLE));
                    Rectangle resolution = Screen.PrimaryScreen.Bounds;
                    MoveWindow(aaaa, resolution.Top, resolution.Left, resolution.Width, resolution.Height, true);
                }


                this.TopMost  = true;
                this.TopLevel = true;

                this.BackColor       = Color.Black;
                this.TransparencyKey = Color.Black;
                this.DoubleBuffered  = true;
                this.FormBorderStyle = FormBorderStyle.None;
                this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.OptimizedDoubleBuffer, true);
                Mem.Initialize("ros");
                if (Mem.m_pProcessHandle == IntPtr.Zero)
                {
                    int num = (int)MessageBox.Show("Game Not Found", "Please Start Rules of Survival");
                    this.Close();
                }
                else
                {
                    Thread.Sleep(1000);
                    Main.SetWindowLong(this.Handle, -20, Main.GetWindowLong(this.Handle, -0) | 524288 | 32);
                }
                new Thread(new ThreadStart(this.thread)).Start();
            }
            catch (Exception ee)
            {
                MessageBox.Show("Crash Reason1: " + ee.Message);
                Process.Start(Application.ExecutablePath);

                //some time to start the new instance.
                Thread.Sleep(2000);

                Environment.Exit(-1); //Force termination of the current process.
            }
        }
Exemplo n.º 3
0
        private void Main_Load(object sender, EventArgs e)
        {
            IntPtr aaaa = WinGetHandle(WINDOW_NAME);

            if (MessageBox.Show("Enable Fullscreen? Note: Aimbot works good on fullscreen only", "Fullscreen", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                const int GWL_STYLE  = (-16);
                const int WS_VISIBLE = 0x10000000;
                SetWindowLong(aaaa, GWL_STYLE, (WS_VISIBLE));
                Rectangle resolution = Screen.PrimaryScreen.Bounds;
                MoveWindow(aaaa, resolution.Top, resolution.Left, resolution.Width, resolution.Height, true);
            }


            //ShowWindowAsync(aaaa, 5); //Fullscreenbug
            this.TopMost  = true;
            this.TopLevel = true;

            this.BackColor       = Color.Black;
            this.TransparencyKey = Color.Black;
            this.DoubleBuffered  = true;
            this.FormBorderStyle = FormBorderStyle.None;
            this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.OptimizedDoubleBuffer, true);
            Mem.Initialize("ros");
            if (Mem.m_pProcessHandle == IntPtr.Zero)
            {
                int num = (int)MessageBox.Show("Game Not Found", "Please Start Rules of Survival");
                this.Close();
            }
            else
            {
                Thread.Sleep(1000);
                Main.SetWindowLong(this.Handle, -0, Main.GetWindowLong(this.Handle, -0) | 524288 | 32);
            }
            new Thread(new ThreadStart(this.thread)).Start();
        }