From 13d3d4b26f23c7ca5a572be09c5efaf5e08eaa49 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Mon, 4 Feb 2019 22:44:13 +0100 Subject: [PATCH] Fix(DB): Backbiter movement + missing texts in Dalaran (#1384) Fix Backbiter following Warp-Huntress Kula in Dalaran. Instead of summoning Backbiter via spell "Summon Backbiter" by Kula it is inserted as regular creature following Kula in close formation. Also fixed some missing texts for the following creature IDs in order to get rid of the errors in the server log: 27047: Invisible Stalker (Floating Only) 32711: Warp-Huntress Kula 29506: Orland Schaeffer Closes #980 Closes #1379 --- .../rev_1548778743987887239.sql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1548778743987887239.sql diff --git a/data/sql/updates/pending_db_world/rev_1548778743987887239.sql b/data/sql/updates/pending_db_world/rev_1548778743987887239.sql new file mode 100644 index 000000000..e98896f71 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1548778743987887239.sql @@ -0,0 +1,21 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1548778743987887239'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 32711; + +DELETE FROM `creature` WHERE `guid` = 2023271; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) +VALUES +(2023271,32751,571,0,0,1,1,28212,0,5808.4,583.112,652.386,5.0091,300,0,0,10635,0,0,0,0,0,'',0); + +DELETE FROM `creature_formations` WHERE `leaderGUID` = 114764; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) +VALUES +(114764,114764,0,0,515,0,0), +(114764,2023271,2,270,515,0,0); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (27047,32711,29506); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) +VALUES +(27047, 0, 0, '', 16, 0, 100, 0, 0, 0, 0, 0, 'Invisible Stalker (Floating Only)'), +(32711, 0, 0, 'So peaceful...', 12, 0, 100, 0, 0, 0, 0, 0, 'Warp-Huntress Kula'), +(29506, 0, 0, 'Welcome traveler!', 12, 0, 100, 0, 0, 0, 0, 0, 'Orland Schaeffer');