//.method hidebysig static void LoadExecutngAssembly(string[] args) cil managed static void LoadExecutingAssembly(string[] args) { Logger.Init(); //Logger.Trace("TODO: REMAKE ALL CONTAINSKEY [] - TO TRYGETVALUE"); Settings m_Current = Settings.Default; //--------------- Init Commons ---------------------- LocalCommons.Native.Significant.Main.InitializeStruct(args); //------------- Controllers ------------------------- Logger.Section("Controllers"); GameServerController.LoadAvailableGameServers(); //--------------- MySQL --------------------------- Logger.Section("MySQL"); AccountHolder.LoadAccountData(); //----------------Network --------------------------- Logger.Section("Network"); PacketList.Initialize(Program.ServerClientVersion); new AsyncListener(m_Current.Main_IP, m_Current.Game_Port, defined: typeof(GameConnection)); //Waiting For Game Server Connections new AsyncListener(m_Current.Main_IP, m_Current.ArcheAge_Port, defined: typeof(ArcheAgeConnection)); //Waiting For ArcheAge Connections }
//.method hidebysig static void LoadExecutngAssembly(string[] args) cil managed static void LoadExecutingAssembly(string[] args) { Logger.Init(); //Logger.Trace("TODO: REMAKE ALL CONTAINSKEY [] - TO TRYGETVALUE"); Settings m_Current = Settings.Default; //--------------- Init Commons ---------------------- LocalCommons.Main.InitializeStruct(args); //------------- Controllers ------------------------- Logger.Section("Controllers"); GameServerController.LoadAvailableGameServers(); //--------------- MySQL --------------------------- Logger.Section("MySQL"); // Database ArcheageDb.Init(m_Current.DataBase_Host, m_Current.DataBase_User, m_Current.DataBase_Password, m_Current.DataBase_Name, m_Current.SSL, m_Current.PersistSecurityInfo); Database = new LoginDb(); // Check if there are any updates CheckDatabaseUpdates(); AccountHolder.LoadAccountData(); //----------------Network --------------------------- Logger.Section("Network"); PacketList.Initialize(Program.ServerClientVersion); new AsyncListener(m_Current.Main_IP, m_Current.Game_Port, defined: typeof(GameConnection)); //Waiting For GameServer Connections new AsyncListener(m_Current.Main_IP, m_Current.ArcheAge_Port, defined: typeof(ArcheAgeConnection)); //Waiting For ArcheAge Connections }