static void Main(string[] args)
        {
        Console.WriteLine(
@"
888     888  .d8888b.   .d8888b.  
888     888 d88P  Y88b d88P  Y88b 
888     888 888    888 Y88b.      
888     888 888         ""Y888b.   
888     888 888            ""Y88b. 
888     888 888    888       ""888 
Y88b. .d88P Y88b  d88P Y88b  d88P 
 ""Y88888P""   ""Y8888P""   ""Y8888P""  
        ");
            Console.WriteLine("Ultrapowa Clash Server");
            Console.WriteLine("version 0.6.1.0");
            Console.WriteLine("www.ultrapowa.com");
            Console.WriteLine("");
            Console.WriteLine("Server starting...");
            Gateway g = new Gateway();
            PacketManager ph = new PacketManager();
            MessageManager dp = new MessageManager();
            ResourcesManager rm = new ResourcesManager();
            ObjectManager pm = new ObjectManager();
            dp.Start();
            ph.Start();
            g.Start();
            ApiManager api = new ApiManager();
            Debugger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
            Logger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
            Console.WriteLine("Server started, let's play Clash of Clans!");
            Thread.Sleep(Timeout.Infinite);
        }
Example #2
0
 static void Main(string[] args)
 {
     Console.WriteLine("");
     Console.WriteLine(" [i] EuroClash.Net - C# Emulator Improved by AlexBerescu");
     Console.WriteLine(" [i] Thanks to UltraPowa for Main Source & Packet Managenment");
     Console.WriteLine(" [i] Version 0.9A");
     Console.WriteLine("");
     Gateway g = new Gateway();
     PacketManager ph = new PacketManager();
     MessageManager dp = new MessageManager();
     ResourcesManager rm = new ResourcesManager();
     ObjectManager pm = new ObjectManager();
     dp.Start();
     ph.Start();
     g.Start();
     //ApiManager api = new ApiManager();
     ApiManager2 api2 = new ApiManager2();
     Core.Debugger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
     Logger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
     Console.WriteLine("");
     Console.WriteLine(" [i] Server successfully Loaded, you can login now!");
     Console.WriteLine(" [i] Automatic Server Status will be loaded shortly..");
     Console.WriteLine("");
     aTimer = new System.Timers.Timer(4000);
     aTimer.Elapsed += new ElapsedEventHandler(RunThis);
     aTimer.AutoReset = true;
     aTimer.Enabled = true;
     Gestiune abe = new Gestiune();
     Console.ReadLine();
 }
Example #3
0
 static void Main(string[] args)
 {
     Console.Title = "Ultrapowa Clash Server v0.6.1.5 Cannary 3 XV";
     Console.ForegroundColor = ConsoleColor.Red;
     Console.WriteLine(
     @"
     888     888  .d8888b.   .d8888b.
     888     888 d88P  Y88b d88P  Y88b
     888     888 888    888 Y88b.
     888     888 888         ""Y888b.
     888     888 888            ""Y88b.
     888     888 888    888       ""888
     Y88b. .d88P Y88b  d88P Y88b  d88P
      ""Y88888P""   ""Y8888P""   ""Y8888P""
     ");
     Console.WriteLine("Ultrapowa Clash Server");
     Console.WriteLine("version 0.6.1.5 Cannary 3 XV");
     Console.WriteLine("www.ultrapowa.com");
     Console.WriteLine("Get support by contacting Aidid on the forum");
     Console.WriteLine("");
     Console.WriteLine("Server starting...");
     Console.ResetColor();
     Gateway g = new Gateway();
     PacketManager ph = new PacketManager();
     MessageManager dp = new MessageManager();
     ResourcesManager rm = new ResourcesManager();
     ObjectManager pm = new ObjectManager();
     dp.Start();
     ph.Start();
     g.Start();
     Debugger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
     Logger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
     string hostName = Dns.GetHostName();
     string IP = Dns.GetHostByName(hostName).AddressList[0].ToString();
     if (Convert.ToBoolean(ConfigurationManager.AppSettings["apiManager"]))
     {
         ApiManager api = new ApiManager();
         Console.WriteLine("Server started on " + IP + ":9339 and let's play Clash of Clans!");
     }
     else
     {
         Console.WriteLine("Api Manager disable...");
         Console.WriteLine("Server started on " + IP + ":9339 and let's play Clash of Clans!");
     }
     if (Convert.ToBoolean(ConfigurationManager.AppSettings["consoleCommand"]))
     {
         Menu debug = new Menu();
     }
     else
     {
         Thread.Sleep(Timeout.Infinite);
     }
 }
Example #4
0
 static void Main(string[] args)
 {
     Console.Title = "Ultrapowa Clash Server v0.6.1.1 - Beta 1";
     Console.ForegroundColor = ConsoleColor.Red;
     Console.WriteLine(
     @"
     888     888  .d8888b.   .d8888b.
     888     888 d88P  Y88b d88P  Y88b
     888     888 888    888 Y88b.
     888     888 888         ""Y888b.
     888     888 888            ""Y88b.
     888     888 888    888       ""888
     Y88b. .d88P Y88b  d88P Y88b  d88P
      ""Y88888P""   ""Y8888P""   ""Y8888P""
     ");
     Console.ForegroundColor = ConsoleColor.White;
     Console.WriteLine("Ultrapowa Clash Server");
     Console.WriteLine("version 0.6.1.1 - Beta 1");
     Console.WriteLine("www.ultrapowa.com");
     Console.WriteLine("www.gobelinland.fr");
     Console.WriteLine("Server starting...");
     string hostName = Dns.GetHostName();
     string myIP = Dns.GetHostEntry(hostName).AddressList[0].ToString();
     Gateway g = new Gateway();
     PacketManager ph = new PacketManager();
     MessageManager dp = new MessageManager();
     ResourcesManager rm = new ResourcesManager();
     ObjectManager pm = new ObjectManager();
     dp.Start();
     ph.Start();
     g.Start();
     if (Convert.ToBoolean(ConfigurationManager.AppSettings["apiManager"]))
     {
         ApiManager api = new ApiManager();
         Debugger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
         Logger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
         Console.WriteLine("Server started on " + myIP + ":9339 and let's play Clash of Clans!");
         Thread.Sleep(Timeout.Infinite);
     }
     else
     {
         Console.WriteLine("Api Manager disabled...");
         Debugger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
         Logger.SetLogLevel(Int32.Parse(ConfigurationManager.AppSettings["loggingLevel"]));
         Console.WriteLine("Server started on " + myIP + ":9339 and let's play Clash of Clans!");
         Thread.Sleep(Timeout.Infinite);
     }
 }