From c203379108be1a4fe789cd36734dbf831b746c41 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 24 Jul 2020 18:21:50 -0400 Subject: [PATCH] Core: Updated to 8.3.7.35249 Port From (https://github.com/TrinityCore/TrinityCore/commit/8f9a69c9fa812b82af97809e445fc176b28f90eb) --- Source/Framework/Constants/Network/Opcodes.cs | 386 +++++++++--------- Source/Game/Handlers/SocialHandler.cs | 2 + Source/Game/Networking/Packets/WhoPackets.cs | 4 + sql/base/auth_database.sql | 34 +- .../auth/master/2020_07_23_00_auth.sql | 7 + 5 files changed, 234 insertions(+), 199 deletions(-) create mode 100644 sql/updates/auth/master/2020_07_23_00_auth.sql diff --git a/Source/Framework/Constants/Network/Opcodes.cs b/Source/Framework/Constants/Network/Opcodes.cs index 6a0abe950..e59237bfa 100644 --- a/Source/Framework/Constants/Network/Opcodes.cs +++ b/Source/Framework/Constants/Network/Opcodes.cs @@ -24,9 +24,9 @@ namespace Framework.Constants AcceptWargameInvite = 0x35e0, ActivateTaxi = 0x34ab, AddonList = 0x35d8, - AddBattlenetFriend = 0x365b, - AddFriend = 0x36d1, - AddIgnore = 0x36d5, + AddBattlenetFriend = 0x365a, + AddFriend = 0x36ce, + AddIgnore = 0x36d2, AddToy = 0x329c, AdventureJournalOpenQuest = 0x3203, AdventureJournalStartQuest = 0x3346, @@ -45,16 +45,16 @@ namespace Framework.Constants AuctionConfirmCommoditiesPurchase = 0x34d7, AuctionHelloRequest = 0x34cb, AuctionListBidderItems = 0x34d4, + AuctionListBucketsByBucketKeys = 0x34d5, AuctionListItemsByBucketKey = 0x34d1, AuctionListItemsByItemId = 0x34d2, - AuctionListBucketsByBucketKeys = 0x34d5, AuctionListOwnerItems = 0x34d3, AuctionPlaceBid = 0x34cf, AuctionRemoveItem = 0x34cd, AuctionReplicateItems = 0x34ce, AuctionSellCommodity = 0x34d9, AuctionSellItem = 0x34cc, - AuctionSetFavoriteItem = 0x3736, + AuctionSetFavoriteItem = 0x3732, AuctionStartCommoditiesPurchase = 0x34d6, AuthContinuedSession = 0x3766, AuthSession = 0x3765, @@ -78,35 +78,35 @@ namespace Framework.Constants BattlemasterJoinArena = 0x3529, BattlemasterJoinBrawl = 0x352d, BattlemasterJoinSkirmish = 0x352a, - BattlenetChallengeResponse = 0x36d4, - BattlenetRequest = 0x36f8, - BattlenetRequestRealmListTicket = 0x36fd, - BattlePayAckFailedResponse = 0x36ce, - BattlePayCancelOpenCheckout = 0x3716, - BattlePayConfirmPurchaseResponse = 0x36cd, - BattlePayDistributionAssignToTarget = 0x36c4, - BattlePayGetProductList = 0x36bc, - BattlePayGetPurchaseList = 0x36bd, - BattlePayOpenCheckout = 0x370f, - BattlePayQueryClassTrialBoostResult = 0x36c7, - BattlePayRequestCharacterBoostUnrevoke = 0x36c5, - BattlePayRequestCurrentVasTransferQueues = 0x370c, - BattlePayRequestPriceInfo = 0x370b, - BattlePayRequestVasCharacterQueueTime = 0x370d, - BattlePayStartPurchase = 0x36f4, - BattlePayStartVasPurchase = 0x36f5, - BattlePayTrialBoostCharacter = 0x36c6, - BattlePayValidateBnetVasTransfer = 0x370e, - BattlePayVasPurchaseComplete = 0x36f3, + BattlenetChallengeResponse = 0x36d1, + BattlenetRequest = 0x36f5, + BattlenetRequestRealmListTicket = 0x36fa, + BattlePayAckFailedResponse = 0x36cb, + BattlePayCancelOpenCheckout = 0x3712, + BattlePayConfirmPurchaseResponse = 0x36ca, + BattlePayDistributionAssignToTarget = 0x36c1, + BattlePayGetProductList = 0x36b9, + BattlePayGetPurchaseList = 0x36ba, + BattlePayOpenCheckout = 0x370c, + BattlePayQueryClassTrialBoostResult = 0x36c4, + BattlePayRequestCharacterBoostUnrevoke = 0x36c2, + BattlePayRequestCurrentVasTransferQueues = 0x3709, + BattlePayRequestPriceInfo = 0x3708, + BattlePayRequestVasCharacterQueueTime = 0x370a, + BattlePayStartPurchase = 0x36f1, + BattlePayStartVasPurchase = 0x36f2, + BattlePayTrialBoostCharacter = 0x36c3, + BattlePayValidateBnetVasTransfer = 0x370b, + BattlePayVasPurchaseComplete = 0x36f0, BattlePetClearFanfare = 0x312c, - BattlePetDeletePet = 0x3624, - BattlePetDeletePetCheat = 0x3625, - BattlePetModifyName = 0x3627, - BattlePetRequestJournal = 0x3623, - BattlePetRequestJournalLock = 0x3622, - BattlePetSetBattleSlot = 0x362c, - BattlePetSetFlags = 0x3630, - BattlePetSummon = 0x3628, + BattlePetDeletePet = 0x3623, + BattlePetDeletePetCheat = 0x3624, + BattlePetModifyName = 0x3626, + BattlePetRequestJournal = 0x3622, + BattlePetRequestJournalLock = 0x3621, + BattlePetSetBattleSlot = 0x362b, + BattlePetSetFlags = 0x362f, + BattlePetSummon = 0x3627, BattlePetUpdateDisplayNotify = 0x31e1, BattlePetUpdateNotify = 0x31e0, BeginTrade = 0x3157, @@ -115,30 +115,30 @@ namespace Framework.Constants BlackMarketOpen = 0x3535, BlackMarketRequestItems = 0x3536, BonusRoll = 0x3369, - BugReport = 0x3687, + BugReport = 0x3686, BusyTrade = 0x3158, BuyBackItem = 0x34a4, BuyBankSlot = 0x34b4, BuyItem = 0x34a3, BuyReagentBank = 0x34b5, - BuyWowTokenConfirm = 0x36ed, - BuyWowTokenStart = 0x36ec, + BuyWowTokenConfirm = 0x36ea, + BuyWowTokenStart = 0x36e9, CageBattlePet = 0x31f2, - CalendarAddEvent = 0x367e, - CalendarCommunityFilter = 0x3672, - CalendarComplain = 0x367a, - CalendarCopyEvent = 0x3679, - CalendarEventInvite = 0x3673, - CalendarEventModeratorStatus = 0x3677, - CalendarEventRsvp = 0x3675, - CalendarEventSignUp = 0x367c, - CalendarEventStatus = 0x3676, - CalendarGet = 0x3670, - CalendarGetEvent = 0x3671, - CalendarGetNumPending = 0x367b, - CalendarRemoveEvent = 0x3678, - CalendarRemoveInvite = 0x3674, - CalendarUpdateEvent = 0x367f, + CalendarAddEvent = 0x367d, + CalendarCommunityFilter = 0x3671, + CalendarComplain = 0x3679, + CalendarCopyEvent = 0x3678, + CalendarEventInvite = 0x3672, + CalendarEventModeratorStatus = 0x3676, + CalendarEventRsvp = 0x3674, + CalendarEventSignUp = 0x367b, + CalendarEventStatus = 0x3675, + CalendarGet = 0x366f, + CalendarGetEvent = 0x3670, + CalendarGetNumPending = 0x367a, + CalendarRemoveEvent = 0x3677, + CalendarRemoveInvite = 0x3673, + CalendarUpdateEvent = 0x367e, CancelAura = 0x31ad, CancelAutoRepeatSpell = 0x34ef, CancelCast = 0x32a2, @@ -150,19 +150,19 @@ namespace Framework.Constants CancelQueuedSpell = 0x317f, CancelTempEnchantment = 0x34fa, CancelTrade = 0x315c, - CanDuel = 0x3663, - CanRedeemWowTokenForBalance = 0x370a, + CanDuel = 0x3662, + CanRedeemWowTokenForBalance = 0x3707, CastSpell = 0x329f, ChallengeModeRequestLeaders = 0x3090, ChallengeModeRequestMapStats = 0x308f, ChangeBagSlotFlag = 0x3328, ChangeBankBagSlotFlag = 0x3329, ChangeMonumentAppearance = 0x330a, - ChangeSubGroup = 0x364d, - CharacterRenameRequest = 0x36c2, - CharCustomize = 0x3692, - CharDelete = 0x369f, - CharRaceOrFactionChange = 0x3698, + ChangeSubGroup = 0x364c, + CharacterRenameRequest = 0x36bf, + CharCustomize = 0x3690, + CharDelete = 0x369d, + CharRaceOrFactionChange = 0x3696, ChatAddonMessage = 0x37ee, ChatAddonMessageTargeted = 0x37ef, ChatChannelAnnouncements = 0x37e3, @@ -199,7 +199,7 @@ namespace Framework.Constants ChatReportFiltered = 0x37cc, ChatReportIgnored = 0x37cb, ChatUnregisterAllAddonPrefixes = 0x37ce, - CheckWowTokenVeteranEligibility = 0x36eb, + CheckWowTokenVeteranEligibility = 0x36e8, ChoiceResponse = 0x32a4, ClearNewAppearance = 0x312f, ClearRaidMarker = 0x31a5, @@ -207,17 +207,17 @@ namespace Framework.Constants ClientPortGraveyard = 0x3531, CloseInteraction = 0x3493, CloseQuestChoice = 0x32a5, - ClubFinderApplicationResponse = 0x3720, - ClubFinderGetApplicantsList = 0x371e, - ClubFinderPost = 0x371b, - ClubFinderRequestClubsData = 0x3722, - ClubFinderRequestClubsList = 0x371c, - ClubFinderRequestMembershipToClub = 0x371d, - ClubFinderRequestPendingClubsList = 0x3721, - ClubFinderRequestSubscribedClubPostingIds = 0x3723, - ClubFinderRespondToApplicant = 0x371f, - ClubInvite = 0x36fc, - CollectionItemSetFavorite = 0x3633, + ClubFinderApplicationResponse = 0x371c, + ClubFinderGetApplicantsList = 0x371a, + ClubFinderPost = 0x3717, + ClubFinderRequestClubsData = 0x371e, + ClubFinderRequestClubsList = 0x3718, + ClubFinderRequestMembershipToClub = 0x3719, + ClubFinderRequestPendingClubsList = 0x371d, + ClubFinderRequestSubscribedClubPostingIds = 0x371f, + ClubFinderRespondToApplicant = 0x371b, + ClubInvite = 0x36f9, + CollectionItemSetFavorite = 0x3632, CommentatorEnable = 0x35f0, CommentatorEnterInstance = 0x35f4, CommentatorExitInstance = 0x35f5, @@ -225,7 +225,7 @@ namespace Framework.Constants CommentatorGetPlayerCooldowns = 0x35f3, CommentatorGetPlayerInfo = 0x35f2, CommentatorStartWargame = 0x35ef, - Complaint = 0x366d, + Complaint = 0x366c, CompleteCinematic = 0x354f, CompleteMovie = 0x34e5, ConfirmArtifactRespec = 0x31aa, @@ -234,39 +234,39 @@ namespace Framework.Constants ContributionContribute = 0x355f, ContributionGetState = 0x3560, ConversationLineStarted = 0x3550, - ConvertRaid = 0x364f, - CreateCharacter = 0x3644, + ConvertRaid = 0x364e, + CreateCharacter = 0x3643, CreateShipment = 0x32f6, DbQueryBulk = 0x35e4, DeclineGuildInvites = 0x3526, DeclinePetition = 0x353e, DeleteEquipmentSet = 0x3513, - DelFriend = 0x36d2, - DelIgnore = 0x36d6, + DelFriend = 0x36cf, + DelIgnore = 0x36d3, DepositReagentBank = 0x3331, DestroyItem = 0x3296, - DfBootPlayerVote = 0x3615, - DfGetJoinStatus = 0x3613, - DfGetSystemInfo = 0x3612, - DfJoin = 0x3608, - DfLeave = 0x3611, - DfProposalResponse = 0x3607, - DfReadyCheckResponse = 0x3618, - DfSetRoles = 0x3614, - DfTeleport = 0x3616, + DfBootPlayerVote = 0x3614, + DfGetJoinStatus = 0x3612, + DfGetSystemInfo = 0x3611, + DfJoin = 0x3607, + DfLeave = 0x3610, + DfProposalResponse = 0x3606, + DfReadyCheckResponse = 0x3617, + DfSetRoles = 0x3613, + DfTeleport = 0x3615, DiscardedTimeSyncAcks = 0x3a3d, DismissCritter = 0x3501, DoMasterLootRoll = 0x3212, - DoReadyCheck = 0x3634, + DoReadyCheck = 0x3633, DuelResponse = 0x34ea, EjectPassenger = 0x323f, Emote = 0x354b, EnableEncryptionAck = 0x3767, EnableNagle = 0x376b, EnableTaxiNode = 0x34a9, - EngineSurvey = 0x36e5, + EngineSurvey = 0x36e2, EnumCharacters = 0x35e8, - EnumCharactersDeletedByClient = 0x36df, + EnumCharactersDeletedByClient = 0x36dc, FarSight = 0x34f0, GameEventDebugDisable = 0x31b1, GameEventDebugEnable = 0x31b0, @@ -297,19 +297,19 @@ namespace Framework.Constants GarrisonStartMission = 0x3316, GarrisonSwapBuildings = 0x32d0, GenerateRandomCharacterName = 0x35e7, - GetAccountCharacterList = 0x36b8, - GetChallengeModeRewards = 0x3684, + GetAccountCharacterList = 0x36b5, + GetChallengeModeRewards = 0x3683, GetGarrisonInfo = 0x32c5, GetItemPurchaseData = 0x3539, GetMirrorImageData = 0x329a, GetPvpOptionsEnabled = 0x35ee, - GetRafAccountInfo = 0x3724, - GetRemainingGameTime = 0x36ee, + GetRafAccountInfo = 0x3720, + GetRemainingGameTime = 0x36eb, GetTrophyList = 0x3307, - GetUndeleteCharacterCooldownStatus = 0x36e1, - GmTicketAcknowledgeSurvey = 0x3696, - GmTicketGetCaseStatus = 0x3695, - GmTicketGetSystemStatus = 0x3694, + GetUndeleteCharacterCooldownStatus = 0x36de, + GmTicketAcknowledgeSurvey = 0x3694, + GmTicketGetCaseStatus = 0x3693, + GmTicketGetSystemStatus = 0x3692, GossipSelectOption = 0x3494, GuildAddBattlenetFriend = 0x308e, GuildAddRank = 0x3065, @@ -335,7 +335,7 @@ namespace Framework.Constants GuildGetAchievementMembers = 0x3072, GuildGetRanks = 0x306e, GuildGetRoster = 0x3074, - GuildInviteByName = 0x3606, + GuildInviteByName = 0x3605, GuildLeave = 0x3063, GuildNewsUpdateSticky = 0x306f, GuildOfficerRemoveMember = 0x3064, @@ -348,7 +348,7 @@ namespace Framework.Constants GuildReplaceGuildMaster = 0x3089, GuildSetAchievementTracking = 0x3070, GuildSetFocusedAchievement = 0x3071, - GuildSetGuildMaster = 0x36c9, + GuildSetGuildMaster = 0x36c6, GuildSetMemberNote = 0x3073, GuildSetRankPermissions = 0x3068, GuildShiftRank = 0x3067, @@ -366,34 +366,34 @@ namespace Framework.Constants ItemTextQuery = 0x3325, JoinPetBattleQueue = 0x31de, JoinRatedBattleground = 0x3178, - KeepAlive = 0x3680, + KeepAlive = 0x367f, KeyboundOverride = 0x3225, LearnPvpTalents = 0x355e, LearnTalents = 0x355c, - LeaveGroup = 0x364a, + LeaveGroup = 0x3649, LeavePetBattleQueue = 0x31df, - LfgListApplyToGroup = 0x360c, - LfgListCancelApplication = 0x360d, - LfgListDeclineApplicant = 0x360e, - LfgListGetStatus = 0x360a, - LfgListInviteApplicant = 0x360f, - LfgListInviteResponse = 0x3610, + LfgListApplyToGroup = 0x360b, + LfgListCancelApplication = 0x360c, + LfgListDeclineApplicant = 0x360d, + LfgListGetStatus = 0x3609, + LfgListInviteApplicant = 0x360e, + LfgListInviteResponse = 0x360f, LfgListJoin = 0x3364, - LfgListLeave = 0x3609, - LfgListSearch = 0x360b, + LfgListLeave = 0x3608, + LfgListSearch = 0x360a, LfgListUpdateRequest = 0x3365, - LfGuildAddRecruit = 0x361b, - LfGuildBrowse = 0x361d, + LfGuildAddRecruit = 0x361a, + LfGuildBrowse = 0x361c, LfGuildDeclineRecruit = 0x3079, LfGuildGetApplications = 0x307a, LfGuildGetGuildPost = 0x3077, LfGuildGetRecruits = 0x3078, LfGuildRemoveRecruit = 0x307b, - LfGuildSetGuildPost = 0x361c, + LfGuildSetGuildPost = 0x361b, ListInventory = 0x34a1, - LiveRegionAccountRestore = 0x36bb, - LiveRegionCharacterCopy = 0x36ba, - LiveRegionGetAccountCharacterList = 0x36b9, + LiveRegionAccountRestore = 0x36b8, + LiveRegionCharacterCopy = 0x36b7, + LiveRegionGetAccountCharacterList = 0x36b6, LoadingScreenNotify = 0x35f8, LoadSelectedTrophy = 0x3308, LogoutCancel = 0x34e0, @@ -406,21 +406,21 @@ namespace Framework.Constants LootRelease = 0x3214, LootRoll = 0x3215, LootUnit = 0x320e, - LowLevelRaid1 = 0x36a3, + LowLevelRaid1 = 0x36a1, LowLevelRaid2 = 0x351b, MailCreateTextItem = 0x3545, MailDelete = 0x3227, MailGetList = 0x3540, MailMarkAsRead = 0x3544, - MailReturnToSender = 0x3656, + MailReturnToSender = 0x3655, MailTakeItem = 0x3542, MailTakeMoney = 0x3541, MakeContitionalAppearancePermanent = 0x3229, MasterLootItem = 0x3211, - MinimapPing = 0x364c, + MinimapPing = 0x364b, MissileTrajectoryCollision = 0x318a, MountClearFanfare = 0x312d, - MountSetFavorite = 0x3632, + MountSetFavorite = 0x3631, MountSpecialAnim = 0x3285, MoveApplyMovementForceAck = 0x3a13, MoveChangeTransport = 0x3a2d, @@ -490,7 +490,7 @@ namespace Framework.Constants NextCinematicCamera = 0x354e, ObjectUpdateFailed = 0x3180, ObjectUpdateRescued = 0x3181, - OfferPetition = 0x36b1, + OfferPetition = 0x33b1, OpeningCinematic = 0x354d, OpenItem = 0x3326, OpenMissionNpc = 0x32ed, @@ -499,19 +499,19 @@ namespace Framework.Constants OptOutOfLoot = 0x34fe, PartyInvite = 0x3602, PartyInviteResponse = 0x3603, - PartyUninvite = 0x3648, + PartyUninvite = 0x3647, PerformItemInteraction = 0x3231, PetitionBuy = 0x34c9, - PetitionRenameGuild = 0x36ca, + PetitionRenameGuild = 0x36c7, PetitionShowList = 0x34c8, PetitionShowSignatures = 0x34ca, PetAbandon = 0x348d, PetAction = 0x348b, PetBattleFinalNotify = 0x31e3, - PetBattleInput = 0x3641, + PetBattleInput = 0x3640, PetBattleQueueProposeMatchResult = 0x3226, PetBattleQuitNotify = 0x31e2, - PetBattleReplaceFrontPet = 0x3642, + PetBattleReplaceFrontPet = 0x3641, PetBattleRequestPvp = 0x31dc, PetBattleRequestUpdate = 0x31dd, PetBattleRequestWild = 0x31da, @@ -519,7 +519,7 @@ namespace Framework.Constants PetBattleWildLocationFail = 0x31db, PetCancelAura = 0x348e, PetCastSpell = 0x329e, - PetRename = 0x3686, + PetRename = 0x3685, PetSetAction = 0x348a, PetSpellAutocast = 0x348f, PetStopAttack = 0x348c, @@ -528,25 +528,25 @@ namespace Framework.Constants PushQuestToParty = 0x349f, PvpLogData = 0x317b, QueryBattlePetName = 0x327a, - QueryCommunityName = 0x368d, - QueryCorpseLocationFromClient = 0x3661, - QueryCorpseTransport = 0x3662, + QueryCommunityName = 0x368b, + QueryCorpseLocationFromClient = 0x3660, + QueryCorpseTransport = 0x3661, QueryCountdownTimer = 0x31a8, QueryCreature = 0x3274, QueryGameObject = 0x3275, QueryGarrisonCreatureName = 0x327b, - QueryGuildInfo = 0x3690, + QueryGuildInfo = 0x368e, QueryInspectAchievements = 0x3508, QueryNextMailTime = 0x3543, QueryNpcText = 0x3276, QueryPageText = 0x3278, QueryPetition = 0x327c, QueryPetName = 0x3279, - QueryPlayerName = 0x368c, + QueryPlayerName = 0x368a, QueryQuestCompletionNpcs = 0x3175, QueryQuestInfo = 0x3277, - QueryRealmName = 0x368f, - QueryScenarioPoi = 0x3657, + QueryRealmName = 0x368d, + QueryScenarioPoi = 0x3656, QueryTime = 0x34dd, QueryTreasurePicker = 0x334c, QueryVoidStorage = 0x31a1, @@ -560,46 +560,46 @@ namespace Framework.Constants QuestGiverStatusMultipleQuery = 0x349d, QuestGiverStatusQuery = 0x349c, QuestLogRemoveQuest = 0x3538, - QuestPoiQuery = 0x36b2, + QuestPoiQuery = 0x36af, QuestPushResult = 0x34a0, QuestSessionBeginResponse = 0x33a5, QuestSessionRequestStart = 0x33a4, - QuestSessionRequestStop = 0x372f, + QuestSessionRequestStop = 0x372b, QueuedMessagesEnd = 0x376c, - QuickJoinAutoAcceptRequests = 0x3709, - QuickJoinRequestInvite = 0x3708, - QuickJoinRequestInviteWithConfirmation = 0x3734, - QuickJoinRespondToInvite = 0x3707, - QuickJoinSignalToastDisplayed = 0x3706, + QuickJoinAutoAcceptRequests = 0x3706, + QuickJoinRequestInvite = 0x3705, + QuickJoinRequestInviteWithConfirmation = 0x3730, + QuickJoinRespondToInvite = 0x3704, + QuickJoinSignalToastDisplayed = 0x3703, RafClaimActivityReward = 0x350c, - RafClaimNextReward = 0x3725, - RafGenerateRecruitmentLink = 0x3727, - RafUpdateRecruitmentInfo = 0x3726, - RaidOrBattlegroundEngineSurvey = 0x36e6, - RandomRoll = 0x3655, - ReadyCheckResponse = 0x3635, + RafClaimNextReward = 0x3721, + RafGenerateRecruitmentLink = 0x3723, + RafUpdateRecruitmentInfo = 0x3722, + RaidOrBattlegroundEngineSurvey = 0x36e3, + RandomRoll = 0x3654, + ReadyCheckResponse = 0x3634, ReadItem = 0x3327, ReclaimCorpse = 0x34e3, - RedeemWowTokenConfirm = 0x36f0, - RedeemWowTokenStart = 0x36ef, + RedeemWowTokenConfirm = 0x36ed, + RedeemWowTokenStart = 0x36ec, RemoveNewItem = 0x334f, - RemoveRafRecruit = 0x3728, + RemoveRafRecruit = 0x3724, ReorderCharacters = 0x35e9, RepairItem = 0x34f4, ReplaceTrophy = 0x3309, RepopRequest = 0x3530, - ReportClientVariables = 0x3703, - ReportEnabledAddons = 0x3702, - ReportKeybindingExecutionCounts = 0x3704, + ReportClientVariables = 0x3700, + ReportEnabledAddons = 0x36ff, + ReportKeybindingExecutionCounts = 0x3701, ReportPvpPlayerAfk = 0x34fc, ReportServerLag = 0x339c, - RequestAccountData = 0x3699, + RequestAccountData = 0x3697, RequestAreaPoiUpdate = 0x334e, RequestBattlefieldStatus = 0x35dc, RequestCategoryCooldowns = 0x317d, RequestCemeteryList = 0x3176, RequestChallengeModeAffixes = 0x3207, - RequestCharacterGuildFollowInfo = 0x3691, + RequestCharacterGuildFollowInfo = 0x368f, RequestConquestFormulaConstants = 0x32b7, RequestCrowdControlSpell = 0x3534, RequestForcedReactions = 0x3209, @@ -607,13 +607,13 @@ namespace Framework.Constants RequestGuildRewardsList = 0x31a6, RequestLfgListBlacklist = 0x32a7, RequestPartyJoinUpdates = 0x35f7, - RequestPartyMemberStats = 0x3654, + RequestPartyMemberStats = 0x3653, RequestPetInfo = 0x3490, RequestPlayedTime = 0x327f, RequestPvpBrawlInfo = 0x3195, RequestPvpRewards = 0x3194, RequestQuestLinesForMap = 0x3397, - RequestRaidInfo = 0x36cb, + RequestRaidInfo = 0x36c8, RequestRatedBattlefieldInfo = 0x35e3, RequestRealmGuildMasterInfo = 0x309b, RequestResearchHistory = 0x3167, @@ -623,11 +623,11 @@ namespace Framework.Constants RequestVehiclePrevSeat = 0x323b, RequestVehicleSwitchSeat = 0x323d, RequestWorldQuestUpdate = 0x334d, - RequestWowTokenMarketPrice = 0x36e8, + RequestWowTokenMarketPrice = 0x36e5, ResetChallengeMode = 0x3205, ResetChallengeModeCheat = 0x3206, - ResetInstances = 0x3669, - ResurrectResponse = 0x3685, + ResetInstances = 0x3668, + ResurrectResponse = 0x3684, RevertMonumentAppearance = 0x330b, RideVehicleInteract = 0x323e, SaveCufProfiles = 0x318b, @@ -638,41 +638,41 @@ namespace Framework.Constants SceneTriggerEvent = 0x3223, SelfRes = 0x353b, SellItem = 0x34a2, - SellWowTokenConfirm = 0x36ea, - SellWowTokenStart = 0x36e9, - SendContactList = 0x36d0, + SellWowTokenConfirm = 0x36e7, + SellWowTokenStart = 0x36e6, + SendContactList = 0x36cd, SendMail = 0x35fa, SendTextEmote = 0x3488, SetAchievementsHidden = 0x3228, SetActionBarToggles = 0x353c, - SetActionButton = 0x3636, + SetActionButton = 0x3635, SetActiveMover = 0x3a38, SetAdvancedCombatLogging = 0x32b8, - SetAssistantLeader = 0x3650, + SetAssistantLeader = 0x364f, SetBackpackAutosortDisabled = 0x332a, SetBankAutosortDisabled = 0x332b, - SetContactNotes = 0x36d3, + SetContactNotes = 0x36d0, SetCurrencyFlags = 0x3169, SetDifficultyId = 0x3224, - SetDungeonDifficulty = 0x3683, - SetEveryoneIsAssistant = 0x3617, + SetDungeonDifficulty = 0x3682, + SetEveryoneIsAssistant = 0x3616, SetFactionAtWar = 0x34e6, SetFactionInactive = 0x34e8, SetFactionNotAtWar = 0x34e7, SetGameEventDebugViewState = 0x31b8, SetInsertItemsLeftToRight = 0x332d, SetLfgBonusFactionId = 0x32a6, - SetLootMethod = 0x3649, + SetLootMethod = 0x3648, SetLootSpecialization = 0x3549, - SetPartyAssignment = 0x3652, - SetPartyLeader = 0x364b, + SetPartyAssignment = 0x3651, + SetPartyLeader = 0x364a, SetPetSlot = 0x3168, - SetPlayerDeclinedNames = 0x368b, + SetPlayerDeclinedNames = 0x3689, SetPreferredCemetery = 0x3177, SetPvp = 0x32af, - SetRaidDifficulty = 0x36dd, + SetRaidDifficulty = 0x36da, SetRole = 0x35d9, - SetSavedInstanceExtend = 0x3689, + SetSavedInstanceExtend = 0x3687, SetSelection = 0x3532, SetSheathed = 0x3489, SetSortBagsRightToLeft = 0x332c, @@ -684,9 +684,9 @@ namespace Framework.Constants SetUsingPartyGarrison = 0x32ef, SetWarMode = 0x32b0, SetWatchedFaction = 0x34e9, - ShowTradeSkill = 0x36c3, + ShowTradeSkill = 0x36c0, SignPetition = 0x353d, - SilencePartyTalker = 0x3653, + SilencePartyTalker = 0x3652, SocketGems = 0x34f3, SortBags = 0x332e, SortBankBags = 0x332f, @@ -698,16 +698,16 @@ namespace Framework.Constants StartChallengeMode = 0x3554, StartSpectatorWarGame = 0x35df, StartWarGame = 0x35de, - SummonResponse = 0x366b, - SupportTicketSubmitBug = 0x3646, - SupportTicketSubmitComplaint = 0x3645, - SupportTicketSubmitSuggestion = 0x3647, + SummonResponse = 0x366a, + SupportTicketSubmitBug = 0x3645, + SupportTicketSubmitComplaint = 0x3644, + SupportTicketSubmitSuggestion = 0x3646, SurrenderArena = 0x3174, SuspendCommsAck = 0x3764, SuspendTokenResponse = 0x376a, SwapInvItem = 0x399d, SwapItem = 0x399c, - SwapSubGroups = 0x364e, + SwapSubGroups = 0x364d, SwapVoidItem = 0x31a3, TabardVendorActivate = 0x32ac, TalkToGossip = 0x3492, @@ -718,7 +718,7 @@ namespace Framework.Constants TimeSyncResponse = 0x3a39, TimeSyncResponseDropped = 0x3a3b, TimeSyncResponseFailed = 0x3a3a, - ToggleDifficulty = 0x3658, + ToggleDifficulty = 0x3657, TogglePvp = 0x32ae, TotemDestroyed = 0x3500, ToyClearFanfare = 0x312e, @@ -727,26 +727,26 @@ namespace Framework.Constants TrainerList = 0x34ad, TransmogrifyItems = 0x3196, TurnInPetition = 0x353f, - Tutorial = 0x36de, + Tutorial = 0x36db, TwitterCheckStatus = 0x312a, TwitterConnect = 0x3127, TwitterDisconnect = 0x312b, TwitterPost = 0x3332, - UiTimeRequest = 0x369e, + UiTimeRequest = 0x369c, UnacceptTrade = 0x315b, - UndeleteCharacter = 0x36e0, + UndeleteCharacter = 0x36dd, UnlearnSkill = 0x34ed, UnlearnSpecialization = 0x31a4, UnlockVoidStorage = 0x31a0, - UpdateAccountData = 0x369a, + UpdateAccountData = 0x3698, UpdateAreaTriggerVisual = 0x32a1, - UpdateClientSettings = 0x3665, + UpdateClientSettings = 0x3664, UpdateMissileTrajectory = 0x3a3f, - UpdateRaidTarget = 0x3651, + UpdateRaidTarget = 0x3650, UpdateSpellVisual = 0x32a0, - UpdateVasPurchaseStates = 0x36f6, - UpdateWowTokenAuctionableList = 0x36f1, - UpdateWowTokenCount = 0x36e7, + UpdateVasPurchaseStates = 0x36f3, + UpdateWowTokenAuctionableList = 0x36ee, + UpdateWowTokenCount = 0x36e4, UpgradeGarrison = 0x32c0, UsedFollow = 0x3186, UseCritterItem = 0x3244, @@ -754,12 +754,12 @@ namespace Framework.Constants UseItem = 0x329b, UseToy = 0x329d, ViolenceLevel = 0x3184, - VoiceChatJoinChannel = 0x3712, - VoiceChatLogin = 0x3711, + VoiceChatJoinChannel = 0x370f, + VoiceChatLogin = 0x370e, VoidStorageTransfer = 0x31a2, WardenData = 0x35ec, - Who = 0x3682, - WhoIs = 0x3681, + Who = 0x3681, + WhoIs = 0x3680, WorldPortResponse = 0x35f9, WrapItem = 0x3994, @@ -1272,6 +1272,7 @@ namespace Framework.Constants LfgListApplicantListUpdate = 0x2a2b, LfgListApplicationStatusUpdate = 0x2a28, LfgListApplyToGroupResult = 0x2a29, + LfgListInitAutoDelist = 0x28cf, LfgListJoinResult = 0x2a1d, LfgListSearchResults = 0x2a1e, LfgListSearchResultsUpdate = 0x2a2c, @@ -1598,6 +1599,7 @@ namespace Framework.Constants ResetWeeklyCurrency = 0x2575, RespecWipeConfirm = 0x262a, RespondInspectAchievements = 0x2572, + ResumeCast = 0x2c3b, ResumeCastBar = 0x2c3e, ResumeComms = 0x304b, ResumeToken = 0x25bf, @@ -1802,7 +1804,7 @@ namespace Framework.Constants ZoneUnderAttack = 0x2bb5, // Opcodes that are not generated automatically - AccountHeirloomUpdate = 0xBADD, // No Client Handler + AccountHeirloomUpdate = 0x25C6, // No Client Handler CompressedPacket = 0x3052, MultiplePackets = 0x3051, diff --git a/Source/Game/Handlers/SocialHandler.cs b/Source/Game/Handlers/SocialHandler.cs index c15cf6ca3..d1c1a9dff 100644 --- a/Source/Game/Handlers/SocialHandler.cs +++ b/Source/Game/Handlers/SocialHandler.cs @@ -66,6 +66,8 @@ namespace Game uint gmLevelInWhoList = WorldConfig.GetUIntValue(WorldCfg.GmLevelInWhoList); WhoResponsePkt response = new WhoResponsePkt(); + response.RequestID = whoRequest.RequestID; + List whoList = Global.WhoListStorageMgr.GetWhoList(); foreach (WhoListPlayerInfo target in whoList) { diff --git a/Source/Game/Networking/Packets/WhoPackets.cs b/Source/Game/Networking/Packets/WhoPackets.cs index 48026e0ca..bc2438d6c 100644 --- a/Source/Game/Networking/Packets/WhoPackets.cs +++ b/Source/Game/Networking/Packets/WhoPackets.cs @@ -57,12 +57,14 @@ namespace Game.Networking.Packets uint areasCount = _worldPacket.ReadBits(4); Request.Read(_worldPacket); + RequestID = _worldPacket.ReadUInt32(); for (int i = 0; i < areasCount; ++i) Areas.Add(_worldPacket.ReadInt32()); } public WhoRequest Request = new WhoRequest(); + public uint RequestID; public List Areas= new List(); } @@ -75,9 +77,11 @@ namespace Game.Networking.Packets _worldPacket.WriteBits(Response.Count, 6); _worldPacket.FlushBits(); + _worldPacket.WriteUInt32(RequestID); Response.ForEach(p => p.Write(_worldPacket)); } + public uint RequestID; public List Response = new List(); } diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 14bd7660b..e643f658d 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -559,7 +559,9 @@ INSERT INTO `build_info` VALUES (34220,8,3,0,NULL,NULL,'B5E35B976C6BAF82505700E7D9666A2C',NULL,NULL,NULL), (34601,8,3,0,NULL,NULL,'0D7DF38F725FABA4F009257799A10563',NULL,NULL,NULL), (34769,8,3,0,NULL,NULL,'93F9B9AF6397E3E4EED94D36D16907D2',NULL,NULL,NULL), -(34963,8,3,0,NULL,NULL,'7BA50C879C5D04221423B02AC3603A11','C5658A17E702163447BAAAE46D130A1B',NULL,NULL); +(34963,8,3,0,NULL,NULL,'7BA50C879C5D04221423B02AC3603A11','C5658A17E702163447BAAAE46D130A1B',NULL,NULL), +(35249,8,3,7,NULL,NULL,'C7B11F9AE9FF1409F5582902B3D10D1C',NULL,NULL,NULL), +(35284,8,3,7,NULL,NULL,'EA3818E7DCFD2009DBFC83EE3C1E4F1B',NULL,NULL,NULL); /*!40000 ALTER TABLE `build_info` ENABLE KEYS */; UNLOCK TABLES; @@ -1263,6 +1265,12 @@ INSERT INTO `rbac_linked_permissions` VALUES (197,819), (197,821), (197,827), +(197,856), +(197,857), +(197,858), +(197,859), +(197,860), +(197,865), (198,218), (198,300), (198,312), @@ -1573,7 +1581,7 @@ INSERT INTO `rbac_permissions` VALUES (304,'Command: debug bg'), (305,'Command: debug entervehicle'), (306,'Command: debug getitemstate'), -(309,'Command: debug hostil'), +(309,'Command: debug combat'), (310,'Command: debug itemexpire'), (311,'Command: debug lootrecipient'), (312,'Command: debug los'), @@ -1598,7 +1606,7 @@ INSERT INTO `rbac_permissions` VALUES (335,'Command: debug setvid'), (336,'Command: debug spawnvehicle'), (337,'Command: debug threat'), -(339,'Command: debug uws'), +(339,'Command: debug worldstate'), (340,'Command: wpgps'), (341,'Command: deserter'), (342,'Command: deserter bg'), @@ -2089,6 +2097,12 @@ INSERT INTO `rbac_permissions` VALUES (853,'Command: .reload conversation_template'), (854,'Command: .debug conversation'), (855,'Command: debug play music'), +(856,'Command: npc spawngroup'), +(857,'Command: npc despawngroup'), +(858,'Command: gobject spawngroup'), +(859,'Command: gobject despawngroup'), +(860,'Command: list respawns'), +(865,'Command: npc showloot'), (868,'Command: modify power'), (869,'Command: debug send playerchoice'), (872,'Command: server debug'); @@ -2139,7 +2153,7 @@ CREATE TABLE `realmlist` ( `timezone` tinyint(3) unsigned NOT NULL DEFAULT '0', `allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', `population` float unsigned NOT NULL DEFAULT '0', - `gamebuild` int(10) unsigned NOT NULL DEFAULT '34963', + `gamebuild` int(10) unsigned NOT NULL DEFAULT '35284', `Region` tinyint(3) unsigned NOT NULL DEFAULT '1', `Battlegroup` tinyint(3) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), @@ -2154,7 +2168,7 @@ CREATE TABLE `realmlist` ( LOCK TABLES `realmlist` WRITE; /*!40000 ALTER TABLE `realmlist` DISABLE KEYS */; INSERT INTO `realmlist` VALUES -(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,34963,1,1); +(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,35284,1,1); /*!40000 ALTER TABLE `realmlist` ENABLE KEYS */; UNLOCK TABLES; @@ -2283,10 +2297,14 @@ INSERT INTO `updates` VALUES ('2017_04_22_00_auth.sql','843663B18D28FBA1EB12548500EC93953881E5F0','ARCHIVED','2017-04-22 19:28:22',0), ('2017_04_27_00_auth.sql','308B797B47FA803D492C9C9A4C26DBEC546DBBD9','ARCHIVED','2017-04-28 09:10:11',0), ('2017_05_14_00_auth.sql','B7E76CCDCC9A2C8103427DA4C43C7B0366ECE8B4','ARCHIVED','2017-05-14 12:00:00',0), +('2017_06_12_01_auth.sql','661B4935E101AF188BEBF43203144104E89F8C54','ARCHIVED','2017-06-12 00:00:01',0), +('2017_06_12_02_auth.sql','166F059E411FAA4901BBBA09A41EF07B1CADC4B6','ARCHIVED','2017-06-12 00:00:02',0), +('2017_06_17_00_auth.sql','4A172895CB9DA8EFE1270434D6ECB22D4F4DCB17','ARCHIVED','2017-06-17 00:00:00',0), ('2017_06_15_00_auth.sql','DD71F25C1E61FD5F836931B02703BE3BD1B4F156','ARCHIVED','2017-06-15 15:20:50',0), ('2017_06_18_00_auth.sql','7200968BFC2D76499149937B19F2153FD2ABC397','ARCHIVED','2017-06-18 22:13:37',0), ('2017_06_25_00_auth.sql','A2DA6A64D4217992EF766915DEBD517DB0834E01','ARCHIVED','2017-06-25 00:54:10',0), -('2017_06_28_00_auth.sql','6E58300D4D4DAAEE89107ECB3CB7DA8529DA738F','ARCHIVED','2017-06-28 19:11:09',0), +('2017_06_28_00_auth_master.sql','6E58300D4D4DAAEE89107ECB3CB7DA8529DA738F','ARCHIVED','2017-06-28 19:11:09',0), +('2017_06_28_00_auth_rbac.sql','D32EF80F57F629C23395D80F06E91D7E40719F83','ARCHIVED','2017-06-28 00:00:00',0), ('2017_06_30_00_auth.sql','C73BD277D211DBE1BB86BB1B443CA8F292D8ADEE','ARCHIVED','2017-06-30 16:18:51',0), ('2017_08_04_00_auth.sql','2E994A704C64FECE3CE0883ED0CAC5E5A0E3A36C','ARCHIVED','2017-08-04 23:46:32',0), ('2017_08_13_00_auth_2016_09_22_00_auth.sql','70047954E3556BFA430ADD5680EF8797F74A4B9E','ARCHIVED','2017-08-13 12:00:00',0), @@ -2342,7 +2360,9 @@ INSERT INTO `updates` VALUES ('2020_06_17_01_auth.sql','8FBF37B875B5C0E8A609FFB1A2C02F2920A3D3F4','ARCHIVED','2020-06-17 17:04:56',0), ('2020_06_20_00_auth.sql','85345FAF20B91DA7B157AE1E17DF5B6446C2E109','ARCHIVED','2020-06-11 10:48:00',0), ('2020_07_02_00_auth.sql','08D0F9D70AE625285172B3E02A3DAFE17D88E118','RELEASED','2020-07-02 10:29:25',0), -('2020_07_03_00_auth.sql','ED7175E51F248ADC5EF60E7CEA9627CC3191ED4C','RELEASED','2020-07-03 20:09:39',0); +('2020_07_03_00_auth.sql','ED7175E51F248ADC5EF60E7CEA9627CC3191ED4C','RELEASED','2020-07-03 20:09:39',0), +('2020_07_23_00_auth.sql','5F47E1CEECA9F837C85C2DAC7ECD47AED321F502','RELEASED','2020-07-23 19:54:42',0), +('2020_07_24_00_auth.sql','06598162E9C84DDF8AA1F83D0410D056C3F7F69E','RELEASED','2020-07-24 00:44:34',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/updates/auth/master/2020_07_23_00_auth.sql b/sql/updates/auth/master/2020_07_23_00_auth.sql new file mode 100644 index 000000000..3d7de2db0 --- /dev/null +++ b/sql/updates/auth/master/2020_07_23_00_auth.sql @@ -0,0 +1,7 @@ +DELETE FROM `build_info` WHERE `build`=35249; +INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES +(35249,8,3,7,NULL,NULL,'C7B11F9AE9FF1409F5582902B3D10D1C',NULL,NULL,NULL); + +UPDATE `realmlist` SET `gamebuild`=35249 WHERE `gamebuild`=34963; + +ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int(10) unsigned NOT NULL DEFAULT '35249';