Core/DataStores: Updated db2 structures to 11.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0352ef78ed93e18a869652e628345bc660f252b)
This commit is contained in:
@@ -449,14 +449,14 @@ namespace Game.DataStorage
|
||||
}
|
||||
|
||||
// Check loaded DB2 files proper version
|
||||
if (!AreaTableStorage.ContainsKey(15786) || // last area added in 11.0.2 (56647)
|
||||
!CharTitlesStorage.ContainsKey(854) || // last char title added in 11.0.2 (56647)
|
||||
if (!AreaTableStorage.ContainsKey(15913) || // last area added in 11.0.5 (57171)
|
||||
!CharTitlesStorage.ContainsKey(871) || // last char title added in 11.0.5 (57171)
|
||||
!FlightCapabilityStorage.ContainsKey(1) || // default flight capability (required)
|
||||
!GemPropertiesStorage.ContainsKey(4251) || // last gem property added in 11.0.2 (56647)
|
||||
!ItemStorage.ContainsKey(232498) || // last item added in 11.0.2 (56647)
|
||||
!ItemExtendedCostStorage.ContainsKey(9369) || // last item extended cost added in 11.0.2 (56647)
|
||||
!MapStorage.ContainsKey(2786) || // last map added in 11.0.2 (56647)
|
||||
!SpellNameStorage.ContainsKey(471174)) // last spell added in 11.0.2 (56647)
|
||||
!GemPropertiesStorage.ContainsKey(4251) || // last gem property added in 11.0.5 (57171)
|
||||
!ItemStorage.ContainsKey(233014) || // last item added in 11.0.5 (57171)
|
||||
!ItemExtendedCostStorage.ContainsKey(9647) || // last item extended cost added in 11.0.5 (57171)
|
||||
!MapStorage.ContainsKey(2792) || // last map added in 11.0.5 (57171)
|
||||
!SpellNameStorage.ContainsKey(474722)) // last spell added in 11.0.5 (57171)
|
||||
{
|
||||
Log.outFatal(LogFilter.ServerLoading, "You have _outdated_ DB2 files. Please extract correct versions from current using client.");
|
||||
Environment.Exit(1);
|
||||
|
||||
@@ -122,8 +122,8 @@ namespace Game.DataStorage
|
||||
public sealed class BroadcastTextDurationRecord
|
||||
{
|
||||
public uint Id;
|
||||
public uint BroadcastTextID;
|
||||
public int Locale;
|
||||
public int Duration;
|
||||
public uint BroadcastTextID;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,8 +196,6 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public ushort SecondaryID;
|
||||
public int Flags;
|
||||
public int ChrRacesID;
|
||||
public int Sex;
|
||||
public uint ChrModelID;
|
||||
public int SortIndex;
|
||||
public int ChrCustomizationCategoryID;
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace Game.DataStorage
|
||||
public uint GroupSizeHealthCurveID;
|
||||
public uint GroupSizeDmgCurveID;
|
||||
public uint GroupSizeSpellPointsCurveID;
|
||||
public int Unknown1105;
|
||||
|
||||
public bool HasFlag(DifficultyFlags difficultyFlags) { return (Flags & (ushort)difficultyFlags) != 0; }
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace Game.DataStorage
|
||||
public ushort BonusReputationAmount;
|
||||
public ushort MentorItemLevel;
|
||||
public byte MentorCharLevel;
|
||||
public byte MaxPremadeGroupSize;
|
||||
public uint ContentTuningID;
|
||||
public LfgFlags[] Flags = new LfgFlags[2];
|
||||
|
||||
|
||||
@@ -446,7 +446,7 @@ namespace Game.DataStorage
|
||||
public sealed class SpellMiscRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int[] Attributes = new int[15];
|
||||
public int[] Attributes = new int[16];
|
||||
public byte DifficultyID;
|
||||
public ushort CastingTimeIndex;
|
||||
public ushort DurationIndex;
|
||||
|
||||
Reference in New Issue
Block a user