public static void Configure() { Core.Expansion = Expansion; AccountGold.Enabled = Core.TOL; AccountGold.ConvertOnBank = true; AccountGold.ConvertOnTrade = false; VirtualCheck.UseEditGump = true; bool Enabled = Core.AOS; Mobile.InsuranceEnabled = Enabled; ObjectPropertyList.Enabled = Enabled; Mobile.VisibleDamageType = Enabled ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.GuildClickMessage = !Enabled; Mobile.AsciiClickMessage = !Enabled; if (Enabled) { AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list } Mobile.ActionDelay = 1000; Mobile.AOSStatusHandler = new AOSStatusHandler(AOS.GetStatus); } }
public static void Configure() { Core.Expansion = Expansion; AccountGold.Enabled = Core.TOL; AccountGold.ConvertOnBank = true; AccountGold.ConvertOnTrade = false; VirtualCheck.UseEditGump = true; TownCryerSystem.Enabled = Core.TOL; ObjectPropertyList.Enabled = Core.AOS; Mobile.InsuranceEnabled = false; //Core.AOS && !Siege.SiegeShard; UOSI Removed Item Insurance Mobile.VisibleDamageType = Core.AOS ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.GuildClickMessage = !Core.AOS; Mobile.AsciiClickMessage = !Core.AOS; if (!Core.AOS) { return; } AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list } Mobile.ActionDelay = Core.TOL ? 500 : Core.AOS ? 1000 : 500; Mobile.AOSStatusHandler = AOS.GetStatus; }
public static void Configure() { Core.Expansion = Expansion; bool Enabled = Core.AOS; Mobile.InsuranceEnabled = Enabled; ObjectPropertyList.Enabled = Enabled; //Mobile.VisibleDamageType = Enabled ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.VisibleDamageType = VisibleDamageType.Related; Mobile.GuildClickMessage = !Enabled; Mobile.AsciiClickMessage = !Enabled; if (Enabled) { AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overridden to check object property list } } Item.DefaultDyeType = typeof(DyeTub); }
public static void Configure() { Core.Expansion = ServerConfiguration.GetOrUpdateSetting("currentExpansion", Expansion.TOL); AccountGold.Enabled = ServerConfiguration.GetSetting("accountGold.enable", Core.TOL); AccountGold.ConvertOnBank = ServerConfiguration.GetSetting("accountGold.convertOnBank", true); AccountGold.ConvertOnTrade = ServerConfiguration.GetSetting("accountGold.convertOnTrade", false); VirtualCheck.UseEditGump = ServerConfiguration.GetSetting("virtualChecks.useEditGump", true); Mobile.InsuranceEnabled = ServerConfiguration.GetSetting("insurance.enable", Core.AOS); ObjectPropertyList.Enabled = ServerConfiguration.GetSetting("opl.enable", Core.AOS); var visibleDamage = ServerConfiguration.GetSetting("visibleDamage", Core.AOS); Mobile.VisibleDamageType = visibleDamage ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.GuildClickMessage = ServerConfiguration.GetSetting("guildClickMessage", !Core.AOS); Mobile.AsciiClickMessage = ServerConfiguration.GetSetting("asciiClickMessage", !Core.AOS); Mobile.ActionDelay = ServerConfiguration.GetSetting("actionDelay", Core.AOS ? 1000 : 500); if (Core.AOS) { AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overridden to check object property list } Mobile.AOSStatusHandler = AOS.GetStatus; } }
public static void Configure() { Core.Expansion = Expansion; bool Enabled = Core.AOS; Mobile.InsuranceEnabled = Enabled; ObjectPropertyList.Enabled = Enabled; Mobile.VisibleDamageType = Enabled ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.GuildClickMessage = !Enabled; Mobile.AsciiClickMessage = !Enabled; if (Enabled) { AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list } Mobile.ActionDelay = 1000; Mobile.AOSStatusHandler = AOS.GetStatus; } }
public static void Configure() { Mobile.InsuranceEnabled = ServerConfiguration.GetSetting("insurance.enable", Core.AOS); ObjectPropertyList.Enabled = ServerConfiguration.GetSetting("opl.enable", Core.AOS); var visibleDamage = ServerConfiguration.GetSetting("visibleDamage", Core.AOS); Mobile.VisibleDamageType = visibleDamage ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.GuildClickMessage = ServerConfiguration.GetSetting("guildClickMessage", !Core.AOS); Mobile.AsciiClickMessage = ServerConfiguration.GetSetting("asciiClickMessage", !Core.AOS); Mobile.ActionDelay = ServerConfiguration.GetSetting("actionDelay", Core.AOS ? 1000 : 500); if (Core.AOS) { AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { // single click for everything is overridden to check object property list IncomingEntityPackets.SingleClickProps = true; } Mobile.AOSStatusHandler = AOS.GetStatus; } }
public static void Configure() { Core.Expansion = Expansion; AccountGold.Enabled = true; AccountGold.ConvertOnBank = true; AccountGold.ConvertOnTrade = false; VirtualCheck.UseEditGump = true; TownCryerSystem.Enabled = true; ObjectPropertyList.Enabled = true; Mobile.InsuranceEnabled = !Siege.SiegeShard; Mobile.VisibleDamageType = VisibleDamageType.Related; Mobile.GuildClickMessage = false; // Maybe we can remove after? Mobile.AsciiClickMessage = false; // Maybe we can remove after? AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list } Mobile.ActionDelay = 500; Mobile.AOSStatusHandler = AOS.GetStatus; }
public static void Configure() { Core.Expansion = Expansion.UOR; ObjectPropertyList.Enabled = false; if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list CharacterList.AdditionalFlags |= CharacterListFlags.ExpansionUOR; } Mobile.GuildClickMessage = !ObjectPropertyList.Enabled; Mobile.AsciiClickMessage = !ObjectPropertyList.Enabled; Mobile.OldPropertyTitles = !ObjectPropertyList.Enabled; Mobile.InsuranceEnabled = Core.AOS; Mobile.VisibleDamageType = VisibleDamageType.Related; if (Core.AOS) { AOS.DisableStatInfluences(); Mobile.ActionDelay = TimeSpan.FromSeconds(0.5); } }
public static void Configure() { AccountGold.Enabled = true; AccountGold.ConvertOnBank = true; AccountGold.ConvertOnTrade = false; VirtualCheck.UseEditGump = true; TownCryerSystem.Enabled = true; Mobile.InsuranceEnabled = !Siege.SiegeShard; Mobile.VisibleDamageType = VisibleDamageType.Related; AOS.DisableStatInfluences(); Mobile.AOSStatusHandler = AOS.GetStatus; }
public static void Configure() { Core.Expansion = Expansion; AccountGold.Enabled = true; AccountGold.ConvertOnBank = true; AccountGold.ConvertOnTrade = false; VirtualCheck.UseEditGump = true; TownCryerSystem.Enabled = true; Mobile.InsuranceEnabled = !Siege.SiegeShard; Mobile.VisibleDamageType = VisibleDamageType.Related; Mobile.GuildClickMessage = false; // Maybe we can remove after? Mobile.AsciiClickMessage = false; // Maybe we can remove after? AOS.DisableStatInfluences(); Mobile.ActionDelay = 500; Mobile.AOSStatusHandler = AOS.GetStatus; }
public static void Configure() { Core.Expansion = Expansion; Mobile.InsuranceEnabled = false; ObjectPropertyList.Enabled = true; Mobile.VisibleDamageType = true ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.GuildClickMessage = false; Mobile.AsciiClickMessage = true; if (true) { AOS.DisableStatInfluences(); //Disable prop lists for now to keep 203 working, renable for 4+ only. if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list } } }
public static void Configure() { Core.Expansion = Expansion; bool Enabled = Core.AOS; Mobile.InsuranceEnabled = Enabled; // Scriptiz : on retire le ! pour activer le système d'assurance ObjectPropertyList.Enabled = Enabled; Mobile.VisibleDamageType = !Enabled ? VisibleDamageType.Related : VisibleDamageType.None; Mobile.GuildClickMessage = !Enabled; Mobile.AsciiClickMessage = !Enabled; if (Enabled) { AOS.DisableStatInfluences(); if (ObjectPropertyList.Enabled) { PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list } Mobile.ActionDelay = TimeSpan.FromSeconds(1.0); Mobile.AOSStatusHandler = new AOSStatusHandler(AOS.GetStatus); } }