missing changes

This commit is contained in:
luis
2026-03-11 13:53:41 -03:00
parent b9425b5542
commit 2a3d992f66
4 changed files with 76 additions and 2 deletions
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (66337);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(66337,12,0,1,NULL);
DELETE FROM `build_auth_key` WHERE `build`=66337 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=66337 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=66337 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=66337 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=66337 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=66337 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=66337 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(66337,'Mac','A64','WoW',0xEEF9108052A64B5DD11F63297443E43C),
(66337,'Mac','A64','WoWC',0xA6FBFAB9899D6AE4C3ADAE17F798D265),
(66337,'Mac','x64','WoW',0x8B13D4DCD13E77395E9B38FCEAA3FCEC),
(66337,'Mac','x64','WoWC',0x0E3526BF6DCFD4393D9C41D6841F8B19),
(66337,'Win','A64','WoW',0x40F91099F5A68C7736DB3A36CDCD8F3E),
(66337,'Win','x64','WoW',0x679204D38B88E9455769E3159E937068),
(66337,'Win','x64','WoWC',0xFF6DA0F5B97AEBE3EB56AC2EC1C2A5DB);
UPDATE `realmlist` SET `gamebuild`=66337 WHERE `gamebuild`=66263;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '66337';
@@ -0,0 +1,29 @@
DELETE FROM `hotfix_blob` WHERE `VerifiedBuild`>0 AND `TableHash` IN (0x00CB59F4, 0xD9F1B527);
DELETE FROM `campaign` WHERE `VerifiedBuild`>0 AND `ID` IN (284, 270);
INSERT INTO `campaign` (`ID`, `Title`, `Description`, `UiTextureKitID`, `RewardQuestID`, `Prerequisite`, `Stalled`, `Completed`, `OnlyStallIf`, `UiQuestDetailsThemeID`, `Flags`, `DisplayPriority`, `SortAsNormalQuest`, `UseMinimalHeader`, `VerifiedBuild`) VALUES
(284, 'The War of Light and Shadow', '', 5768, 0, 135490, 34450, 143073, 0, 74, 0, 1202, 0, 0, 65893),
(270, 'Midnight', '', 5767, 0, 147611, 147611, 138637, 0, 73, 0, 1201, 0, 0, 65893);
DELETE FROM `campaign_locale` WHERE `VerifiedBuild`>0 AND `ID` IN (284, 270);
INSERT INTO `campaign_locale` (`ID`, `locale`, `Title_lang`, `Description_lang`, `VerifiedBuild`) VALUES
(284, 'deDE', 'Der Krieg von Licht und Schatten', '', 65893),
(270, 'deDE', 'Midnight', '', 65893),
(284, 'esES', 'La guerra de la Luz y las Sombras', '', 65893),
(270, 'esES', 'Midnight', '', 65893),
(284, 'esMX', 'La guerra entre la luz y la sombra', '', 65893),
(270, 'esMX', 'Midnight', '', 65893),
(284, 'frFR', 'La guerre de l\’Ombre et de la Lumière', '', 65893),
(270, 'frFR', 'Midnight', '', 65893),
(284, 'itIT', 'La guerra tra la Luce e l\'Ombra', '', 65893),
(270, 'itIT', 'Midnight', '', 65893),
(284, 'koKR', '빛과 어둠의 전쟁', '', 65893),
(270, 'koKR', '한밤', '', 65893),
(284, 'ptBR', 'A Guerra de Luz e Sombra', '', 65893),
(270, 'ptBR', 'Midnight', '', 65893),
(284, 'ruRU', 'Война Света и Тьмы', '', 65893),
(270, 'ruRU', 'Midnight', '', 65893),
(284, 'zhCN', '光与影之战', '', 65893),
(270, 'zhCN', '至暗之夜', '', 65893),
(284, 'zhTW', '光與影之戰', '', 65893),
(270, 'zhTW', '至暗之夜', '', 65893);
+2
View File
@@ -67,6 +67,8 @@ TC_GAME_API extern DB2Storage<BattlePetSpeciesStateEntry> sBattlePetSp
TC_GAME_API extern DB2Storage<BattlemasterListEntry> sBattlemasterListStore;
TC_GAME_API extern DB2Storage<BattlemasterListXMapEntry> sBattlemasterListXMapStore;
TC_GAME_API extern DB2Storage<BroadcastTextEntry> sBroadcastTextStore;
TC_GAME_API extern DB2Storage<CampaignEntry> sCampaignStore;
TC_GAME_API extern DB2Storage<CampaignXQuestLineEntry> sCampaignXQuestLineStore;
TC_GAME_API extern DB2Storage<Cfg_CategoriesEntry> sCfgCategoriesStore;
TC_GAME_API extern DB2Storage<Cfg_RegionsEntry> sCfgRegionsStore;
TC_GAME_API extern DB2Storage<ChallengeModeItemBonusOverrideEntry> sChallengeModeItemBonusOverrideStore;
+22 -2
View File
@@ -120,6 +120,7 @@ public:
{ "neargraveyard", HandleDebugNearGraveyard, rbac::RBAC_PERM_COMMAND_DEBUG, Console::No },
{ "instancespawn", HandleDebugInstanceSpawns, rbac::RBAC_PERM_COMMAND_DEBUG, Console::No },
{ "conversation", HandleDebugConversationCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::No },
{ "modifiertree", HandleDebugModifierTreeCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::No },
{ "wsexpression", HandleDebugWSExpressionCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::No },
{ "playercondition", HandleDebugPlayerConditionCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::No },
{ "pvp warmode", HandleDebugWarModeBalanceCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::Yes },
@@ -1589,6 +1590,25 @@ public:
return Conversation::CreateConversation(conversationEntry, target, *target, target->GetGUID()) != nullptr;
}
static bool HandleDebugModifierTreeCommand(ChatHandler* handler, uint32 modifierTreeId)
{
Player* target = handler->getSelectedPlayerOrSelf();
if (!target)
{
handler->SendSysMessage(LANG_PLAYER_NOT_FOUND);
handler->SetSentErrorMessage(true);
return false;
}
if (target->ModifierTreeSatisfied(modifierTreeId))
handler->PSendSysMessage("ModifierTree %u met", modifierTreeId);
else
handler->PSendSysMessage("ModifierTree %u not met", modifierTreeId);
return true;
}
static bool HandleDebugWSExpressionCommand(ChatHandler* handler, uint32 expressionId)
{
Player* target = handler->getSelectedPlayerOrSelf();
@@ -1605,9 +1625,9 @@ public:
return false;
if (ConditionMgr::IsMeetingWorldStateExpression(target->GetMap(), wsExpressionEntry))
handler->PSendSysMessage("Expression %u meet", expressionId);
handler->PSendSysMessage("WorldStateExpression %u met", expressionId);
else
handler->PSendSysMessage("Expression %u not meet", expressionId);
handler->PSendSysMessage("WorldStateExpression %u not met", expressionId);
return true;
}