Added system for making changes retroactive

This commit is contained in:
Treeku
2014-01-04 20:29:23 +00:00
parent d0ab910e06
commit 6ecdede66a
3 changed files with 112 additions and 0 deletions
+6
View File
@@ -72,6 +72,7 @@ import services.LoginService;
import services.map.MapService;
import services.object.ObjectService;
import services.object.UpdateService;
import services.retro.RetroService;
import services.spawn.SpawnService;
import services.sui.SUIService;
import services.trade.TradeService;
@@ -123,6 +124,7 @@ public class NGECore {
// Services
public LoginService loginService;
public RetroService retroService;
public ConnectionService connectionService;
public CommandService commandService;
public CharacterService characterService;
@@ -221,6 +223,7 @@ public class NGECore {
guildODB = new ObjectDatabase("guild", true, false, true);
// Services
loginService = new LoginService(this);
retroService = new RetroService(this);
connectionService = new ConnectionService(this);
characterService = new CharacterService(this);
mapService = new MapService(this);
@@ -276,6 +279,7 @@ public class NGECore {
// Zone Server
zoneDispatch = new NetworkDispatch(this, true);
zoneDispatch.addService(retroService);
zoneDispatch.addService(connectionService);
zoneDispatch.addService(characterService);
zoneDispatch.addService(factionService);
@@ -347,6 +351,8 @@ public class NGECore {
// spawnService.loadLairGroups();
// spawnService.loadSpawnAreas();
retroService.run();
didServerCrash = false;
System.out.println("Started Server.");
setGalaxyStatus(2);