|
|
@ -281,6 +281,9 @@ public class WorldServer { |
|
|
|
Logger.info("Initialize database layer"); |
|
|
|
Logger.info("Initialize database layer"); |
|
|
|
initDatabaselayer(); |
|
|
|
initDatabaselayer(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Starting network Dispatcher"); |
|
|
|
|
|
|
|
DispatchMessage.startMessagePump(); |
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Setting cross server session behavior"); |
|
|
|
Logger.info("Setting cross server session behavior"); |
|
|
|
SessionManager.setCrossServerBehavior(1); // Sets cross server behavior
|
|
|
|
SessionManager.setCrossServerBehavior(1); // Sets cross server behavior
|
|
|
|
|
|
|
|
|
|
|
@ -464,9 +467,6 @@ public class WorldServer { |
|
|
|
Logger.info("Initializing Client Connection Manager"); |
|
|
|
Logger.info("Initializing Client Connection Manager"); |
|
|
|
initClientConnectionManager(); |
|
|
|
initClientConnectionManager(); |
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Starting message pumps"); |
|
|
|
|
|
|
|
DispatchMessage.startMessagePump(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Run maintenance
|
|
|
|
// Run maintenance
|
|
|
|
|
|
|
|
|
|
|
|
MaintenanceManager.dailyMaintenance(); |
|
|
|
MaintenanceManager.dailyMaintenance(); |
|
|
|