Getting the following error:
Regions: Loading...done
World: Loading...Error:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at Server.World.ReadTypes(BinaryReader tdbReader) in c:\ServUO\Server\World.cs:line 271
at Server.World.Load() in c:\ServUO\Server\World.cs:line 368
at Server.Core.Main(String[] args) in c:\ServUO\Server\Main.cs:line 537
My maps are set up like this:
MapRegistry.cs
AddMapDefinition(34, 0, new Point2D(7168, 4096), new Point2D(5120, 4096)); //Lost Lands
AddMapDefinition(35, 0, new Point2D(7168, 4096), new Point2D(5120, 4096)); //Savage Lands
AddMapDefinition(36, 0, new Point2D(7168, 4096), new Point2D(5120, 4096)); //Nordic Ice Lands
AddMapDefinition(37, 0, new Point2D(7168, 4096), new Point2D(5120, 4096)); //Viking Lands
AddMapDefinition(98, 1, new Point2D(1448, 1448), new Point2D(1448, 1448)); //Misc
AddMapDefinition(99, 0, new Point2D(6144, 4096), new Point2D(5120, 4096)); //LandsForStaff
Map.cs
public static Map LostLands { get { return m_Maps[34]; } }
public static Map SavageLands { get { return m_Maps[35]; } }
public static Map NordicIceLands { get { return m_Maps[36]; } }
public static Map VikingLands { get { return m_Maps[37]; } }
public static Map Misc { get { return m_Maps[98]; } }
public static Map LandsForStaff { get { return m_Maps[99]; } }
MapDefinitions.cs
RegisterMap(34, 34, 34, 7168, 4096, 0, "Lost Lands", MapRules.TrammelRules);
RegisterMap(35, 35, 35, 7168, 4096, 0, "Savage Lands", MapRules.TrammelRules);
RegisterMap(36, 36, 36, 7168, 4096, 0, "Nordic Ice Lands", MapRules.TrammelRules);
RegisterMap(37, 37, 37, 7168, 4096, 0, "Viking Lands", MapRules.TrammelRules);
RegisterMap(98, 98, 98, 1448, 1448, 4, "Lands For Staff", MapRules.TrammelRules);