|
|
@ -457,19 +457,6 @@ public class WorldServer { |
|
|
|
//pick a startup Hotzone
|
|
|
|
//pick a startup Hotzone
|
|
|
|
ZoneManager.generateAndSetRandomHotzone(); |
|
|
|
ZoneManager.generateAndSetRandomHotzone(); |
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Loading All Players from database to Server Cache"); |
|
|
|
|
|
|
|
start = System.currentTimeMillis(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
DbManager.PlayerCharacterQueries.GET_ALL_CHARACTERS(); |
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
e.printStackTrace(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
long end = System.currentTimeMillis(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Time to load players " + (end - start) + " ms."); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ItemProductionManager.ITEMPRODUCTIONMANAGER.initialize(); |
|
|
|
ItemProductionManager.ITEMPRODUCTIONMANAGER.initialize(); |
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Loading Player Heraldries"); |
|
|
|
Logger.info("Loading Player Heraldries"); |
|
|
|