Esempio n. 1
0
        static void Main()
        {
            Console.Title = Assembly.GetExecutingAssembly().GetName().Name;

            SilverConsole.Welcome();

            if (Config.LoadConfig() && GameDbManager.TestConnectivityToGameDb() && RealmDbManager.TestConnectivityToRealmDb())
            {
                Logs.LoadLogs();

                SilverConsole.LoadTimer();

                DatabaseProvider.LoadDatabase();

                var com = new Network.ToRealm.ToRealmClient();
                com.ConnectToRealm();

                var serv = new Network.Game.GameServer();
                serv.Run();
            }

            Console.Read();
        }
Esempio n. 2
0
        static void Main()
        {
            Console.Title = Assembly.GetExecutingAssembly().GetName().Name;

            SilverConsole.Welcome();

            if (Config.LoadConfig() && GameDbManager.TestConnectivityToGameDb() && RealmDbManager.TestConnectivityToRealmDb())
            {
                Logs.LoadLogs();

                SilverConsole.LoadTimer();

                DatabaseProvider.LoadDatabase();

                var com = new Network.ToRealm.ToRealmClient();
                com.ConnectToRealm();

                var serv = new Network.Game.GameServer();
                serv.Run();
            }

            Console.Read();
        }