예제 #1
0
        private void Troca_Tick(object sender, EventArgs e)
        {
            Thread thread = new Thread(TrocaDePoke.VerificarMorto);

            if (Setting.verificandopoke == false)
            {
                thread.Start(); Setting.verificandopoke = true; if (f == 0)
                {
                    Thread.Sleep(3000);
                }
                f = 1;
            }
            if (Setting.PlayerOnScreen == true)
            {
                Setting.Kill = true;
                Troca.Stop();
                Run.Stop();
                bStart.BackColor = Color.Red;
                FormsV.playSound("alarm.wav");
                if (Setting.CaveChat == 1 || Setting.CavePlayer == 1)
                {
                    if (Setting.LoggedIn = true && Setting.PodeUsarCaveBot == 1)
                    {
                        CaveBot caveBot = new CaveBot();
                        caveBot.Show();
                        caveBot.button2_Click(sender, e);
                        caveBot.Hide();
                    }
                }
            }
        }
예제 #2
0
        private void bConfig_Click(object sender, EventArgs e)
        {
            Configuracao configuracao = new Configuracao();

            if (FormsV.CheckOpened("Configuracao"))
            {
                configuracao.Close();
            }
            else
            {
                configuracao.Show();
            }
        }
예제 #3
0
        private void bCave_Click(object sender, EventArgs e)
        {
            CaveBot cavebot = new CaveBot();

            if (FormsV.CheckOpened("CaveBot"))
            {
                cavebot.Close();
            }
            else
            {
                if (Setting.PodeUsarCaveBot == 1)
                {
                    cavebot.Show();
                }
                else
                {
                    MessageBox.Show("Função Bloqueada!");
                }
            }
        }
예제 #4
0
 public static void CheckChat()
 {
     show = false;
     for (int i = Setting.ChatEsquerdaX; i < Setting.ChatDireitaX; i++)
     {
         string color = getpixel.GrabPixel(i, Setting.ChatY);
         if (color == "5592575" && show == false)
         {
             FormsV.playSound("chat.wav");
             show = true;
         }
     }
     if (show == true)
     {
         if (Setting.ChatStop == 1 || Setting.CaveChat == 1)
         {
             Setting.PlayerOnScreen = true;
             Setting.Kill           = true;
         }
     }
 }
예제 #5
0
        private void Run_Tick(object sender, EventArgs e)
        {
            if (Setting.Pescar == 1 && Setting.PescarSemParar == 1)
            {
                Thread thread2 = new Thread(pescar);
                if (Pescando == false)
                {
                    thread2.Start();
                }
                Pescando = true;
            }
            Thread thread = new Thread(start);

            if (Setting.Running)
            {
                Setting.Running = false;
                thread.Start();
            }
            if (Setting.PlayerOnScreen == true)
            {
                Setting.Kill = true;
                Run.Stop();
                Troca.Stop();
                bStart.BackColor = Color.Red;
                FormsV.playSound("alarm.wav");
                if (Setting.CaveChat == 1 || Setting.CavePlayer == 1)
                {
                    if (Setting.LoggedIn = true && Setting.PodeUsarCaveBot == 1)
                    {
                        CaveBot caveBot = new CaveBot();
                        caveBot.Show();
                        caveBot.button2_Click(sender, e);
                        caveBot.Hide();
                    }
                }
            }
            //Thread.Sleep(200);
        }