core optimization for small servers

moonglow CoM base coordinates
removed an unnecessary using directives
name change api
client verification null sanity check
This commit is contained in:
mark@runuo.com 2013-05-09 21:36:54 +00:00
parent 110bd99e56
commit 4e0b7a329a
5 changed files with 32 additions and 4 deletions

View file

@ -509,8 +509,10 @@ namespace Server
long sample = 0;
while( m_Signal.WaitOne() )
while( !m_Closing )
{
m_Signal.WaitOne( 10, false );
Mobile.ProcessDeltaQueue();
Item.ProcessDeltaQueue();

View file

@ -8392,13 +8392,19 @@ namespace Server
{
if( m_Name != value ) // I'm leaving out the && m_NameMod == null
{
string oldName = m_Name;
m_Name = value;
OnAfterNameChange( oldName, m_Name );
Delta( MobileDelta.Name );
InvalidateProperties();
}
}
}
public virtual void OnAfterNameChange( string oldName, string newName )
{
}
[CommandProperty( AccessLevel.GameMaster )]
public DateTime LastStrGain
{