Example #1
0
        //public List<Player> GuildMembersOf(string guild)
        //{
        //    return (from i in Worlds where i.Key != 0 from e in i.Value.Players where String.Equals(e.Value.Guild, guild, StringComparison.CurrentCultureIgnoreCase) select e.Value).ToList();
        //}

        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            GameData  = new XmlData();
            Behaviors = new BehaviorDb(this);
            GeneratorCache.Init();
            MerchantLists.InitMerchatLists(GameData);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            AddWorld(World.MARKET, new ClothBazaar());
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.DAILY_QUEST_ID, new DailyQuestRoom());
            Monitor = new RealmPortalMonitor(this);

            Task.Factory.StartNew(() => GameWorld.AutoName(1, true)).ContinueWith(_ => AddWorld(_.Result), TaskScheduler.Default);

            CommandHandler = new CommandHandler();
            CommandHandler.LoadCommands();

            Chat = new ChatManager(this);

            log.Info("Realm Manager initialized.");
        }
Example #2
0
        static RealmManager()
        {
            Worlds[World.TUT_ID]      = new Tutorial(true);
            Worlds[World.NEXUS_ID]    = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID]    = new Vault(true);
            Worlds[World.TEST_ID]     = new Test();
            //Worlds[World.PETYARD] = new PetYard(true);
            Worlds[World.RAND_REALM]    = new RandomRealm();
            Worlds[World.NEXUS_VIP]     = new NexusVIP(); //custom nexus by luke
            Worlds[World.WINELER]       = new Wineler();
            Worlds[World.TOURNAMENT_ID] = new Tournament();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(GameWorld.AutoName(1, true));

            MerchantLists.GetKeys();
            MerchantLists.AddPetShop();
            MerchantLists.AddCustomShops();
            foreach (var i in MerchantLists.shopLists)
            {
                ShopWorlds.TryAdd(i.Key, AddWorld(new ShopMap(i.Key)));
            }
        }
        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            GameData  = new XmlData();
            Behaviors = new BehaviorDb(this);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            Monitor = new RealmPortalMonitor(this);

            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.NEXUS_LIMBO, new NexusLimbo());
            AddWorld(World.VAULT_ID, new Vault(true));
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.RAND_REALM, new RandomRealm());
            AddWorld(World.PVP, new PVPArena());
            AddWorld(World.SHOP_ID, new Shop());

            if (Program.Settings.GetValue <bool>("hasRealm"))
            {
                AddWorld(GameWorld.AutoName(1, true));
            }

            Chat     = new ChatManager(this);
            Commands = new CommandManager(this);

            UnusualEffects.Init();

            log.Info("Realm Manager initialized.");
        }
Example #4
0
        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            GameData  = new XmlData();
            Behaviors = new BehaviorDb(this);
            MerchantLists.InitMerchantLists(GameData);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            Monitor = new RealmPortalMonitor(this);

            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.NEXUS_LIMBO, new NexusLimbo());
            AddWorld(World.VAULT_ID, new Vault(true));
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.RAND_REALM, new RandomRealm());
            AddWorld(World.GAUNTLET, new GauntletMap());

            //AddWorld(new GameWorld(1, "Medusa", true));


            InterServer = new ISManager(this);
            Chat        = new ChatManager(this);
            Commands    = new CommandManager(this);

            log.Info("Realm Manager initialized.");
        }
        static RealmManager()
        {
            Worlds[World.TUT_ID]      = new Tutorial(false);
            Worlds[World.NEXUS_ID]    = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID]    = new Vault(true);
            Worlds[World.TEST_ID]     = new Test();
            Worlds[World.RAND_REALM]  = new RandomRealm();
            Worlds[World.GAUNTLET]    = new GauntletMap();
            Worlds[World.WC]          = new WineCellarMap();
            Worlds[World.ARENA]       = new ArenaMap();
            Worlds[World.SHOP]        = new ShopMap("Default");
            Worlds[World.MARKET]      = new MarketMap();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(GameWorld.AutoName(1, true));

            MerchantLists.GetKeys();
            MerchantLists.AddPetShop();
            MerchantLists.AddCustomShops();
            foreach (var i in MerchantLists.shopLists)
            {
                ShopWorlds.TryAdd(i.Key, AddWorld(new ShopMap(i.Key)));
            }
        }
Example #6
0
        static RealmManager()
        {
            Worlds[World.TUT_ID] = new Tutorial(false);
            Worlds[World.NEXUS_ID] = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID] = new Vault(true);
            Worlds[World.TEST_ID] = new Test();
            Worlds[World.RAND_REALM] = new RandomRealm();
            Worlds[World.GAUNTLET] = new GauntletMap();
            Worlds[World.WC] = new WineCellarMap();
            Worlds[World.ARENA] = new ArenaMap();
            Worlds[World.SHOP] = new ShopMap("Default");
            Worlds[World.MARKET] = new MarketMap();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(GameWorld.AutoName(1, true));

            MerchantLists.GetKeys();
            MerchantLists.AddPetShop();
            MerchantLists.AddCustomShops();
            foreach (var i in MerchantLists.shopLists)
            {
                ShopWorlds.TryAdd(i.Key, AddWorld(new ShopMap(i.Key)));
            }
        }
Example #7
0
        //public List<Player> GuildMembersOf(string guild)
        //{
        //    return (from i in Worlds where i.Key != 0 from e in i.Value.Players where String.Equals(e.Value.Guild, guild, StringComparison.CurrentCultureIgnoreCase) select e.Value).ToList();
        //}

        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            GameData  = new XmlData();
            Behaviors = new BehaviorDb(this);
            GeneratorCache.Init();
            MerchantLists.InitMerchatLists(GameData);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            AddWorld(World.MARKET, new ClothBazaar());
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.DAILY_QUEST_ID, new DailyQuestRoom());
            AddWorld(World.ELDER_MONTAINS, new ElderMountains());
            AddWorld(World.ELDER_MONTAINS_SV1, new ElderMountainsSv1());
            AddWorld(World.ELDER_MONTAINS_SV2, new ElderMountainsSv2());
            AddWorld(World.ELDER_MONTAINS_SV3, new ElderMountainsSv3());
            //AddWorld(World.CRAWLING_DEPTHS, new CDepths());
            //AddWorld(World.ORYX_CHAMBER, new OryxChamber());
            //AddWorld(World.IVORY_WYVERN, new Ivory());
            Monitor = new RealmPortalMonitor(this);

            Task.Factory.StartNew(() => GameWorld.AutoName(1, true)).ContinueWith(_ => AddWorld(_.Result), TaskScheduler.Default);

            Chat     = new ChatManager(this);
            Commands = new CommandManager(this);

            log.Info("Realm Manager initialized.");
        }
Example #8
0
        public RealmManager()
        {
            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            AddWorld(World.NEXUS_LIMBO, new NexusLimbo());
            AddWorld(World.VAULT_ID, new Vault(true));
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.RAND_REALM, new RandomRealm());
            AddWorld(World.GAUNTLET, new GauntletMap());

            Monitor = new RealmPortalMonitor(this);

            //AddWorld(new GameWorld(1, "Medusa", true));
        }
        static RealmManager()
        {
            Worlds[World.TUT_ID] = new Tutorial(true);
            Worlds[World.NEXUS_ID] = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID] = new Vault(true);
            Worlds[World.TEST_ID] = new Test();
            Worlds[World.RAND_REALM] = new RandomRealm();
            Worlds[World.GAUNTLET] = new GauntletMap();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(new GameWorld(1, "Medusa", true));
        }
Example #10
0
        static RealmManager()
        {
            Worlds[World.TUT_ID]      = new Tutorial(true);
            Worlds[World.NEXUS_ID]    = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID]    = new Vault(true);
            Worlds[World.TEST_ID]     = new Test();
            Worlds[World.RAND_REALM]  = new RandomRealm();
            Worlds[World.GAUNTLET]    = new GauntletMap();
            Worlds[World.WC]          = new WineCellarMap();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(new GameWorld(1, "Medusa", true));
        }
        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");
            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.NEXUS_LIMBO, new NexusLimbo());
            AddWorld(World.VAULT_ID, new Vault(true));
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.RAND_REALM, new RandomRealm());

            AddWorld(GameWorld.AutoName(1, true));

            log.Info("Realm Manager initialized.");
        }
        static RealmManager()
        {
            pendings = new ConcurrentQueue<Action<RealmTime>>[5];
            for (int i = 0; i < 5; i++)
                pendings[i] = new ConcurrentQueue<Action<RealmTime>>();

            Worlds[World.TUT_ID] = new Tutorial(true);
            Worlds[World.NEXUS_ID] = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID] = new Vault(true);
            Worlds[World.TEST_ID] = new Test();
            Worlds[World.RAND_REALM] = new RandomRealm();
            Worlds[World.BANANA_ID] = new Banana();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(new GameWorld(1, "Medusa", true));
        }
Example #13
0
        static RealmManager()
        {
            pendings = new ConcurrentQueue <Action <RealmTime> > [5];
            for (int i = 0; i < 5; i++)
            {
                pendings[i] = new ConcurrentQueue <Action <RealmTime> >();
            }

            Worlds[World.TUT_ID]      = new Tutorial(true);
            Worlds[World.NEXUS_ID]    = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID]    = new Vault(true);
            Worlds[World.TEST_ID]     = new Test();
            Worlds[World.RAND_REALM]  = new RandomRealm();
            Worlds[World.BANANA_ID]   = new Banana();
            Worlds[World.GEE_ID]      = new Gee(); //map creating tutorial world

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(new GameWorld(1, "Medusa", true));
        }
        static RealmManager()
        {
            Worlds[World.TUT_ID]      = new Tutorial(true);
            Worlds[World.NEXUS_ID]    = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID]    = new Vault(true);
            Worlds[World.TEST_ID]     = new Test();
            Worlds[World.RAND_REALM]  = new RandomRealm();



            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(GameWorld.AutoName(1, true));

            MerchantLists.AddCustomShops();
            foreach (var i in MerchantLists.shopLists)
            {
                ShopWorlds.TryAdd(i.Key, AddWorld(new ShopMap(i.Key)));
            }
        }
Example #15
0
        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            GameData  = new XmlData();
            Behaviors = new BehaviorDb(this);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            Monitor = new RealmPortalMonitor(this);

            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.NEXUS_LIMBO, new NexusLimbo());
            AddWorld(World.VAULT_ID, new Vault(true));
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.RAND_REALM, new RandomRealm());
            AddWorld(World.MARKET_ID, new Market());
            AddWorld(World.EARENA_ID, new EventArena());
            AddWorld(World.ARENA_ID, new Arena());
            AddWorld(World.GMARKET_ID, new GoldMarket());
            AddWorld(World.XP_GIFT, new XpGift());
            AddWorld(World.VIPLOUNGE, new VIPLounge());
            AddWorld(World.DONORPETS_ID, new DonorPets());
            AddWorld(World.RAIDONE_ID, new RaidOne());
            AddWorld(World.RAIDTWO_ID, new RaidTwo());
            AddWorld(World.CMARKET_ID, new ClothMarket());
            AddWorld(World.RAIDLOBBY_ID, new RaidLobby());

            if (Program.Settings.GetValue <bool>("hasRealm"))
            {
                Task.Factory.StartNew(() => { AddWorld(GameWorld.AutoName(1, true)); }); //I added this in so the server doesn't wait for the realm to finish loading. This speeds up starting a lot. :)
            }
            Chat     = new ChatManager(this);
            Commands = new CommandManager(this);

            UnusualEffects.Init();

            log.Info("Realm Manager initialized.");
        }
 public void Initialize()
 {
     if (CheckConfig.IsDebugOn())
     {
         Console.WriteLine("Initializing Realm Manager...");
     }
     GameData  = new XmlData();
     Behaviors = new BehaviorDb(this);
     GeneratorCache.Init();
     MerchantLists.InitMerchatLists(GameData);
     AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
     AddWorld(World.MARKET, new ClothBazaar());
     AddWorld(World.TUT_ID, new Tutorial(true));
     AddWorld(World.FMARKET, new Market());
     Monitor = new RealmPortalMonitor(this);
     Task.Factory.StartNew(() => GameWorld.AutoName(1, true))
     .ContinueWith(_ => AddWorld(_.Result), TaskScheduler.Default);
     Chat     = new ChatManager(this);
     Commands = new CommandManager(this);
     if (CheckConfig.IsDebugOn())
     {
         Console.WriteLine("Realm Manager initialized.");
     }
 }
        //public List<Player> GuildMembersOf(string guild)
        //{
        //    return (from i in Worlds where i.Key != 0 from e in i.Value.Players where String.Equals(e.Value.Guild, guild, StringComparison.CurrentCultureIgnoreCase) select e.Value).ToList();
        //}

        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            GameData = new XmlData();
            Behaviors = new BehaviorDb(this);
            GeneratorCache.Init();
            MerchantLists.InitMerchatLists(GameData);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            AddWorld(World.MARKET, new ClothBazaar());
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.DAILY_QUEST_ID, new DailyQuestRoom());
            Monitor = new RealmPortalMonitor(this);

            Task.Factory.StartNew(() => GameWorld.AutoName(1, true)).ContinueWith(_ => AddWorld(_.Result), TaskScheduler.Default);

            Chat = new ChatManager(this);
            Commands = new CommandManager(this);

            log.Info("Realm Manager initialized.");
        }
        static RealmManager()
        {
            Worlds[World.TUT_ID] = new Tutorial(true);
            Worlds[World.NEXUS_ID] = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID] = new Vault(true);
            Worlds[World.TEST_ID] = new Test();
            Worlds[World.RAND_REALM] = new RandomRealm();
            Worlds[World.GAUNTLET] = new GauntletMap();
            Worlds[World.WC] = new WineCellarMap();
            Worlds[World.ARENA] = new ArenaMap();
            Worlds[World.SHOP] = new ShopMap("Default");
            Worlds[World.MARKET] = new MarketMap();
            Worlds[World.ARENA_FREE] = new BattleArenaMap2();
            Worlds[World.ARENA_PAID] = new BattleArenaMap();
            Worlds[World.OCEAN] = new OceanTrench();
            Worlds[World.TOMBANCIENTS] = new TombMap();
            Worlds[World.SPRITEWORLD] = new SpriteWorld();
            Worlds[World.ZOMBIEARENA] = new ZombieMap();
            Worlds[World.UNDEADLAIR] = new UndeadLair();
            Worlds[World.KITCHEN] = new Kitchen();
            Worlds[World.ISLAND] = new Island();
            Worlds[World.PIRATECAVE] = new PirateCave();
            Worlds[World.VOIDWORLD] = new VoidWorld();
            Worlds[World.BEACHZONE] = new BeachZone();
            Worlds[World.SNAKEPIT] = new SnakePit();
            Worlds[World.MANOR] = new Manor();
            Worlds[World.SPIDERDEN] = new SpiderDen();
            Worlds[World.DAVYJ] = new Davy();
            Worlds[World.DRAGONLORDS] = new Dragonlord();
            Worlds[World.DOOMCRYSTAL] = new DoomCrystal();
            Worlds[World.DOOMCELLAR] = new Dcellar();
            Worlds[World.FJUNGLE] = new Jungle();
            Worlds[World.DRACONIS] = new Draconis();
            Worlds[World.OCASTLE] = new OryxsCastle();
            Worlds[World.OCHAMBER] = new OryxsChamber();
            Worlds[World.CHOCHAMBER] = new ChristmasOryxsChamber();
            Worlds[World.ELDERPCAVE] = new ElderPirateCave();
            Worlds[World.ELDERSDEN] = new ElderSpiderDen();
            Worlds[World.ELDERSPIT] = new ElderSnakePit();
            Worlds[World.ELDERSPRITE] = new ElderSpriteWorld();
            Worlds[World.ELDERUNDEAD] = new ElderUndeadL();
            Worlds[World.ELDERABYSS] = new ElderAbyss();
            Worlds[World.ELDERDRACONIS] = new ElderDraconis();
            Worlds[World.ELDERTOMB] = new ElderTombMap();
            Worlds[World.NEXUSDEF] = new NexusDefense();
            //        Worlds[World.SHATTERS] = new Shatters();
            Worlds[World.EC] = new EC();
            Worlds[World.ADM_ID] = new Admin();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(GameWorld.AutoName(1, true));

            MerchantLists.GetKeys();
            MerchantLists.AddPetShop();
            MerchantLists.AddCustomShops();
            foreach (var i in MerchantLists.shopLists)
            {
                ShopWorlds.TryAdd(i.Key, AddWorld(new ShopMap(i.Key)));
            }
        }
        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            GameData = new XmlData();
            Behaviors = new BehaviorDb(this);

            MerchantLists.InitMerchantLists(GameData);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            Monitor = new RealmPortalMonitor(this);

            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.NEXUS_LIMBO, new NexusLimbo());
            AddWorld(World.VAULT_ID, new Vault(true));
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.RAND_REALM, new RandomRealm());
            AddWorld(World.PVP, new PVPArena());
            AddWorld(World.SHOP_ID, new Shop());

            if (Program.Settings.GetValue<bool>("hasRealm"))
                AddWorld(GameWorld.AutoName(1, true));

            Chat = new ChatManager(this);
            Commands = new CommandManager();

            UnusualEffects.Init();

            log.Info("Realm Manager initialized.");
        }
        static RealmManager()
        {
            Worlds[World.TUT_ID] = new Tutorial(true);
            Worlds[World.NEXUS_ID] = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO] = new NexusLimbo();
            Worlds[World.VAULT_ID] = new Vault(true);
            Worlds[World.TEST_ID] = new Test();
            Worlds[World.RAND_REALM] = new RandomRealm();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(GameWorld.AutoName(1, true));

            MerchantLists.GetKeys();
            MerchantLists.AddPetShop();
            MerchantLists.AddCustomShops();
            foreach (var i in MerchantLists.shopLists)
                ShopWorlds.TryAdd(i.Key, AddWorld(new ShopMap(i.Key)));
        }
Example #21
0
        public void Initialize()
        {
            log.Info("Initializing Realm Manager...");

            this.GameData = new XmlData();
            this.Behaviors = new BehaviorDb(this);

            AddWorld(World.NEXUS_ID, Worlds[0] = new Nexus());
            Monitor = new RealmPortalMonitor(this);

            AddWorld(World.TUT_ID, new Tutorial(true));
            AddWorld(World.NEXUS_LIMBO, new NexusLimbo());
            AddWorld(World.VAULT_ID, new Vault(true));
            AddWorld(World.TEST_ID, new Test());
            AddWorld(World.RAND_REALM, new RandomRealm());
            AddWorld(World.GAUNTLET, new GauntletMap());

            //AddWorld(new GameWorld(1, "Medusa", true));

            Chat = new ChatManager(this);
            Commands = new CommandManager(this);

            log.Info("Realm Manager initialized.");
        }
        static RealmManager()
        {
            Worlds[World.TUT_ID]        = new Tutorial(true);
            Worlds[World.NEXUS_ID]      = Worlds[0] = new Nexus();
            Worlds[World.NEXUS_LIMBO]   = new NexusLimbo();
            Worlds[World.VAULT_ID]      = new Vault(true);
            Worlds[World.TEST_ID]       = new Test();
            Worlds[World.RAND_REALM]    = new RandomRealm();
            Worlds[World.GAUNTLET]      = new GauntletMap();
            Worlds[World.WC]            = new WineCellarMap();
            Worlds[World.ARENA]         = new ArenaMap();
            Worlds[World.SHOP]          = new ShopMap("Default");
            Worlds[World.MARKET]        = new MarketMap();
            Worlds[World.ARENA_FREE]    = new BattleArenaMap2();
            Worlds[World.ARENA_PAID]    = new BattleArenaMap();
            Worlds[World.OCEAN]         = new OceanTrench();
            Worlds[World.TOMBANCIENTS]  = new TombMap();
            Worlds[World.SPRITEWORLD]   = new SpriteWorld();
            Worlds[World.ZOMBIEARENA]   = new ZombieMap();
            Worlds[World.UNDEADLAIR]    = new UndeadLair();
            Worlds[World.KITCHEN]       = new Kitchen();
            Worlds[World.ISLAND]        = new Island();
            Worlds[World.PIRATECAVE]    = new PirateCave();
            Worlds[World.VOIDWORLD]     = new VoidWorld();
            Worlds[World.BEACHZONE]     = new BeachZone();
            Worlds[World.SNAKEPIT]      = new SnakePit();
            Worlds[World.MANOR]         = new Manor();
            Worlds[World.SPIDERDEN]     = new SpiderDen();
            Worlds[World.DAVYJ]         = new Davy();
            Worlds[World.DRAGONLORDS]   = new Dragonlord();
            Worlds[World.DOOMCRYSTAL]   = new DoomCrystal();
            Worlds[World.DOOMCELLAR]    = new Dcellar();
            Worlds[World.FJUNGLE]       = new Jungle();
            Worlds[World.DRACONIS]      = new Draconis();
            Worlds[World.OCASTLE]       = new OryxsCastle();
            Worlds[World.OCHAMBER]      = new OryxsChamber();
            Worlds[World.CHOCHAMBER]    = new ChristmasOryxsChamber();
            Worlds[World.ELDERPCAVE]    = new ElderPirateCave();
            Worlds[World.ELDERSDEN]     = new ElderSpiderDen();
            Worlds[World.ELDERSPIT]     = new ElderSnakePit();
            Worlds[World.ELDERSPRITE]   = new ElderSpriteWorld();
            Worlds[World.ELDERUNDEAD]   = new ElderUndeadL();
            Worlds[World.ELDERABYSS]    = new ElderAbyss();
            Worlds[World.ELDERDRACONIS] = new ElderDraconis();
            Worlds[World.ELDERTOMB]     = new ElderTombMap();
            Worlds[World.NEXUSDEF]      = new NexusDefense();
            //        Worlds[World.SHATTERS] = new Shatters();
            Worlds[World.EC]     = new EC();
            Worlds[World.ADM_ID] = new Admin();

            Monitor = new RealmPortalMonitor(Worlds[World.NEXUS_ID] as Nexus);

            AddWorld(GameWorld.AutoName(1, true));

            MerchantLists.GetKeys();
            MerchantLists.AddPetShop();
            MerchantLists.AddCustomShops();
            foreach (var i in MerchantLists.shopLists)
            {
                ShopWorlds.TryAdd(i.Key, AddWorld(new ShopMap(i.Key)));
            }
        }