예제 #1
0
        public void igualar() // cuando no queda otra
        {
            Random rnd       = new Random();
            int    velocidad = rnd.Next(1000, 3000);
            int    sleepvar  = rnd.Next(1000, 4000);
            int    x         = rnd.Next(1142, 1152);
            int    y         = rnd.Next(683, 693);

            Move(x - Cursor.Position.X, y - Cursor.Position.Y, velocidad, false);
            Thread.Sleep(sleepvar);
            Clicking.SendClick();
            //int rx = rnd.Next(0, 1365);
            //int ry = rnd.Next(0, 767);
            // Move(rx - Cursor.Position.X, ry - Cursor.Position.Y, 1000, false);
        }
예제 #2
0
        public void subir() //subir
        {
            Random rnd       = new Random();
            int    velocidad = rnd.Next(1000, 3000);
            int    sleepvar  = rnd.Next(1000, 4000);
            int    x         = rnd.Next(1276, 1286);
            int    y         = rnd.Next(684, 695);

            Move(x - Cursor.Position.X, y - Cursor.Position.Y, velocidad, false);
            Thread.Sleep(sleepvar);
            Clicking.SendClick();
            //int rx = rnd.Next(0, 1365);
            //int ry = rnd.Next(0, 767);
            // Move(rx - Cursor.Position.X, ry - Cursor.Position.Y, 1000, false);
        }
예제 #3
0
        public void apostar(int cantidad) //cantidad pasada en forma pozo*numero
        {
            Random rnd            = new Random();
            int    cantidadClicks = cantidad / 100;
            int    velocidad      = rnd.Next(2000, 3000);

            Move(1239 - Cursor.Position.X, 646 - Cursor.Position.Y, 1000, false); //posicion barra
            Thread.Sleep(2000);
            for (int i = 0; i < cantidadClicks; i++)
            {
                Clicking.SendClick();
                Thread.Sleep(500);
            }

            Move(1285 - Cursor.Position.X, 688 - Cursor.Position.Y, velocidad, false); //posicion apostar
            Thread.Sleep(50);
            Clicking.SendClick();
        }
예제 #4
0
        public void allIn()
        {
            Random rnd       = new Random();
            int    velocidad = rnd.Next(1000, 3000);
            int    sleepvar  = rnd.Next(1000, 4000);
            int    x1        = 1315;
            int    y1        = 618;
            int    x2        = rnd.Next(1276, 1286);
            int    y2        = rnd.Next(684, 694);

            Move(x1 - Cursor.Position.X, y1 - Cursor.Position.Y, velocidad, false);
            Thread.Sleep(50);
            Clicking.SendClick();
            Thread.Sleep(sleepvar);
            Move(x2 - Cursor.Position.X, y2 - Cursor.Position.Y, velocidad, false);
            Thread.Sleep(50);
            Clicking.SendClick();
            //int rx = rnd.Next(0, 1365);
            //int ry = rnd.Next(0, 767);
            // Move(rx - Cursor.Position.X, ry - Cursor.Position.Y, 1000, false);
        }