From 0d6b8dba181dfee5e928a7d6571adb283a8ceb5e Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Tue, 4 Jan 2022 06:30:55 -0300 Subject: [PATCH] fix(DB): fix world imports again (#9991) --- data/sql/updates/db_world/2021_12_29_01.sql | 2 +- data/sql/updates/db_world/2021_12_29_02.sql | 1 + data/sql/updates/db_world/2021_12_30_00.sql | 2 +- data/sql/updates/db_world/2021_12_30_01.sql | 2 +- data/sql/updates/db_world/2021_12_31_00.sql | 1 + data/sql/updates/db_world/2021_12_31_01.sql | 2 +- data/sql/updates/db_world/2021_12_31_02.sql | 2 +- data/sql/updates/db_world/2021_12_31_03.sql | 2 +- data/sql/updates/db_world/2021_12_31_04.sql | 2 +- data/sql/updates/db_world/2021_12_31_05.sql | 2 +- data/sql/updates/db_world/2021_12_31_06.sql | 2 +- data/sql/updates/db_world/2021_12_31_07.sql | 1 + data/sql/updates/db_world/2021_12_31_08.sql | 1 + data/sql/updates/db_world/2022_01_01_00.sql | 1 + data/sql/updates/db_world/2022_01_02_00.sql | 2 +- data/sql/updates/db_world/2022_01_02_01.sql | 2 +- data/sql/updates/db_world/2022_01_02_02.sql | 2 +- data/sql/updates/db_world/2022_01_02_03.sql | 1 + data/sql/updates/db_world/2022_01_02_04.sql | 2 +- data/sql/updates/db_world/2022_01_03_00.sql | 2 +- data/sql/updates/db_world/2022_01_03_01.sql | 2 +- data/sql/updates/db_world/2022_01_03_02.sql | 2 +- data/sql/updates/db_world/2022_01_03_03.sql | 2 +- data/sql/updates/db_world/2022_01_03_04.sql | 2 +- data/sql/updates/db_world/2022_01_03_05.sql | 1 + data/sql/updates/db_world/2022_01_03_06.sql | 2 +- data/sql/updates/db_world/2022_01_03_07.sql | 2 +- data/sql/updates/db_world/2022_01_03_08.sql | 2 +- data/sql/updates/db_world/2022_01_03_09.sql | 2 +- data/sql/updates/db_world/2022_01_03_10.sql | 2 +- data/sql/updates/db_world/2022_01_03_11.sql | 2 +- data/sql/updates/db_world/2022_01_03_12.sql | 1 + data/sql/updates/db_world/2022_01_03_13.sql | 2 +- data/sql/updates/db_world/2022_01_03_14.sql | 1 + data/sql/updates/db_world/2022_01_03_15.sql | 1 + data/sql/updates/db_world/2022_01_03_16.sql | 1 + data/sql/updates/db_world/2022_01_03_17.sql | 1 + data/sql/updates/db_world/2022_01_03_18.sql | 2 +- data/sql/updates/db_world/2022_01_03_19.sql | 1 + data/sql/updates/db_world/2022_01_03_20.sql | 1 + data/sql/updates/db_world/2022_01_03_21.sql | 1 + data/sql/updates/db_world/2022_01_03_22.sql | 2 +- data/sql/updates/db_world/2022_01_03_23.sql | 2 +- data/sql/updates/db_world/2022_01_03_24.sql | 2 +- 44 files changed, 44 insertions(+), 29 deletions(-) diff --git a/data/sql/updates/db_world/2021_12_29_01.sql b/data/sql/updates/db_world/2021_12_29_01.sql index a79488a2f..6441544f6 100644 --- a/data/sql/updates/db_world/2021_12_29_01.sql +++ b/data/sql/updates/db_world/2021_12_29_01.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '163986737136835360 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1639867371368353600'); -DELETE FROM `broadcast_text`; +DELETE FROM `broadcast_text`; -- Delete texts INSERT INTO `broadcast_text` (`ID`, `Language`, `MaleText`, `FemaleText`, `EmoteID0`, `EmoteID1`, `EmoteID2`, `EmoteDelay0`, `EmoteDelay1`, `EmoteDelay2`, `SoundId`, `Unk1`, `Unk2`, `VerifiedBuild`) VALUES (1, 0, 'Help help! I\'m being repressed!', '', 0, 0, 0, 0, 0, 0, 0, 0, 6, 18019), (3, 0, 'Company.. HALT! ... Fall IN!', '', 0, 0, 0, 0, 0, 0, 0, 0, 1, 18019), diff --git a/data/sql/updates/db_world/2021_12_29_02.sql b/data/sql/updates/db_world/2021_12_29_02.sql index e7cd8c417..e1820df6f 100644 --- a/data/sql/updates/db_world/2021_12_29_02.sql +++ b/data/sql/updates/db_world/2021_12_29_02.sql @@ -30,6 +30,7 @@ UPDATE `gossip_menu_option` SET `OptionBroadcastTextID` = 0 WHERE `MenuID` = 828 UPDATE `gossip_menu_option` SET `OptionBroadcastTextID` = 0 WHERE `MenuID` = 10043 AND `OptionID` IN (1,7,10); UPDATE `gossip_menu_option` SET `OptionBroadcastTextID` = 0 WHERE `MenuID` = 10769 AND `OptionID` IN (0,4,5,8,10,11); +-- Update creature_text a UPDATE `creature_text` SET `BroadcastTextId` = 0 WHERE `CreatureID` = 2307 AND `GroupID` = 0 AND `ID` = 0; UPDATE `creature_text` SET `BroadcastTextId` = 0 WHERE `CreatureID` = 10162 AND `GroupID` = 14 AND `ID` = 0; UPDATE `creature_text` SET `BroadcastTextId` = 0 WHERE `CreatureID` = 11940 AND `GroupID` = 0 AND `ID` = 0; diff --git a/data/sql/updates/db_world/2021_12_30_00.sql b/data/sql/updates/db_world/2021_12_30_00.sql index 32ca5952c..80c462ff8 100644 --- a/data/sql/updates/db_world/2021_12_30_00.sql +++ b/data/sql/updates/db_world/2021_12_30_00.sql @@ -23,7 +23,7 @@ SET @TIRION := 12126; SET @CRIMSON := 12128; SET @DEATHSPELL := 18969; --- Questender +-- Quest ender DELETE FROM `creature_questender` WHERE `id`=@TIRION; INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@TIRION, 5944); diff --git a/data/sql/updates/db_world/2021_12_30_01.sql b/data/sql/updates/db_world/2021_12_30_01.sql index 8ca757539..19fed49c3 100644 --- a/data/sql/updates/db_world/2021_12_30_01.sql +++ b/data/sql/updates/db_world/2021_12_30_01.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164012629028258852 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640126290282588522'); --- Pathing for Ghostlands Guardians Entry: 16541 +-- Pathing for Ghostlands Guardians Entry: 16541. SET @NPC := 81745; SET @PATH := @NPC * 10; UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=7494.6353,`position_y`=-6887.5347,`position_z`=93.34903 WHERE `guid`=@NPC; diff --git a/data/sql/updates/db_world/2021_12_31_00.sql b/data/sql/updates/db_world/2021_12_31_00.sql index f07093ee0..19c4e75f3 100644 --- a/data/sql/updates/db_world/2021_12_31_00.sql +++ b/data/sql/updates/db_world/2021_12_31_00.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164087513743679400 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640875137436794000'); +-- fix mapid UPDATE `gameobject` SET `map` = 30, `zoneId` = 0, `areaId` = 0 WHERE `guid` IN (11766,11765,11768,11767,11769) AND `id` = 2413; -- diff --git a/data/sql/updates/db_world/2021_12_31_01.sql b/data/sql/updates/db_world/2021_12_31_01.sql index df5fce171..2de150b1d 100644 --- a/data/sql/updates/db_world/2021_12_31_01.sql +++ b/data/sql/updates/db_world/2021_12_31_01.sql @@ -18,7 +18,7 @@ INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640896254599408944'); -- This fixes: https://github.com/azerothcore/azerothcore-wotlk/issues/6780 --- Condition for source Gossip menu condition type Queststate +-- Condition for source Gossip menu condition type Quest state DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7376 AND `SourceEntry`=8826 AND `SourceId`=0; INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (14, 7376, 8826, 0, 0, 47, 0, 9451, 64, 0, 0, 0, 0, '', 'Show gossip menu 7376 text id 8826 if quest Call of Earth is rewarded'); diff --git a/data/sql/updates/db_world/2021_12_31_02.sql b/data/sql/updates/db_world/2021_12_31_02.sql index cb35027ed..fa3a20a87 100644 --- a/data/sql/updates/db_world/2021_12_31_02.sql +++ b/data/sql/updates/db_world/2021_12_31_02.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164091916795175569 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640919167951755692'); --- Pathing for Broom Entry: 17213 -- 0 points to 134 points +-- Pathing for Broom Entry: 17213 -- 0 points to 134 points. SET @NPC := 62000; SET @PATH := @NPC * 10; DELETE FROM `creature` WHERE `guid`=@NPC; diff --git a/data/sql/updates/db_world/2021_12_31_03.sql b/data/sql/updates/db_world/2021_12_31_03.sql index 21d82aba5..88df4fda4 100644 --- a/data/sql/updates/db_world/2021_12_31_03.sql +++ b/data/sql/updates/db_world/2021_12_31_03.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164082325570154330 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640823255701543300'); --- "Patches", correcting SAI +-- "Patches", correcting SAI. DELETE FROM `smart_scripts` WHERE (`entryorguid` = 30993) AND (`source_type` = 0) AND (`id` IN (1, 3, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16)); 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`, `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 (30993, 0, 1, 13, 1, 2, 100, 0, 0, 0, 3000, 3000, 0, 11, 58108, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '"Patches" - OOC (Phase 2) - Cast Patches Chain'), diff --git a/data/sql/updates/db_world/2021_12_31_04.sql b/data/sql/updates/db_world/2021_12_31_04.sql index 4c04bf3e3..76f9f7e97 100644 --- a/data/sql/updates/db_world/2021_12_31_04.sql +++ b/data/sql/updates/db_world/2021_12_31_04.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164003722706748470 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640037227067484700'); --- Turning quest 'Onu is Meditating' to auto-complete +-- Turning quest 'Onu is Meditating' to auto-complete. UPDATE `quest_template` SET `Flags` = `Flags`| 65536 WHERE (`ID` = 961); -- Adding conditions to quest: 'Onu is Meditating' diff --git a/data/sql/updates/db_world/2021_12_31_05.sql b/data/sql/updates/db_world/2021_12_31_05.sql index fec35f108..63c759386 100644 --- a/data/sql/updates/db_world/2021_12_31_05.sql +++ b/data/sql/updates/db_world/2021_12_31_05.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164096980438836616 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640969804388366165'); --- removes loot id 7549 link from Tree Frog +-- removes loot id 7549 link from Tree Frog. UPDATE `creature_template` SET `lootid`=0 WHERE `entry`=7549; -- Removes Loot from creature Tree Frog NPC ID 7549 diff --git a/data/sql/updates/db_world/2021_12_31_06.sql b/data/sql/updates/db_world/2021_12_31_06.sql index a1dc609eb..20cdca9f8 100644 --- a/data/sql/updates/db_world/2021_12_31_06.sql +++ b/data/sql/updates/db_world/2021_12_31_06.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164097225207168818 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640972252071688181'); --- removes unverified corrections of loot drop of the abyssal crest with drop rate based on udb from consolidated sniffs +-- removes unverified corrections of loot drop of the abyssal crest with drop rate based on udb from consolidated sniffs. DELETE FROM `creature_loot_template` WHERE `Entry`=15209 AND `Item`=20513 AND `Reference`=0 AND `GroupId`=0; DELETE FROM `creature_loot_template` WHERE `Entry`=15211 AND `Item`=20513 AND `Reference`=0 AND `GroupId`=0; DELETE FROM `creature_loot_template` WHERE `Entry`=15212 AND `Item`=20513 AND `Reference`=0 AND `GroupId`=0; diff --git a/data/sql/updates/db_world/2021_12_31_07.sql b/data/sql/updates/db_world/2021_12_31_07.sql index 08747b5c0..eec642eda 100644 --- a/data/sql/updates/db_world/2021_12_31_07.sql +++ b/data/sql/updates/db_world/2021_12_31_07.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164023762623509852 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640237626235098529'); +-- remove loot DELETE FROM `creature_loot_template` WHERE `Item` = 2997; -- diff --git a/data/sql/updates/db_world/2021_12_31_08.sql b/data/sql/updates/db_world/2021_12_31_08.sql index b6986db3a..b73c5ca3d 100644 --- a/data/sql/updates/db_world/2021_12_31_08.sql +++ b/data/sql/updates/db_world/2021_12_31_08.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164023721811624155 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640237218116241557'); +-- remove loot DELETE FROM `creature_loot_template` WHERE `Item` = 2996; -- diff --git a/data/sql/updates/db_world/2022_01_01_00.sql b/data/sql/updates/db_world/2022_01_01_00.sql index cfc33388a..88074053d 100644 --- a/data/sql/updates/db_world/2022_01_01_00.sql +++ b/data/sql/updates/db_world/2022_01_01_00.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164086071328476650 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640860713284766500'); +-- Spawn conditions DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 29 AND `SourceEntry` = 12101; INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (29, 0, 12101, 0, 0, 13, 0, 2, 3, 3, 1, 0, 0, '', 'Lava Surger only spawn if boss state 3 (Garr) is not DONE.'); diff --git a/data/sql/updates/db_world/2022_01_02_00.sql b/data/sql/updates/db_world/2022_01_02_00.sql index b96a85270..752d83e7c 100644 --- a/data/sql/updates/db_world/2022_01_02_00.sql +++ b/data/sql/updates/db_world/2022_01_02_00.sql @@ -19,7 +19,7 @@ INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1639803872367552000'); -- Source: 2.5.2.41446 Alliance Night Elf 03 Area in Shadowglen around Aldrasil includes correct paths for Shadowglen Sentinel creatures 46484 and 46499.pkt -- Pathing corrections for Shadowglen Sentinel (Entry 12160) Creature 46499 --- 0x2056B400200BE0000000150001398466 .go xyz 10429.606 878.8465 1324.0096 +-- 0x2056B400200BE0000000150001398466 .go xyz 10429.606 878.8465 1324.0096. SET @NPC := 46499; SET @PATH := @NPC * 10; UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=10429.606,`position_y`=878.8465,`position_z`=1324.0096 WHERE `guid`=@NPC; diff --git a/data/sql/updates/db_world/2022_01_02_01.sql b/data/sql/updates/db_world/2022_01_02_01.sql index 6993ed031..4795cf1da 100644 --- a/data/sql/updates/db_world/2022_01_02_01.sql +++ b/data/sql/updates/db_world/2022_01_02_01.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164082762125098730 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640827621250987300'); --- Golorn Frostbeard Waypoints +-- Golorn Frostbeard Waypoints. SET @NPC := 219; UPDATE `creature` SET `position_x`=-5633.440, `position_y`=-496.4770, `position_z`=396.8753, `orientation`=2.539195, `MovementType`=2 WHERE `guid`=@NPC; SET @POINT := 0; diff --git a/data/sql/updates/db_world/2022_01_02_02.sql b/data/sql/updates/db_world/2022_01_02_02.sql index 15ee5ded9..c142ae56b 100644 --- a/data/sql/updates/db_world/2022_01_02_02.sql +++ b/data/sql/updates/db_world/2022_01_02_02.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164107954064966350 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641079540649663500'); --- Midsummer Bonfire Spawn Trap 2 (181375) +-- Midsummer Bonfire Spawn Trap 2 (181375). DELETE FROM `gameobject_template` WHERE `entry` = 181375; INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES (181375, 6, 0, 'Midsummer Bonfire Spawn Trap 2', '', '', '', 1, 0, 0, 0, 29114, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', -18019); diff --git a/data/sql/updates/db_world/2022_01_02_03.sql b/data/sql/updates/db_world/2022_01_02_03.sql index 8b4ec3e44..2d005f1cb 100644 --- a/data/sql/updates/db_world/2022_01_02_03.sql +++ b/data/sql/updates/db_world/2022_01_02_03.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164023806314134047 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640238063141340476'); +-- loot DELETE FROM `creature_loot_template` WHERE `Item` = 4339; -- diff --git a/data/sql/updates/db_world/2022_01_02_04.sql b/data/sql/updates/db_world/2022_01_02_04.sql index d55c922b1..520272e55 100644 --- a/data/sql/updates/db_world/2022_01_02_04.sql +++ b/data/sql/updates/db_world/2022_01_02_04.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164115524042360980 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641155240423609800'); --- Adjust ".gm list" to security 3 as default +-- Adjust ".gm list" to security 3 as default. UPDATE `command` SET `security`='3' WHERE `name`='gm list'; -- diff --git a/data/sql/updates/db_world/2022_01_03_00.sql b/data/sql/updates/db_world/2022_01_03_00.sql index bed338f27..61bdc6712 100644 --- a/data/sql/updates/db_world/2022_01_03_00.sql +++ b/data/sql/updates/db_world/2022_01_03_00.sql @@ -19,7 +19,7 @@ INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640126290282588522'); DELETE FROM `creature` WHERE `guid` IN (82551,82548,145262,145263,145258,82797,145239,82719,82716,82446); DELETE FROM `creature_addon` WHERE `guid` IN (82551,82548,145262,145263,145258,82797,145239,82719,82716,82446); --- Pathing for Spindleweb Spider Entry: 16350 +-- Pathing for Spindleweb Spider Entry: 16350. SET @NPC := 82173; SET @PATH := @NPC * 10; UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=7717.712,`position_y`=-6330.0884,`position_z`=22.734991 WHERE `guid`=@NPC; diff --git a/data/sql/updates/db_world/2022_01_03_01.sql b/data/sql/updates/db_world/2022_01_03_01.sql index adb2f79a7..ac7c3e4a8 100644 --- a/data/sql/updates/db_world/2022_01_03_01.sql +++ b/data/sql/updates/db_world/2022_01_03_01.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164030134169217669 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640301341692176690'); --- Creature speed update for Eversong woods and Ghostlands +-- Creature speed update for Eversong woods and Ghostlands. UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=20100; UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=19456; UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=16294; diff --git a/data/sql/updates/db_world/2022_01_03_02.sql b/data/sql/updates/db_world/2022_01_03_02.sql index f0fe230a1..7fab424bd 100644 --- a/data/sql/updates/db_world/2022_01_03_02.sql +++ b/data/sql/updates/db_world/2022_01_03_02.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164070688420890264 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640706884208902644'); --- Pathing for Zixil Entry: 3537 with broadcast text 1119 +-- Pathing for Zixil Entry: 3537 with broadcast text 1119. SET @NPC := 15424; SET @PATH := @NPC * 10; UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-339.08447,`position_y`=-708.55786,`position_z`=57.732002 WHERE `guid`=@NPC; diff --git a/data/sql/updates/db_world/2022_01_03_03.sql b/data/sql/updates/db_world/2022_01_03_03.sql index a40f90948..cf328f6dd 100644 --- a/data/sql/updates/db_world/2022_01_03_03.sql +++ b/data/sql/updates/db_world/2022_01_03_03.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164070808396822579 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640708083968225794'); --- Forsaken Raiders missing auras +-- Forsaken Raiders missing auras. DELETE FROM `creature_template_addon` WHERE `entry`=17108; INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (17108,0,0,0,1,0,0, '6718 8601'); UPDATE `creature_addon` SET `auras`='6718 8601' WHERE `guid` IN (15577,15702,15705); diff --git a/data/sql/updates/db_world/2022_01_03_04.sql b/data/sql/updates/db_world/2022_01_03_04.sql index 23a3b66f2..71270c678 100644 --- a/data/sql/updates/db_world/2022_01_03_04.sql +++ b/data/sql/updates/db_world/2022_01_03_04.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164072201536330385 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640722015363303857'); --- Pathing for Jason Lemieux Entry: 3544 +-- Pathing for Jason Lemieux Entry: 3544. SET @NPC := 15530; SET @PATH := @NPC * 10; UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-34.749947,`position_y`=-819.71674,`position_z`=57.503563 WHERE `guid`=@NPC; diff --git a/data/sql/updates/db_world/2022_01_03_05.sql b/data/sql/updates/db_world/2022_01_03_05.sql index 8e39fa7ae..29f8f72bb 100644 --- a/data/sql/updates/db_world/2022_01_03_05.sql +++ b/data/sql/updates/db_world/2022_01_03_05.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164023786599767864 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640237865997678645'); +-- loot DELETE FROM `creature_loot_template` WHERE `Item` = 14048; -- diff --git a/data/sql/updates/db_world/2022_01_03_06.sql b/data/sql/updates/db_world/2022_01_03_06.sql index 5f95dd7c9..04707f37b 100644 --- a/data/sql/updates/db_world/2022_01_03_06.sql +++ b/data/sql/updates/db_world/2022_01_03_06.sql @@ -18,7 +18,7 @@ INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640803052473980355'); -- Dalaran Crater, Alterac Mountains --- Pathing for Elemental Slave Entry: 2359 +-- Pathing for Elemental Slave Entry: 2359. SET @NPC := 16818; SET @PATH := @NPC * 10; UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=457.73822,`position_y`=214.55646,`position_z`=42.041195 WHERE `guid`=@NPC; diff --git a/data/sql/updates/db_world/2022_01_03_07.sql b/data/sql/updates/db_world/2022_01_03_07.sql index 4f341302a..a32a94d2a 100644 --- a/data/sql/updates/db_world/2022_01_03_07.sql +++ b/data/sql/updates/db_world/2022_01_03_07.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164081040798673872 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640810407986738722'); --- Lordamere Internment Camp, Alterac Mountains +-- Lordamere Internment Camp, Alterac Mountains. -- Pathing for Dalaran Shield Guard Entry: 2271 SET @NPC := 17100; diff --git a/data/sql/updates/db_world/2022_01_03_08.sql b/data/sql/updates/db_world/2022_01_03_08.sql index 8682adb30..257aaee03 100644 --- a/data/sql/updates/db_world/2022_01_03_08.sql +++ b/data/sql/updates/db_world/2022_01_03_08.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164087381546881046 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640873815468810463'); --- Cleanup Southshore Guards "Fix movement, position, and remove overspawns +-- Cleanup Southshore Guards "Fix movement, position, and remove overspawns. UPDATE `creature` SET `wander_distance`=2,`MovementType`=1,`position_x`=-696.3634,`position_y`=-428.55398,`position_z`=31.63203 WHERE `guid`=15668; UPDATE `creature` SET `wander_distance`=2,`MovementType`=1,`position_x`=-678.02656,`position_y`=-427.078430,`position_z`=31.63488 WHERE `guid`=15667; UPDATE `creature` SET `wander_distance`=2,`MovementType`=1,`position_x`=-777.4129,`position_y`=-576.014648,`position_z`=20.289885 WHERE `guid`=16386; diff --git a/data/sql/updates/db_world/2022_01_03_09.sql b/data/sql/updates/db_world/2022_01_03_09.sql index 66119c50f..88a9d3b30 100644 --- a/data/sql/updates/db_world/2022_01_03_09.sql +++ b/data/sql/updates/db_world/2022_01_03_09.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164088339858861849 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640883398588618491'); --- An'owyn +-- An'owyn. UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_sentinel_infiltrator' WHERE `entry`=16333; DELETE FROM `smart_scripts` WHERE `entryorguid`=16333 AND `source_type`=0; diff --git a/data/sql/updates/db_world/2022_01_03_10.sql b/data/sql/updates/db_world/2022_01_03_10.sql index 4e68e5314..7eec2272d 100644 --- a/data/sql/updates/db_world/2022_01_03_10.sql +++ b/data/sql/updates/db_world/2022_01_03_10.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164097025431347146 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640970254313471461'); --- Remove SAI path +-- Remove SAI path. UPDATE `creature_template` SET `AIName`="", `ScriptName`='' WHERE `entry`=18947; DELETE FROM `smart_scripts` WHERE `entryorguid`=18947 AND `source_type`=0; DELETE FROM `smart_scripts` WHERE `entryorguid` IN (1894700,1894701,1894702) AND `source_type`=9; diff --git a/data/sql/updates/db_world/2022_01_03_11.sql b/data/sql/updates/db_world/2022_01_03_11.sql index 5bddf41dc..f1798640f 100644 --- a/data/sql/updates/db_world/2022_01_03_11.sql +++ b/data/sql/updates/db_world/2022_01_03_11.sql @@ -18,7 +18,7 @@ INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641001827126152885'); -- Hammerfall --- Add missing equipment +-- Add missing equipment. DELETE FROM `creature_equip_template` WHERE `CreatureID`=2621 AND `ID`=2; INSERT INTO `creature_equip_template` (`CreatureID`,`ID`,`ItemID1`,`ItemID2`,`ItemID3`,`VerifiedBuild`) VALUES (2621,2,5956,12453,0,0); diff --git a/data/sql/updates/db_world/2022_01_03_12.sql b/data/sql/updates/db_world/2022_01_03_12.sql index bb81eafac..14da3d24e 100644 --- a/data/sql/updates/db_world/2022_01_03_12.sql +++ b/data/sql/updates/db_world/2022_01_03_12.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '163925599452134020 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1639255994521340200'); +-- creauture addon ALTER TABLE `creature_addon` CHANGE `visibilityDistanceType` `visibilityDistanceType` TINYINT UNSIGNED DEFAULT 0 NOT NULL; ALTER TABLE `creature_template_addon` CHANGE `visibilityDistanceType` `visibilityDistanceType` TINYINT UNSIGNED DEFAULT 0 NOT NULL; diff --git a/data/sql/updates/db_world/2022_01_03_13.sql b/data/sql/updates/db_world/2022_01_03_13.sql index 311e88ada..656111ee9 100644 --- a/data/sql/updates/db_world/2022_01_03_13.sql +++ b/data/sql/updates/db_world/2022_01_03_13.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164121398660905110 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641213986609051100'); --- Grethok immunity flags +-- Grethok immunity flags. UPDATE `creature_template` SET `mechanic_immune_mask` = 33636209 WHERE (`entry` = 12557); -- Grethok - Update arcane missiles to correct spell id (was using triggered spell) diff --git a/data/sql/updates/db_world/2022_01_03_14.sql b/data/sql/updates/db_world/2022_01_03_14.sql index e6e96a5e4..3705fc1ba 100644 --- a/data/sql/updates/db_world/2022_01_03_14.sql +++ b/data/sql/updates/db_world/2022_01_03_14.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164042140288075731 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640421402880757319'); +-- quest UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` IN (8799, 8763); -- diff --git a/data/sql/updates/db_world/2022_01_03_15.sql b/data/sql/updates/db_world/2022_01_03_15.sql index d13851a9e..0d4ed2dad 100644 --- a/data/sql/updates/db_world/2022_01_03_15.sql +++ b/data/sql/updates/db_world/2022_01_03_15.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164023821491635242 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640238214916352424'); +-- loot DELETE FROM `creature_loot_template` WHERE `Item` = 4305; -- diff --git a/data/sql/updates/db_world/2022_01_03_16.sql b/data/sql/updates/db_world/2022_01_03_16.sql index ad8525dcd..fe6ef7eed 100644 --- a/data/sql/updates/db_world/2022_01_03_16.sql +++ b/data/sql/updates/db_world/2022_01_03_16.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164058144212059136 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640581442120591362'); +-- cmd UPDATE `command` SET `name`='lookup item set' WHERE `name`='lookup itemset'; -- diff --git a/data/sql/updates/db_world/2022_01_03_17.sql b/data/sql/updates/db_world/2022_01_03_17.sql index 2ae8311cb..a74fded4e 100644 --- a/data/sql/updates/db_world/2022_01_03_17.sql +++ b/data/sql/updates/db_world/2022_01_03_17.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164065153957798900 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640651539577989000'); +-- Conditions DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 19) AND (`SourceGroup` = 0) AND (`SourceEntry` IN (7483, 7484, 7485)) AND (`SourceId` = 0); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (19, 0, 7483, 0, 1, 8, 0, 7482, 0, 0, 0, 0, 0, '', 'Libram of Rapidity - Available only if Elven Legends (Alliance) is completed'), diff --git a/data/sql/updates/db_world/2022_01_03_18.sql b/data/sql/updates/db_world/2022_01_03_18.sql index c8a7c441b..05c4c5f9f 100644 --- a/data/sql/updates/db_world/2022_01_03_18.sql +++ b/data/sql/updates/db_world/2022_01_03_18.sql @@ -18,7 +18,7 @@ INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640704117328778600'); -- The 'Serpent Statue' is supposed to be despawned but currently not supported by the core. -- Will have to wait until Dynamic spawn is implemented. --- Lord Kragaru improvement SmartAI +-- Lord Kragaru improvement SmartAI. DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 12369); 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`, `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 (12369, 0, 0, 0, 9, 0, 100, 0, 0, 5, 8000, 10000, 0, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lord Kragaru - Within 0-5 Range - Cast \'Cleave\''), diff --git a/data/sql/updates/db_world/2022_01_03_19.sql b/data/sql/updates/db_world/2022_01_03_19.sql index f4acbe11f..05a9e4853 100644 --- a/data/sql/updates/db_world/2022_01_03_19.sql +++ b/data/sql/updates/db_world/2022_01_03_19.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164081519077940150 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640815190779401500'); +-- quest UPDATE `quest_template_addon` SET `PrevQuestID` = 9578 WHERE `ID` = 9706; -- diff --git a/data/sql/updates/db_world/2022_01_03_20.sql b/data/sql/updates/db_world/2022_01_03_20.sql index 6556fdeaf..9ac5f7108 100644 --- a/data/sql/updates/db_world/2022_01_03_20.sql +++ b/data/sql/updates/db_world/2022_01_03_20.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '163951924929272740 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1639519249292727400'); +-- creature DELETE FROM `creature` WHERE `guid` IN (86249,86258,86264,86265,86716,86898,90490,94518,94553,94555,94603,94604,94634,94635,94637,94649,94693,94694,94699,94700, 94704,94710,94711,94738,94747,94753,94760,94761,94762,94765,94773,94786,94796,94803,94805,94808,94814,94831,94839,94840,94862,94862,94862,94863,94863,94863,94920, 94920,94921,94921,94922,94923,94924,94925,94926,94927,94928,94929,94930,94930,94930,94930,94931,94931,94931,94931,94932,94932,94932,94932,94933,94933,94933,94933, diff --git a/data/sql/updates/db_world/2022_01_03_21.sql b/data/sql/updates/db_world/2022_01_03_21.sql index 75c7083c3..002f0b16a 100644 --- a/data/sql/updates/db_world/2022_01_03_21.sql +++ b/data/sql/updates/db_world/2022_01_03_21.sql @@ -16,6 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164065670278833030 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640656702788330300'); +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_item_wraith_scythe_drain_life'; INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (16414, 'spell_item_wraith_scythe_drain_life'); diff --git a/data/sql/updates/db_world/2022_01_03_22.sql b/data/sql/updates/db_world/2022_01_03_22.sql index a9cccb2c0..c4def5b19 100644 --- a/data/sql/updates/db_world/2022_01_03_22.sql +++ b/data/sql/updates/db_world/2022_01_03_22.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164105726082115801 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641057260821158016'); --- 5263 Pocket Lint - Is only dropped by Mizzle the Crafty NPC, not other NPCS. +-- 5263 Pocket Lint - Is only dropped by Mizzle the Crafty NPC, not other NPCS DELETE FROM `creature_loot_template` WHERE `Entry`=13036 AND `Item`=5263 AND `Reference`=0 AND `GroupId`=0; -- 18255 Runn Tum Tuber - Is only dropped by Pusillin, not other NPCs. diff --git a/data/sql/updates/db_world/2022_01_03_23.sql b/data/sql/updates/db_world/2022_01_03_23.sql index e52fecd78..8f4200732 100644 --- a/data/sql/updates/db_world/2022_01_03_23.sql +++ b/data/sql/updates/db_world/2022_01_03_23.sql @@ -18,7 +18,7 @@ INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641238616670655918'); -- Fixes issue: https://github.com/azerothcore/azerothcore-wotlk/issues/8146 -- Made corrections to the original script, made it so you cant attack while its tagged like on retail --- Blacksilt Scout Update SAI +-- Blacksilt Scout Update SAI. SET @ENTRY := 17326; SET @SOURCETYPE := 0; UPDATE creature_template SET AIName="SmartAI" WHERE entry=@ENTRY; diff --git a/data/sql/updates/db_world/2022_01_03_24.sql b/data/sql/updates/db_world/2022_01_03_24.sql index 59c22e216..37ed5ddbf 100644 --- a/data/sql/updates/db_world/2022_01_03_24.sql +++ b/data/sql/updates/db_world/2022_01_03_24.sql @@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '164115368728251037 INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641153687282510374'); --- Removes Ez-Thro Dynamite II from mob. Item is not a Mod Drop Item per UDB verification +-- Removes Ez-Thro Dynamite II from mob. Item is not a Mod Drop Item per UDB verification. DELETE FROM `creature_loot_template` WHERE `Entry`=12178 AND `Item`=18588 AND `Reference`=0 AND `GroupId`=0; DELETE FROM `creature_loot_template` WHERE `Entry`=13136 AND `Item`=18588 AND `Reference`=0 AND `GroupId`=0;