- Removed invisible items from the item insurance menu.

- Changed the new context menu packet to only be used when necessary, until assistants are patched.
- Added a setting for disabling target ID validation for debugging purposes. (It is still enabled by default.)
This commit is contained in:
eos@runuo.com 2013-06-16 01:24:45 +00:00
parent ec8520f4e0
commit 1cfac83311
5 changed files with 29 additions and 3 deletions

View file

@ -94,5 +94,22 @@ namespace Server.ContextMenus
m_Entries[i].Owner = this;
}
}
/// <summary>
/// Returns true if this ContextMenu requires packet version 2.
/// </summary>
public bool RequiresNewPacket
{
get
{
for ( int i = 0; i < m_Entries.Length; ++i )
{
if ( m_Entries[i].Number < 3000000 || m_Entries[i].Number > 3032767 )
return true;
}
return false;
}
}
}
}