From 62d6714133980faac47bccdeb1b299c5be467617 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sat, 14 Jun 2025 12:24:25 +0200 Subject: [PATCH 1/5] Update quest_missing_diplomat.sql wrong reward for Survey Alcaz Island (11142) --- sql/world/base/quest_missing_diplomat.sql | 96 +++++++++++++++-------- 1 file changed, 63 insertions(+), 33 deletions(-) diff --git a/sql/world/base/quest_missing_diplomat.sql b/sql/world/base/quest_missing_diplomat.sql index 6cddb4b..1288dec 100644 --- a/sql/world/base/quest_missing_diplomat.sql +++ b/sql/world/base/quest_missing_diplomat.sql @@ -1,42 +1,72 @@ -- Missing Diplomat Quests -UPDATE quest_template SET RewardNextQuest=11222 WHERE ID=11142; -UPDATE quest_template SET RewardNextQuest=11223 WHERE ID=11222; -DELETE FROM creature_queststarter WHERE id = 4968 and quest = 11222; -DELETE FROM creature_queststarter WHERE id = 1748 and quest = 11223; -INSERT INTO creature_queststarter(id, quest) VALUES (4968, 11222); -INSERT INTO creature_queststarter(id, quest) VALUES (1748, 11223); -UPDATE quest_offer_reward SET RewardText="$B$BA rune circle, dragonkin? The Defias have allied themselves with HER? The traitor?$B$BAnd why would the black dragonkin be interested in an island full of naga? There are many unanswered questions, but I one thing is for certain: the Defias have a powerful ally in upper echelons of the Alliance." -WHERE ID=11142; -UPDATE quest_template SET LogTitle="Warn Bolvar!", LogDescription="Speak to Highlord Bolvar Fordragon in Stormwind Keep.", QuestDescription="Although we don't have all the answers we might like, it's imperative that you bring our findings to Highlord Bolvar Fordragon right away! He needs to know that the Defias have a powerful patron in Stormwind and that they're involved in the disappearance of King Varian!$B$BI can use my magic to expedite your trip to Stormwind. Just speak to me when you're prepared to go, $N." WHERE ID=11222; -UPDATE quest_template_addon SET NextQuestID=11223 WHERE ID=11222; -DELETE FROM creature_questender WHERE id = 1748 and quest = 11222; -DELETE FROM creature_questender WHERE id = 4968 and quest = 11223; -INSERT INTO creature_questender(id, quest) VALUES (1748, 11222); -INSERT INTO creature_questender(id, quest) VALUES (4968, 11223); -DELETE FROM creature_questender WHERE quest=396; -INSERT INTO creature_questender (`id`, `quest`) VALUES -(1749, 396), # Lady Prestor is the Vanilla ender for this quest -(29611, 396); # Also allow King Wrynn to complete the quest in person if he is back +UPDATE `quest_template` SET `RewardNextQuest` = 11222 WHERE ID = 11142; +UPDATE `quest_template` SET `RewardNextQuest` = 11223 WHERE ID = 11222; -DELETE FROM creature_questender WHERE quest=4184; -INSERT INTO creature_questender (`id`, `quest`) VALUES -(1748, 4184), # Bolvar is the Vanilla ender for this quest -(29611, 4184); # Also allow King Wrynn to complete the quest in person if he is back +UPDATE `quest_template_addon` SET `NextQuestID` = 11223 WHERE `ID` = 11222; -UPDATE creature_questender SET id=1748 WHERE quest=6186; -UPDATE creature_questender SET id=1748 WHERE quest=6187; -UPDATE creature_questender SET id=1748 WHERE quest=7781; +DELETE FROM `creature_queststarter` WHERE `id` = 4968 and `quest` = 11222; +DELETE FROM `creature_queststarter` WHERE `id` = 1748 and `quest` = 11223; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (4968, 11222); +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (1748, 11223); -DELETE FROM `creature_queststarter` WHERE `quest`=6182; +DELETE FROM `creature_questender` WHERE `id` = 1748 and `quest` = 11222; +DELETE FROM `creature_questender` WHERE `id` = 4968 and `quest` = 11223; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES (1748, 11222); +INSERT INTO `creature_questender` (`id`, `quest`) VALUES (4968, 11223); + +UPDATE `quest_offer_reward` SET +`RewardText` = "$B$B + A rune circle, dragonkin? The Defias have allied themselves with HER? The traitor?$B$B + And why would the black dragonkin be interested in an island full of naga? There are many unanswered questions, + but I one thing is for certain: the Defias have a powerful ally in upper echelons of the Alliance." +WHERE `ID` = 11142; + +UPDATE `quest_template` SET +`LogTitle` = "Warn Bolvar!", +`LogDescription` = "Speak to Highlord Bolvar Fordragon in Stormwind Keep.", +`QuestDescription` = "Although we don't have all the answers we might like, it's imperative that you bring our findings to Highlord Bolvar Fordragon right away! + He needs to know that the Defias have a powerful patron in Stormwind and that they're involved in the disappearance of King Varian!$B$B + I can use my magic to expedite your trip to Stormwind. Just speak to me when you're prepared to go, $N." +WHERE `ID` = 11222; + +UPDATE `quest_template` SET + `RewardMoney` = 4000, + `RewardChoiceItemID1` = 0, + `RewardChoiceItemID2` = 0, + `RewardChoiceItemID3` = 0, + `RewardChoiceItemQuantity1` = 0, + `RewardChoiceItemQuantity2` = 0, + `RewardChoiceItemQuantity3` = 0, +WHERE `ID` = 11142; + + +-- Lady Prestor, Bolvar and King Wrynn updates + +DELETE FROM `creature_questender` WHERE `quest` = 396; -- An Audience with the King +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(1749, 396), -- Lady Prestor is the Vanilla ender for this quest +(29611, 396); -- Also allow King Wrynn to complete the quest in person if he is back + +DELETE FROM `creature_questender` WHERE `quest` = 4184; -- The True Masters +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(1748, 4184), -- Bolvar is the Vanilla ender for this quest +(29611, 4184); -- Also allow King Wrynn to complete the quest in person if he is back + +DELETE FROM `creature_queststarter` WHERE `quest` = 4185; -- The True Masters INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES -(1748, 6182), # Bolvar is Vanilla starter for this quest -(29611, 6182); # Also allow King Wrynn to end it in person +(1748, 4185), -- Bolvar is Vanilla starter for this quest +(29611, 4185); -- Also allow King Wrynn to end it in person -DELETE FROM `creature_queststarter` WHERE `quest`=4185; +DELETE FROM `creature_queststarter` WHERE `quest` = 6182; -- The First and the Last INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES -(1748, 4185), # Bolvar is Vanilla starter for this quest -(29611, 4185); # Also allow King Wrynn to end it in person +(1748, 6182), -- Bolvar is Vanilla starter for this quest +(29611, 6182); -- Also allow King Wrynn to end it in person -UPDATE creature_queststarter SET id=1748 WHERE quest=6187; -# UPDATE creature_queststarter SET id=1748 WHERE quest=7782; +UPDATE `creature_questender` SET `id` = 1748 WHERE `quest` IN +(6186, -- The Blightcaller Cometh + 6187, -- Order Must Be Restored + 7781); -- The Lord of Blackrock + +UPDATE `creature_queststarter` SET `id` = 1748 WHERE `quest` = 6187; +-- UPDATE creature_queststarter SET `id` = 1748 WHERE `quest` = 7782; From ddebc73492c05fdba5b94aafb2ce34a12807a499 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sat, 14 Jun 2025 13:54:54 +0200 Subject: [PATCH 2/5] add teleport to Stormwind --- sql/world/base/quest_missing_diplomat.sql | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sql/world/base/quest_missing_diplomat.sql b/sql/world/base/quest_missing_diplomat.sql index 1288dec..80317bd 100644 --- a/sql/world/base/quest_missing_diplomat.sql +++ b/sql/world/base/quest_missing_diplomat.sql @@ -40,6 +40,26 @@ UPDATE `quest_template` SET `RewardChoiceItemQuantity3` = 0, WHERE `ID` = 11142; +UPDATE `gossip_menu_option` SET `OptionText` = 'Can you send me to Theramore? I have an urgent message for Lady Jaina from Highlord Bolvar.' WHERE `MenuID` = 8846; +UPDATE `broadcast_text` SET `MaleText` = 'Can you send me to Theramore? I have an urgent message for Lady Jaina from Highlord Bolvar.', + `FemaleText` = 'Can you send me to Theramore? I have an urgent message for Lady Jaina from Highlord Bolvar.' WHERE `ID` = 22524; + + +DELETE FROM `gossip_menu_option` WHERE `MenuID` = 2465 AND `OptionID` = 1; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, +`OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(2465, 1, 0, 'I\'m ready to travel to Stormwind.', 22522, 1, 1, 0, 0, 0, 0, '', 0, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 2465 AND `ConditionValue1` = 11222; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, +`ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 2465, 0, 0, 0, 28, 0, 11222, 0, 0, 0, 0, 0, '', ''); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 4968 AND `id` IN (9, 10); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(4968, 0, 9, 1, 62, 0, 100, 512, 2465, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, ''), +(4968, 0, 10, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 11, 42710, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, ''); + -- Lady Prestor, Bolvar and King Wrynn updates From a33e1fc520f7c549fee326ae57fdec5911acb54c Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sat, 14 Jun 2025 14:01:26 +0200 Subject: [PATCH 3/5] Update quest_missing_diplomat.sql --- sql/world/base/quest_missing_diplomat.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/world/base/quest_missing_diplomat.sql b/sql/world/base/quest_missing_diplomat.sql index 80317bd..e5c86b9 100644 --- a/sql/world/base/quest_missing_diplomat.sql +++ b/sql/world/base/quest_missing_diplomat.sql @@ -37,7 +37,7 @@ UPDATE `quest_template` SET `RewardChoiceItemID3` = 0, `RewardChoiceItemQuantity1` = 0, `RewardChoiceItemQuantity2` = 0, - `RewardChoiceItemQuantity3` = 0, + `RewardChoiceItemQuantity3` = 0 WHERE `ID` = 11142; UPDATE `gossip_menu_option` SET `OptionText` = 'Can you send me to Theramore? I have an urgent message for Lady Jaina from Highlord Bolvar.' WHERE `MenuID` = 8846; From 18af843876653f56643c8a5fb9541492a7ea65ac Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sat, 14 Jun 2025 14:12:45 +0200 Subject: [PATCH 4/5] Update quest_missing_diplomat.sql --- sql/world/base/quest_missing_diplomat.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/world/base/quest_missing_diplomat.sql b/sql/world/base/quest_missing_diplomat.sql index e5c86b9..b657054 100644 --- a/sql/world/base/quest_missing_diplomat.sql +++ b/sql/world/base/quest_missing_diplomat.sql @@ -53,11 +53,11 @@ INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionTex DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 2465 AND `ConditionValue1` = 11222; INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES -(15, 2465, 0, 0, 0, 28, 0, 11222, 0, 0, 0, 0, 0, '', ''); +(15, 2465, 1, 0, 0, 28, 0, 11222, 0, 0, 0, 0, 0, '', ''); DELETE FROM `smart_scripts` WHERE `entryorguid` = 4968 AND `id` IN (9, 10); INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(4968, 0, 9, 1, 62, 0, 100, 512, 2465, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, ''), +(4968, 0, 9, 1, 62, 0, 100, 512, 2465, 1, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, ''), (4968, 0, 10, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 11, 42710, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, ''); From 06be81b92b4a6bcfe59d52da44cfcca3936a339a Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sat, 14 Jun 2025 14:15:05 +0200 Subject: [PATCH 5/5] Update quest_missing_diplomat.sql --- sql/world/base/quest_missing_diplomat.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/world/base/quest_missing_diplomat.sql b/sql/world/base/quest_missing_diplomat.sql index b657054..5a78c5f 100644 --- a/sql/world/base/quest_missing_diplomat.sql +++ b/sql/world/base/quest_missing_diplomat.sql @@ -57,7 +57,7 @@ INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry DELETE FROM `smart_scripts` WHERE `entryorguid` = 4968 AND `id` IN (9, 10); INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(4968, 0, 9, 1, 62, 0, 100, 512, 2465, 1, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, ''), +(4968, 0, 9, 10, 62, 0, 100, 512, 2465, 1, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, ''), (4968, 0, 10, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 11, 42710, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '');