misc updates
This commit is contained in:
parent
f6fcf02fe9
commit
dad691c966
4 changed files with 10 additions and 7 deletions
|
|
@ -597,7 +597,7 @@ namespace Server.Accounting
|
|||
m_Created = m_LastLogin = DateTime.Now;
|
||||
m_TotalGameTime = TimeSpan.Zero;
|
||||
|
||||
m_Mobiles = new Mobile[6];
|
||||
m_Mobiles = new Mobile[7];
|
||||
|
||||
m_IPRestrictions = new string[0];
|
||||
m_LoginIPs = new IPAddress[0];
|
||||
|
|
@ -780,7 +780,7 @@ namespace Server.Accounting
|
|||
/// <returns>Mobile list. Value will never be null.</returns>
|
||||
public static Mobile[] LoadMobiles( XmlElement node )
|
||||
{
|
||||
Mobile[] list = new Mobile[6];
|
||||
Mobile[] list = new Mobile[7];
|
||||
XmlElement chars = node["chars"];
|
||||
|
||||
//int length = Accounts.GetInt32( Accounts.GetAttribute( chars, "length", "6" ), 6 );
|
||||
|
|
@ -1110,11 +1110,11 @@ namespace Server.Accounting
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the maximum amount of characters allowed to be created on this account. Values other than 1, 5, or 6 are not supported by the client.
|
||||
/// Gets the maximum amount of characters allowed to be created on this account. Values other than 1, 5, 6, or 7 are not supported by the client.
|
||||
/// </summary>
|
||||
public int Limit
|
||||
{
|
||||
get { return ( Core.AOS ? 6 : 5 ); }
|
||||
get { return ( Core.SA ? 7 : Core.AOS ? 6 : 5 ); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ namespace Server.Misc
|
|||
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( 0x7F, 0x7F, 0x7F, Map.SectorSize, Map.SectorSize, 1, "Internal", MapRules.Internal );
|
||||
|
||||
|
|
|
|||
|
|
@ -611,10 +611,11 @@ namespace Server.Multis
|
|||
DesignContext.Add( m, this );
|
||||
m.Send( new BeginHouseCustomization( this ) );
|
||||
|
||||
if( m.NetState != null )
|
||||
SendInfoTo( m.NetState );
|
||||
NetState ns = m.NetState;
|
||||
if( ns != null )
|
||||
SendInfoTo( ns );
|
||||
|
||||
DesignState.SendDetailedInfoTo( m.NetState );
|
||||
DesignState.SendDetailedInfoTo( ns );
|
||||
}
|
||||
|
||||
public override void SendInfoTo( NetState state, bool sendOplPacket )
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ namespace Server
|
|||
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 Internal { get { return m_Maps[0x7F]; } }
|
||||
|
||||
private static List<Map> m_AllMaps = new List<Map>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue