diff --git a/Database/Updates/Shard/2021-10-08-00-Change_Emote_Action_Table.sql b/Database/Updates/Shard/2021-10-08-00-Change_Emote_Action_Table.sql new file mode 100644 index 0000000000..cf8dcfb3fe --- /dev/null +++ b/Database/Updates/Shard/2021-10-08-00-Change_Emote_Action_Table.sql @@ -0,0 +1,2 @@ +ALTER TABLE `biota_properties_emote_action` +CHANGE COLUMN `motion` `motion` INT UNSIGNED NULL DEFAULT NULL ; diff --git a/Source/ACE.Adapter/Lifestoned/LifestonedConverter.cs b/Source/ACE.Adapter/Lifestoned/LifestonedConverter.cs index 642ce6f55d..dfe250ad26 100644 --- a/Source/ACE.Adapter/Lifestoned/LifestonedConverter.cs +++ b/Source/ACE.Adapter/Lifestoned/LifestonedConverter.cs @@ -251,7 +251,7 @@ public static bool TryConvert(global::Lifestoned.DataModel.Gdle.Weenie input, ou Delay = action.Delay ?? 0, Extent = action.Extent ?? 0, - Motion = (int?)action.Motion, + Motion = (uint?)action.Motion, Message = action.Message, TestString = action.TestString, diff --git a/Source/ACE.Database/Adapter/BiotaConverter.cs b/Source/ACE.Database/Adapter/BiotaConverter.cs index a803b57b5c..8d7b01b057 100644 --- a/Source/ACE.Database/Adapter/BiotaConverter.cs +++ b/Source/ACE.Database/Adapter/BiotaConverter.cs @@ -644,7 +644,7 @@ public static ACE.Database.Models.Shard.Biota ConvertFromEntityBiota(ACE.Entity. Type = value2.Type, Delay = value2.Delay, Extent = value2.Extent, - Motion = (int?)value2.Motion, + Motion = (uint?)value2.Motion, Message = value2.Message, TestString = value2.TestString, Min = value2.Min, diff --git a/Source/ACE.Database/Adapter/BiotaUpdater.cs b/Source/ACE.Database/Adapter/BiotaUpdater.cs index d6a72ca0f2..7273202f57 100644 --- a/Source/ACE.Database/Adapter/BiotaUpdater.cs +++ b/Source/ACE.Database/Adapter/BiotaUpdater.cs @@ -731,7 +731,7 @@ private static void CopyValueInto(ACE.Entity.Models.PropertiesEmoteAction value, existingValue.Type = value.Type; existingValue.Delay = value.Delay; existingValue.Extent = value.Extent; - existingValue.Motion = (int?)value.Motion; + existingValue.Motion = (uint?)value.Motion; existingValue.Message = value.Message; existingValue.TestString = value.TestString; existingValue.Min = value.Min; diff --git a/Source/ACE.Database/Models/Shard/BiotaPropertiesEmoteAction.cs b/Source/ACE.Database/Models/Shard/BiotaPropertiesEmoteAction.cs index 34d586e226..a11a17cd2e 100644 --- a/Source/ACE.Database/Models/Shard/BiotaPropertiesEmoteAction.cs +++ b/Source/ACE.Database/Models/Shard/BiotaPropertiesEmoteAction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace ACE.Database.Models.Shard @@ -11,7 +11,7 @@ public partial class BiotaPropertiesEmoteAction public uint Type { get; set; } public float Delay { get; set; } public float Extent { get; set; } - public int? Motion { get; set; } + public uint? Motion { get; set; } public string Message { get; set; } public string TestString { get; set; } public int? Min { get; set; } diff --git a/Source/ACE.Database/Models/World/WeeniePropertiesEmoteAction.cs b/Source/ACE.Database/Models/World/WeeniePropertiesEmoteAction.cs index 5567aa998e..56c268bfbb 100644 --- a/Source/ACE.Database/Models/World/WeeniePropertiesEmoteAction.cs +++ b/Source/ACE.Database/Models/World/WeeniePropertiesEmoteAction.cs @@ -11,7 +11,7 @@ public partial class WeeniePropertiesEmoteAction public uint Type { get; set; } public float Delay { get; set; } public float Extent { get; set; } - public int? Motion { get; set; } + public uint? Motion { get; set; } public string Message { get; set; } public string TestString { get; set; } public int? Min { get; set; } diff --git a/Source/ACE.Database/SQLFormatters/SQLWriter.cs b/Source/ACE.Database/SQLFormatters/SQLWriter.cs index bfd811d942..d8307ee2ce 100644 --- a/Source/ACE.Database/SQLFormatters/SQLWriter.cs +++ b/Source/ACE.Database/SQLFormatters/SQLWriter.cs @@ -181,6 +181,8 @@ protected string GetValueEnumName(PropertyInt property, int value) case PropertyInt.Hatred2Bits: case PropertyInt.Hatred3Bits: return ((FactionBits)value).ToString(); + case PropertyInt.CharacterTitleId: + return ((CharacterTitle)value).ToString(); } return property.GetValueEnumName(value); @@ -219,40 +221,32 @@ protected string GetValueEnumName(PropertyDataId property, uint value) break; case PropertyDataId.WieldedTreasureType: string treasureW = ""; - if (TreasureWielded != null) + if (TreasureWielded != null && TreasureWielded.ContainsKey(value)) { - if (TreasureWielded.ContainsKey(value)) + foreach (var item in TreasureWielded[value]) { - foreach (var item in TreasureWielded[value]) - { - treasureW += GetValueForTreasureDID(item); - } - return treasureW; + treasureW += GetValueForTreasureDID(item); } + return treasureW; } - else if (TreasureDeath != null) + else if (TreasureDeath != null && TreasureDeath.ContainsKey(value)) { - if (TreasureDeath.ContainsKey(value)) - return $"Loot Tier: {TreasureDeath[value].Tier}"; + return $"Loot Tier: {TreasureDeath[value].Tier}"; } break; case PropertyDataId.DeathTreasureType: string treasureD = ""; - if (TreasureDeath != null) + if (TreasureDeath != null && TreasureDeath.ContainsKey(value)) { - if (TreasureDeath.ContainsKey(value)) - return $"Loot Tier: {TreasureDeath[value].Tier}"; + return $"Loot Tier: {TreasureDeath[value].Tier}"; } - else if (TreasureWielded != null) + else if (TreasureWielded != null && TreasureWielded.ContainsKey(value)) { - if (TreasureWielded.ContainsKey(value)) + foreach (var item in TreasureWielded[value]) { - foreach (var item in TreasureWielded[value]) - { - treasureD += GetValueForTreasureDID(item); - } - return treasureD; + treasureD += GetValueForTreasureDID(item, true); } + return treasureD; } break; case PropertyDataId.PCAPRecordedObjectDesc: @@ -268,11 +262,11 @@ protected string GetValueEnumName(PropertyDataId property, uint value) return property.GetValueEnumName(value); } - protected string GetValueForTreasureDID(TreasureWielded item) + protected string GetValueForTreasureDID(TreasureWielded item, bool isUsedInDeath = false) { string treasure = ""; - treasure += Environment.NewLine + $" Wield "; + treasure += Environment.NewLine + $" {(isUsedInDeath ? " Drop" : "Wield")} "; if (item.StackSize > 1) treasure += $"{item.StackSize}x "; treasure += $"{WeenieNames[item.WeenieClassId]} ({item.WeenieClassId})"; diff --git a/Source/ACE.Database/SQLFormatters/World/HousePortalSQLWriter.cs b/Source/ACE.Database/SQLFormatters/World/HousePortalSQLWriter.cs index 82bdd3cfcf..5385820b44 100644 --- a/Source/ACE.Database/SQLFormatters/World/HousePortalSQLWriter.cs +++ b/Source/ACE.Database/SQLFormatters/World/HousePortalSQLWriter.cs @@ -29,7 +29,7 @@ public void CreateSQLINSERTStatement(IList input, StreamWriter writ { writer.WriteLine("INSERT INTO `house_portal` (`house_Id`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`, `last_Modified`)"); - var lineGenerator = new Func(i => $"{input[i].HouseId}, 0x{input[i].ObjCellId:X8}, {input[i].OriginX}, {input[i].OriginY}, {input[i].OriginZ}, {input[i].AnglesW}, {input[i].AnglesX}, {input[i].AnglesY}, {input[i].AnglesZ}, '{input[i].LastModified:yyyy-MM-dd HH:mm:ss}')" + Environment.NewLine + $"/* @teleloc 0x{input[i].ObjCellId:X8} [{input[i].OriginX:F6} {input[i].OriginY:F6} {input[i].OriginZ:F6}] {input[i].AnglesW:F6} {input[i].AnglesX:F6} {input[i].AnglesY:F6} {input[i].AnglesZ:F6} */"); + var lineGenerator = new Func(i => $"{input[i].HouseId}, 0x{input[i].ObjCellId:X8}, {input[i].OriginX:0.######}, {input[i].OriginY:0.######}, {input[i].OriginZ:0.######}, {input[i].AnglesW:0.######}, {input[i].AnglesX:0.######}, {input[i].AnglesY:0.######}, {input[i].AnglesZ:0.######}, '{input[i].LastModified:yyyy-MM-dd HH:mm:ss}')" + Environment.NewLine + $"/* @teleloc 0x{input[i].ObjCellId:X8} [{input[i].OriginX:F6} {input[i].OriginY:F6} {input[i].OriginZ:F6}] {input[i].AnglesW:F6} {input[i].AnglesX:F6} {input[i].AnglesY:F6} {input[i].AnglesZ:F6} */"); ValuesWriter(input.Count, lineGenerator, writer); } diff --git a/Source/ACE.Database/SQLFormatters/World/LandblockInstanceWriter.cs b/Source/ACE.Database/SQLFormatters/World/LandblockInstanceWriter.cs index 67f8e98bb2..65180580df 100644 --- a/Source/ACE.Database/SQLFormatters/World/LandblockInstanceWriter.cs +++ b/Source/ACE.Database/SQLFormatters/World/LandblockInstanceWriter.cs @@ -49,13 +49,13 @@ public void CreateSQLINSERTStatement(IList input, StreamWrite $"0x{value.Guid.ToString("X8")}, " + $"{value.WeenieClassId.ToString().PadLeft(5)}, " + $"0x{value.ObjCellId:X8}, " + - $"{value.OriginX}, " + - $"{value.OriginY}, " + - $"{value.OriginZ}, " + - $"{value.AnglesW}, " + - $"{value.AnglesX}, " + - $"{value.AnglesY}, " + - $"{value.AnglesZ}, " + + $"{value.OriginX:0.######}, " + + $"{value.OriginY:0.######}, " + + $"{value.OriginZ:0.######}, " + + $"{value.AnglesW:0.######}, " + + $"{value.AnglesX:0.######}, " + + $"{value.AnglesY:0.######}, " + + $"{value.AnglesZ:0.######}, " + $"{value.IsLinkChild.ToString().PadLeft(5)}, " + $"'{value.LastModified:yyyy-MM-dd HH:mm:ss}'" + $"); /* {label} */" + diff --git a/Source/ACE.Database/SQLFormatters/World/SpellSQLWriter.cs b/Source/ACE.Database/SQLFormatters/World/SpellSQLWriter.cs index 34351e263b..1bd14cfcf1 100644 --- a/Source/ACE.Database/SQLFormatters/World/SpellSQLWriter.cs +++ b/Source/ACE.Database/SQLFormatters/World/SpellSQLWriter.cs @@ -76,7 +76,7 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.StatModVal.HasValue) { spellLineHdr += ", `stat_Mod_Val`"; - spellLine += $", {input.StatModVal}"; + spellLine += $", {input.StatModVal:0.######}"; } if (input.EType.HasValue) @@ -116,25 +116,25 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.NumProjectilesVariance.HasValue) { spellLineHdr += ", `num_Projectiles_Variance`"; - spellLine += $", {input.NumProjectilesVariance}"; + spellLine += $", {input.NumProjectilesVariance:0.######}"; } if (input.SpreadAngle.HasValue) { spellLineHdr += ", `spread_Angle`"; - spellLine += $", {input.SpreadAngle}"; + spellLine += $", {input.SpreadAngle:0.######}"; } if (input.VerticalAngle.HasValue) { spellLineHdr += ", `vertical_Angle`"; - spellLine += $", {input.VerticalAngle}"; + spellLine += $", {input.VerticalAngle:0.######}"; } if (input.DefaultLaunchAngle.HasValue) { spellLineHdr += ", `default_Launch_Angle`"; - spellLine += $", {input.DefaultLaunchAngle}"; + spellLine += $", {input.DefaultLaunchAngle:0.######}"; } if (input.NonTracking.HasValue) @@ -146,65 +146,65 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.CreateOffsetOriginX.HasValue) { spellLineHdr += ", `create_Offset_Origin_X`"; - spellLine += $", {input.CreateOffsetOriginX}"; + spellLine += $", {input.CreateOffsetOriginX:0.######}"; } if (input.CreateOffsetOriginY.HasValue) { spellLineHdr += ", `create_Offset_Origin_Y`"; - spellLine += $", {input.CreateOffsetOriginY}"; + spellLine += $", {input.CreateOffsetOriginY:0.######}"; } if (input.CreateOffsetOriginZ.HasValue) { spellLineHdr += ", `create_Offset_Origin_Z`"; - spellLine += $", {input.CreateOffsetOriginZ}"; + spellLine += $", {input.CreateOffsetOriginZ:0.######}"; } if (input.PaddingOriginX.HasValue) { spellLineHdr += ", `padding_Origin_X`"; - spellLine += $", {input.PaddingOriginX}"; + spellLine += $", {input.PaddingOriginX:0.######}"; } if (input.PaddingOriginY.HasValue) { spellLineHdr += ", `padding_Origin_Y`"; - spellLine += $", {input.PaddingOriginY}"; + spellLine += $", {input.PaddingOriginY:0.######}"; } if (input.PaddingOriginZ.HasValue) { spellLineHdr += ", `padding_Origin_Z`"; - spellLine += $", {input.PaddingOriginZ}"; + spellLine += $", {input.PaddingOriginZ:0.######}"; } if (input.DimsOriginX.HasValue) { spellLineHdr += ", `dims_Origin_X`"; - spellLine += $", {input.DimsOriginX}"; + spellLine += $", {input.DimsOriginX:0.######}"; } if (input.DimsOriginY.HasValue) { spellLineHdr += ", `dims_Origin_Y`"; - spellLine += $", {input.DimsOriginY}"; + spellLine += $", {input.DimsOriginY:0.######}"; } if (input.DimsOriginZ.HasValue) { spellLineHdr += ", `dims_Origin_Z`"; - spellLine += $", {input.DimsOriginZ}"; + spellLine += $", {input.DimsOriginZ:0.######}"; } if (input.PeturbationOriginX.HasValue) { spellLineHdr += ", `peturbation_Origin_X`"; - spellLine += $", {input.PeturbationOriginX}"; + spellLine += $", {input.PeturbationOriginX:0.######}"; } if (input.PeturbationOriginY.HasValue) { spellLineHdr += ", `peturbation_Origin_Y`"; - spellLine += $", {input.PeturbationOriginY}"; + spellLine += $", {input.PeturbationOriginY:0.######}"; } if (input.PeturbationOriginZ.HasValue) { spellLineHdr += ", `peturbation_Origin_Z`"; - spellLine += $", {input.PeturbationOriginZ}"; + spellLine += $", {input.PeturbationOriginZ:0.######}"; } if (input.ImbuedEffect.HasValue) @@ -252,7 +252,7 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.DrainPercentage.HasValue) { spellLineHdr += ", `drain_Percentage`"; - spellLine += $", {input.DrainPercentage}"; + spellLine += $", {input.DrainPercentage:0.######}"; } if (input.DamageRatio.HasValue) @@ -300,7 +300,7 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.LossPercent.HasValue) { spellLineHdr += ", `loss_Percent`"; - spellLine += $", {input.LossPercent}"; + spellLine += $", {input.LossPercent:0.######}"; } if (input.SourceLoss.HasValue) @@ -330,13 +330,13 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.Index.HasValue) { spellLineHdr += ", `index`"; - spellLine += $", {input.Index}"; + spellLine += $", {input.Index} /* {(input.Name.Contains("Tie") ? ("PortalLinkType." + (PortalLinkType)input.Index).ToString() : ("PortalRecallType." + (PortalRecallType)input.Index).ToString())} */"; } if (input.Link.HasValue) { spellLineHdr += ", `link`"; - spellLine += $", {input.Link}"; + spellLine += $", {input.Link} /* PortalSummonType.{((PortalSummonType)input.Link).ToString()} */"; } if (input.PositionObjCellId.HasValue) @@ -347,37 +347,37 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.PositionOriginX.HasValue) { spellLineHdr += ", `position_Origin_X`"; - spellLine += $", {input.PositionOriginX}"; + spellLine += $", {input.PositionOriginX:0.######}"; } if (input.PositionOriginY.HasValue) { spellLineHdr += ", `position_Origin_Y`"; - spellLine += $", {input.PositionOriginY}"; + spellLine += $", {input.PositionOriginY:0.######}"; } if (input.PositionOriginZ.HasValue) { spellLineHdr += ", `position_Origin_Z`"; - spellLine += $", {input.PositionOriginZ}"; + spellLine += $", {input.PositionOriginZ:0.######}"; } if (input.PositionAnglesW.HasValue) { spellLineHdr += ", `position_Angles_W`"; - spellLine += $", {input.PositionAnglesW}"; + spellLine += $", {input.PositionAnglesW:0.######}"; } if (input.PositionAnglesX.HasValue) { spellLineHdr += ", `position_Angles_X`"; - spellLine += $", {input.PositionAnglesX}"; + spellLine += $", {input.PositionAnglesX:0.######}"; } if (input.PositionAnglesY.HasValue) { spellLineHdr += ", `position_Angles_Y`"; - spellLine += $", {input.PositionAnglesY}"; + spellLine += $", {input.PositionAnglesY:0.######}"; } if (input.PositionAnglesZ.HasValue) { spellLineHdr += ", `position_Angles_Z`"; - spellLine += $", {input.PositionAnglesZ}"; + spellLine += $", {input.PositionAnglesZ:0.######}"; } if (input.MinPower.HasValue) @@ -395,7 +395,7 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.PowerVariance.HasValue) { spellLineHdr += ", `power_Variance`"; - spellLine += $", {input.PowerVariance}"; + spellLine += $", {input.PowerVariance:0.######}"; } if (input.DispelSchool.HasValue) @@ -419,7 +419,7 @@ public void CreateSQLINSERTStatement(Spell input, StreamWriter writer) if (input.NumberVariance.HasValue) { spellLineHdr += ", `number_Variance`"; - spellLine += $", {input.NumberVariance}"; + spellLine += $", {input.NumberVariance:0.######}"; } if (input.DotDuration.HasValue) diff --git a/Source/ACE.Database/SQLFormatters/World/WeenieSQLWriter.cs b/Source/ACE.Database/SQLFormatters/World/WeenieSQLWriter.cs index 96c7a1d7cb..f561642152 100644 --- a/Source/ACE.Database/SQLFormatters/World/WeenieSQLWriter.cs +++ b/Source/ACE.Database/SQLFormatters/World/WeenieSQLWriter.cs @@ -165,7 +165,7 @@ public void CreateSQLINSERTStatement(Weenie input, StreamWriter writer) if (input.WeeniePropertiesSpellBook != null && input.WeeniePropertiesSpellBook.Count > 0) { writer.WriteLine(); - CreateSQLINSERTStatement(input.ClassId, input.WeeniePropertiesSpellBook.OrderBy(r => r.Spell).ToList(), writer); + CreateSQLINSERTStatement(input.ClassId, input.WeeniePropertiesSpellBook.ToList(), writer); } if (input.WeeniePropertiesEventFilter != null && input.WeeniePropertiesEventFilter.Count > 0) @@ -260,7 +260,7 @@ public void CreateSQLINSERTStatement(uint weenieClassID, IList(i => $"{weenieClassID}, {input[i].Type.ToString().PadLeft(3)}, {input[i].Value.ToString(CultureInfo.InvariantCulture).PadLeft(7)}) /* {Enum.GetName(typeof(PropertyFloat), input[i].Type)} */"); + var lineGenerator = new Func(i => $"{weenieClassID}, {input[i].Type.ToString().PadLeft(3)}, {input[i].Value.ToString("0.###", CultureInfo.InvariantCulture).PadLeft(7)}) /* {Enum.GetName(typeof(PropertyFloat), input[i].Type)} */"); ValuesWriter(input.Count, lineGenerator, writer); } @@ -286,7 +286,7 @@ public void CreateSQLINSERTStatement(uint weenieClassID, IList(i => $"{weenieClassID}, {(uint)input[i].PositionType}, {input[i].ObjCellId}, {input[i].OriginX}, {input[i].OriginY}, {input[i].OriginZ}, {input[i].AnglesW}, {input[i].AnglesX}, {input[i].AnglesY}, {input[i].AnglesZ}) /* {Enum.GetName(typeof(PositionType), input[i].PositionType)} */" + Environment.NewLine + $"/* @teleloc 0x{input[i].ObjCellId:X8} [{input[i].OriginX:F6} {input[i].OriginY:F6} {input[i].OriginZ:F6}] {input[i].AnglesW:F6} {input[i].AnglesX:F6} {input[i].AnglesY:F6} {input[i].AnglesZ:F6} */"); + var lineGenerator = new Func(i => $"{weenieClassID}, {(uint)input[i].PositionType}, 0x{input[i].ObjCellId:X8}, {input[i].OriginX:0.######}, {input[i].OriginY:0.######}, {input[i].OriginZ:0.######}, {input[i].AnglesW:0.######}, {input[i].AnglesX:0.######}, {input[i].AnglesY:0.######}, {input[i].AnglesZ:0.######}) /* {Enum.GetName(typeof(PositionType), input[i].PositionType)} */" + Environment.NewLine + $"/* @teleloc 0x{input[i].ObjCellId:X8} [{input[i].OriginX:F6} {input[i].OriginY:F6} {input[i].OriginZ:F6}] {input[i].AnglesW:F6} {input[i].AnglesX:F6} {input[i].AnglesY:F6} {input[i].AnglesZ:F6} */"); ValuesWriter(input.Count, lineGenerator, writer); } @@ -305,7 +305,7 @@ public void CreateSQLINSERTStatement(uint weenieClassID, IList(i => $"{weenieClassID}, {input[i].Type.ToString().PadLeft(3)}, {input[i].Value.ToString().PadLeft(10)}) /* {Enum.GetName(typeof(PropertyInstanceId), input[i].Type)} */"); + var lineGenerator = new Func(i => $"{weenieClassID}, {input[i].Type.ToString().PadLeft(3)}, {("0x" + input[i].Value.ToString("X8")).PadLeft(10)}) /* {Enum.GetName(typeof(PropertyInstanceId), input[i].Type)} */"); ValuesWriter(input.Count, lineGenerator, writer); } @@ -398,7 +398,7 @@ public void CreateSQLINSERTStatement(uint weenieClassID, IList input, telelocLabel = $" /* @teleloc 0x{input[i].ObjCellId.Value:X8} [{input[i].OriginX.Value:F6} {input[i].OriginY.Value:F6} {input[i].OriginZ.Value:F6}] {input[i].AnglesW.Value:F6} {input[i].AnglesX.Value:F6} {input[i].AnglesY.Value:F6} {input[i].AnglesZ.Value:F6} */"; } + string statLabel = null; + if (input[i].Stat.HasValue) + { + switch ((EmoteType)input[i].Type) + { + case EmoteType.AwardLevelProportionalSkillXP: + case EmoteType.AwardSkillPoints: + case EmoteType.AwardSkillXP: + + case EmoteType.InqSkillStat: + case EmoteType.InqRawSkillStat: + case EmoteType.InqSkillTrained: + case EmoteType.InqSkillSpecialized: + case EmoteType.UntrainSkill: + statLabel = $" /* Skill.{(Skill)input[i].Stat.Value} */"; + break; + + case EmoteType.DecrementIntStat: + case EmoteType.IncrementIntStat: + case EmoteType.InqIntStat: + case EmoteType.SetIntStat: + statLabel = $" /* PropertyInt.{(PropertyInt)input[i].Stat.Value} */"; + break; + + case EmoteType.InqAttributeStat: + case EmoteType.InqRawAttributeStat: + statLabel = $" /* PropertyAttribute.{(PropertyAttribute)input[i].Stat.Value} */"; + break; + + case EmoteType.InqBoolStat: + case EmoteType.SetBoolStat: + statLabel = $" /* PropertyBool.{(PropertyBool)input[i].Stat.Value} */"; + break; + + case EmoteType.InqFloatStat: + case EmoteType.SetFloatStat: + statLabel = $" /* PropertyFloat.{(PropertyFloat)input[i].Stat.Value} */"; + break; + + case EmoteType.InqInt64Stat: + case EmoteType.SetInt64Stat: + statLabel = $" /* PropertyInt64.{(PropertyInt64)input[i].Stat.Value} */"; + break; + + case EmoteType.InqSecondaryAttributeStat: + case EmoteType.InqRawSecondaryAttributeStat: + statLabel = $" /* PropertyAttribute2nd.{(PropertyAttribute2nd)input[i].Stat.Value} */"; + break; + + case EmoteType.InqStringStat: + statLabel = $" /* PropertyString.{(PropertyString)input[i].Stat.Value} */"; + break; + + default: + break; + } + } + + string amountLabel = null; + if (input[i].Amount.HasValue) + { + switch ((EmoteType)input[i].Type) + { + case EmoteType.AddCharacterTitle: + amountLabel = $" /* {(CharacterTitle)input[i].Amount.Value} */"; + break; + + case EmoteType.AddContract: + case EmoteType.RemoveContract: + amountLabel = $" /* {(ContractId)input[i].Amount.Value} */"; + break; + + default: + break; + } + } + + string treasureClassLabel = null; + if (input[i].TreasureClass.HasValue) + { + treasureClassLabel = Enum.GetName(typeof(TreasureClass), input[i].TreasureClass.Value); + if (treasureClassLabel != null) + treasureClassLabel = $" /* {treasureClassLabel} */"; + } + + string treasureTypeLabel = null; + if (input[i].TreasureType.HasValue) + { + treasureTypeLabel = Enum.GetName(typeof(TreasureType), input[i].TreasureType.Value); + if (treasureTypeLabel != null) + treasureTypeLabel = $" /* {treasureTypeLabel} */"; + } + + string paletteLabel = null; + if (input[i].Palette.HasValue) + { + paletteLabel = Enum.GetName(typeof(PaletteTemplate), input[i].Palette.Value); + if (paletteLabel != null) + paletteLabel = $" /* {paletteLabel} */"; + } + return "@parent_id, " + $"{input[i].Order.ToString().PadLeft(2)}, " + $"{input[i].Type.ToString().PadLeft(3)}{typeLabel}, " + - $"{input[i].Delay}, " + - $"{input[i].Extent}, " + - $"{input[i].Motion}{motionLabel}, " + + $"{input[i].Delay:0.######}, " + + $"{input[i].Extent:0.######}, " + + $"{(input[i].Motion.HasValue ? "0x" : "")}{input[i].Motion:X8}{motionLabel}, " + $"{GetSQLString(input[i].Message)}, " + $"{GetSQLString(input[i].TestString)}, " + $"{input[i].Min}, " + @@ -573,32 +674,32 @@ private void CreateSQLINSERTStatement(IList input, $"{input[i].Max64}, " + $"{input[i].MinDbl}, " + $"{input[i].MaxDbl}, " + - $"{input[i].Stat}, " + + $"{input[i].Stat}{statLabel}, " + $"{input[i].Display}, " + - $"{input[i].Amount}, " + + $"{input[i].Amount}{amountLabel}, " + $"{input[i].Amount64}, " + $"{input[i].HeroXP64}, " + $"{input[i].Percent}, " + $"{input[i].SpellId}{spellIdLabel}, " + $"{input[i].WealthRating}, " + - $"{input[i].TreasureClass}, " + - $"{input[i].TreasureType}, " + + $"{input[i].TreasureClass}{treasureClassLabel}, " + + $"{input[i].TreasureType}{treasureTypeLabel}, " + $"{input[i].PScript}{pScriptLabel}, " + $"{input[i].Sound}{soundLabel}, " + $"{input[i].DestinationType}{destinationTypeLabel}, " + $"{input[i].WeenieClassId}{weenieClassIdLabel}, " + $"{input[i].StackSize}, " + - $"{input[i].Palette}, " + - $"{input[i].Shade}, " + + $"{input[i].Palette}{paletteLabel}, " + + $"{input[i].Shade:0.######}, " + $"{input[i].TryToBond}, " + - $"{input[i].ObjCellId}{telelocLabel}, " + - $"{input[i].OriginX}, " + - $"{input[i].OriginY}, " + - $"{input[i].OriginZ}, " + - $"{input[i].AnglesW}, " + - $"{input[i].AnglesX}, " + - $"{input[i].AnglesY}, " + - $"{input[i].AnglesZ})"; + $"{(input[i].ObjCellId.HasValue ? "0x" : "")}{input[i].ObjCellId:X8}{telelocLabel}, " + + $"{input[i].OriginX:0.######}, " + + $"{input[i].OriginY:0.######}, " + + $"{input[i].OriginZ:0.######}, " + + $"{input[i].AnglesW:0.######}, " + + $"{input[i].AnglesX:0.######}, " + + $"{input[i].AnglesY:0.######}, " + + $"{input[i].AnglesZ:0.######})"; }); ValuesWriter(input.Count, lineGenerator, writer); @@ -623,7 +724,7 @@ public void CreateSQLINSERTStatement(uint weenieClassID, IList 0 ? $"0x{input[i].ObjCellId:X8}" : $"{input[i].ObjCellId}")}, " + + $"{input[i].OriginX:0.######}, " + + $"{input[i].OriginY:0.######}, " + + $"{input[i].OriginZ:0.######}, " + + $"{input[i].AnglesW:0.######}, " + + $"{input[i].AnglesX:0.######}, " + + $"{input[i].AnglesY:0.######}, " + + $"{input[i].AnglesZ:0.######})" + $" /* Generate {label} (x{input[i].InitCreate:N0} up to max of {input[i].MaxCreate:N0}) - Regenerate upon {Enum.GetName(typeof(RegenerationType), input[i].WhenCreate)} - Location to (re)Generate: {Enum.GetName(typeof(RegenLocationType), input[i].WhereCreate)} */"; }); ValuesWriter(input.Count, lineGenerator, writer); diff --git a/Source/ACE.Database/Scaffolding Notes.txt b/Source/ACE.Database/Scaffolding Notes.txt index c5e1d6fcdb..854aa6c570 100644 --- a/Source/ACE.Database/Scaffolding Notes.txt +++ b/Source/ACE.Database/Scaffolding Notes.txt @@ -23,7 +23,7 @@ Your startup project 'ACE.Server' doesn't reference Microsoft.EntityFrameworkCor Run this command from Package Manager Console on ACE.Server project: -Install-Package Microsoft.EntityFrameworkCore.Tools -Version 2.2.6 +Install-Package Microsoft.EntityFrameworkCore.Tools -Version 3.1.10 If any changes were detected, C# classes will have been added or modified. Leave the auto generated classes alone. Do not try to optimize them, or clean them up cosmetically. They are partial classes, so you can create a partial class if you want to add methods, or, you can create extension methods as well in a separate file. diff --git a/Source/ACE.Entity/Enum/PortalLinkType.cs b/Source/ACE.Entity/Enum/PortalLinkType.cs new file mode 100644 index 0000000000..d43ac47c89 --- /dev/null +++ b/Source/ACE.Entity/Enum/PortalLinkType.cs @@ -0,0 +1,10 @@ +namespace ACE.Entity.Enum +{ + public enum PortalLinkType + { + Undef, + LinkedLifestone, + LinkedPortalOne, + LinkedPortalTwo + } +} diff --git a/Source/ACE.Entity/Enum/PortalRecallType.cs b/Source/ACE.Entity/Enum/PortalRecallType.cs new file mode 100644 index 0000000000..18aac43293 --- /dev/null +++ b/Source/ACE.Entity/Enum/PortalRecallType.cs @@ -0,0 +1,12 @@ +namespace ACE.Entity.Enum +{ + public enum PortalRecallType + { + Undef, + LastLifestone, + LinkedLifestone, + LastPortal, + LinkedPortalOne, + LinkedPortalTwo + } +} diff --git a/Source/ACE.Entity/Enum/PortalSummonType.cs b/Source/ACE.Entity/Enum/PortalSummonType.cs new file mode 100644 index 0000000000..d29595b23e --- /dev/null +++ b/Source/ACE.Entity/Enum/PortalSummonType.cs @@ -0,0 +1,9 @@ +namespace ACE.Entity.Enum +{ + public enum PortalSummonType + { + Undef, + LinkedPortalOne, + LinkedPortalTwo + } +} diff --git a/Source/ACE.Entity/Enum/Properties/PropertyDataId.cs b/Source/ACE.Entity/Enum/Properties/PropertyDataId.cs index f2efa0195e..019844f307 100644 --- a/Source/ACE.Entity/Enum/Properties/PropertyDataId.cs +++ b/Source/ACE.Entity/Enum/Properties/PropertyDataId.cs @@ -225,5 +225,45 @@ public static string GetValueEnumName(this PropertyDataId property, uint value) return null; } + + public static bool IsHexData(this PropertyDataId property) + { + + switch (property) + { + case PropertyDataId.AccountHouseId: + case PropertyDataId.AlternateCurrency: + case PropertyDataId.AugmentationCreateItem: + case PropertyDataId.AugmentationEffect: + case PropertyDataId.BlueSurgeSpell: + case PropertyDataId.DeathSpell: + case PropertyDataId.DeathTreasureType: + case PropertyDataId.HouseId: + case PropertyDataId.ItemSkillLimit: + case PropertyDataId.ItemSpecializedOnly: + case PropertyDataId.LastPortal: + case PropertyDataId.LinkedPortalOne: + case PropertyDataId.LinkedPortalTwo: + case PropertyDataId.OlthoiDeathTreasureType: + case PropertyDataId.OriginalPortal: + case PropertyDataId.PhysicsScript: + case PropertyDataId.ProcSpell: + case PropertyDataId.RedSurgeSpell: + case PropertyDataId.RestrictionEffect: + case PropertyDataId.Spell: + case PropertyDataId.SpellComponent: + case PropertyDataId.UseCreateItem: + case PropertyDataId.UseSound: + case PropertyDataId.VendorsClassId: + case PropertyDataId.WieldedTreasureType: + case PropertyDataId.YellowSurgeSpell: + + case PropertyDataId x when x >= PropertyDataId.PCAPRecordedWeenieHeader: + return false; + + default: + return true; + } + } } } diff --git a/Source/ACE.Entity/Enum/Properties/PropertyInt.cs b/Source/ACE.Entity/Enum/Properties/PropertyInt.cs index afd0d4e8bd..3bc9680f56 100644 --- a/Source/ACE.Entity/Enum/Properties/PropertyInt.cs +++ b/Source/ACE.Entity/Enum/Properties/PropertyInt.cs @@ -691,6 +691,7 @@ public static string GetValueEnumName(this PropertyInt property, int value) case PropertyInt.GeneratorType: return System.Enum.GetName(typeof(GeneratorType), value); case PropertyInt.HeritageGroup: + case PropertyInt.HeritageSpecificArmor: return System.Enum.GetName(typeof(HeritageGroup), value); case PropertyInt.HookType: return System.Enum.GetName(typeof(HookType), value); diff --git a/Source/ACE.Entity/Enum/TreasureClass.cs b/Source/ACE.Entity/Enum/TreasureClass.cs new file mode 100644 index 0000000000..460df13224 --- /dev/null +++ b/Source/ACE.Entity/Enum/TreasureClass.cs @@ -0,0 +1,66 @@ +namespace ACE.Entity.Enum +{ + public enum TreasureClass + { + // retail + Undef, + Pyreal, + Gem, + Jewelry, + ArtObject, + Weapon, + Armor, + Clothing, + Scroll, + Caster, + ManaStone, + Consumable, + HealKit, + Lockpick, + SpellComponent, + + /*LeatherArmor, + StuddedLeatherArmor, + ChainMailArmor, + CovenantArmor, + PlateMailArmor, + HeritageLowArmor, + HeritageHighArmor, + + SwordWeapon, + MaceWeapon, + AxeWeapon, + SpearWeapon, + UnarmedWeapon, + StaffWeapon, + DaggerWeapon, + BowWeapon, + CrossbowWeapon, + AtlatlWeapon,*/ + + // introduced 08-2008 - balance of power + SocietyArmor, + SocietyBreastplate, + SocietyGauntlets, + SocietyGirth, + SocietyGreaves, + SocietyHelm, + SocietyPauldrons, + SocietyTassets, + SocietyVambraces, + SocietySollerets, + + // introduced 10-2011 - cloak of darkness + Cloak, + + // from analysis of magloot corpse logs, these appeared to be top-level items + // PetDevices appeared to only be in the non-magical item tables + // if a creature didn't drop non-magical items, there were no traces of it dropping a PetDevice + // similarly, if a creature didn't drop non-magical or mundane items, + // it was still found to drop EncapsulatedSpirit + + // introduced 02-2013 - balance of power + PetDevice, + EncapsulatedSpirit, + } +} diff --git a/Source/ACE.Entity/Enum/TreasureType.cs b/Source/ACE.Entity/Enum/TreasureType.cs new file mode 100644 index 0000000000..69215d66c0 --- /dev/null +++ b/Source/ACE.Entity/Enum/TreasureType.cs @@ -0,0 +1,10 @@ +namespace ACE.Entity.Enum +{ + public enum TreasureType + { + Undef, + Item, + MagicItem, + MundaneItem, + }; +} diff --git a/Source/ACE.Entity/PacketOpCodeNames.cs b/Source/ACE.Entity/PacketOpCodeNames.cs new file mode 100644 index 0000000000..04a2e6ac70 --- /dev/null +++ b/Source/ACE.Entity/PacketOpCodeNames.cs @@ -0,0 +1,587 @@ +using System.Collections.Generic; + +namespace ACE.Entity +{ + public static class PacketOpCodeNames + { + public static readonly Dictionary Values = new Dictionary + { + {1,"Evt_Admin__CreateRare_ID"}, + {2,"NSP_NOTIFY_EVENT"}, + {3,"Evt_Allegiance__AllegianceUpdateAborted_ID"}, + {4,"Evt_Communication__PopUpString_ID"}, + {5,"Evt_Character__PlayerOptionChangedEvent_ID"}, + {6,"Evt_Admin__TeleportCharacterReturn_ID"}, + {7,"Evt_Combat__UntargetedMeleeAttack_ID"}, + {8,"Evt_Combat__TargetedMeleeAttack_ID"}, + {9,"OBJECT_STARTUP_EVENT"}, + {10,"Evt_Combat__TargetedMissileAttack_ID"}, + {11,"Evt_Combat__UntargetedMissileAttack_ID"}, + {12,"Evt_Admin__TeleportCharacterToMe_ID"}, + {13,"Evt_Admin__AdminCharDataByName_ID"}, + {14,"Evt_Admin__SetBodyPart_ID"}, + {15,"Evt_Communication__SetAFKMode_ID"}, + {16,"Evt_Communication__SetAFKMessage_ID"}, + {19,"PLAYER_DESCRIPTION_EVENT"}, + {21,"Evt_Communication__Talk_ID"}, + {23,"Evt_Social__RemoveFriend_ID"}, + {24,"Evt_Social__AddFriend_ID"}, + {25,"Evt_Inventory__PutItemInContainer_ID"}, + {26,"Evt_Inventory__GetAndWieldItem_ID"}, + {27,"Evt_Inventory__DropItem_ID"}, + {28,"WEENIE_ERROR_EVENT"}, + {29,"Evt_Allegiance__SwearAllegiance_ID"}, + {30,"Evt_Allegiance__BreakAllegiance_ID"}, + {31,"Evt_Allegiance__UpdateRequest_ID"}, + {32,"ALLEGIANCE_UPDATE_EVENT"}, + {33,"Evt_Social__FriendsUpdate_ID"}, + {34,"INVENTORY_PUT_OBJ_IN_CONTAINER_EVENT"}, + {35,"INVENTORY_WIELD_OBJ_EVENT"}, + {36,"INVENTORY_REMOVE_OBJ_EVENT"}, + {37,"Evt_Social__ClearFriends_ID"}, + {38,"Evt_Character__TeleToPKLArena_ID"}, + {39,"Evt_Character__TeleToPKArena_ID"}, + {40,"Evt_Social__AddCharacterTitle_ID"}, + {41,"Evt_Social__CharacterTitleTable_ID"}, + {42,"CHARACTER_GENERATION_RESULT_EVENT"}, + {43,"Evt_Social__AddOrSetCharacterTitle_ID"}, + {44,"Evt_Social__SetDisplayCharacterTitle_ID"}, + {45,"Evt_Admin__RemoveCharacterTitle_ID"}, + {46,"Evt_Admin__AddCharacterTitle_ID"}, + {47,"Evt_Admin__DumpCharacterTitles_ID"}, + {48,"Evt_Allegiance__QueryAllegianceName_ID"}, + {49,"Evt_Allegiance__ClearAllegianceName_ID"}, + {50,"Evt_Communication__TalkDirect_ID"}, + {51,"Evt_Allegiance__SetAllegianceName_ID"}, + {52,"CHAR_BASE_OBJDESC_EVENT"}, + {53,"Evt_Inventory__UseWithTargetEvent_ID"}, + {54,"Evt_Inventory__UseEvent_ID"}, + {55,"HEAR_TEXTBOX_SPEECH"}, + {56,"HEAR_TEXTBOX_SPEECH_DIRECT"}, + {57,"Evt_Admin__ResetAllegianceName_ID"}, + {58,"CHARACTER_LOGON_EVENT"}, + {59,"Evt_Allegiance__SetAllegianceOfficer_ID"}, + {60,"Evt_Allegiance__SetAllegianceOfficerTitle_ID"}, + {61,"Evt_Allegiance__ListAllegianceOfficerTitles_ID"}, + {62,"Evt_Allegiance__ClearAllegianceOfficerTitles_ID"}, + {63,"Evt_Allegiance__DoAllegianceLockAction_ID"}, + {64,"Evt_Allegiance__SetAllegianceApprovedVassal_ID"}, + {65,"Evt_Allegiance__AllegianceChatGag_ID"}, + {66,"Evt_Allegiance__DoAllegianceHouseAction_ID"}, + {68,"Evt_Train__TrainAttribute2nd_ID"}, + {69,"Evt_Train__TrainAttribute_ID"}, + {70,"Evt_Train__TrainSkill_ID"}, + {71,"Evt_Train__TrainSkillAdvancementClass_ID"}, + {72,"Evt_Magic__CastUntargetedSpell_ID"}, + {74,"Evt_Magic__CastTargetedSpell_ID"}, + {75,"Evt_Magic__ResearchSpell_ID"}, + {76,"UPDATE_SPELL_EVENT"}, + {77,"REMOVE_SPELL_EVENT"}, + {78,"UPDATE_ENCHANTMENT_EVENT"}, + {79,"REMOVE_ENCHANTMENT_EVENT"}, + {80,"Evt_Inventory__CommenceViewingContents_ID"}, + {81,"UPDATE_SPELL_TIMESTAMP_EVENT"}, + {82,"CLOSE_GROUND_CONTAINER_EVENT"}, + {83,"Evt_Combat__ChangeCombatMode_ID"}, + {84,"Evt_Inventory__StackableMerge_ID"}, + {85,"Evt_Inventory__StackableSplitToContainer_ID"}, + {86,"Evt_Inventory__StackableSplitTo3D_ID"}, + {88,"Evt_Communication__ModifyCharacterSquelch_ID"}, + {89,"Evt_Communication__ModifyAccountSquelch_ID"}, + {90,"Evt_Communication__SquelchQuery_ID"}, + {91,"Evt_Communication__ModifyGlobalSquelch_ID"}, + {93,"Evt_Communication__TalkDirectByName_ID"}, + {94,"ATTACK_NOTIFICATION_EVENT"}, + {95,"Evt_Vendor__Buy_ID"}, + {96,"Evt_Vendor__Sell_ID"}, + {97,"Evt_Vendor__RequestVendorInfo_ID"}, + {98,"VENDOR_INFO_EVENT"}, + {99,"Evt_Character__TeleToLifestone_ID"}, + {100,"Evt_Admin__InqWeenieDesc_ID"}, + {101,"Evt_Admin__SetPosition_ID"}, + {102,"Evt_Admin__SetSkill_ID"}, + {103,"Evt_Admin__SetDataID_ID"}, + {104,"Evt_Admin__SetString_ID"}, + {105,"Evt_Admin__SetFloat_ID"}, + {106,"Evt_Admin__SetInt_ID"}, + {107,"Evt_Admin__SetAttribute2nd_ID"}, + {108,"Evt_Admin__SetAttribute_ID"}, + {109,"Evt_Admin__Teleport_ID"}, + {112,"Evt_Admin__Create_ID"}, + {117,"Evt_Character__StartBarber_ID"}, + {118,"Evt_Admin__Delete_ID"}, + {125,"Evt_Admin__RaiseAttribute2nd_ID"}, + {126,"Evt_Admin__RaiseAttribute_ID"}, + {127,"Evt_Admin__RaiseSkill_ID"}, + {128,"Evt_Admin__RaiseXP_ID"}, + {129,"Evt_Admin__WeenieLogEvent_ID"}, + {130,"Evt_Admin__InqPlayerDataEvent_ID"}, + {132,"Evt_Admin__InqFullPlayerDataEvent_ID"}, + {133,"ADMIN_RECV_FULL_PLAYER_DATA_EVENT"}, + {134,"Evt_Admin__CloakRequest_ID"}, + {135,"Evt_Admin__PortalTeleport_ID"}, + {136,"Evt_Admin__SetInstanceID_ID"}, + {137,"Evt_Admin__StickyRequest_ID"}, + {138,"Evt_Admin__SetBool_ID"}, + {150,"ADMIN_RECV_WEENIE_DESC_EVENT"}, + {151,"ADMIN_RECV_POSITION_EVENT"}, + {156,"PORTAL_STORM_SUBSIDED_EVENT"}, + {157,"PORTAL_STORM_BREWING_EVENT"}, + {158,"PORTAL_STORM_IMMINENT_EVENT"}, + {159,"PORTAL_STORM_EVENT"}, + {160,"INVENTORY_SERVER_SAYS_FAILED_EVENT"}, + {161,"Evt_Character__LoginCompleteNotification_ID"}, + {162,"Evt_Fellowship__Create_ID"}, + {163,"Evt_Fellowship__Quit_ID"}, + {164,"Evt_Fellowship__Dismiss_ID"}, + {165,"Evt_Fellowship__Recruit_ID"}, + {166,"Evt_Fellowship__UpdateRequest_ID"}, + {167,"RECV_QUIT_FELLOW_EVENT"}, + {170,"Evt_Writing__BookData_ID"}, + {171,"Evt_Writing__BookModifyPage_ID"}, + {172,"Evt_Writing__BookAddPage_ID"}, + {173,"Evt_Writing__BookDeletePage_ID"}, + {174,"Evt_Writing__BookPageData_ID"}, + {175,"RECV_FELLOWSHIP_UPDATE_EVENT"}, + {176,"RECV_UPDATE_FELLOW_EVENT"}, + {177,"RECV_DISMISS_FELLOW_EVENT"}, + {178,"RECV_LOGOFF_FELLOW_EVENT"}, + {179,"RECV_DISBAND_FELLOWSHIP_EVENT"}, + {180,"BOOK_DATA_RESPONSE_EVENT"}, + {181,"BOOK_MODIFY_PAGE_RESPONSE_EVENT"}, + {182,"BOOK_ADD_PAGE_RESPONSE_EVENT"}, + {183,"BOOK_DELETE_PAGE_RESPONSE_EVENT"}, + {184,"BOOK_PAGE_DATA_RESPONSE_EVENT"}, + {190,"Evt_Writing__GetInscription_ID"}, + {191,"Evt_Writing__SetInscription_ID"}, + {195,"GET_INSCRIPTION_RESPONSE_EVENT"}, + {200,"Evt_Item__Appraise_ID"}, + {201,"APPRAISAL_INFO_EVENT"}, + {202,"Evt_Fellowship__Appraise_ID"}, + {205,"Evt_Inventory__GiveObjectRequest_ID"}, + {211,"Evt_Advocate__Bestow_ID"}, + {212,"Evt_Advocate__SetState_ID"}, + {213,"Evt_Advocate__SetAttackable_ID"}, + {214,"Evt_Advocate__Teleport_ID"}, + {290,"HEAR_LOCAL_SIGNALS_INT"}, + {291,"HEAR_LOCAL_SIGNALS_RADIUS_INT"}, + {320,"Evt_Character__AbuseLogRequest_ID"}, + {325,"Evt_Communication__AddToChannel_ID"}, + {326,"Evt_Communication__RemoveFromChannel_ID"}, + {327,"Evt_Communication__ChannelBroadcast_ID"}, + {328,"Evt_Communication__ChannelList_ID"}, + {329,"Evt_Communication__ChannelIndex_ID"}, + {330,"CHANNEL_BROADCAST_EVENT"}, + {331,"CHANNEL_LIST_EVENT"}, + {332,"CHANNEL_INDEX_EVENT"}, + {405,"Evt_Inventory__NoLongerViewingContents_ID"}, + {406,"VIEW_CONTENTS_EVENT"}, + {407,"STACKABLE_SET_STACKSIZE_EVENT"}, + {410,"INVENTORY_PUT_OBJ_IN_3D_EVENT"}, + {411,"Evt_Inventory__StackableSplitToWield_ID"}, + {412,"Evt_Character__AddShortCut_ID"}, + {413,"Evt_Character__RemoveShortCut_ID"}, + {414,"PLAYER_DEATH_EVENT"}, + {417,"Evt_Character__CharacterOptionsEvent_ID"}, + {418,"Evt_Admin__SaveSanctuaryPosition_ID"}, + {420,"DISPEL_ENCHANTMENT_EVENT"}, + {421,"UPDATE_ENCHANTMENTS_EVENT"}, + {422,"REMOVE_ENCHANTMENTS_EVENT"}, + {423,"ATTACK_DONE_EVENT"}, + {424,"Evt_Magic__RemoveSpell_ID"}, + {427,"PURGE_ENCHANTMENTS_EVENT"}, + {428,"VICTIM_NOTIFICATION_EVENT"}, + {429,"KILLER_NOTIFICATION_EVENT"}, + {430,"DISPEL_ENCHANTMENTS_EVENT"}, + {433,"ATTACKER_NOTIFICATION_EVENT"}, + {434,"DEFENDER_NOTIFICATION_EVENT"}, + {435,"EVASION_ATTACKER_NOTIFICATION_EVENT"}, + {436,"EVASION_DEFENDER_NOTIFICATION_EVENT"}, + {437,"HEAR_RANGED_TEXTBOX_SPEECH"}, + {438,"Evt_Admin__DumpEnemyTable_ID"}, + {439,"Evt_Combat__CancelAttack_ID"}, + {440,"Evt_Combat__CommenceAttack_ID"}, + {441,"Evt_Admin__Kill_ID"}, + {442,"Evt_Admin__DropAll_ID"}, + {443,"Evt_Admin__Dispel_ID"}, + {444,"Evt_Admin__Humble_ID"}, + {445,"Evt_Admin__QueryActive_ID"}, + {446,"Evt_Admin__QueryContext_ID"}, + {447,"Evt_Combat__QueryHealth_ID"}, + {448,"Evt_Combat__QueryHealthResponse_ID"}, + {449,"Evt_Admin__QueryHouseKeeping_ID"}, + {450,"Evt_Character__QueryAge_ID"}, + {451,"Evt_Character__QueryAgeResponse_ID"}, + {452,"Evt_Character__QueryBirth_ID"}, + {454,"Evt_Admin__QueryShop_ID"}, + {455,"Evt_Item__UseDone_ID"}, + {456,"Evt_Allegiance__AllegianceUpdateDone_ID"}, + {457,"Evt_Fellowship__FellowUpdateDone_ID"}, + {458,"Evt_Fellowship__FellowStatsDone_ID"}, + {459,"Evt_Item__AppraiseDone_ID"}, + {460,"Evt_Admin__QueryCPWorth_ID"}, + {461,"Evt_Admin__Heal_ID"}, + {462,"Evt_Admin__InqAccountDataEvent_ID"}, + {463,"Evt_Admin__Freeze_ID"}, + {464,"Evt_Admin__TeleportHome_ID"}, + {465,"Evt_Qualities__PrivateRemoveIntEvent_ID"}, + {466,"Evt_Qualities__RemoveIntEvent_ID"}, + {467,"Evt_Qualities__PrivateRemoveBoolEvent_ID"}, + {468,"Evt_Qualities__RemoveBoolEvent_ID"}, + {469,"Evt_Qualities__PrivateRemoveFloatEvent_ID"}, + {470,"Evt_Qualities__RemoveFloatEvent_ID"}, + {471,"Evt_Qualities__PrivateRemoveStringEvent_ID"}, + {472,"Evt_Qualities__RemoveStringEvent_ID"}, + {473,"Evt_Qualities__PrivateRemoveDataIDEvent_ID"}, + {474,"Evt_Qualities__RemoveDataIDEvent_ID"}, + {475,"Evt_Qualities__PrivateRemoveInstanceIDEvent_ID"}, + {476,"Evt_Qualities__RemoveInstanceIDEvent_ID"}, + {477,"Evt_Qualities__PrivateRemovePositionEvent_ID"}, + {478,"Evt_Qualities__RemovePositionEvent_ID"}, + {479,"Evt_Communication__Emote_ID"}, + {480,"Evt_Communication__HearEmote_ID"}, + {481,"Evt_Communication__SoulEmote_ID"}, + {482,"Evt_Communication__HearSoulEmote_ID"}, + {483,"Evt_Character__AddSpellFavorite_ID"}, + {484,"Evt_Character__RemoveSpellFavorite_ID"}, + {485,"Evt_Admin__ForceRegen_ID"}, + {486,"Evt_Advocate__TeleportTo_ID"}, + {487,"Evt_Admin__QueryMessage_ID"}, + {488,"Evt_Admin__QueryTime_ID"}, + {489,"Evt_Character__RequestPing_ID"}, + {490,"Evt_Character__ReturnPing_ID"}, + {492,"Evt_Admin__Gag_ID"}, + {493,"Evt_Admin__DumpQuestTable_ID"}, + {494,"Evt_Admin__WorldBroadcastEmote_ID"}, + {495,"Evt_Admin__LocalBroadcastEmote_ID"}, + {496,"Evt_Admin__DirectBroadcastEmote_ID"}, + {497,"Evt_Admin__QueryEventStatus_ID"}, + {498,"Evt_Admin__SetEventState_ID"}, + {500,"Evt_Communication__SetSquelchDB_ID"}, + {501,"Evt_Admin__CreateInternal_ID"}, + {502,"Evt_Trade__OpenTradeNegotiations_ID"}, + {503,"Evt_Trade__CloseTradeNegotiations_ID"}, + {504,"Evt_Trade__AddToTrade_ID"}, + {505,"Evt_Trade__RemoveFromTrade_ID"}, + {506,"Evt_Trade__AcceptTrade_ID"}, + {507,"Evt_Trade__DeclineTrade_ID"}, + {508,"Evt_Trade__DumpTrade_ID"}, + {509,"Evt_Trade__Recv_RegisterTrade_ID"}, + {510,"Evt_Trade__Recv_OpenTrade_ID"}, + {511,"Evt_Trade__Recv_CloseTrade_ID"}, + {512,"Evt_Trade__Recv_AddToTrade_ID"}, + {513,"Evt_Trade__Recv_RemoveFromTrade_ID"}, + {514,"Evt_Trade__Recv_AcceptTrade_ID"}, + {515,"Evt_Trade__Recv_DeclineTrade_ID"}, + {516,"Evt_Trade__ResetTrade_ID"}, + {517,"Evt_Trade__Recv_ResetTrade_ID"}, + {518,"Evt_Admin__QueryViewing_ID"}, + {519,"Evt_Trade__Recv_TradeFailure_ID"}, + {520,"Evt_Trade__Recv_ClearTradeAcceptance_ID"}, + {534,"Evt_Character__ClearPlayerConsentList_ID"}, + {535,"Evt_Character__DisplayPlayerConsentList_ID"}, + {536,"Evt_Character__RemoveFromPlayerConsentList_ID"}, + {537,"Evt_Character__AddPlayerPermission_ID"}, + {538,"Evt_Character__RemovePlayerPermission_ID"}, + {539,"Evt_House__DumpHouse_ID"}, + {540,"Evt_House__BuyHouse_ID"}, + {541,"Evt_House__Recv_HouseProfile_ID"}, + {542,"Evt_House__QueryHouse_ID"}, + {543,"Evt_House__AbandonHouse_ID"}, + {544,"Evt_House__StealHouse_ID"}, + {545,"Evt_House__RentHouse_ID"}, + {546,"Evt_House__LinkToHouse_ID"}, + {547,"Evt_House__ReCacheHouse_ID"}, + {548,"Evt_Character__SetDesiredComponentLevel_ID"}, + {549,"Evt_House__Recv_HouseData_ID"}, + {550,"Evt_House__Recv_HouseStatus_ID"}, + {551,"Evt_House__Recv_UpdateRentTime_ID"}, + {552,"Evt_House__Recv_UpdateRentPayment_ID"}, + {553,"UPDATE_INT_EVENT"}, + {554,"UPDATE_FLOAT_EVENT"}, + {555,"UPDATE_STRING_EVENT"}, + {556,"UPDATE_BOOL_EVENT"}, + {557,"UPDATE_IID_EVENT"}, + {558,"UPDATE_DID_EVENT"}, + {559,"UPDATE_POSITION_EVENT"}, + {560,"UPDATE_SKILL_EVENT"}, + {561,"UPDATE_SKILL_LEVEL_EVENT"}, + {562,"UPDATE_SAC_EVENT"}, + {563,"UPDATE_ATTRIBUTE_EVENT"}, + {564,"UPDATE_ATTRIBUTE_LEVEL_EVENT"}, + {565,"UPDATE_ATTRIBUTE_2ND_EVENT"}, + {566,"UPDATE_ATTRIBUTE_2ND_LEVEL_EVENT"}, + {567,"UPDATE_INT_PRIVATE_EVENT"}, + {568,"UPDATE_FLOAT_PRIVATE_EVENT"}, + {569,"UPDATE_STRING_PRIVATE_EVENT"}, + {570,"UPDATE_BOOL_PRIVATE_EVENT"}, + {571,"UPDATE_IID_PRIVATE_EVENT"}, + {572,"UPDATE_DID_PRIVATE_EVENT"}, + {573,"UPDATE_POSITION_PRIVATE_EVENT"}, + {574,"UPDATE_SKILL_PRIVATE_EVENT"}, + {575,"UPDATE_SKILL_LEVEL_PRIVATE_EVENT"}, + {576,"UPDATE_SAC_PRIVATE_EVENT"}, + {577,"UPDATE_ATTRIBUTE_PRIVATE_EVENT"}, + {578,"UPDATE_ATTRIBUTE_LEVEL_PRIVATE_EVENT"}, + {579,"UPDATE_ATTRIBUTE_2ND_PRIVATE_EVENT"}, + {580,"UPDATE_ATTRIBUTE_2ND_LEVEL_PRIVATE_EVENT"}, + {581,"Evt_House__AddPermanentGuest_Event_ID"}, + {582,"Evt_House__RemovePermanentGuest_Event_ID"}, + {583,"Evt_House__SetOpenHouseStatus_Event_ID"}, + {584,"Evt_House__Recv_UpdateRestrictions_ID"}, + {585,"Evt_House__ChangeStoragePermission_Event_ID"}, + {586,"Evt_House__BootSpecificHouseGuest_Event_ID"}, + {587,"Evt_House__BootAllUninvitedGuests_Event_ID"}, + {588,"Evt_House__RemoveAllStoragePermission_ID"}, + {589,"Evt_House__RequestFullGuestList_Event_ID"}, + {590,"Evt_House__RentPay_ID"}, + {591,"Evt_House__RentWarn_ID"}, + {592,"Evt_House__RentDue_ID"}, + {596,"Evt_Allegiance__SetMotd_ID"}, + {597,"Evt_Allegiance__QueryMotd_ID"}, + {598,"Evt_Allegiance__ClearMotd_ID"}, + {599,"Evt_House__Recv_UpdateHAR_ID"}, + {600,"Evt_House__QueryLord_ID"}, + {601,"Evt_House__Recv_HouseTransaction_ID"}, + {602,"Evt_House__RentOverDue_ID"}, + {603,"Evt_Admin__QueryInv_ID"}, + {604,"Evt_House__AddAllStoragePermission_ID"}, + {605,"Evt_House__QueryHouseOwner_ID"}, + {606,"Evt_House__RemoveAllPermanentGuests_Event_ID"}, + {607,"Evt_House__BootEveryone_Event_ID"}, + {608,"Evt_Admin__Orphan_ID"}, + {609,"Evt_House__AdminTeleToHouse_ID"}, + {610,"Evt_House__TeleToHouse_Event_ID"}, + {611,"Evt_Item__QueryItemMana_ID"}, + {612,"Evt_Item__QueryItemManaResponse_ID"}, + {613,"Evt_House__PayRentForAllHouses_ID"}, + {614,"Evt_House__SetHooksVisibility_ID"}, + {615,"Evt_House__ModifyAllegianceGuestPermission_ID"}, + {616,"Evt_House__ModifyAllegianceStoragePermission_ID"}, + {617,"Evt_Game__Join_ID"}, + {618,"Evt_Game__Quit_ID"}, + {619,"Evt_Game__Move_ID"}, + {620,"Evt_Game__MoveGrid_ID"}, + {621,"Evt_Game__MovePass_ID"}, + {622,"Evt_Game__Stalemate_ID"}, + {623,"Evt_Admin__CreateTreasure_ID"}, + {624,"Evt_House__ListAvailableHouses_ID"}, + {625,"Evt_House__Recv_AvailableHouses_ID"}, + {626,"Evt_Admin__TogglePortalBypass_ID"}, + {627,"Evt_Admin__Mutate_ID"}, + {628,"Evt_Character__ConfirmationRequest_ID"}, + {629,"Evt_Character__ConfirmationResponse_ID"}, + {630,"Evt_Character__ConfirmationDone_ID"}, + {631,"Evt_Allegiance__BreakAllegianceBoot_ID"}, + {632,"Evt_House__TeleToMansion_Event_ID"}, + {633,"Evt_Character__Suicide_ID"}, + {634,"Evt_Allegiance__AllegianceLoginNotificationEvent_ID"}, + {635,"Evt_Allegiance__AllegianceInfoRequest_ID"}, + {636,"Evt_Allegiance__AllegianceInfoResponseEvent_ID"}, + {637,"Evt_Inventory__CreateTinkeringTool_ID"}, + {638,"Evt_Admin__CreateMaterial_ID"}, + {639,"Evt_Admin__EraseQuestTable_ID"}, + {640,"Recv_Game__OpponentStalemateState_ID"}, + {641,"Evt_Game__Recv_JoinGameResponse_ID"}, + {642,"Evt_Game__Recv_StartGame_ID"}, + {643,"Evt_Game__Recv_MoveResponse_ID"}, + {644,"Evt_Game__Recv_OpponentTurn_ID"}, + {645,"Evt_Game__Recv_OppenentStalemateState_ID"}, + {646,"Evt_Character__SpellbookFilterEvent_ID"}, + {647,"Evt_Admin__QueryTrophyDrops_ID"}, + {648,"Evt_House__SetMaintenanceFree_ID"}, + {649,"Evt_House__DumpHouseAccess_ID"}, + {650,"Evt_Communication__WeenieError_ID"}, + {651,"Evt_Communication__WeenieErrorWithString_ID"}, + {652,"Evt_Game__Recv_GameOver_ID"}, + {653,"Evt_Character__TeleToMarketplace_ID"}, + {654,"Evt_Admin__StampQuest_ID"}, + {655,"Evt_Character__EnterPKLite_ID"}, + {656,"Evt_Fellowship__AssignNewLeader_ID"}, + {657,"Evt_Fellowship__ChangeFellowOpeness_ID"}, + {658,"Evt_Admin__ClearEvent_ID"}, + {659,"Evt_Admin__Limbo_ID"}, + {660,"Evt_Admin__SentinelRunBoost_ID"}, + {661,"Evt_Communication__Recv_ChatRoomTracker_ID"}, + {662,"Evt_Admin__PassupInfo_ID"}, + {663,"Evt_Admin__SetNeverHouseKept_ID"}, + {664,"Evt_Admin__SetCPWorth_ID"}, + {665,"Evt_Admin__SetDeafMode_ID"}, + {666,"Evt_Admin__SetDeafHear_ID"}, + {667,"Evt_Admin__SetDeafMute_ID"}, + {668,"Evt_Admin__SnoopOn_ID"}, + {669,"Evt_Admin__SetInvincibility_ID"}, + {671,"Evt_Admin__AssertTheServer_ID"}, + {672,"Evt_Allegiance__AllegianceChatBoot_ID"}, + {673,"Evt_Allegiance__AddAllegianceBan_ID"}, + {674,"Evt_Allegiance__RemoveAllegianceBan_ID"}, + {675,"Evt_Allegiance__ListAllegianceBans_ID"}, + {676,"Evt_Allegiance__AddAllegianceOfficer_ID"}, + {677,"Evt_Allegiance__RemoveAllegianceOfficer_ID"}, + {678,"Evt_Allegiance__ListAllegianceOfficers_ID"}, + {679,"Evt_Allegiance__ClearAllegianceOfficers_ID"}, + {680,"Evt_Admin__SavePosition_ID"}, + {681,"Evt_Admin__RecallPosition_ID"}, + {682,"Evt_Admin__AdminBoot_ID"}, + {683,"Evt_Allegiance__RecallAllegianceHometown_ID"}, + {684,"Evt_Admin__DumpRareTiers_ID"}, + {685,"Evt_Admin__QueryPluginList_ID"}, + {686,"Evt_Admin__Recv_QueryPluginList_ID"}, + {687,"Evt_Admin__QueryPluginListResponse_ID"}, + {688,"Evt_Admin__QueryPlugin_ID"}, + {689,"Evt_Admin__Recv_QueryPlugin_ID"}, + {690,"Evt_Admin__QueryPluginResponse_ID"}, + {691,"Evt_Admin__Recv_QueryPluginResponse_ID"}, + {692,"Evt_Inventory__Recv_SalvageOperationsResultData_ID"}, + {693,"Evt_Admin__SetInt64_ID"}, + {694,"UPDATE_INT64_EVENT"}, + {695,"UPDATE_INT64_PRIVATE_EVENT"}, + {696,"Evt_Qualities__PrivateRemoveInt64Event_ID"}, + {697,"Evt_Qualities__RemoveInt64Event_ID"}, + {698,"Evt_Admin__RaiseLevel_ID"}, + {699,"Evt_Communication__HearSpeech_ID"}, + {700,"Evt_Communication__HearRangedSpeech_ID"}, + {701,"Evt_Communication__HearDirectSpeech_ID"}, + {702,"Evt_Fellowship__FullUpdate_ID"}, + {703,"Evt_Fellowship__Disband_ID"}, + {704,"Evt_Fellowship__UpdateFellow_ID"}, + {705,"Evt_Magic__UpdateSpell_ID"}, + {706,"Evt_Magic__UpdateEnchantment_ID"}, + {707,"Evt_Magic__RemoveEnchantment_ID"}, + {708,"Evt_Magic__UpdateMultipleEnchantments_ID"}, + {709,"Evt_Magic__RemoveMultipleEnchantments_ID"}, + {710,"Evt_Magic__PurgeEnchantments_ID"}, + {711,"Evt_Magic__DispelEnchantment_ID"}, + {712,"Evt_Magic__DispelMultipleEnchantments_ID"}, + {713,"Evt_Misc__PortalStormBrewing_ID"}, + {714,"Evt_Misc__PortalStormImminent_ID"}, + {715,"Evt_Misc__PortalStorm_ID"}, + {716,"Evt_Misc__PortalStormSubsided_ID"}, + {717,"Evt_Qualities__PrivateUpdateInt_ID"}, + {718,"Evt_Qualities__UpdateInt_ID"}, + {719,"Evt_Qualities__PrivateUpdateInt64_ID"}, + {720,"Evt_Qualities__UpdateInt64_ID"}, + {721,"Evt_Qualities__PrivateUpdateBool_ID"}, + {722,"Evt_Qualities__UpdateBool_ID"}, + {723,"Evt_Qualities__PrivateUpdateFloat_ID"}, + {724,"Evt_Qualities__UpdateFloat_ID"}, + {725,"Evt_Qualities__PrivateUpdateString_ID"}, + {726,"Evt_Qualities__UpdateString_ID"}, + {727,"Evt_Qualities__PrivateUpdateDataID_ID"}, + {728,"Evt_Qualities__UpdateDataID_ID"}, + {729,"Evt_Qualities__PrivateUpdateInstanceID_ID"}, + {730,"Evt_Qualities__UpdateInstanceID_ID"}, + {731,"Evt_Qualities__PrivateUpdatePosition_ID"}, + {732,"Evt_Qualities__UpdatePosition_ID"}, + {733,"Evt_Qualities__PrivateUpdateSkill_ID"}, + {734,"Evt_Qualities__UpdateSkill_ID"}, + {735,"Evt_Qualities__PrivateUpdateSkillLevel_ID"}, + {736,"Evt_Qualities__UpdateSkillLevel_ID"}, + {737,"Evt_Qualities__PrivateUpdateSkillAC_ID"}, + {738,"Evt_Qualities__UpdateSkillAC_ID"}, + {739,"Evt_Qualities__PrivateUpdateAttribute_ID"}, + {740,"Evt_Qualities__UpdateAttribute_ID"}, + {741,"Evt_Qualities__PrivateUpdateAttributeLevel_ID"}, + {742,"Evt_Qualities__UpdateAttributeLevel_ID"}, + {743,"Evt_Qualities__PrivateUpdateAttribute2nd_ID"}, + {744,"Evt_Qualities__UpdateAttribute2nd_ID"}, + {745,"Evt_Qualities__PrivateUpdateAttribute2ndLevel_ID"}, + {746,"Evt_Qualities__UpdateAttribute2ndLevel_ID"}, + {747,"Evt_Communication__TransientString_ID"}, + {780,"Evt_Admin__ForceRenameCharacter_ID"}, + {781,"Evt_Admin__GagTime_ID"}, + {782,"Evt_Admin__AddRenameToken_ID"}, + {783,"Evt_Character__Rename_ID"}, + {785,"Evt_Character__FinishBarber_ID"}, + {786,"Evt_Magic__PurgeBadEnchantments_ID"}, + {788,"Evt_Social__SendClientContractTrackerTable_ID"}, + {789,"Evt_Social__SendClientContractTracker_ID"}, + {790,"Evt_Social__AbandonContract_ID"}, + {60000,"Evt_Admin__Environs_ID"}, + {63001,"Evt_Movement__PositionAndMovement"}, + {63003,"Evt_Movement__Jump_ID"}, + {63004,"Evt_Movement__MoveToState_ID"}, + {63006,"Evt_Movement__DoMovementCommand_ID"}, + {63013,"Evt_Physics__ObjDescEvent_ID"}, + {63024,"USER_ALERT_EVENT"}, + {63043,"CHARACTER_GENERATION_VERIFICATION_RESPONSE_EVENT"}, + {63048,"Evt_Movement__TurnEvent_ID"}, + {63049,"Evt_Movement__TurnToEvent_ID"}, + {63057,"EXPIRE_WARNING_EVENT"}, + {63059,"CHARACTER_EXIT_GAME_EVENT"}, + {63060,"CHARACTER_PREVIEW_EVENT"}, + {63061,"CHARACTER_DELETE_EVENT"}, + {63062,"CHARACTER_CREATE_EVENT"}, + {63063,"CHARACTER_ENTER_GAME_EVENT"}, + {63064,"Evt_Login__CharacterSet_ID"}, + {63065,"CHARACTER_ERROR_EVENT"}, + {63066,"SYSTEM_MESSAGES_EVENT"}, + {63073,"Evt_Movement__StopMovementCommand_ID"}, + {63131,"ADMIN_RECV_PLAYER_DATA_EVENT"}, + {63210,"CONTROL_FORCE_OBJDESC_SEND_EVENT"}, + {63301,"Evt_Physics__CreateObject_ID"}, + {63302,"Evt_Physics__CreatePlayer_ID"}, + {63303,"Evt_Physics__DeleteObject_ID"}, + {63304,"Evt_Movement__UpdatePosition_ID"}, + {63305,"Evt_Physics__ParentEvent_ID"}, + {63306,"Evt_Physics__PickupEvent_ID"}, + {63307,"Evt_Physics__SetState_ID"}, + {63308,"Evt_Movement__MovementEvent_ID"}, + {63310,"Evt_Physics__VectorUpdate_ID"}, + {63312,"Evt_Physics__SoundEvent_ID"}, + {63313,"Evt_Physics__PlayerTeleport_ID"}, + {63314,"Evt_Movement__AutonomyLevel_ID"}, + {63315,"Evt_Movement__AutonomousPosition_ID"}, + {63316,"Evt_Physics__PlayScriptID_ID"}, + {63317,"Evt_Physics__PlayScriptType_ID"}, + {63333,"LBDB_STATUS_CLIENT_EVENT"}, + {63400,"CLIDAT_REQUEST_DATA_EVENT"}, + {63401,"CLIDAT_REQUEST_CELL_EVENT"}, + {63402,"CLIDAT_ERROR_EVENT"}, + {63403,"CLIDAT_LANDBLOCK_EVENT"}, + {63404,"CLIDAT_CELL_EVENT"}, + {63408,"WEENIE_ORDERED_EVENT"}, + {63409,"ORDERED_EVENT"}, + {63415,"CLIDAT_DATA_EVENT"}, + {63419,"CLIDAT_CELL_PURGE_EVENT"}, + {63425,"ACCOUNT_BANNED_EVENT"}, + {63426,"CLIENT_LOGON_SERVER_EVENT"}, + {63431,"CHARDB_READY_TO_ENTER_GAME_EVENT"}, + {63432,"CLIENT_REQUEST_ENTER_GAME_EVENT"}, + {63433,"Evt_Movement__Jump_NonAutonomous_ID"}, + {63434,"Evt_Admin__ReceiveAccountData_ID"}, + {63435,"Evt_Admin__ReceivePlayerData_ID"}, + {63436,"Evt_Admin__GetServerVersion_ID"}, + {63437,"Evt_Admin__Friends_ID"}, + {63438,"Evt_Admin__ReloadSystemMessages_ID"}, + {63439,"Evt_Admin__SetUserLimit_ID"}, + {63440,"Evt_Admin__SetLoadBalanceInterval_ID"}, + {63441,"Evt_Admin__SetLoadBalanceThreshold_ID"}, + {63442,"Evt_Admin__SetPortalStormThreshold_ID"}, + {63443,"Evt_Admin__SetPortalStormNumToMove_ID"}, + {63444,"Evt_Admin__FingerCharacter_ID"}, + {63445,"Evt_Admin__FingerAccount_ID"}, + {63446,"Evt_Admin__AdminLevelList_ID"}, + {63447,"Evt_Admin__CopyCharacter_ID"}, + {63448,"Evt_Admin__AdminNextIDsList_ID"}, + {63449,"Evt_Admin__AdminRestoreCharacter_ID"}, + {63450,"Evt_Admin__QueryBannedList_ID"}, + {63451,"Evt_Physics__UpdateObject_ID"}, + {63452,"ACCOUNT_BOOTED_EVENT"}, + {63453,"Evt_Admin__ClearLocks_ID"}, + {63454,"Evt_Admin__ChatServerData_ID"}, + {63455,"Evt_Character__EnterGame_ServerReady_ID"}, + {63456,"Evt_Communication__TextboxString_ID"}, + {63457,"Evt_Login__WorldInfo_ID"}, + {63458,"Evt_DDD__Data_ID"}, + {63459,"Evt_DDD__RequestData_ID"}, + {63460,"Evt_DDD__Error_ID"}, + {63461,"Evt_DDD__Interrogation_ID"}, + {63462,"Evt_DDD__InterrogationResponse_ID"}, + {63463,"Evt_DDD__BeginDDD_ID"}, + {63464,"Evt_DDD__BeginPullDDD_ID"}, + {63465,"Evt_DDD__IterationData_ID"}, + {63466,"Evt_DDD__EndDDD_ID"}, + }; + } +} diff --git a/Source/ACE.Server/Command/Handlers/DeveloperContentCommands.cs b/Source/ACE.Server/Command/Handlers/DeveloperContentCommands.cs index 16f30ef8e8..63b1a1efa3 100644 --- a/Source/ACE.Server/Command/Handlers/DeveloperContentCommands.cs +++ b/Source/ACE.Server/Command/Handlers/DeveloperContentCommands.cs @@ -1996,6 +1996,7 @@ public static void ExportSQLWeenie(Session session, string param) WeenieSQLWriter.SpellNames = DatabaseManager.World.GetAllSpellNames(); WeenieSQLWriter.TreasureDeath = DatabaseManager.World.GetAllTreasureDeath(); WeenieSQLWriter.TreasureWielded = DatabaseManager.World.GetAllTreasureWielded(); + WeenieSQLWriter.PacketOpCodes = PacketOpCodeNames.Values; } var sql_filename = WeenieSQLWriter.GetDefaultFileName(weenie);