fix(db_world): add dist/angle to creature_formations INSERTs (strict MariaDB)

Archive updates omitted NOT NULL dist/angle under strict SQL mode. Patch all
affected archive files, pending updates, and old 9.x copies. Use 0,0 for
stacked/default formations.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dawnforger
2026-05-09 00:36:16 -05:00
parent 36fdf9af82
commit 326644bbac
17 changed files with 1189 additions and 1189 deletions
+10 -10
View File
@@ -31,15 +31,15 @@ INSERT INTO `creature` (`guid`, `id1`, `map`, `zoneId`, `areaId`, `spawnMask`, `
UPDATE `creature_template` SET `flags_extra` = `flags_extra`|33554432 WHERE `entry` IN (28732, 28733, 28734, 28731, 28730, 28729, 28684, 31612, 31616, 31615, 31617, 31608, 31605, 31606);
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (12758, 12759, 12760);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`) VALUES
(12758, 12758, 11),
(12758, 12762, 11),
(12758, 12761, 11),
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(12758, 12758, 0, 0, 11),
(12758, 12762, 0, 0, 11),
(12758, 12761, 0, 0, 11),
(12759, 12759, 11),
(12759, 12763, 11),
(12759, 12764, 11),
(12759, 12759, 0, 0, 11),
(12759, 12763, 0, 0, 11),
(12759, 12764, 0, 0, 11),
(12760, 12760, 11),
(12760, 12765, 11),
(12760, 12766, 11);
(12760, 12760, 0, 0, 11),
(12760, 12765, 0, 0, 11),
(12760, 12766, 0, 0, 11);
+34 -34
View File
@@ -19,37 +19,37 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_
(16505, 0, 3, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 39, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naxxramas Follower - On Aggro - Call For Help');
DELETE FROM `creature_formations` WHERE `memberGUID` IN (127800, 127987, 127988, 127989, 127990, 127991, 127992, 127993, 127994, 127995, 127996, 127997, 127998, 127999, 128000, 128001, 128019, 128020, 128021, 128022, 128023, 128024, 128025, 128026, 128027, 128028, 128029, 128030, 128031, 128032, 128033, 128034, 128035);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`) VALUES
(127800, 127800, 1),
(127800, 127987, 1),
(127800, 127988, 1),
(127800, 127989, 1),
(127800, 127990, 1),
(127800, 127991, 1),
(127800, 127992, 1),
(127800, 127993, 1),
(127800, 127994, 1),
(127800, 127995, 1),
(127800, 127996, 1),
(127800, 127997, 1),
(127800, 127998, 1),
(127800, 127999, 1),
(127800, 128000, 1),
(127800, 128001, 1),
(127800, 128019, 1),
(127800, 128020, 1),
(127800, 128021, 1),
(127800, 128022, 1),
(127800, 128023, 1),
(127800, 128024, 1),
(127800, 128025, 1),
(127800, 128026, 1),
(127800, 128027, 1),
(127800, 128028, 1),
(127800, 128029, 1),
(127800, 128030, 1),
(127800, 128031, 1),
(127800, 128032, 1),
(127800, 128033, 1),
(127800, 128034, 1),
(127800, 128035, 1);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(127800, 127800, 0, 0, 1),
(127800, 127987, 0, 0, 1),
(127800, 127988, 0, 0, 1),
(127800, 127989, 0, 0, 1),
(127800, 127990, 0, 0, 1),
(127800, 127991, 0, 0, 1),
(127800, 127992, 0, 0, 1),
(127800, 127993, 0, 0, 1),
(127800, 127994, 0, 0, 1),
(127800, 127995, 0, 0, 1),
(127800, 127996, 0, 0, 1),
(127800, 127997, 0, 0, 1),
(127800, 127998, 0, 0, 1),
(127800, 127999, 0, 0, 1),
(127800, 128000, 0, 0, 1),
(127800, 128001, 0, 0, 1),
(127800, 128019, 0, 0, 1),
(127800, 128020, 0, 0, 1),
(127800, 128021, 0, 0, 1),
(127800, 128022, 0, 0, 1),
(127800, 128023, 0, 0, 1),
(127800, 128024, 0, 0, 1),
(127800, 128025, 0, 0, 1),
(127800, 128026, 0, 0, 1),
(127800, 128027, 0, 0, 1),
(127800, 128028, 0, 0, 1),
(127800, 128029, 0, 0, 1),
(127800, 128030, 0, 0, 1),
(127800, 128031, 0, 0, 1),
(127800, 128032, 0, 0, 1),
(127800, 128033, 0, 0, 1),
(127800, 128034, 0, 0, 1),
(127800, 128035, 0, 0, 1);
+10 -10
View File
@@ -1,16 +1,16 @@
-- DB update 2026_01_04_00 -> 2026_01_04_01
--
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (12758, 12759, 12760);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`) VALUES
(12758, 12758, 7),
(12758, 12762, 7),
(12758, 12761, 7),
(12759, 12759, 7),
(12759, 12763, 7),
(12759, 12764, 7),
(12760, 12760, 7),
(12760, 12765, 7),
(12760, 12766, 7);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(12758, 12758, 0, 0, 7),
(12758, 12762, 0, 0, 7),
(12758, 12761, 0, 0, 7),
(12759, 12759, 0, 0, 7),
(12759, 12763, 0, 0, 7),
(12759, 12764, 0, 0, 7),
(12760, 12760, 0, 0, 7),
(12760, 12765, 0, 0, 7),
(12760, 12766, 0, 0, 7);
DELETE FROM `linked_respawn` WHERE `linkedGuid` = 127214 AND `linkType` = 0;
INSERT INTO `linked_respawn` (`guid`, `linkedGuid`, `linkType`) VALUES
+35 -35
View File
@@ -2,41 +2,41 @@
-- Hellfire Peninsula - Pools of Aggonar ooze aggro linking
DELETE FROM `creature_formations` WHERE `leaderGUID` BETWEEN 58465 and 58497;
DELETE FROM `creature_formations` WHERE `leaderGUID` = 58786;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`) VALUES
(58465, 58465, 3), (58465, 58498, 3), (58465, 58499, 3),
(58466, 58466, 3), (58466, 58500, 3), (58466, 58504, 3),
(58467, 58467, 3), (58467, 58501, 3), (58467, 58503, 3),
(58468, 58468, 3), (58468, 58561, 3), (58468, 58562, 3),
(58469, 58469, 3), (58469, 58507, 3), (58469, 58508, 3),
(58470, 58470, 3), (58470, 58509, 3), (58470, 58510, 3),
(58471, 58471, 3), (58471, 58502, 3), (58471, 58787, 3),
(58786, 58786, 3), (58786, 58513, 3), (58786, 58514, 3),
(58472, 58472, 3), (58472, 58511, 3), (58472, 58512, 3),
(58473, 58473, 3), (58473, 58515, 3), (58473, 58516, 3),
(58474, 58474, 3), (58474, 58517, 3), (58474, 58518, 3),
(58475, 58475, 3), (58475, 58519, 3), (58475, 58520, 3),
(58476, 58476, 3), (58476, 58521, 3), (58476, 58522, 3),
(58477, 58477, 3), (58477, 58523, 3), (58477, 58524, 3),
(58478, 58478, 3), (58478, 58525, 3), (58478, 58526, 3),
(58479, 58479, 3), (58479, 58527, 3), (58479, 58528, 3),
(58480, 58480, 3), (58480, 58529, 3), (58480, 58530, 3),
(58481, 58481, 3), (58481, 58531, 3), (58481, 58532, 3),
(58482, 58482, 3), (58482, 58535, 3), (58482, 58536, 3),
(58483, 58483, 3), (58483, 58533, 3), (58483, 58534, 3),
(58484, 58484, 3), (58484, 58537, 3), (58484, 58538, 3),
(58485, 58485, 3), (58485, 58539, 3), (58485, 58540, 3),
(58486, 58486, 3), (58486, 58541, 3), (58486, 58542, 3),
(58487, 58487, 3), (58487, 58543, 3), (58487, 58544, 3),
(58488, 58488, 3), (58488, 58545, 3), (58488, 58546, 3),
(58489, 58489, 3), (58489, 58552, 3), (58489, 58553, 3),
(58490, 58490, 3), (58490, 58554, 3), (58490, 58547, 3),
(58491, 58491, 3), (58491, 58549, 3), (58491, 58548, 3),
(58492, 58492, 3), (58492, 58550, 3), (58492, 58551, 3),
(58493, 58493, 3), (58493, 58555, 3), (58493, 58556, 3),
(58494, 58494, 3), (58494, 58557, 3), (58494, 58558, 3),
(58495, 58495, 3), (58495, 58559, 3), (58495, 58560, 3),
(58496, 58496, 3), (58496, 58505, 3), (58496, 58506, 3),
(58497, 58497, 3), (58497, 58563, 3), (58497, 58564, 3);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(58465, 58465, 0, 0, 3), (58465, 58498, 0, 0, 3), (58465, 58499, 0, 0, 3),
(58466, 58466, 0, 0, 3), (58466, 58500, 0, 0, 3), (58466, 58504, 0, 0, 3),
(58467, 58467, 0, 0, 3), (58467, 58501, 0, 0, 3), (58467, 58503, 0, 0, 3),
(58468, 58468, 0, 0, 3), (58468, 58561, 0, 0, 3), (58468, 58562, 0, 0, 3),
(58469, 58469, 0, 0, 3), (58469, 58507, 0, 0, 3), (58469, 58508, 0, 0, 3),
(58470, 58470, 0, 0, 3), (58470, 58509, 0, 0, 3), (58470, 58510, 0, 0, 3),
(58471, 58471, 0, 0, 3), (58471, 58502, 0, 0, 3), (58471, 58787, 0, 0, 3),
(58786, 58786, 0, 0, 3), (58786, 58513, 0, 0, 3), (58786, 58514, 0, 0, 3),
(58472, 58472, 0, 0, 3), (58472, 58511, 0, 0, 3), (58472, 58512, 0, 0, 3),
(58473, 58473, 0, 0, 3), (58473, 58515, 0, 0, 3), (58473, 58516, 0, 0, 3),
(58474, 58474, 0, 0, 3), (58474, 58517, 0, 0, 3), (58474, 58518, 0, 0, 3),
(58475, 58475, 0, 0, 3), (58475, 58519, 0, 0, 3), (58475, 58520, 0, 0, 3),
(58476, 58476, 0, 0, 3), (58476, 58521, 0, 0, 3), (58476, 58522, 0, 0, 3),
(58477, 58477, 0, 0, 3), (58477, 58523, 0, 0, 3), (58477, 58524, 0, 0, 3),
(58478, 58478, 0, 0, 3), (58478, 58525, 0, 0, 3), (58478, 58526, 0, 0, 3),
(58479, 58479, 0, 0, 3), (58479, 58527, 0, 0, 3), (58479, 58528, 0, 0, 3),
(58480, 58480, 0, 0, 3), (58480, 58529, 0, 0, 3), (58480, 58530, 0, 0, 3),
(58481, 58481, 0, 0, 3), (58481, 58531, 0, 0, 3), (58481, 58532, 0, 0, 3),
(58482, 58482, 0, 0, 3), (58482, 58535, 0, 0, 3), (58482, 58536, 0, 0, 3),
(58483, 58483, 0, 0, 3), (58483, 58533, 0, 0, 3), (58483, 58534, 0, 0, 3),
(58484, 58484, 0, 0, 3), (58484, 58537, 0, 0, 3), (58484, 58538, 0, 0, 3),
(58485, 58485, 0, 0, 3), (58485, 58539, 0, 0, 3), (58485, 58540, 0, 0, 3),
(58486, 58486, 0, 0, 3), (58486, 58541, 0, 0, 3), (58486, 58542, 0, 0, 3),
(58487, 58487, 0, 0, 3), (58487, 58543, 0, 0, 3), (58487, 58544, 0, 0, 3),
(58488, 58488, 0, 0, 3), (58488, 58545, 0, 0, 3), (58488, 58546, 0, 0, 3),
(58489, 58489, 0, 0, 3), (58489, 58552, 0, 0, 3), (58489, 58553, 0, 0, 3),
(58490, 58490, 0, 0, 3), (58490, 58554, 0, 0, 3), (58490, 58547, 0, 0, 3),
(58491, 58491, 0, 0, 3), (58491, 58549, 0, 0, 3), (58491, 58548, 0, 0, 3),
(58492, 58492, 0, 0, 3), (58492, 58550, 0, 0, 3), (58492, 58551, 0, 0, 3),
(58493, 58493, 0, 0, 3), (58493, 58555, 0, 0, 3), (58493, 58556, 0, 0, 3),
(58494, 58494, 0, 0, 3), (58494, 58557, 0, 0, 3), (58494, 58558, 0, 0, 3),
(58495, 58495, 0, 0, 3), (58495, 58559, 0, 0, 3), (58495, 58560, 0, 0, 3),
(58496, 58496, 0, 0, 3), (58496, 58505, 0, 0, 3), (58496, 58506, 0, 0, 3),
(58497, 58497, 0, 0, 3), (58497, 58563, 0, 0, 3), (58497, 58564, 0, 0, 3);
-- Reposition oozes to be closer to group members
UPDATE `creature` SET `position_x`=381.658, `position_y`=3482.38, `position_z`=61.609, `orientation`=5.43889 WHERE `guid` = 58496 AND `id1` = 16901;
+21 -21
View File
@@ -392,27 +392,27 @@ INSERT INTO `creature_addon` (`guid`, `path_id`) VALUES
(@GUID+28, (@GUID+28)*10);
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@GUID+32,@GUID+38,@GUID+41,@GUID+47,@GUID+16,@GUID+4,@GUID+9,@GUID+12,@GUID+2,@GUID+26);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`) VALUES
(@GUID+32, @GUID+32, 3),
(@GUID+32, @GUID+33, 3),
(@GUID+2, @GUID+2 , 3),
(@GUID+2, @GUID+3 , 3),
(@GUID+26, @GUID+26, 3),
(@GUID+26, @GUID+27, 3),
(@GUID+38, @GUID+38, 3),
(@GUID+38, @GUID+39, 3),
(@GUID+41, @GUID+41, 3),
(@GUID+41, @GUID+42, 3),
(@GUID+47, @GUID+47, 3),
(@GUID+47, @GUID+48, 3),
(@GUID+16, @GUID+16, 3),
(@GUID+16, @GUID+17, 3),
(@GUID+4, @GUID+4 , 3),
(@GUID+4, @GUID+5 , 3),
(@GUID+9, @GUID+9 , 3),
(@GUID+9, @GUID+10, 3),
(@GUID+12, @GUID+12, 3),
(@GUID+12, @GUID+13, 3);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(@GUID+32, @GUID+32, 0, 0, 3),
(@GUID+32, @GUID+33, 0, 0, 3),
(@GUID+2, @GUID+2, 0, 0, 3),
(@GUID+2, @GUID+3, 0, 0, 3),
(@GUID+26, @GUID+26, 0, 0, 3),
(@GUID+26, @GUID+27, 0, 0, 3),
(@GUID+38, @GUID+38, 0, 0, 3),
(@GUID+38, @GUID+39, 0, 0, 3),
(@GUID+41, @GUID+41, 0, 0, 3),
(@GUID+41, @GUID+42, 0, 0, 3),
(@GUID+47, @GUID+47, 0, 0, 3),
(@GUID+47, @GUID+48, 0, 0, 3),
(@GUID+16, @GUID+16, 0, 0, 3),
(@GUID+16, @GUID+17, 0, 0, 3),
(@GUID+4, @GUID+4, 0, 0, 3),
(@GUID+4, @GUID+5, 0, 0, 3),
(@GUID+9, @GUID+9, 0, 0, 3),
(@GUID+9, @GUID+10, 0, 0, 3),
(@GUID+12, @GUID+12, 0, 0, 3),
(@GUID+12, @GUID+13, 0, 0, 3);
DELETE FROM `creature_addon` WHERE `guid` IN (@GUID+32,@GUID+33,@GUID+2 ,@GUID+3 ,@GUID+26,@GUID+27,@GUID+38,@GUID+39,@GUID+41,@GUID+42,@GUID+47,@GUID+48,@GUID+16,@GUID+17,@GUID+4 ,@GUID+5 ,@GUID+9 ,@GUID+10,@GUID+12,@GUID+13);
INSERT INTO `creature_addon` (`guid`, `bytes1`) VALUES