Exemple #1
0
        /// <summary>
        /// Loads the dungeons table and initializes all cached information
        /// </summary>
        public void LoadTable()
        {
            logger.Info("Loading Worlds Table");
            try
            {
                this.Worlds = WorldsTable.LoadTable();
            }
            catch (Exception ex)
            {
                logger.Error(ex);
                logger.Info("Error loading Worlds Table, re-creating table");
                WorldsTable.CreateTable();
                this.Worlds = WorldsTable.LoadTable();
            }

            logger.Info("Loading Objectives Table");
            try
            {
                this.ObjectivesTable = WvWObjectivesTable.LoadTable();
            }
            catch (Exception ex)
            {
                logger.Error(ex);
                logger.Info("Error loading Objectives Table, re-creating table");
                WvWObjectivesTable.CreateTable();
                this.ObjectivesTable = WvWObjectivesTable.LoadTable();
            }
        }
        /// <summary>
        /// Loads the WvW objectives table file
        /// </summary>
        /// <returns>The loaded event time table data</returns>
        public static WvWObjectivesTable LoadTable()
        {
            XmlSerializer      deserializer = new XmlSerializer(typeof(WvWObjectivesTable));
            TextReader         reader       = new StreamReader(FileName);
            object             obj          = deserializer.Deserialize(reader);
            WvWObjectivesTable loadedData   = (WvWObjectivesTable)obj;

            reader.Close();

            return(loadedData);
        }
Exemple #3
0
        /// <summary>
        /// Loads the WvW objects  and initializes all cached information
        /// </summary>
        public void LoadData()
        {
            try
            {
                logger.Info("Loading worlds via API");
                this.Worlds = new List <World>();
                var worldRepository = GW2.V2.Worlds.ForCurrentUICulture();
                var worlds          = worldRepository.FindAll();
                foreach (var world in worlds.Values)
                {
                    this.Worlds.Add(new World()
                    {
                        ID   = world.WorldId,
                        Name = world.Name
                    });
                }
            }
            catch (Exception ex)
            {
                logger.Error("Failed to load worlds data: ");
                logger.Error(ex);
            }

            logger.Info("Loading Objectives Table");
            try
            {
                this.ObjectivesTable = WvWObjectivesTable.LoadTable();
            }
            catch (Exception ex)
            {
                logger.Error(ex);
                logger.Info("Error loading Objectives Table, re-creating table");
                WvWObjectivesTable.CreateTable();
                this.ObjectivesTable = WvWObjectivesTable.LoadTable();
            }
        }
        /// <summary>
        /// Loads the WvW objectives table file
        /// </summary>
        /// <returns>The loaded event time table data</returns>
        public static void CreateTable()
        {
            WvWObjectivesTable table = new WvWObjectivesTable();

            table.Objectives.Add(new Objective()
            {
                ID = 1, ChatCode = @"[&BOsDAAA=]", Type = ObjectiveType.Keep, Name = "Overlook", FullName = "Overlook", Points = 25, Map = WvWMap.EternalBattlegrounds, Location = "N", MapLocation = new Point(4548, 17078.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 2, ChatCode = @"[&BOIDAAA=]", Type = ObjectiveType.Keep, Name = "Valley", FullName = "Valley", Points = 25, Map = WvWMap.EternalBattlegrounds, Location = "SE", MapLocation = new Point(25620, -20251.2)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 3, ChatCode = @"[&BPMDAAA=]", Type = ObjectiveType.Keep, Name = "Lowlands", FullName = "Lowlands", Points = 25, Map = WvWMap.EternalBattlegrounds, Location = "SW", MapLocation = new Point(-19802.4, -17690.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 4, ChatCode = @"[&BPUDAAA=]", Type = ObjectiveType.Camp, Name = "Golanta", FullName = "Golanta Clearing", Points = 5, Map = WvWMap.EternalBattlegrounds, Location = "SSW", MapLocation = new Point(-7497.6, -25468.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 5, ChatCode = @"[&BPADAAA=]", Type = ObjectiveType.Camp, Name = "Pangloss", FullName = "Pangloss Rise", Points = 5, Map = WvWMap.EternalBattlegrounds, Location = "NNE", MapLocation = new Point(18393.6, 13939.2)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 6, ChatCode = @"[&BO0DAAA=]", Type = ObjectiveType.Camp, Name = "Speldan", FullName = "Speldan Clearcut", Points = 5, Map = WvWMap.EternalBattlegrounds, Location = "NNW", MapLocation = new Point(-16848.72, 19048.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 7, ChatCode = @"[&BOcDAAA=]", Type = ObjectiveType.Camp, Name = "Danelon", FullName = "Danelon Passage", Points = 5, Map = WvWMap.EternalBattlegrounds, Location = "SSE", MapLocation = new Point(13310.4, -28867.2)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 8, ChatCode = @"[&BOQDAAA=]", Type = ObjectiveType.Camp, Name = "Umberglade", FullName = "Umberglade Woods", Points = 5, Map = WvWMap.EternalBattlegrounds, Location = "E", MapLocation = new Point(25802.4, -2716.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 9, ChatCode = @"[&BN4DAAA=]", Type = ObjectiveType.Castle, Name = "Stonemist", FullName = "Stonemist Castle", Points = 35, Map = WvWMap.EternalBattlegrounds, Location = "C", MapLocation = new Point(2690.4, -5174.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 10, ChatCode = @"[&BPgDAAA=]", Type = ObjectiveType.Camp, Name = "Rogue's", FullName = "Rogue's Quarry", Points = 5, Map = WvWMap.EternalBattlegrounds, Location = "W", MapLocation = new Point(-22010.16, -2349.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 11, ChatCode = @"[&BPcDAAA=]", Type = ObjectiveType.Tower, Name = "Aldon's", FullName = "Aldon's Ledge", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "W", MapLocation = new Point(-26110.56, -12943.2)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 12, ChatCode = @"[&BPkDAAA=]", Type = ObjectiveType.Tower, Name = "Wildcreek", FullName = "Wildcreek Run", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "W", MapLocation = new Point(-12559.92, -5227.2)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 13, ChatCode = @"[&BPYDAAA=]", Type = ObjectiveType.Tower, Name = "Jerrifer's", FullName = "Jerrifer's Slough", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "SW", MapLocation = new Point(15682.08, -25161.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 14, ChatCode = @"[&BPQDAAA=]", Type = ObjectiveType.Tower, Name = "Klovan", FullName = "Klovan Gully", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "SW", MapLocation = new Point(-5013.6, -17596.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 15, ChatCode = @"[&BOUDAAA=]", Type = ObjectiveType.Tower, Name = "Langor", FullName = "Langor Gulch", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "SE", MapLocation = new Point(21544.8, -27280.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 16, ChatCode = @"[&BOgDAAA=]", Type = ObjectiveType.Tower, Name = "Quentin", FullName = "Quentin Lake", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "SE", MapLocation = new Point(10137.6, -21256.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 17, ChatCode = @"[&BO8DAAA=]", Type = ObjectiveType.Tower, Name = "Mendon's", FullName = "Mendon's Gap", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "NW", MapLocation = new Point(-5599.2, 22768.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 18, ChatCode = @"[&BOwDAAA=]", Type = ObjectiveType.Tower, Name = "Anzalias", FullName = "Anzalias Pass", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "NW", MapLocation = new Point(-6684, 7200)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 19, ChatCode = @"[&BPEDAAA=]", Type = ObjectiveType.Tower, Name = "Ogrewatch", FullName = "Ogrewatch Cut", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "NE", MapLocation = new Point(12072, 10622.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 20, ChatCode = @"[&BO4DAAA=]", Type = ObjectiveType.Tower, Name = "Veloka", FullName = "Veloka Slope", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "NE", MapLocation = new Point(13173.6, 2058)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 21, ChatCode = @"[&BOMDAAA=]", Type = ObjectiveType.Tower, Name = "Durios", FullName = "Durios Gulch", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "E", MapLocation = new Point(17412, -5109.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 22, ChatCode = @"[&BOYDAAA=]", Type = ObjectiveType.Tower, Name = "Bravost", FullName = "Bravost Escarpment", Points = 10, Map = WvWMap.EternalBattlegrounds, Location = "E", MapLocation = new Point(29232, -11200.8)
            });

            table.Objectives.Add(new Objective()
            {
                ID = 23, ChatCode = @"[&BCQFAAA=]", Type = ObjectiveType.Keep, Name = "Garrison", FullName = "Garrison", Points = 25, Map = WvWMap.BlueBorderlands, Location = "C", MapLocation = new Point(-441.6, 9160.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 24, ChatCode = @"[&BCUFAAA=]", Type = ObjectiveType.Camp, Name = "Orchard", FullName = "Champion's Demense", Points = 5, Map = WvWMap.BlueBorderlands, Location = "S", MapLocation = new Point(-648, -32762.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 25, ChatCode = @"[&BCoFAAA=]", Type = ObjectiveType.Tower, Name = "Redbriar", FullName = "Redbriar", Points = 10, Map = WvWMap.BlueBorderlands, Location = "SW", MapLocation = new Point(-7545.6, -17548.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 26, ChatCode = @"[&BCYFAAA=]", Type = ObjectiveType.Tower, Name = "Greenlake", FullName = "Greenlake", Points = 10, Map = WvWMap.BlueBorderlands, Location = "SE", MapLocation = new Point(11155.2, -16648.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 27, ChatCode = @"[&BCgFAAA=]", Type = ObjectiveType.Keep, Name = "Bay", FullName = "Ascension Bay", Points = 25, Map = WvWMap.BlueBorderlands, Location = "W", MapLocation = new Point(-22857.6, -6789.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 28, ChatCode = @"[&BC0FAAA=]", Type = ObjectiveType.Tower, Name = "Dawn's", FullName = "Dawn's Eyrie", Points = 10, Map = WvWMap.BlueBorderlands, Location = "NE", MapLocation = new Point(12969.6, 12840)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 29, ChatCode = @"[&BB8FAAA=]", Type = ObjectiveType.Camp, Name = "Spiritholme", FullName = "The Spiritholme", Points = 5, Map = WvWMap.BlueBorderlands, Location = "N", MapLocation = new Point(232.8, 34180.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 30, ChatCode = @"[&BCwFAAA=]", Type = ObjectiveType.Tower, Name = "Woodhaven", FullName = "Woodhaven", Points = 10, Map = WvWMap.BlueBorderlands, Location = "NW", MapLocation = new Point(-14152.8, 14712)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 31, ChatCode = @"[&BCAFAAA=]", Type = ObjectiveType.Keep, Name = "Hills", FullName = "Askalion Hills", Points = 25, Map = WvWMap.BlueBorderlands, Location = "E", MapLocation = new Point(22420.8, -5016)
            });

            table.Objectives.Add(new Objective()
            {
                ID = 32, ChatCode = @"[&BA8FAAA=]", Type = ObjectiveType.Keep, Name = "Hills", FullName = "Etheron Hills", Points = 25, Map = WvWMap.RedBorderlands, Location = "E", MapLocation = new Point(22420.8, -5016)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 33, ChatCode = @"[&BBMFAAA=]", Type = ObjectiveType.Keep, Name = "Bay", FullName = "Dreaming Bay", Points = 25, Map = WvWMap.RedBorderlands, Location = "W", MapLocation = new Point(-22857.36, -6789.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 34, ChatCode = @"[&BBgFAAA=]", Type = ObjectiveType.Camp, Name = "Orchard", FullName = "Victors's Lodge", Points = 5, Map = WvWMap.RedBorderlands, Location = "S", MapLocation = new Point(-648, -32762.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 35, ChatCode = @"[&BB4FAAA=]", Type = ObjectiveType.Tower, Name = "Greenbriar", FullName = "Greenbriar", Points = 10, Map = WvWMap.RedBorderlands, Location = "SW", MapLocation = new Point(-7545.6, -17548.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 36, ChatCode = @"[&BBkFAAA=]", Type = ObjectiveType.Tower, Name = "Bluelake", FullName = "Bluelake", Points = 10, Map = WvWMap.RedBorderlands, Location = "SE", MapLocation = new Point(11155.2, -16648.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 37, ChatCode = @"[&BBYFAAA=]", Type = ObjectiveType.Keep, Name = "Garrison", FullName = "Garrison", Points = 25, Map = WvWMap.RedBorderlands, Location = "C", MapLocation = new Point(-441.6, 9160.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 38, ChatCode = @"[&BBoFAAA=]", Type = ObjectiveType.Tower, Name = "Longview", FullName = "Longview", Points = 10, Map = WvWMap.RedBorderlands, Location = "NW", MapLocation = new Point(-14153.28, 14712)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 39, ChatCode = @"[&BBIFAAA=]", Type = ObjectiveType.Camp, Name = "Godsword", FullName = "The Godsword", Points = 5, Map = WvWMap.RedBorderlands, Location = "N", MapLocation = new Point(232.8, 34180.08)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 40, ChatCode = @"[&BBsFAAA=]", Type = ObjectiveType.Tower, Name = "Cliffside", FullName = "Cliffside", Points = 10, Map = WvWMap.RedBorderlands, Location = "NE", MapLocation = new Point(12969.6, 12840)
            });

            table.Objectives.Add(new Objective()
            {
                ID = 41, ChatCode = @"[&BDAFAAA=]", Type = ObjectiveType.Keep, Name = "Hills", FullName = "Shadaran Hills", Points = 25, Map = WvWMap.GreenBorderlands, Location = "E", MapLocation = new Point(22421.04, -5016)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 42, ChatCode = @"[&BD4FAAA=]", Type = ObjectiveType.Tower, Name = "Redlake", FullName = "Redlake", Points = 10, Map = WvWMap.GreenBorderlands, Location = "SE", MapLocation = new Point(11154.72, -16648.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 43, ChatCode = @"[&BDkFAAA=]", Type = ObjectiveType.Camp, Name = "Orchard", FullName = "Hero's Lodge", Points = 5, Map = WvWMap.GreenBorderlands, Location = "S", MapLocation = new Point(-648, -32762.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 44, ChatCode = @"[&BC8FAAA=]", Type = ObjectiveType.Keep, Name = "Bay", FullName = "Dreadfall Bay", Points = 25, Map = WvWMap.GreenBorderlands, Location = "W", MapLocation = new Point(-22857.36, -6789.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 45, ChatCode = @"[&BD0FAAA=]", Type = ObjectiveType.Tower, Name = "Bluebriar", FullName = "Bluebriar", Points = 10, Map = WvWMap.GreenBorderlands, Location = "SW", MapLocation = new Point(-7544.64, -17548.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 46, ChatCode = @"[&BDIFAAA=]", Type = ObjectiveType.Keep, Name = "Garrison", FullName = "Garrison", Points = 25, Map = WvWMap.GreenBorderlands, Location = "C", MapLocation = new Point(-441.6, 9160.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 47, ChatCode = @"[&BDYFAAA=]", Type = ObjectiveType.Tower, Name = "Sunnyhill", FullName = "Sunnyhill", Points = 10, Map = WvWMap.GreenBorderlands, Location = "NW", MapLocation = new Point(-14153.52, 14712)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 48, ChatCode = @"[&BDwFAAA=]", Type = ObjectiveType.Camp, Name = "Faithleap", FullName = "Faithleap", Points = 5, Map = WvWMap.GreenBorderlands, Location = "NW", MapLocation = new Point(-21083.28, 11462.4)
            });

            table.Objectives.Add(new Objective()
            {
                ID = 49, ChatCode = @"[&BDgFAAA=]", Type = ObjectiveType.Camp, Name = "Bluevale", FullName = "Bluevale Refuge", Points = 5, Map = WvWMap.GreenBorderlands, Location = "SW", MapLocation = new Point(-19053.12, -18657.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 50, ChatCode = @"[&BBcFAAA=]", Type = ObjectiveType.Camp, Name = "Bluewater", FullName = "Bluewater Lowlands", Points = 5, Map = WvWMap.RedBorderlands, Location = "SE", MapLocation = new Point(22442.4, -19444.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 51, ChatCode = @"[&BBQFAAA=]", Type = ObjectiveType.Camp, Name = "Astralholme", FullName = "Astralholme", Points = 5, Map = WvWMap.RedBorderlands, Location = "NE", MapLocation = new Point(23253.6, 12273.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 52, ChatCode = @"[&BB0FAAA=]", Type = ObjectiveType.Camp, Name = "Arah's", FullName = "Arah's Hope", Points = 5, Map = WvWMap.RedBorderlands, Location = "NW", MapLocation = new Point(-21083.28, 11462.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 53, ChatCode = @"[&BBwFAAA=]", Type = ObjectiveType.Camp, Name = "Greenvale", FullName = "Greenvale Refuge", Points = 5, Map = WvWMap.RedBorderlands, Location = "SW", MapLocation = new Point(-19053.12, -18657.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 54, ChatCode = @"[&BDMFAAA=]", Type = ObjectiveType.Camp, Name = "Foghaven", FullName = "Foghaven", Points = 5, Map = WvWMap.GreenBorderlands, Location = "NE", MapLocation = new Point(23253.36, 12273.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 55, ChatCode = @"[&BDoFAAA=]", Type = ObjectiveType.Camp, Name = "Redwater", FullName = "Redwater Lowlands", Points = 5, Map = WvWMap.GreenBorderlands, Location = "SE", MapLocation = new Point(22442.16, -19444.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 56, ChatCode = @"[&BDEFAAA=]", Type = ObjectiveType.Camp, Name = "Titanpaw", FullName = "The Titanpaw", Points = 5, Map = WvWMap.GreenBorderlands, Location = "N", MapLocation = new Point(232.8, 34180.8)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 57, ChatCode = @"[&BDcFAAA=]", Type = ObjectiveType.Tower, Name = "Cragtop", FullName = "Cragtop", Points = 10, Map = WvWMap.GreenBorderlands, Location = "NE", MapLocation = new Point(12969.6, 12840)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 58, ChatCode = @"[&BCkFAAA=]", Type = ObjectiveType.Camp, Name = "Godslore", FullName = "Godslore", Points = 5, Map = WvWMap.BlueBorderlands, Location = "NW", MapLocation = new Point(-21084, 11462.4)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 59, ChatCode = @"[&BC4FAAA=]", Type = ObjectiveType.Camp, Name = "Redvale", FullName = "Redvale Refuge", Points = 5, Map = WvWMap.BlueBorderlands, Location = "SW", MapLocation = new Point(-19053.6, -18657.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 60, ChatCode = @"[&BCEFAAA=]", Type = ObjectiveType.Camp, Name = "Stargrove", FullName = "Stargrove", Points = 5, Map = WvWMap.BlueBorderlands, Location = "NE", MapLocation = new Point(23253.6, 12273.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 61, ChatCode = @"[&BCYFAAA=]", Type = ObjectiveType.Camp, Name = "Greenwater", FullName = "Greenwater Lowlands", Points = 5, Map = WvWMap.BlueBorderlands, Location = "SE", MapLocation = new Point(22442.4, -19444.8)
            });

            table.Objectives.Add(new Objective()
            {
                ID = 62, ChatCode = @"", Type = ObjectiveType.TempleofLostPrayers, Name = "Temple", FullName = "Temple of Lost Prayers", Map = WvWMap.RedBorderlands, Location = "", MapLocation = new Point(-279.59, -16015.255)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 63, ChatCode = @"", Type = ObjectiveType.BattlesHollow, Name = "Hollow", FullName = "Battle's Hollow", Map = WvWMap.RedBorderlands, Location = "", MapLocation = new Point(-7939.68, -9885.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 64, ChatCode = @"", Type = ObjectiveType.BauersEstate, Name = "Estate", FullName = "Bauer's Estate", Map = WvWMap.RedBorderlands, Location = "", MapLocation = new Point(-5251.525, -783.006)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 65, ChatCode = @"", Type = ObjectiveType.OrchardOverlook, Name = "Orchard", FullName = "Orchard Overlook", Map = WvWMap.RedBorderlands, Location = "", MapLocation = new Point(5983.413, -2110.027)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 66, ChatCode = @"", Type = ObjectiveType.CarversAscent, Name = "Carver's", FullName = "Carver's Ascent", Map = WvWMap.RedBorderlands, Location = "", MapLocation = new Point(6802.815, -10643.904)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 67, ChatCode = @"", Type = ObjectiveType.CarversAscent, Name = "Carver's", FullName = "Carver's Ascent", Map = WvWMap.BlueBorderlands, Location = "", MapLocation = new Point(6802.815, -10643.904)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 68, ChatCode = @"", Type = ObjectiveType.OrchardOverlook, Name = "Orchard", FullName = "Orchard Overlook", Map = WvWMap.BlueBorderlands, Location = "", MapLocation = new Point(5983.413, -2110.027)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 69, ChatCode = @"", Type = ObjectiveType.BauersEstate, Name = "Estate", FullName = "Bauer's Estate", Map = WvWMap.BlueBorderlands, Location = "", MapLocation = new Point(-5251.525, -783.006)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 70, ChatCode = @"", Type = ObjectiveType.BattlesHollow, Name = "Hollow", FullName = "Battle's Hollow", Map = WvWMap.BlueBorderlands, Location = "", MapLocation = new Point(-7939.68, -9885.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 71, ChatCode = @"", Type = ObjectiveType.TempleofLostPrayers, Name = "Temple", FullName = "Temple of Lost Prayers", Map = WvWMap.BlueBorderlands, Location = "", MapLocation = new Point(-279.59, -16015.255)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 72, ChatCode = @"", Type = ObjectiveType.CarversAscent, Name = "Carver's", FullName = "Carver's Ascent", Map = WvWMap.GreenBorderlands, Location = "", MapLocation = new Point(6802.815, -10643.904)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 73, ChatCode = @"", Type = ObjectiveType.OrchardOverlook, Name = "Orchard", FullName = "Orchard Overlook", Map = WvWMap.GreenBorderlands, Location = "", MapLocation = new Point(5983.413, -2110.027)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 74, ChatCode = @"", Type = ObjectiveType.BauersEstate, Name = "Estate", FullName = "Bauer's Estate", Map = WvWMap.GreenBorderlands, Location = "", MapLocation = new Point(-5251.525, -783.006)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 75, ChatCode = @"", Type = ObjectiveType.BattlesHollow, Name = "Hollow", FullName = "Battle's Hollow", Map = WvWMap.GreenBorderlands, Location = "", MapLocation = new Point(-7939.68, -9885.6)
            });
            table.Objectives.Add(new Objective()
            {
                ID = 76, ChatCode = @"", Type = ObjectiveType.TempleofLostPrayers, Name = "Temple", FullName = "Temple of Lost Prayers", Map = WvWMap.GreenBorderlands, Location = "", MapLocation = new Point(-279.59, -16015.255)
            });

            XmlSerializer serializer = new XmlSerializer(typeof(WvWObjectivesTable));
            TextWriter    textWriter = new StreamWriter(FileName);

            serializer.Serialize(textWriter, table);
            textWriter.Close();
        }