From 5c8b18ac0712fd7dee1bee2f4cd7ac7e511f122f Mon Sep 17 00:00:00 2001 From: Karrz1 <127596890+Karrz1@users.noreply.github.com> Date: Fri, 13 Nov 2026 20:49:14 +0000 Subject: [PATCH] Teldrassil live data: replace an older vendor row for the same item The 11-13 Teldrassil file deleted only its own vendor rows before inserting them, so the older Laird row for Shiny Red Apple (3614, 4536) made the insert fail with a duplicate key and the world update stopped. It now deletes any row for those vendor/item pairs first. --- .../2026_11_13_61_world_forever_live_sniff_teldrassil_1113.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/custom/world/2026_11_13_61_world_forever_live_sniff_teldrassil_1113.sql b/sql/custom/world/2026_11_13_61_world_forever_live_sniff_teldrassil_1113.sql index 45b5866cbe..e1800bb586 100644 --- a/sql/custom/world/2026_11_13_61_world_forever_live_sniff_teldrassil_1113.sql +++ b/sql/custom/world/2026_11_13_61_world_forever_live_sniff_teldrassil_1113.sql @@ -34,7 +34,7 @@ INSERT IGNORE INTO `creature_loot_template` (`Entry`, `ItemType`, `Item`, `Chanc -- 3. Vendor items live sells that ours lacks (rows we have and live did not show stay: they may be seasonal or conditional). -- Laird in Auberdine sells five raw fish in stacks of 5 that restock; the restock time (15 min) is INFERRED. -DELETE FROM `npc_vendor` WHERE `VerifiedBuild` = 70888 AND (`entry`,`item`) IN ((3614,4536),(4170,11291),(4200,6289),(4200,6308),(4200,6362),(4200,4603),(4200,8959),(4265,10284),(4265,4471),(4265,4470),(4265,11291),(4265,4536)); +DELETE FROM `npc_vendor` WHERE (`entry`,`item`) IN ((3614,4536),(4170,11291),(4200,6289),(4200,6308),(4200,6362),(4200,4603),(4200,8959),(4265,10284),(4265,4471),(4265,4470),(4265,11291),(4265,4536)); INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `type`, `BonusListIDs`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES (3614, 15, 4536, 0, 0, 0, 1, NULL, 0, 0, 70888), (4170, 19, 11291, 0, 0, 0, 1, NULL, 0, 0, 70888),