/// <summary>
/// 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>
[CommandProperty(AccessLevel.Administrator)]
public int Limit { get { return (Core.SA ? 7 : Core.AOS ? 6 : 5); } }
/// <summary>
/// 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>
[CommandProperty(AccessLevel.Administrator)]
public int Limit { get { return 1; } }
/// <summary>
/// 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>
[CommandProperty(AccessLevel.Administrator)]
public int Limit { get { return (this.AccessLevel > AccessLevel.Player ? 7 : 1); } }
19:41:45 Login: 127.0.0.1: Character creation failed, account full
19:41:45 Client: 127.0.0.1: Disconnected. [0 Online] [XeroX]
private static Mobile CreateMobile(Account a)
{
if (a.Count >= a.Limit)
return null;
public enum CharacterListFlags
{
None = 0x00000000,
Unk1 = 0x00000001,
OverwriteConfigButton = 0x00000002,
OneCharacterSlot = 0x00000004,
ContextMenus = 0x00000008,
SlotLimit = 0x00000010,
AOS = 0x00000020,
public enum CharacterListFlags
{
None = 0x00000000,
Unk1 = 0x00000001,
OverwriteConfigButton = 0x00000002,
OneCharacterSlot = 0x00000014,
ContextMenus = 0x00000008,
SlotLimit = 0x00000010,
AOS = 0x00000020,
Can you do that with 2,3, and 4 as well?
We use essential cookies to make this site work, and optional cookies to enhance your experience.