Core: Updated to 11.0.7

Port From (https://github.com/TrinityCore/TrinityCore/commit/4f7079f471401d5cf7885351baabc027813f60f5)
This commit is contained in:
Hondacrx
2025-05-18 19:05:48 -04:00
parent 2448c07600
commit 5b992859d0
32 changed files with 1669 additions and 1429 deletions
+2 -1
View File
@@ -1085,7 +1085,7 @@ namespace Framework.Constants
Unk26 = 0x80000000 // ?
}
public enum ItemFieldFlags2
public enum ItemZoneFlags
{
Equipped = 0x1
}
@@ -1372,6 +1372,7 @@ namespace Framework.Constants
CantDeleteInAccountBank = 127,// Items Must Be Moved Out Of The Warband Bank To Be Deleted.
BankNotAccessible = 128,// This Character Does Not Have Access To This Bank.
CantTradeAccountItem = 129,// You Can't Trade An Item From The Warband Bank.
AccountMoneyLocked = 130,// You cannot withdraw or deposit gold from the warband bank currently; please try again later.
}
public enum BankType
File diff suppressed because it is too large Load Diff
+8 -2
View File
@@ -926,7 +926,13 @@ namespace Framework.Constants
public enum PlayerDataFlag
{
ExploredZonesIndex = 1,
CharacterIndex = 2,
AccountIndex = 3
CharacterDataIndex = 2,
AccountDataIndex = 3,
CharacterTaxiNodesIndex = 4,
AccountTaxiNodesIndex = 5,
AccountCombinedQuestsIndex = 6,
AccountCombinedQuestRewardsIndex = 7,
CharacterContentpushIndex = 8,
CharacterQuestCompletedIndex = 9,
}
}
+357 -347
View File
@@ -2749,353 +2749,363 @@ namespace Framework.Constants
LfgJoinedWorldPvpQueue = 821,
LfgJoinedBattlefieldQueue = 822,
LfgJoinedList = 823,
LfgLeftQueue = 824,
LfgLeftList = 825,
LfgRoleCheckAborted = 826,
LfgReadyCheckAborted = 827,
LfgCantUseBattleground = 828,
LfgCantUseDungeons = 829,
LfgReasonTooManyLfg = 830,
LfgFarmLimit = 831,
LfgNoCrossFactionParties = 832,
InvalidTeleportLocation = 833,
TooFarToInteract = 834,
BattlegroundPlayersFromDifferentRealms = 835,
DifficultyChangeCooldownS = 836,
DifficultyChangeCombatCooldownS = 837,
DifficultyChangeWorldstate = 838,
DifficultyChangeEncounter = 839,
DifficultyChangeCombat = 840,
DifficultyChangePlayerBusy = 841,
DifficultyChangePlayerOnVehicle = 842,
DifficultyChangeAlreadyStarted = 843,
DifficultyChangeOtherHeroicS = 844,
DifficultyChangeHeroicInstanceAlreadyRunning = 845,
ArenaTeamPartySize = 846,
SoloShuffleWargameGroupSize = 847,
SoloShuffleWargameGroupComp = 848,
SoloRbgWargameGroupSize = 849,
SoloRbgWargameGroupComp = 850,
SoloMinItemLevel = 851,
PvpPlayerAbandoned = 852,
BattlegroundJoinGroupQueueWithoutHealer = 853,
QuestForceRemovedS = 854,
AttackNoActions = 855,
InRandomBg = 856,
InNonRandomBg = 857,
BnFriendSelf = 858,
BnFriendAlready = 859,
BnFriendBlocked = 860,
BnFriendListFull = 861,
BnFriendRequestSent = 862,
BnBroadcastThrottle = 863,
BgDeveloperOnly = 864,
CurrencySpellSlotMismatch = 865,
CurrencyNotTradable = 866,
RequiresExpansionS = 867,
QuestFailedSpell = 868,
TalentFailedUnspentTalentPoints = 869,
TalentFailedNotEnoughTalentsInPrimaryTree = 870,
TalentFailedNoPrimaryTreeSelected = 871,
TalentFailedCantRemoveTalent = 872,
TalentFailedUnknown = 873,
TalentFailedInCombat = 874,
TalentFailedInPvpMatch = 875,
TalentFailedInMythicPlus = 876,
WargameRequestFailure = 877,
RankRequiresAuthenticator = 878,
GuildBankVoucherFailed = 879,
WargameRequestSent = 880,
RequiresAchievementI = 881,
RefundResultExceedMaxCurrency = 882,
CantBuyQuantity = 883,
ItemIsBattlePayLocked = 884,
PartyAlreadyInBattlegroundQueue = 885,
PartyConfirmingBattlegroundQueue = 886,
BattlefieldTeamPartySize = 887,
InsuffTrackedCurrencyIs = 888,
NotOnTournamentRealm = 889,
GuildTrialAccountTrial = 890,
GuildTrialAccountVeteran = 891,
GuildUndeletableDueToLevel = 892,
CantDoThatInAGroup = 893,
GuildLeaderReplaced = 894,
TransmogrifyCantEquip = 895,
TransmogrifyInvalidItemType = 896,
TransmogrifyNotSoulbound = 897,
TransmogrifyInvalidSource = 898,
TransmogrifyInvalidDestination = 899,
TransmogrifyMismatch = 900,
TransmogrifyLegendary = 901,
TransmogrifySameItem = 902,
TransmogrifySameAppearance = 903,
TransmogrifyNotEquipped = 904,
VoidDepositFull = 905,
VoidWithdrawFull = 906,
VoidStorageWrapped = 907,
VoidStorageStackable = 908,
VoidStorageUnbound = 909,
VoidStorageRepair = 910,
VoidStorageCharges = 911,
VoidStorageQuest = 912,
VoidStorageConjured = 913,
VoidStorageMail = 914,
VoidStorageBag = 915,
VoidTransferStorageFull = 916,
VoidTransferInvFull = 917,
VoidTransferInternalError = 918,
VoidTransferItemInvalid = 919,
DifficultyDisabledInLfg = 920,
VoidStorageUnique = 921,
VoidStorageLoot = 922,
VoidStorageHoliday = 923,
VoidStorageDuration = 924,
VoidStorageLoadFailed = 925,
VoidStorageInvalidItem = 926,
VoidStorageAccountItem = 927,
ParentalControlsChatMuted = 928,
SorStartExperienceIncomplete = 929,
SorInvalidEmail = 930,
SorInvalidComment = 931,
ChallengeModeResetCooldownS = 932,
ChallengeModeResetKeystone = 933,
PetJournalAlreadyInLoadout = 934,
ReportSubmittedSuccessfully = 935,
ReportSubmissionFailed = 936,
SuggestionSubmittedSuccessfully = 937,
BugSubmittedSuccessfully = 938,
ChallengeModeEnabled = 939,
ChallengeModeDisabled = 940,
PetbattleCreateFailed = 941,
PetbattleNotHere = 942,
PetbattleNotHereOnTransport = 943,
PetbattleNotHereUnevenGround = 944,
PetbattleNotHereObstructed = 945,
PetbattleNotWhileInCombat = 946,
PetbattleNotWhileDead = 947,
PetbattleNotWhileFlying = 948,
PetbattleTargetInvalid = 949,
PetbattleTargetOutOfRange = 950,
PetbattleTargetNotCapturable = 951,
PetbattleNotATrainer = 952,
PetbattleDeclined = 953,
PetbattleInBattle = 954,
PetbattleInvalidLoadout = 955,
PetbattleAllPetsDead = 956,
PetbattleNoPetsInSlots = 957,
PetbattleNoAccountLock = 958,
PetbattleWildPetTapped = 959,
PetbattleRestrictedAccount = 960,
PetbattleOpponentNotAvailable = 961,
PetbattleNotWhileInMatchedBattle = 962,
CantHaveMorePetsOfThatType = 963,
CantHaveMorePets = 964,
PvpMapNotFound = 965,
PvpMapNotSet = 966,
PetbattleQueueQueued = 967,
PetbattleQueueAlreadyQueued = 968,
PetbattleQueueJoinFailed = 969,
PetbattleQueueJournalLock = 970,
PetbattleQueueRemoved = 971,
PetbattleQueueProposalDeclined = 972,
PetbattleQueueProposalTimeout = 973,
PetbattleQueueOpponentDeclined = 974,
PetbattleQueueRequeuedInternal = 975,
PetbattleQueueRequeuedRemoved = 976,
PetbattleQueueSlotLocked = 977,
PetbattleQueueSlotEmpty = 978,
PetbattleQueueSlotNoTracker = 979,
PetbattleQueueSlotNoSpecies = 980,
PetbattleQueueSlotCantBattle = 981,
PetbattleQueueSlotRevoked = 982,
PetbattleQueueSlotDead = 983,
PetbattleQueueSlotNoPet = 984,
PetbattleQueueNotWhileNeutral = 985,
PetbattleGameTimeLimitWarning = 986,
PetbattleGameRoundsLimitWarning = 987,
HasRestriction = 988,
ItemUpgradeItemTooLowLevel = 989,
ItemUpgradeNoPath = 990,
ItemUpgradeNoMoreUpgrades = 991,
BonusRollEmpty = 992,
ChallengeModeFull = 993,
ChallengeModeInProgress = 994,
ChallengeModeIncorrectKeystone = 995,
BattletagFriendNotFound = 996,
BattletagFriendNotValid = 997,
BattletagFriendNotAllowed = 998,
BattletagFriendThrottled = 999,
BattletagFriendSuccess = 1000,
PetTooHighLevelToUncage = 1001,
PetbattleInternal = 1002,
CantCagePetYet = 1003,
NoLootInChallengeMode = 1004,
QuestPetBattleVictoriesPvpIi = 1005,
RoleCheckAlreadyInProgress = 1006,
RecruitAFriendAccountLimit = 1007,
RecruitAFriendFailed = 1008,
SetLootPersonal = 1009,
SetLootMethodFailedCombat = 1010,
ReagentBankFull = 1011,
ReagentBankLocked = 1012,
GarrisonBuildingExists = 1013,
GarrisonInvalidPlot = 1014,
GarrisonInvalidBuildingid = 1015,
GarrisonInvalidPlotBuilding = 1016,
GarrisonRequiresBlueprint = 1017,
GarrisonNotEnoughCurrency = 1018,
GarrisonNotEnoughGold = 1019,
GarrisonCompleteMissionWrongFollowerType = 1020,
AlreadyUsingLfgList = 1021,
RestrictedAccountLfgListTrial = 1022,
ToyUseLimitReached = 1023,
ToyAlreadyKnown = 1024,
TransmogSetAlreadyKnown = 1025,
NotEnoughCurrency = 1026,
SpecIsDisabled = 1027,
FeatureRestrictedTrial = 1028,
CantBeObliterated = 1029,
CantBeScrapped = 1030,
CantBeRecrafted = 1031,
ArtifactRelicDoesNotMatchArtifact = 1032,
MustEquipArtifact = 1033,
CantDoThatRightNow = 1034,
AffectingCombat = 1035,
EquipmentManagerCombatSwapS = 1036,
EquipmentManagerBagsFull = 1037,
EquipmentManagerMissingItemS = 1038,
MovieRecordingWarningPerf = 1039,
MovieRecordingWarningDiskFull = 1040,
MovieRecordingWarningNoMovie = 1041,
MovieRecordingWarningRequirements = 1042,
MovieRecordingWarningCompressing = 1043,
NoChallengeModeReward = 1044,
ClaimedChallengeModeReward = 1045,
ChallengeModePeriodResetSs = 1046,
CantDoThatChallengeModeActive = 1047,
TalentFailedRestArea = 1048,
CannotAbandonLastPet = 1049,
TestCvarSetSss = 1050,
QuestTurnInFailReason = 1051,
ClaimedChallengeModeRewardOld = 1052,
TalentGrantedByAura = 1053,
ChallengeModeAlreadyComplete = 1054,
GlyphTargetNotAvailable = 1055,
PvpWarmodeToggleOn = 1056,
PvpWarmodeToggleOff = 1057,
SpellFailedLevelRequirement = 1058,
SpellFailedCantFlyHere = 1059,
BattlegroundJoinRequiresLevel = 1060,
BattlegroundJoinDisqualified = 1061,
BattlegroundJoinDisqualifiedNoName = 1062,
VoiceChatGenericUnableToConnect = 1063,
VoiceChatServiceLost = 1064,
VoiceChatChannelNameTooShort = 1065,
VoiceChatChannelNameTooLong = 1066,
VoiceChatChannelAlreadyExists = 1067,
VoiceChatTargetNotFound = 1068,
VoiceChatTooManyRequests = 1069,
VoiceChatPlayerSilenced = 1070,
VoiceChatParentalDisableAll = 1071,
VoiceChatDisabled = 1072,
NoPvpReward = 1073,
ClaimedPvpReward = 1074,
AzeriteEssenceSelectionFailedEssenceNotUnlocked = 1075,
AzeriteEssenceSelectionFailedCantRemoveEssence = 1076,
AzeriteEssenceSelectionFailedConditionFailed = 1077,
AzeriteEssenceSelectionFailedRestArea = 1078,
AzeriteEssenceSelectionFailedSlotLocked = 1079,
AzeriteEssenceSelectionFailedNotAtForge = 1080,
AzeriteEssenceSelectionFailedHeartLevelTooLow = 1081,
AzeriteEssenceSelectionFailedNotEquipped = 1082,
SocketingRequiresPunchcardredGem = 1083,
SocketingPunchcardredGemOnlyInPunchcardredslot = 1084,
SocketingRequiresPunchcardyellowGem = 1085,
SocketingPunchcardyellowGemOnlyInPunchcardyellowslot = 1086,
SocketingRequiresPunchcardblueGem = 1087,
SocketingPunchcardblueGemOnlyInPunchcardblueslot = 1088,
SocketingRequiresDominationShard = 1089,
SocketingDominationShardOnlyInDominationslot = 1090,
SocketingRequiresCypherGem = 1091,
SocketingCypherGemOnlyInCypherslot = 1092,
SocketingRequiresTinkerGem = 1093,
SocketingTinkerGemOnlyInTinkerslot = 1094,
SocketingRequiresPrimordialGem = 1095,
SocketingPrimordialGemOnlyInPrimordialslot = 1096,
SocketingRequiresFragranceGem = 1097,
SocketingFragranceGemOnlyInFragranceslot = 1098,
LevelLinkingResultLinked = 1099,
LevelLinkingResultUnlinked = 1100,
ClubFinderErrorPostClub = 1101,
ClubFinderErrorApplyClub = 1102,
ClubFinderErrorRespondApplicant = 1103,
ClubFinderErrorCancelApplication = 1104,
ClubFinderErrorTypeAcceptApplication = 1105,
ClubFinderErrorTypeNoInvitePermissions = 1106,
ClubFinderErrorTypeNoPostingPermissions = 1107,
ClubFinderErrorTypeApplicantList = 1108,
ClubFinderErrorTypeApplicantListNoPerm = 1109,
ClubFinderErrorTypeFinderNotAvailable = 1110,
ClubFinderErrorTypeGetPostingIds = 1111,
ClubFinderErrorTypeJoinApplication = 1112,
ClubFinderErrorTypeRealmNotEligible = 1113,
ClubFinderErrorTypeFlaggedRename = 1114,
ClubFinderErrorTypeFlaggedDescriptionChange = 1115,
ItemInteractionNotEnoughGold = 1116,
ItemInteractionNotEnoughCurrency = 1117,
ItemInteractionNoConversionOutput = 1118,
PlayerChoiceErrorPendingChoice = 1119,
SoulbindInvalidConduit = 1120,
SoulbindInvalidConduitItem = 1121,
SoulbindInvalidTalent = 1122,
SoulbindDuplicateConduit = 1123,
ActivateSoulbindS = 1124,
ActivateSoulbindFailedRestArea = 1125,
CantUseProfanity = 1126,
NotInPetBattle = 1127,
NotInNpe = 1128,
NoSpec = 1129,
NoDominationshardOverwrite = 1130,
UseWeeklyRewardsDisabled = 1131,
CrossFactionGroupJoined = 1132,
CantTargetUnfriendlyInOverworld = 1133,
EquipablespellsSlotsFull = 1134,
ItemModAppearanceGroupAlreadyKnown = 1135,
CantBulkSellItemWithRefund = 1136,
NoSoulboundItemInAccountBank = 1137,
NoRefundableItemInAccountBank = 1138,
CantDeleteInAccountBank = 1139,
NoImmediateContainerInAccountBank = 1140,
NoOpenImmediateContainerInAccountBank = 1141,
CantTradeAccountItem = 1142,
NoAccountInventoryLock = 1143,
BankNotAccessible = 1144,
TooManyAccountBankTabs = 1145,
AccountBankTabNotUnlocked = 1146,
BankTabInvalidName = 1147,
BankTabInvalidText = 1148,
WowLabsPartyErrorTypePartyIsFull = 1149,
WowLabsPartyErrorTypeMaxInviteSent = 1150,
WowLabsPartyErrorTypePlayerAlreadyInvited = 1151,
WowLabsPartyErrorTypePartyInviteInvalid = 1152,
WowLabsLobbyMatchmakerErrorEnterQueueFailed = 1153,
WowLabsLobbyMatchmakerErrorLeaveQueueFailed = 1154,
TargetIsSelfFoundCannotTrade = 1155,
PlayerIsSelfFoundCannotTrade = 1156,
MailRecepientIsSelfFoundCannotReceiveMail = 1157,
PlayerIsSelfFoundCannotSendMail = 1158,
PlayerIsSelfFoundCannotUseAuctionHouse = 1159,
MailTargetCannotReceiveMail = 1160,
RemixInvalidTransferRequest = 1161,
CurrencyTransferInvalidCharacter = 1162,
CurrencyTransferInvalidCurrency = 1163,
CurrencyTransferInsufficientCurrency = 1164,
CurrencyTransferMaxQuantity = 1165,
CurrencyTransferNoValidSource = 1166,
CurrencyTransferCharacterLoggedIn = 1167,
CurrencyTransferServerError = 1168,
CurrencyTransferUnmetRequirements = 1169,
CurrencyTransferTransactionInProgress = 1170,
QueuedPlunderstorm = 824,
LfgLeftQueue = 825,
LfgLeftList = 826,
LfgRoleCheckAborted = 827,
LfgReadyCheckAborted = 828,
LfgCantUseBattleground = 829,
LfgCantUseDungeons = 830,
LfgReasonTooManyLfg = 831,
LfgFarmLimit = 832,
LfgNoCrossFactionParties = 833,
InvalidTeleportLocation = 834,
TooFarToInteract = 835,
BattlegroundPlayersFromDifferentRealms = 836,
DifficultyChangeCooldownS = 837,
DifficultyChangeCombatCooldownS = 838,
DifficultyChangeWorldstate = 839,
DifficultyChangeEncounter = 840,
DifficultyChangeCombat = 841,
DifficultyChangePlayerBusy = 842,
DifficultyChangePlayerOnVehicle = 843,
DifficultyChangeAlreadyStarted = 844,
DifficultyChangeOtherHeroicS = 845,
DifficultyChangeHeroicInstanceAlreadyRunning = 846,
ArenaTeamPartySize = 847,
SoloShuffleWargameGroupSize = 848,
SoloShuffleWargameGroupComp = 849,
SoloRbgWargameGroupSize = 850,
SoloRbgWargameGroupComp = 851,
SoloMinItemLevel = 852,
PvpPlayerAbandoned = 853,
BattlegroundJoinGroupQueueWithoutHealer = 854,
QuestForceRemovedS = 855,
AttackNoActions = 856,
InRandomBg = 857,
InNonRandomBg = 858,
BnFriendSelf = 859,
BnFriendAlready = 860,
BnFriendBlocked = 861,
BnFriendListFull = 862,
BnFriendRequestSent = 863,
BnBroadcastThrottle = 864,
BgDeveloperOnly = 865,
CurrencySpellSlotMismatch = 866,
CurrencyNotTradable = 867,
RequiresExpansionS = 868,
QuestFailedSpell = 869,
TalentFailedUnspentTalentPoints = 870,
TalentFailedNotEnoughTalentsInPrimaryTree = 871,
TalentFailedNoPrimaryTreeSelected = 872,
TalentFailedCantRemoveTalent = 873,
TalentFailedUnknown = 874,
TalentFailedInCombat = 875,
TalentFailedInPvpMatch = 876,
TalentFailedInMythicPlus = 877,
WargameRequestFailure = 878,
RankRequiresAuthenticator = 879,
GuildBankVoucherFailed = 880,
WargameRequestSent = 881,
RequiresAchievementI = 882,
RefundResultExceedMaxCurrency = 883,
CantBuyQuantity = 884,
ItemIsBattlePayLocked = 885,
PartyAlreadyInBattlegroundQueue = 886,
PartyConfirmingBattlegroundQueue = 887,
BattlefieldTeamPartySize = 888,
InsuffTrackedCurrencyIs = 889,
NotOnTournamentRealm = 890,
GuildTrialAccountTrial = 891,
GuildTrialAccountVeteran = 892,
GuildUndeletableDueToLevel = 893,
CantDoThatInAGroup = 894,
GuildLeaderReplaced = 895,
TransmogrifyCantEquip = 896,
TransmogrifyInvalidItemType = 897,
TransmogrifyNotSoulbound = 898,
TransmogrifyInvalidSource = 899,
TransmogrifyInvalidDestination = 900,
TransmogrifyMismatch = 901,
TransmogrifyLegendary = 902,
TransmogrifySameItem = 903,
TransmogrifySameAppearance = 904,
TransmogrifyNotEquipped = 905,
VoidDepositFull = 906,
VoidWithdrawFull = 907,
VoidStorageWrapped = 908,
VoidStorageStackable = 909,
VoidStorageUnbound = 910,
VoidStorageRepair = 911,
VoidStorageCharges = 912,
VoidStorageQuest = 913,
VoidStorageConjured = 914,
VoidStorageMail = 915,
VoidStorageBag = 916,
VoidTransferStorageFull = 917,
VoidTransferInvFull = 918,
VoidTransferInternalError = 919,
VoidTransferItemInvalid = 920,
DifficultyDisabledInLfg = 921,
VoidStorageUnique = 922,
VoidStorageLoot = 923,
VoidStorageHoliday = 924,
VoidStorageDuration = 925,
VoidStorageLoadFailed = 926,
VoidStorageInvalidItem = 927,
VoidStorageAccountItem = 928,
ParentalControlsChatMuted = 929,
SorStartExperienceIncomplete = 930,
SorInvalidEmail = 931,
SorInvalidComment = 932,
ChallengeModeResetCooldownS = 933,
ChallengeModeResetKeystone = 934,
PetJournalAlreadyInLoadout = 935,
ReportSubmittedSuccessfully = 936,
ReportSubmissionFailed = 937,
SuggestionSubmittedSuccessfully = 938,
BugSubmittedSuccessfully = 939,
ChallengeModeEnabled = 940,
ChallengeModeDisabled = 941,
PetbattleCreateFailed = 942,
PetbattleNotHere = 943,
PetbattleNotHereOnTransport = 944,
PetbattleNotHereUnevenGround = 945,
PetbattleNotHereObstructed = 946,
PetbattleNotWhileInCombat = 947,
PetbattleNotWhileDead = 948,
PetbattleNotWhileFlying = 949,
PetbattleTargetInvalid = 950,
PetbattleTargetOutOfRange = 951,
PetbattleTargetNotCapturable = 952,
PetbattleNotATrainer = 953,
PetbattleDeclined = 954,
PetbattleInBattle = 955,
PetbattleInvalidLoadout = 956,
PetbattleAllPetsDead = 957,
PetbattleNoPetsInSlots = 958,
PetbattleNoAccountLock = 959,
PetbattleWildPetTapped = 960,
PetbattleRestrictedAccount = 961,
PetbattleOpponentNotAvailable = 962,
PetbattleNotWhileInMatchedBattle = 963,
CantHaveMorePetsOfThatType = 964,
CantHaveMorePets = 965,
PvpMapNotFound = 966,
PvpMapNotSet = 967,
PetbattleQueueQueued = 968,
PetbattleQueueAlreadyQueued = 969,
PetbattleQueueJoinFailed = 970,
PetbattleQueueJournalLock = 971,
PetbattleQueueRemoved = 972,
PetbattleQueueProposalDeclined = 973,
PetbattleQueueProposalTimeout = 974,
PetbattleQueueOpponentDeclined = 975,
PetbattleQueueRequeuedInternal = 976,
PetbattleQueueRequeuedRemoved = 977,
PetbattleQueueSlotLocked = 978,
PetbattleQueueSlotEmpty = 979,
PetbattleQueueSlotNoTracker = 980,
PetbattleQueueSlotNoSpecies = 981,
PetbattleQueueSlotCantBattle = 982,
PetbattleQueueSlotRevoked = 983,
PetbattleQueueSlotDead = 984,
PetbattleQueueSlotNoPet = 985,
PetbattleQueueNotWhileNeutral = 986,
PetbattleGameTimeLimitWarning = 987,
PetbattleGameRoundsLimitWarning = 988,
HasRestriction = 989,
ItemUpgradeItemTooLowLevel = 990,
ItemUpgradeNoPath = 991,
ItemUpgradeNoMoreUpgrades = 992,
BonusRollEmpty = 993,
ChallengeModeFull = 994,
ChallengeModeInProgress = 995,
ChallengeModeIncorrectKeystone = 996,
BattletagFriendNotFound = 997,
BattletagFriendNotValid = 998,
BattletagFriendNotAllowed = 999,
BattletagFriendThrottled = 1000,
BattletagFriendSuccess = 1001,
PetTooHighLevelToUncage = 1002,
PetbattleInternal = 1003,
CantCagePetYet = 1004,
NoLootInChallengeMode = 1005,
QuestPetBattleVictoriesPvpIi = 1006,
RoleCheckAlreadyInProgress = 1007,
RecruitAFriendAccountLimit = 1008,
RecruitAFriendFailed = 1009,
SetLootPersonal = 1010,
SetLootMethodFailedCombat = 1011,
ReagentBankFull = 1012,
ReagentBankLocked = 1013,
GarrisonBuildingExists = 1014,
GarrisonInvalidPlot = 1015,
GarrisonInvalidBuildingid = 1016,
GarrisonInvalidPlotBuilding = 1017,
GarrisonRequiresBlueprint = 1018,
GarrisonNotEnoughCurrency = 1019,
GarrisonNotEnoughGold = 1020,
GarrisonCompleteMissionWrongFollowerType = 1021,
AlreadyUsingLfgList = 1022,
RestrictedAccountLfgListTrial = 1023,
ToyUseLimitReached = 1024,
ToyAlreadyKnown = 1025,
TransmogSetAlreadyKnown = 1026,
NotEnoughCurrency = 1027,
SpecIsDisabled = 1028,
FeatureRestrictedTrial = 1029,
CantBeObliterated = 1030,
CantBeScrapped = 1031,
CantBeRecrafted = 1032,
ArtifactRelicDoesNotMatchArtifact = 1033,
MustEquipArtifact = 1034,
CantDoThatRightNow = 1035,
AffectingCombat = 1036,
EquipmentManagerCombatSwapS = 1037,
EquipmentManagerBagsFull = 1038,
EquipmentManagerMissingItemS = 1039,
MovieRecordingWarningPerf = 1040,
MovieRecordingWarningDiskFull = 1041,
MovieRecordingWarningNoMovie = 1042,
MovieRecordingWarningRequirements = 1043,
MovieRecordingWarningCompressing = 1044,
NoChallengeModeReward = 1045,
ClaimedChallengeModeReward = 1046,
ChallengeModePeriodResetSs = 1047,
CantDoThatChallengeModeActive = 1048,
TalentFailedRestArea = 1049,
CannotAbandonLastPet = 1050,
TestCvarSetSss = 1051,
QuestTurnInFailReason = 1052,
ClaimedChallengeModeRewardOld = 1053,
TalentGrantedByAura = 1054,
ChallengeModeAlreadyComplete = 1055,
GlyphTargetNotAvailable = 1056,
PvpWarmodeToggleOn = 1057,
PvpWarmodeToggleOff = 1058,
SpellFailedLevelRequirement = 1059,
SpellFailedCantFlyHere = 1060,
BattlegroundJoinRequiresLevel = 1061,
BattlegroundJoinDisqualified = 1062,
BattlegroundJoinDisqualifiedNoName = 1063,
VoiceChatGenericUnableToConnect = 1064,
VoiceChatServiceLost = 1065,
VoiceChatChannelNameTooShort = 1066,
VoiceChatChannelNameTooLong = 1067,
VoiceChatChannelAlreadyExists = 1068,
VoiceChatTargetNotFound = 1069,
VoiceChatTooManyRequests = 1070,
VoiceChatPlayerSilenced = 1071,
VoiceChatParentalDisableAll = 1072,
VoiceChatDisabled = 1073,
NoPvpReward = 1074,
ClaimedPvpReward = 1075,
AzeriteEssenceSelectionFailedEssenceNotUnlocked = 1076,
AzeriteEssenceSelectionFailedCantRemoveEssence = 1077,
AzeriteEssenceSelectionFailedConditionFailed = 1078,
AzeriteEssenceSelectionFailedRestArea = 1079,
AzeriteEssenceSelectionFailedSlotLocked = 1080,
AzeriteEssenceSelectionFailedNotAtForge = 1081,
AzeriteEssenceSelectionFailedHeartLevelTooLow = 1082,
AzeriteEssenceSelectionFailedNotEquipped = 1083,
SocketingRequiresPunchcardredGem = 1084,
SocketingPunchcardredGemOnlyInPunchcardredslot = 1085,
SocketingRequiresPunchcardyellowGem = 1086,
SocketingPunchcardyellowGemOnlyInPunchcardyellowslot = 1087,
SocketingRequiresPunchcardblueGem = 1088,
SocketingPunchcardblueGemOnlyInPunchcardblueslot = 1089,
SocketingRequiresDominationShard = 1090,
SocketingDominationShardOnlyInDominationslot = 1091,
SocketingRequiresCypherGem = 1092,
SocketingCypherGemOnlyInCypherslot = 1093,
SocketingRequiresTinkerGem = 1094,
SocketingTinkerGemOnlyInTinkerslot = 1095,
SocketingRequiresPrimordialGem = 1096,
SocketingPrimordialGemOnlyInPrimordialslot = 1097,
SocketingRequiresFragranceGem = 1098,
SocketingFragranceGemOnlyInFragranceslot = 1099,
SocketingRequiresSingingThunderGem = 1100,
SocketingSingingthunderGemOnlyInSingingthunderslot = 1101,
SocketingRequiresSingingSeaGem = 1102,
SocketingSingingseaGemOnlyInSingingseaslot = 1103,
SocketingRequiresSingingWindGem = 1104,
SocketingSingingwindGemOnlyInSingingwindslot = 1105,
LevelLinkingResultLinked = 1106,
LevelLinkingResultUnlinked = 1107,
ClubFinderErrorPostClub = 1108,
ClubFinderErrorApplyClub = 1109,
ClubFinderErrorRespondApplicant = 1110,
ClubFinderErrorCancelApplication = 1111,
ClubFinderErrorTypeAcceptApplication = 1112,
ClubFinderErrorTypeNoInvitePermissions = 1113,
ClubFinderErrorTypeNoPostingPermissions = 1114,
ClubFinderErrorTypeApplicantList = 1115,
ClubFinderErrorTypeApplicantListNoPerm = 1116,
ClubFinderErrorTypeFinderNotAvailable = 1117,
ClubFinderErrorTypeGetPostingIds = 1118,
ClubFinderErrorTypeJoinApplication = 1119,
ClubFinderErrorTypeRealmNotEligible = 1120,
ClubFinderErrorTypeFlaggedRename = 1121,
ClubFinderErrorTypeFlaggedDescriptionChange = 1122,
ItemInteractionNotEnoughGold = 1123,
ItemInteractionNotEnoughCurrency = 1124,
ItemInteractionNoConversionOutput = 1125,
PlayerChoiceErrorPendingChoice = 1126,
SoulbindInvalidConduit = 1127,
SoulbindInvalidConduitItem = 1128,
SoulbindInvalidTalent = 1129,
SoulbindDuplicateConduit = 1130,
ActivateSoulbindS = 1131,
ActivateSoulbindFailedRestArea = 1132,
CantUseProfanity = 1133,
NotInPetBattle = 1134,
NotInNpe = 1135,
NoSpec = 1136,
NoDominationshardOverwrite = 1137,
UseWeeklyRewardsDisabled = 1138,
CrossFactionGroupJoined = 1139,
CantTargetUnfriendlyInOverworld = 1140,
EquipablespellsSlotsFull = 1141,
ItemModAppearanceGroupAlreadyKnown = 1142,
CantBulkSellItemWithRefund = 1143,
NoSoulboundItemInAccountBank = 1144,
NoRefundableItemInAccountBank = 1145,
CantDeleteInAccountBank = 1146,
NoImmediateContainerInAccountBank = 1147,
NoOpenImmediateContainerInAccountBank = 1148,
CantTradeAccountItem = 1149,
NoAccountInventoryLock = 1150,
BankNotAccessible = 1151,
TooManyAccountBankTabs = 1152,
AccountBankTabNotUnlocked = 1153,
AccountMoneyLocked = 1154,
BankTabInvalidName = 1155,
BankTabInvalidText = 1156,
WowLabsPartyErrorTypePartyIsFull = 1157,
WowLabsPartyErrorTypeMaxInviteSent = 1158,
WowLabsPartyErrorTypePlayerAlreadyInvited = 1159,
WowLabsPartyErrorTypePartyInviteInvalid = 1160,
WowLabsLobbyMatchmakerErrorEnterQueueFailed = 1161,
WowLabsLobbyMatchmakerErrorLeaveQueueFailed = 1162,
WowLabsSetWowLabsAreaIdFailed = 1163,
PlunderstormCannotQueue = 1164,
TargetIsSelfFoundCannotTrade = 1165,
PlayerIsSelfFoundCannotTrade = 1166,
MailRecepientIsSelfFoundCannotReceiveMail = 1167,
PlayerIsSelfFoundCannotSendMail = 1168,
PlayerIsSelfFoundCannotUseAuctionHouse = 1169,
MailTargetCannotReceiveMail = 1170,
RemixInvalidTransferRequest = 1171,
CurrencyTransferInvalidCharacter = 1172,
CurrencyTransferInvalidCurrency = 1173,
CurrencyTransferInsufficientCurrency = 1174,
CurrencyTransferMaxQuantity = 1175,
CurrencyTransferNoValidSource = 1176,
CurrencyTransferCharacterLoggedIn = 1177,
CurrencyTransferServerError = 1178,
CurrencyTransferUnmetRequirements = 1179,
CurrencyTransferTransactionInProgress = 1180,
}
public enum SceneFlags
@@ -2618,6 +2618,13 @@ namespace Framework.Constants
Unk331 = 331,
Unk332 = 332,
Unk333 = 333,
Unk334 = 334,
Unk335 = 335,
Unk336 = 336,
Unk337 = 337,
Unk338 = 338,
Unk339 = 339,
Unk340 = 340,
TotalSpellEffects
}
@@ -5,16 +5,16 @@ using System.Security.Cryptography;
namespace Framework.Cryptography
{
public class SessionKeyGenerator256
public class SessionKeyGenerator512
{
public SessionKeyGenerator256(byte[] buff, int size = 0)
public SessionKeyGenerator512(byte[] buff, int size = 0)
{
if (size == 0)
size = buff.Length;
int halfSize = size / 2;
sh = SHA256.Create();
sh = SHA512.Create();
sh.TransformFinalBlock(buff, 0, halfSize);
o1 = sh.Hash;
@@ -48,7 +48,7 @@ namespace Framework.Cryptography
taken = 0;
}
SHA256 sh;
SHA512 sh;
uint taken;
byte[] o0 = new byte[32];
byte[] o1 = new byte[32];
+81
View File
@@ -52,6 +52,51 @@ namespace Framework.Cryptography
public byte[] Digest { get; private set; }
}
public class Sha512
{
public Sha512()
{
sha = SHA512.Create();
sha.Initialize();
}
public void Process(byte[] data, int length)
{
sha.TransformBlock(data, 0, length, data, 0);
}
public void Process(uint data)
{
var bytes = BitConverter.GetBytes(data);
sha.TransformBlock(bytes, 0, 4, bytes, 0);
}
public void Process(string data)
{
var bytes = Encoding.UTF8.GetBytes(data);
sha.TransformBlock(bytes, 0, bytes.Length, bytes, 0);
}
public void Finish(byte[] data)
{
sha.TransformFinalBlock(data, 0, data.Length);
Digest = sha.Hash;
}
public void Finish(byte[] data, int offset, int length)
{
sha.TransformFinalBlock(data, offset, length);
Digest = sha.Hash;
}
SHA512 sha;
public byte[] Digest { get; private set; }
}
public class HmacHash : HMACSHA1
{
public HmacHash(byte[] key) : base(key)
@@ -132,4 +177,40 @@ namespace Framework.Cryptography
public byte[] Digest { get; private set; }
}
public class HmacSha512 : HMACSHA512
{
public HmacSha512(byte[] key) : base(key)
{
Initialize();
}
public void Process(byte[] data, int length)
{
TransformBlock(data, 0, length, data, 0);
}
public void Process(uint data)
{
var bytes = BitConverter.GetBytes(data);
TransformBlock(bytes, 0, bytes.Length, bytes, 0);
}
public void Process(string data)
{
var bytes = Encoding.ASCII.GetBytes(data);
TransformBlock(bytes, 0, bytes.Length, bytes, 0);
}
public void Finish(byte[] data, int length)
{
TransformFinalBlock(data, 0, length);
Digest = Hash;
}
public byte[] Digest { get; private set; }
}
}
@@ -895,8 +895,9 @@ namespace Framework.Database
// LfgDungeons.db2
PrepareStatement(HotfixStatements.SEL_LFG_DUNGEONS, "SELECT ID, Name, Description, TypeID, Subtype, Faction, IconTextureFileID, RewardsBgTextureFileID, " +
"PopupBgTextureFileID, ExpansionLevel, MapID, DifficultyID, MinGear, GroupID, OrderIndex, RequiredPlayerConditionId, RandomID, ScenarioID, " +
"FinalEncounterID, CountTank, CountHealer, CountDamage, MinCountTank, MinCountHealer, MinCountDamage, BonusReputationAmount, MentorItemLevel, " +
"MentorCharLevel, MaxPremadeGroupSize, ContentTuningID, Flags1, Flags2 FROM lfg_dungeons WHERE (`VerifiedBuild` > 0) = ?");
"FinalEncounterID, CountTank, CountHealer, CountDamage, MinCountTank, MinCountHealer, MinCountDamage, MaxPremadeCountTank, " +
"MaxPremadeCountHealer, MaxPremadeCountDamage, BonusReputationAmount, MentorItemLevel, MentorCharLevel, MaxPremadeGroupSize, ContentTuningID, " +
"Flags1, Flags2 FROM lfg_dungeons WHERE (`VerifiedBuild` > 0) = ?");
PrepareStatement(HotfixStatements.SEL_LFG_DUNGEONS_LOCALE, "SELECT ID, Name_lang, Description_lang FROM lfg_dungeons_locale WHERE (`VerifiedBuild` > 0) = ?" +
" AND locale = ?");
@@ -940,7 +941,7 @@ namespace Framework.Database
" AND locale = ?");
// MapDifficulty.db2
PrepareStatement(HotfixStatements.SEL_MAP_DIFFICULTY, "SELECT ID, Message, DifficultyID, LockID, ResetInterval, MaxPlayers, ItemContext, " +
PrepareStatement(HotfixStatements.SEL_MAP_DIFFICULTY, "SELECT Message, ID, DifficultyID, LockID, ResetInterval, MaxPlayers, ItemContext, " +
"ItemContextPickerID, Flags, ContentTuningID, WorldStateExpressionID, MapID FROM map_difficulty WHERE (`VerifiedBuild` > 0) = ?");
PrepareStatement(HotfixStatements.SEL_MAP_DIFFICULTY_LOCALE, "SELECT ID, Message_lang FROM map_difficulty_locale WHERE (`VerifiedBuild` > 0) = ? AND locale = ?");
@@ -1028,8 +1029,8 @@ namespace Framework.Database
PrepareStatement(HotfixStatements.SEL_PHASE_X_PHASE_GROUP, "SELECT ID, PhaseID, PhaseGroupID FROM phase_x_phase_group WHERE (`VerifiedBuild` > 0) = ?");
// PlayerCondition.db2
PrepareStatement(HotfixStatements.SEL_PLAYER_CONDITION, "SELECT ID, RaceMask, FailureDescription, ClassMask, SkillLogic, LanguageID, MinLanguage, " +
"MaxLanguage, MaxFactionID, MaxReputation, ReputationLogic, CurrentPvpFaction, PvpMedal, PrevQuestLogic, CurrQuestLogic, " +
PrepareStatement(HotfixStatements.SEL_PLAYER_CONDITION, "SELECT ID, RaceMask, FailureDescription, MinLevel, MaxLevel, ClassMask, SkillLogic, LanguageID, " +
"MinLanguage, MaxLanguage, MaxFactionID, MaxReputation, ReputationLogic, CurrentPvpFaction, PvpMedal, PrevQuestLogic, CurrQuestLogic, " +
"CurrentCompletedQuestLogic, SpellLogic, ItemLogic, ItemFlags, AuraSpellLogic, WorldStateExpressionID, WeatherID, PartyStatus, " +
"LifetimeMaxPVPRank, AchievementLogic, Gender, NativeGender, AreaLogic, LfgLogic, CurrencyLogic, QuestKillID, QuestKillLogic, " +
"MinExpansionLevel, MaxExpansionLevel, MinAvgItemLevel, MaxAvgItemLevel, MinAvgEquippedItemLevel, MaxAvgEquippedItemLevel, PhaseUseFlags, " +
@@ -1624,7 +1625,7 @@ namespace Framework.Database
// Vignette.db2
PrepareStatement(HotfixStatements.SEL_VIGNETTE, "SELECT ID, Name, PlayerConditionID, VisibleTrackingQuestID, QuestFeedbackEffectID, Flags, MaxHeight, " +
"MinHeight, VignetteType, RewardQuestID, UiWidgetSetID FROM vignette WHERE (`VerifiedBuild` > 0) = ?");
"MinHeight, VignetteType, RewardQuestID, UiWidgetSetID, UiMapPinInfoID, ObjectiveType FROM vignette WHERE (`VerifiedBuild` > 0) = ?");
PrepareStatement(HotfixStatements.SEL_VIGNETTE_LOCALE, "SELECT ID, Name_lang FROM vignette_locale WHERE (`VerifiedBuild` > 0) = ? AND locale = ?");
// WmoAreaTable.db2