Example #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();
                    }
                }
            }
        }
Example #2
0
 private void bStop_Click(object sender, EventArgs e)
 {
     Setting.Kill = true;
     Run.Stop();
     Troca.Stop();
     bStart.BackColor = Color.Red;
 }
Example #3
0
 private void stop_Tick(object sender, EventArgs e)
 {
     if (MousePosition.X == 0 && MousePosition.Y == 0)
     {
         Setting.Kill = true;
         Troca.Stop();
         Run.Stop();
         bStart.BackColor = Color.Red;
     }
 }
Example #4
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);
        }