Well, sometimes when I log in, the console throws this error:
So I checked the 831 line in GameState.cs, here it is:
The red line is the 831 line where the errors is
Code:
public Game.Map Map
{
get
{
if (map == null)
{
[COLOR="Red"][B]ServerBase.Kernel.Maps.TryGetValue(Entity.MapID, out map);[/B][/COLOR]
if (Entity.MapID >= 11000 && map == null)
Entity.MapID = 1005;
if (map == null)
return (map = new Conquer_Online_Server.Game.Map(Entity.MapID, Database.MapsTable.MapInformations[Entity.MapID].BaseID, Database.DMaps.MapPaths[Database.MapsTable.MapInformations[Entity.MapID].BaseID], false));
}
else
{
if (map.ID != Entity.MapID)
{
ServerBase.Kernel.Maps.TryGetValue(Entity.MapID, out map);
if (Entity.MapID >= 11000 && map == null)
Entity.MapID = 1005;
if (map == null)
return (map = new Conquer_Online_Server.Game.Map(Entity.MapID, Database.MapsTable.MapInformations[Entity.MapID].BaseID, Database.DMaps.MapPaths[Database.MapsTable.MapInformations[Entity.MapID].BaseID], false));
}
}
return map;
}
}
How can TC be a null map?
I checked the 58 line in Screen.cs, here it is:
The red line is the 58 line where the error is
Code:
[COLOR="Red"][B]if (Owner.Map.FreezeMonsters)[/B][/COLOR]
return;
for (int c = 0; c < Objects.Count; c++)
Why does TC freezes my monsters or w/e the 58 line says?
Thanks