loveslips
Member
- ServUO Version
- Publish 58
- Ultima Expansion
- Time Of Legends
Hello
need help adding new additional cards
I'm trying to add several but for some reason I get a copy of the default Tremel/Felucca map although the files contain custom maps
can anyone tell me what to do?
need help adding new additional cards
I'm trying to add several but for some reason I get a copy of the default Tremel/Felucca map although the files contain custom maps
can anyone tell me what to do?
if (Siege.SiegeShard)
{
RegisterMap(0, 0, 0, 7168, 4096, 4, "Felucca", MapRules.FeluccaRules);
RegisterMap(1, 1, 1, 7168, 4096, 0, "Trammel", MapRules.FeluccaRules);
RegisterMap(2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.FeluccaRules);
RegisterMap(3, 3, 3, 2560, 2048, 1, "Malas", MapRules.FeluccaRules);
RegisterMap(4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.FeluccaRules);
RegisterMap(5, 5, 5, 1280, 4096, 1, "TerMur", MapRules.FeluccaRules);
RegisterMap(33, 0, 0, 7168, 4096, 1, "DreamsWorld", MapRules.FeluccaRules);
RegisterMap(34, 0, 0, 7168, 4096, 3, "IceLand", MapRules.FeluccaRules);
RegisterMap(35, 0, 0, 7168, 4096, 0, "UnderWorld", MapRules.FeluccaRules);
}
else
{
RegisterMap(0, 0, 0, 7168, 4096, 4, "Felucca", MapRules.FeluccaRules);
RegisterMap(1, 1, 1, 7168, 4096, 0, "Trammel", MapRules.TrammelRules);
RegisterMap(2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.TrammelRules);
RegisterMap(3, 3, 3, 2560, 2048, 1, "Malas", MapRules.TrammelRules);
RegisterMap(4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.TrammelRules);
RegisterMap(5, 5, 5, 1280, 4096, 1, "TerMur", MapRules.TrammelRules);
RegisterMap(33, 0, 0, 7168, 4096, 1, "DreamsWorld", MapRules.FeluccaRules);
RegisterMap(34, 0, 0, 7168, 4096, 3, "IceLand", MapRules.FeluccaRules);
RegisterMap(35, 0, 0, 7168, 4096, 0, "UnderWorld", MapRules.FeluccaRules);
}
public const int SectorSize = 16;
public const int SectorShift = 4;
public static int SectorActiveRange = 2;
private static readonly Map[] m_Maps = new Map[0x100];
public static Map[] Maps { get { return m_Maps; } }
public static Map Felucca { get { return m_Maps[0]; } }
public static Map Trammel { get { return m_Maps[1]; } }
public static Map Ilshenar { get { return m_Maps[2]; } }
public static Map Malas { get { return m_Maps[3]; } }
public static Map Tokuno { get { return m_Maps[4]; } }
public static Map TerMur { get { return m_Maps[5]; } }
public static Map DreamsWorld { get { return m_Maps[33]; } }
public static Map IceLand { get { return m_Maps[34]; } }
public static Map UnderWorld { get { return m_Maps[35]; } }
public static Map Internal { get { return m_Maps[0x7F]; } }
private static readonly List<Map> m_AllMaps = new List<Map>();