From db5e8420e1f00867efbcc34cf85ddefc8b66ab2c Mon Sep 17 00:00:00 2001 From: sudlud Date: Fri, 8 Aug 2025 04:15:57 +0200 Subject: [PATCH] fix(DB/Misc): fix low level scourge invasion quests (#22611) Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> --- .../rev_1754076991742890400.sql | 382 ++++++++++++++++++ 1 file changed, 382 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1754076991742890400.sql diff --git a/data/sql/updates/pending_db_world/rev_1754076991742890400.sql b/data/sql/updates/pending_db_world/rev_1754076991742890400.sql new file mode 100644 index 000000000..264e2acab --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1754076991742890400.sql @@ -0,0 +1,382 @@ +-- fix low level scourge invasion quests +-- queststarters / questenders +UPDATE `creature_template` SET `npcflag` = `npcflag` | 2 WHERE (`entry` IN (16484, 16490, 16493, 16495, 29441)); + +DELETE FROM `creature_queststarter` WHERE (`quest` IN (9261, 9262, 9263, 9264, 12816)) AND (`id` IN (16484, 16490, 16493, 16495, 29441)); +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES +(16484, 9261), -- Lieutenant Nevell +(16490, 9264), -- Lieutenant Lisande +(16495, 9262), -- Lieutenant Beitha +(16493, 9263), -- Lieutenant Dagel +(29441, 12816); -- Lieutenant Julek + +DELETE FROM `creature_questender` WHERE (`quest` IN (9261, 9262, 9263, 9264, 12816)) AND (`id` IN (16484, 16490, 16493, 16495, 29441)); +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(16484, 9261), -- Lieutenant Nevell +(16490, 9264), -- Lieutenant Lisande +(16495, 9262), -- Lieutenant Beitha +(16493, 9263), -- Lieutenant Dagel +(29441, 12816); -- Lieutenant Julek + +-- areatrigger +DELETE FROM `areatrigger_involvedrelation` WHERE `id` IN (4092, 4094, 4095, 4096, 4098, 4099, 4100, 4101, 4103, 4104, 4105, 5151, 5152, 5153, 5154, 5158, 5159, 5160, 5161); +INSERT INTO `areatrigger_involvedrelation` (`id`, `quest`) VALUES +(4092, 9260), -- guid 83048 +(4094, 9260), -- guid 83044 +(4095, 9260), -- guid 83049 +(4096, 9260), -- guid 83046 +(4098, 9261), -- guid 83047 +(4099, 9261), -- guid 83045 +(4100, 9265), -- guid 83041 +-- (4102, 9263), -- guid 83043 -- too far away from circle somehow +-- apparently blizzlike bug according to wowhead comments, only 1 circle outside orgrimmar giving quest progress correctly +(4101, 9263), -- guid 83042 +(4103, 9264), -- guid 83040 +(4104, 9262), -- guid 83039 +(4105, 9262), -- guid 83038 +(5151, 12817), -- guid 684 +(5152, 12817), -- guid 685 +(5153, 12817), -- guid 687 +(5154, 12817), -- guid 686 +(5158, 12816), -- guid 691 +(5159, 12816), -- guid 690 +(5160, 12816), -- guid 689 +(5161, 12816); -- guid 688 + +-- Update gameobject 'Circle' with sniffed values +-- updated spawns +DELETE FROM `gameobject` WHERE (`id` IN (181227)) AND (`guid` BETWEEN 83038 AND 83049); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES +(83038, 181227, 1, 0, 0, 1, 1, 9948.0205078125, 1932.390625, 1328.691162109375, 3.682650327682495117, 0, 0, -0.96362972259521484, 0.26724100112915039, 120, 255, 1, "", 46248, NULL), +(83039, 181227, 1, 0, 0, 1, 1, 9914.181640625, 1864.6636962890625, 1321.25927734375, 2.914689540863037109, 0, 0, 0.993571281433105468, 0.113208353519439697, 120, 255, 1, "", 46248, NULL), +(83040, 181227, 1, 0, 0, 1, 1, -1545.46875, 51.28591537475585937, 5.394122123718261718, 0.628316879272460937, 0, 0, 0.309016227722167968, 0.95105677843093872, 120, 255, 1, "", 45572, NULL), +(83041, 181227, 0, 0, 0, 1, 1, 1980.00830078125, 305.231231689453125, 41.1893310546875, 0.436331570148468017, 0, 0, 0.216439247131347656, 0.976296067237854003, 120, 255, 1, "", 45572, NULL), +(83042, 181227, 1, 0, 0, 1, 1, 1179.3914794921875, -4564.47509765625, 21.45466232299804687, 0.575957298278808593, 0, 0, 0.284014701843261718, 0.958819925785064697, 120, 255, 1, "", 45572, NULL), +(83043, 181227, 1, 0, 0, 1, 1, 1148.54345703125, -4488.125, 19.8805694580078125, 4.014260292053222656, 0, 0, -0.90630722045898437, 0.422619491815567016, 120, 255, 1, "", 45613, NULL), +(83044, 181227, 0, 0, 0, 1, 1, -9240.787109375, 238.191192626953125, 72.8129730224609375, 4.572763919830322265, 0, 0, -0.75470924377441406, 0.656059443950653076, 120, 255, 1, "", 46158, NULL), +(83045, 181227, 0, 0, 0, 1, 1, -5375.5400390625, -735.15399169921875, 396.021240234375, 0.052358884364366531, 0, 0, 0.02617645263671875, 0.999657332897186279, 120, 255, 1, "", 46158, NULL), +(83046, 181227, 0, 0, 0, 1, 1, -9218.103515625, 318.78509521484375, 73.86499786376953125, 3.019413232803344726, 0, 0, 0.998134613037109375, 0.061051756143569946, 120, 255, 1, "", 45613, NULL), +(83047, 181227, 0, 0, 0, 1, 1, -5273.17236328125, -739.599853515625, 391.00933837890625, 2.513273954391479492, 0, 0, 0.951056480407714843, 0.309017121791839599, 120, 255, 1, "", 45613, NULL), +(83048, 181227, 0, 0, 0, 1, 1, -9244.455078125, 418.84027099609375, 87.46126556396484375, 3.001946926116943359, 0, 0, 0.997563362121582031, 0.069766148924827575, 120, 255, 1, "", 45613, NULL), +(83049, 181227, 0, 0, 0, 1, 1, -9183.8310546875, 416.188262939453125, 89.9123077392578125, 0.401424884796142578, 0, 0, 0.199367523193359375, 0.979924798011779785, 120, 255, 1, "", 45613, NULL); + +-- new spawns +DELETE FROM `gameobject` WHERE (`id` IN (181227)) AND (`guid` BETWEEN 684 AND 691); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES +(684, 181227, 530, 0, 0, 1, 1, -4018.017333984375, -12150.943359375, 2.146352052688598632, 0.401424884796142578, 0, 0, 0.199367523193359375, 0.979924798011779785, 120, 255, 1, "", 45942, NULL), +(685, 181227, 530, 0, 0, 1, 1, -4105.47412109375, -12068.884765625, 3.33672499656677246, 4.572763919830322265, 0, 0, -0.75470924377441406, 0.656059443950653076, 120, 255, 1, "", 45435, NULL), +(686, 181227, 530, 0, 0, 1, 1, -4156.29150390625, -12123.388671875, 0.412930011749267578, 3.001946926116943359, 0, 0, 0.997563362121582031, 0.069766148924827575, 120, 255, 1, "", 45435, NULL), +(687, 181227, 530, 0, 0, 1, 1, -4183.55712890625, -12084.744140625, 2.419261932373046875, 3.019413232803344726, 0, 0, 0.998134613037109375, 0.061051756143569946, 120, 255, 1, "", 45435, NULL), +(688, 181227, 530, 0, 0, 1, 1, 9218.56640625, -7347.048828125, 39.06943511962890625, 3.001946926116943359, 0, 0, 0.997563362121582031, 0.069766148924827575, 120, 255, 1, "", 45942, NULL), +(689, 181227, 530, 0, 0, 1, 1, 9252.6943359375, -7315.2275390625, 26.01463890075683593, 3.019413232803344726, 0, 0, 0.998134613037109375, 0.061051756143569946, 120, 255, 1, "", 45942, NULL), +(690, 181227, 530, 0, 0, 1, 1, 9290.8349609375, -7356.06689453125, 24.00287437438964843, 0.401424884796142578, 0, 0, 0.199367523193359375, 0.979924798011779785, 120, 255, 1, "", 45942, NULL), +(691, 181227, 530, 0, 0, 1, 1, 9348.1875, -7351.76904296875, 12.69027996063232421, 4.572763919830322265, 0, 0, -0.75470924377441406, 0.656059443950653076, 120, 255, 1, "", 45572, NULL); + +-- enable all spawns for eventEntry 17 +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 17) AND (`guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (181227))); +INSERT INTO `game_event_gameobject` (SELECT 17, `guid` FROM `gameobject` WHERE `id` IN (181227)); + +-- Update creature 'Spectral Spirit' with sniffed values +-- updated spawns +DELETE FROM `creature` WHERE (`id1` IN (16437)) AND (`guid` IN (153416, 153417, 153418, 153419, 153420, 153421, 153422, 153423, 153424, 153425, 153426, 153427, 153428, 153429, 153447, 153454, 153459, 153461, 153462, 153463, 153464, 153465, 153466, 153467, 153468, 153469, 153470, 153471, 153472, 153473, 153480, 153486, 153492)); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(153416, 16437, 0, 1, 1, 0, -5271.24609375, -754.01171875, 391.332427978515625, 3.622705936431884765, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(153417, 16437, 0, 1, 1, 0, -5276.23095703125, -699.53021240234375, 390.29425048828125, 3.061814069747924804, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153418, 16437, 0, 1, 1, 0, -5292.99169921875, -733.9814453125, 388.457427978515625, 4.743587017059326171, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153419, 16437, 0, 1, 1, 0, -5300.16748046875, -679.5177001953125, 388.429656982421875, 4.675374507904052734, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153420, 16437, 0, 1, 1, 0, -5307.5185546875, -765.8560791015625, 389.279205322265625, 1.850542306900024414, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153421, 16437, 0, 1, 1, 0, -5310.208984375, -704.794921875, 392.332427978515625, 2.057999610900878906, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153422, 16437, 0, 1, 1, 0, -5334.5673828125, -793.8668212890625, 389.619476318359375, 5.25991058349609375, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153423, 16437, 0, 1, 1, 0, -5342.58837890625, -697.68975830078125, 393.2384033203125, 2.010777950286865234, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153424, 16437, 0, 1, 1, 0, -5361.099609375, -739.6923828125, 396.003814697265625, 4.679796218872070312, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153425, 16437, 0, 1, 1, 0, -5369.26171875, -794.86529541015625, 398.446075439453125, 2.031130790710449218, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153426, 16437, 0, 1, 1, 0, -5376.01904296875, -766.24688720703125, 396.991363525390625, 4.509352684020996093, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153427, 16437, 0, 1, 1, 0, -5369.435546875, -704.484375, 396.188812255859375, 2.210784673690795898, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153428, 16437, 0, 1, 1, 0, -5394.58544921875, -735.02130126953125, 396.274078369140625, 2.538081645965576171, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153429, 16437, 0, 1, 1, 0, -5403.60791015625, -769.998046875, 395.008575439453125, 4.333511829376220703, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153447, 16437, 1, 1, 1, 0, -1576.1729736328125, 77.21936798095703125, -7.34216499328613281, 5.083232402801513671, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153454, 16437, 1, 1, 1, 0, -1523.54443359375, 54.8382720947265625, 6.090775489807128906, 2.415332794189453125, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153459, 16437, 1, 1, 1, 0, -1489.212158203125, 90.4298553466796875, 6.546192169189453125, 2.594491004943847656, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153461, 16437, 1, 1, 1, 0, 1139.164794921875, -4506.48388671875, 19.40609169006347656, 1.072573661804199218, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153462, 16437, 1, 1, 1, 0, 1142.3961181640625, -4543.2646484375, 18.10861778259277343, 2.071631431579589843, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153463, 16437, 1, 1, 1, 0, 1160.7200927734375, -4495.1259765625, 20.68977546691894531, 3.212122917175292968, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(153464, 16437, 1, 1, 1, 0, 1158.5277099609375, -4526.83154296875, 20.63541221618652343, 1.537212610244750976, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(153465, 16437, 1, 1, 1, 0, 1156.3204345703125, -4560.56103515625, 18.83359336853027343, 4.258000850677490234, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153466, 16437, 1, 1, 1, 0, 1175.227294921875, -4525.54931640625, 21.00127792358398437, 4.397952556610107421, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153467, 16437, 1, 1, 1, 0, 1175.0177001953125, -4578.10107421875, 18.66058158874511718, 5.339640140533447265, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(153468, 16437, 1, 1, 1, 0, 1185.41650390625, -4508.57470703125, 21.56365585327148437, 2.907642841339111328, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153469, 16437, 1, 1, 1, 0, 1188.638671875, -4543.736328125, 19.42718124389648437, 3.609257936477661132, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153470, 16437, 1, 1, 1, 0, 1187.5106201171875, -4589.75830078125, 18.03423881530761718, 4.280419826507568359, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153471, 16437, 1, 1, 1, 0, 1206.37158203125, -4525.85205078125, 19.13112831115722656, 4.001062393188476562, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153472, 16437, 1, 1, 1, 0, 1221.065185546875, -4518.12060546875, 20.97634315490722656, 4.477022171020507812, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153473, 16437, 1, 1, 1, 0, 1225.3250732421875, -4577.95654296875, 18.35081100463867187, 4.778232097625732421, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153480, 16437, 1, 1, 1, 0, 9894.51171875, 1875.1895751953125, 1320.7158203125, 6.033982276916503906, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153486, 16437, 1, 1, 1, 0, 9926.826171875, 1858.5548095703125, 1321.956787109375, 4.788326263427734375, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153492, 16437, 1, 1, 1, 0, 9957.712890625, 1925.7977294921875, 1327.6348876953125, 1.655751347541809082, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL); + +-- remove duplicate spawns +DELETE FROM `creature` WHERE (`id1` IN (16437)) AND (`guid` IN (153415, 153474, 153475, 153476, 153477)); +DELETE FROM `creature_addon` WHERE (`guid` IN (153415, 153474, 153475, 153476, 153477)); +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (153415, 153474, 153475, 153476, 153477)); + +-- remaining spawns (no sniffed values available) +-- (`guid` IN (153460, 153458, 153457, 153456, 153455, 153453, 153452, 153451, 153450, 153449, 153448, 153446, 153478, 153479, 153481, 153482, 153483, 153484, 153485, 153487, 153488, 153489, 153490, 153491)) + +-- enable all spawns for eventEntry 17 +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (SELECT `guid` FROM `creature` WHERE `id1` IN (16437))); +INSERT INTO `game_event_creature` (SELECT 17, `guid` FROM `creature` WHERE `id1` IN (16437)); + +-- Update creature 'Skeletal Trooper' with sniffed values +-- updated spawns +DELETE FROM `creature` WHERE (`id1` IN (16438)) AND (`guid` IN (153431, 153432, 153433, 153434, 153435, 153436, 153437, 153438, 153439, 153440, 153441, 153442, 153443, 153444, 153445, 153498, 153505, 153506, 153508, 153509, 153510, 153511, 153512, 153513, 153514, 153515, 153516, 153517, 153532, 153534, 153537)); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(153431, 16438, 0, 1, 1, 0, -5382.41162109375, -715.45452880859375, 397.328704833984375, 1.100316286087036132, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153432, 16438, 0, 1, 1, 0, -5382.099609375, -752.40228271484375, 395.663482666015625, 4.741677761077880859, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(153433, 16438, 0, 1, 1, 0, -5381.8671875, -782.654296875, 396.946075439453125, 3.819078445434570312, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(153434, 16438, 0, 1, 1, 0, -5355.923828125, -787.218994140625, 399.272552490234375, 3.545246601104736328, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153435, 16438, 0, 1, 1, 0, -5353.26904296875, -719.4815673828125, 394.972686767578125, 5.079165458679199218, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153436, 16438, 0, 1, 1, 0, -5350.18505859375, -745.7607421875, 395.622711181640625, 2.022890567779541015, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153437, 16438, 0, 1, 1, 0, -5348.99267578125, -685.48614501953125, 395.1361083984375, 5.318337440490722656, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(153438, 16438, 0, 1, 1, 0, -5320.833984375, -783.333984375, 388.457427978515625, 2.853058099746704101, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153439, 16438, 0, 1, 1, 0, -5319.60107421875, -751.9918212890625, 388.78204345703125, 3.773599624633789062, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153440, 16438, 0, 1, 1, 0, -5318.32666015625, -681.00750732421875, 390.144989013671875, 2.138490200042724609, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153441, 16438, 0, 1, 1, 0, -5313.802734375, -722.18060302734375, 398.17633056640625, 5.613928794860839843, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153442, 16438, 0, 1, 1, 0, -5289.3701171875, -753.124755859375, 390.409332275390625, 0.379460006952285766, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153443, 16438, 0, 1, 1, 0, -5285.24609375, -713.91693115234375, 388.457427978515625, 2.612617969512939453, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153444, 16438, 0, 1, 1, 0, -5284.4951171875, -684.23687744140625, 389.09796142578125, 3.77411055564880371, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153445, 16438, 0, 1, 1, 0, -5252.35107421875, -748.0787353515625, 389.218963623046875, 2.098472118377685546, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153498, 16438, 1, 1, 1, 0, -1556.821044921875, 56.743499755859375, 2.502153635025024414, 1.776832938194274902, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153505, 16438, 1, 1, 1, 0, -1511.2213134765625, 44.35062789916992187, 10.7245645523071289, 2.546346664428710937, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153506, 16438, 1, 1, 1, 0, -1509.090576171875, 57.731536865234375, 8.605790138244628906, 3.639331579208374023, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153508, 16438, 1, 1, 1, 0, 1154.4462890625, -4544.39794921875, 18.92966270446777343, 3.784672260284423828, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153509, 16438, 1, 1, 1, 0, 1157.2734375, -4506.515625, 19.97481727600097656, 2.663441419601440429, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153510, 16438, 1, 1, 1, 0, 1158.9012451171875, -4523.70556640625, 20.76461219787597656, 0.148554578423500061, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153511, 16438, 1, 1, 1, 0, 1173.6923828125, -4509.30908203125, 20.87627792358398437, 5.503856658935546875, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153512, 16438, 1, 1, 1, 0, 1175.8726806640625, -4555.99462890625, 20.79351425170898437, 3.928357362747192382, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153513, 16438, 1, 1, 1, 0, 1181.3785400390625, -4524.08984375, 21.00127792358398437, 2.717643499374389648, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153514, 16438, 1, 1, 1, 0, 1188.724853515625, -4575.77490234375, 19.90936088562011718, 2.593951940536499023, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153515, 16438, 1, 1, 1, 0, 1205.813232421875, -4509.623046875, 21.92503929138183593, 2.342383384704589843, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153516, 16438, 1, 1, 1, 0, 1208.6318359375, -4574.208984375, 19.65232467651367187, 2.4570465087890625, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153517, 16438, 1, 1, 1, 0, 1219.2769775390625, -4559.42724609375, 20.63112831115722656, 1.831341266632080078, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153532, 16438, 1, 1, 1, 0, 9925.498046875, 1842.229248046875, 1322.57568359375, 5.836470603942871093, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153534, 16438, 1, 1, 1, 0, 9943.72265625, 1858.222900390625, 1324.330322265625, 4.746068000793457031, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153537, 16438, 1, 1, 1, 0, 9973.90625, 1928.2470703125, 1326.6082763671875, 1.315697550773620605, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL); + +-- remove duplicate spawns +DELETE FROM `creature` WHERE (`id1` IN (16438)) AND (`guid` IN (153430, 153518, 153519, 153520, 153521, 153522, 153523, 153539, 153540)); +DELETE FROM `creature_addon` WHERE (`guid` IN (153430, 153518, 153519, 153520, 153521, 153522, 153523, 153539, 153540)); +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (153430, 153518, 153519, 153520, 153521, 153522, 153523, 153539, 153540)); + +-- remaining spawns (no sniffed values available) +-- (`guid` IN (153507, 153504, 153503, 153502, 153501, 153500, 153499, 153497, 153496, 153495, 153494, 153493, 153524, 153525, 153526, 153527, 153528, 153529, 153530, 153531, 153533, 153535, 153536, 153538)) + +-- enable all spawns for eventEntry 17 +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (SELECT `guid` FROM `creature` WHERE `id1` IN (16438))); +INSERT INTO `game_event_creature` (SELECT 17, `guid` FROM `creature` WHERE `id1` IN (16438)); + +-- Update creature 'Skeletal Soldier' with sniffed values +-- updated spawns +DELETE FROM `creature` WHERE (`id1` IN (16422)) AND (`guid` IN (153349, 153351, 153352, 153354, 153355, 153356, 153357, 153358, 153359, 153368, 153369, 153370, 153371, 153372, 153373, 153374, 153375, 153376, 153377, 153378, 153379, 153380, 153381)); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(153349, 16422, 0, 1, 1, 0, -9227.77734375, 354.659149169921875, 73.9923553466796875, 5.283609390258789062, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153351, 16422, 0, 1, 1, 0, -9223.0419921875, 321.6729736328125, 73.57967376708984375, 0.428912669420242309, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(153352, 16422, 0, 1, 1, 0, -9209.0693359375, 354.169952392578125, 73.71912384033203125, 3.206082582473754882, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153354, 16422, 0, 1, 1, 0, -9211.619140625, 321.243743896484375, 74.00618743896484375, 3.877586841583251953, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153355, 16422, 0, 1, 1, 0, -9210.2607421875, 254.4482879638671875, 73.1851348876953125, 3.378531694412231445, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153356, 16422, 0, 1, 1, 0, -9208.173828125, 424.242279052734375, 89.11493682861328125, 3.987549304962158203, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153357, 16422, 0, 1, 1, 0, -9192.796875, 426.34765625, 91.48415374755859375, 3.484354019165039062, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153358, 16422, 0, 1, 1, 0, -9175.388671875, 409.830078125, 89.23415374755859375, 1.323921084403991699, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153359, 16422, 0, 1, 1, 0, -9155.3857421875, 405.8936767578125, 92.2745819091796875, 4.102082252502441406, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153368, 16422, 0, 1, 1, 0, -9240.1806640625, 422.218292236328125, 87.1437225341796875, 4.537019729614257812, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153369, 16422, 0, 1, 1, 0, -9238.1455078125, 347.664276123046875, 75.24341583251953125, 3.638414859771728515, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153370, 16422, 0, 1, 1, 0, -9225.58984375, 257.480926513671875, 72.3277740478515625, 2.698247909545898437, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153371, 16422, 0, 1, 1, 0, -9195.048828125, 447.27301025390625, 94.96816253662109375, 1.801104903221130371, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153372, 16422, 0, 1, 1, 0, 1957.801513671875, 308.541656494140625, 40.69472122192382812, 0.476643085479736328, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(153373, 16422, 0, 1, 1, 0, 1976.1650390625, 343.7855224609375, 41.38097000122070312, 2.58756256103515625, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153374, 16422, 0, 1, 1, 0, 1976.436767578125, 322.785552978515625, 39.84408187866210937, 4.528051376342773437, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(153375, 16422, 0, 1, 1, 0, 1991.150390625, 291.5693359375, 45.52114486694335937, 3.391375303268432617, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153376, 16422, 0, 1, 1, 0, 2010.0194091796875, 308.076904296875, 44.9585418701171875, 0.921246230602264404, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153377, 16422, 0, 1, 1, 0, 2008.574951171875, 278.080352783203125, 47.68598556518554687, 0.35378536581993103, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153378, 16422, 0, 1, 1, 0, 2008.77685546875, 322.716156005859375, 42.60588836669921875, 2.881101131439208984, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(153379, 16422, 0, 1, 1, 0, 2012.899658203125, 345.282318115234375, 41.5042266845703125, 0.589477062225341796, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153380, 16422, 0, 1, 1, 0, 2026.650390625, 307.222808837890625, 50.1859588623046875, 5.55606698989868164, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153381, 16422, 0, 1, 1, 0, 2024.681396484375, 292.09100341796875, 54.22370529174804687, 4.488111019134521484, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL); + +-- new spawns +DELETE FROM `creature` WHERE (`id1` IN (16422)) AND (`guid` BETWEEN 12784 AND 12803); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(12784, 16422, 530, 1, 1, 0, -3987.02001953125, -12187.4384765625, 3.878748893737792968, 3.051640033721923828, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(12785, 16422, 530, 1, 1, 0, -4017.5859375, -12151.3154296875, 2.306606769561767578, 3.561514616012573242, 120, 3, 1, 0, 0, 0, "", 46368, 1, NULL), +(12786, 16422, 530, 1, 1, 0, -4024.658203125, -12193.5908203125, 2.70371246337890625, 3.894593000411987304, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(12787, 16422, 530, 1, 1, 0, -4049.052978515625, -12153.30078125, -0.26638364791870117, 3.57096099853515625, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(12788, 16422, 530, 1, 1, 0, -4110.37353515625, -12058.7744140625, 2.933060646057128906, 3.836806058883666992, 120, 3, 1, 0, 0, 0, "", 45435, 1, NULL), +(12789, 16422, 530, 1, 1, 0, -4154.078125, -12119.6025390625, 0.145328998565673828, 4.681807518005371093, 120, 3, 1, 0, 0, 0, "", 46368, 1, NULL), +(12790, 16422, 530, 1, 1, 0, -4186.130859375, -12082.74609375, 2.173234462738037109, 2.55629730224609375, 120, 3, 1, 0, 0, 0, "", 45435, 1, NULL), +(12791, 16422, 530, 1, 1, 0, -4213.90478515625, -12120.9091796875, 5.133166790008544921, 2.558339595794677734, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(12792, 16422, 530, 1, 1, 0, -4217.95263671875, -12082.91015625, 4.94405221939086914, 3.296390056610107421, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(12793, 16422, 530, 1, 1, 0, -4220.13427734375, -12054.630859375, 3.073923110961914062, 3.968017578125, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(12794, 16422, 530, 1, 1, 0, 9199.9677734375, -7368.166015625, 47.7635650634765625, 1.76130068302154541, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(12795, 16422, 530, 1, 1, 0, 9203.3173828125, -7324.0244140625, 43.59265518188476562, 4.338305473327636718, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(12796, 16422, 530, 1, 1, 0, 9216.2099609375, -7345.93115234375, 39.97610092163085937, 1.99372565746307373, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(12797, 16422, 530, 1, 1, 0, 9237.513671875, -7373.54833984375, 33.035400390625, 2.940837860107421875, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(12798, 16422, 530, 1, 1, 0, 9252.6591796875, -7315.8203125, 26.08294105529785156, 0.96994096040725708, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(12799, 16422, 530, 1, 1, 0, 9281.7998046875, -7384.4833984375, 29.56457138061523437, 5.861535549163818359, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(12800, 16422, 530, 1, 1, 0, 9290.408203125, -7355.77783203125, 24.0960845947265625, 1.718405842781066894, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(12801, 16422, 530, 1, 1, 0, 9322.36328125, -7392.435546875, 22.27577972412109375, 3.82608652114868164, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(12802, 16422, 530, 1, 1, 0, 9323.8515625, -7329.416015625, 15.66892337799072265, 1.820181488990783691, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(12803, 16422, 530, 1, 1, 0, 9347.9052734375, -7350.78564453125, 12.64682197570800781, 3.595394134521484375, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL); + +-- remove duplicate spawns +DELETE FROM `creature` WHERE (`id1` IN (16422)) AND (`guid` IN (153367, 153366, 153365, 153364, 153363, 153362, 153361, 153360, 153353, 153350)); +DELETE FROM `creature_addon` WHERE (`guid` IN (153367, 153366, 153365, 153364, 153363, 153362, 153361, 153360, 153353, 153350)); +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (153367, 153366, 153365, 153364, 153363, 153362, 153361, 153360, 153353, 153350)); + +-- enable all spawns for eventEntry 17 +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (SELECT `guid` FROM `creature` WHERE `id1` IN (16422))); +INSERT INTO `game_event_creature` (SELECT 17, `guid` FROM `creature` WHERE `id1` IN (16422)); + +-- Update creature 'Spectral Apparition' with sniffed values +-- updated spawns +DELETE FROM `creature` WHERE (`id1` IN (16423)) AND (`guid` IN (153382, 153383, 153384, 153385, 153386, 153387, 153388, 153389, 153390, 153391, 153392, 153393, 153403, 153404, 153405, 153406, 153407, 153408, 153409, 153412, 153413, 153414)); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(153382, 16423, 0, 1, 1, 0, -9223.8759765625, 310.105804443359375, 74.29573822021484375, 0.752543032169342041, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153383, 16423, 0, 1, 1, 0, -9223.4912109375, 237.855621337890625, 73.1125030517578125, 0.772088050842285156, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153384, 16423, 0, 1, 1, 0, -9223.064453125, 338.404449462890625, 73.72052764892578125, 2.754076242446899414, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153385, 16423, 0, 1, 1, 0, -9222.2236328125, 425.065093994140625, 89.40253448486328125, 4.21000528335571289, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153386, 16423, 0, 1, 1, 0, -9217.2490234375, 247.587432861328125, 72.9916534423828125, 2.169522762298583984, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153387, 16423, 0, 1, 1, 0, -9208.9775390625, 340.364990234375, 72.71918487548828125, 2.965076923370361328, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153388, 16423, 0, 1, 1, 0, -9208.640625, 306.975799560546875, 74.731964111328125, 1.8322373628616333, 120, 3, 1, 0, 0, 0, "", 46248, 2, NULL), +(153389, 16423, 0, 1, 1, 0, -9201.259765625, 469.72265625, 99.94416046142578125, 5.42893075942993164, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153390, 16423, 0, 1, 1, 0, -9193.814453125, 359.40643310546875, 74.78105926513671875, 6.008391857147216796, 120, 3, 1, 0, 0, 0, "", 46902, 1, NULL), +(153391, 16423, 0, 1, 1, 0, -9192.1513671875, 375.42987060546875, 74.4331512451171875, 2.856729030609130859, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153392, 16423, 0, 1, 1, 0, -9172.521484375, 417.263641357421875, 91.61232757568359375, 4.649480819702148437, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153393, 16423, 0, 1, 1, 0, -9160.40625, 427.1048583984375, 94.5470428466796875, 1.970723748207092285, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(153403, 16423, 0, 1, 1, 0, 1958.769287109375, 340.36090087890625, 39.36849594116210937, 6.189987659454345703, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153404, 16423, 0, 1, 1, 0, 1958.9923095703125, 323.62640380859375, 39.19264602661132812, 1.676352977752685546, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153405, 16423, 0, 1, 1, 0, 1975.210693359375, 310.11907958984375, 41.05484771728515625, 1.630221486091613769, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(153406, 16423, 0, 1, 1, 0, 1980.0306396484375, 291.380218505859375, 41.99367523193359375, 1.982121467590332031, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(153407, 16423, 0, 1, 1, 0, 1989.93603515625, 277.658660888671875, 46.57041549682617187, 3.440085411071777343, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(153408, 16423, 0, 1, 1, 0, 1988.3173828125, 347.412353515625, 39.97032546997070312, 2.259385108947753906, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153409, 16423, 0, 1, 1, 0, 1992.690185546875, 308.994354248046875, 41.66744613647460937, 2.179238796234130859, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(153412, 16423, 0, 1, 1, 0, 2011.6260986328125, 289.991973876953125, 48.30659103393554687, 3.967081069946289062, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153413, 16423, 0, 1, 1, 0, 2025.2703857421875, 324.331451416015625, 46.63629531860351562, 2.588274002075195312, 120, 3, 1, 0, 0, 0, "", 45613, 1, NULL), +(153414, 16423, 0, 1, 1, 0, 2041.4583740234375, 326.857635498046875, 51.917633056640625, 5.846852779388427734, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL); + +-- new spawns +DELETE FROM `creature` WHERE (`id1` IN (16423)) AND (`guid` BETWEEN 67101 AND 67141); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(67101, 16423, 530, 1, 1, 0, -3981.50732421875, -12122.4833984375, 0.266236782073974609, 3.610132932662963867, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67102, 16423, 530, 1, 1, 0, -4006.31982421875, -12140.263671875, 2.153530597686767578, 4.359241485595703125, 120, 3, 1, 0, 0, 0, "", 46368, 1, NULL), +(67103, 16423, 530, 1, 1, 0, -4009.034912109375, -12160.513671875, 2.655972003936767578, 3.10298323631286621, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67104, 16423, 530, 1, 1, 0, -4018.1826171875, -12179.408203125, 3.53061676025390625, 5.723670005798339843, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67105, 16423, 530, 1, 1, 0, -4032.319580078125, -12165.6865234375, 3.138149738311767578, 3.856069564819335937, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67106, 16423, 530, 1, 1, 0, -4034.622314453125, -12135.9091796875, -0.70778989791870117, 4.385163307189941406, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67107, 16423, 530, 1, 1, 0, -4050.735595703125, -12178.7216796875, 1.657215356826782226, 3.238692283630371093, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67108, 16423, 530, 1, 1, 0, -4092.2333984375, -12047.4140625, -0.2069401741027832, 2.262966156005859375, 120, 3, 1, 0, 0, 0, "", 45435, 1, NULL), +(67109, 16423, 530, 1, 1, 0, -4095.952880859375, -12083.576171875, 2.125942707061767578, 2.308555126190185546, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67110, 16423, 530, 1, 1, 0, -4110.82421875, -12072.595703125, 2.403693675994873046, 3.149405241012573242, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67111, 16423, 530, 1, 1, 0, -4119.63232421875, -12048.5732421875, 0.722367286682128906, 4.37493896484375, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67112, 16423, 530, 1, 1, 0, -4135.54931640625, -12131.6669921875, -0.04412412643432617, 2.346959352493286132, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67113, 16423, 530, 1, 1, 0, -4150.41552734375, -12107.521484375, -0.43157526850700378, 3.03648686408996582, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67114, 16423, 530, 1, 1, 0, -4152.009765625, -12147.85546875, 0.860852062702178955, 2.601891517639160156, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67115, 16423, 530, 1, 1, 0, -4168.0048828125, -12065.8681640625, -0.1713104248046875, 2.314781665802001953, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67116, 16423, 530, 1, 1, 0, -4168.2197265625, -12131.82421875, 2.31150364875793457, 1.768809795379638671, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67117, 16423, 530, 1, 1, 0, -4170.451171875, -12100.341796875, 0.95408177375793457, 3.363884925842285156, 120, 3, 1, 0, 0, 0, "", 45435, 1, NULL), +(67118, 16423, 530, 1, 1, 0, -4185.89306640625, -12144.6484375, 3.922057628631591796, 2.116046667098999023, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67119, 16423, 530, 1, 1, 0, -4188.291015625, -12119.142578125, 3.46995091438293457, 2.881513357162475585, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67120, 16423, 530, 1, 1, 0, -4202.4287109375, -12097.7998046875, 3.84053659439086914, 2.464958906173706054, 120, 3, 1, 0, 0, 0, "", 46158, 1, NULL), +(67121, 16423, 530, 1, 1, 0, -4203.16357421875, -12066.1533203125, 3.575876235961914062, 2.821455240249633789, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67122, 16423, 530, 1, 1, 0, 9205.4384765625, -7353.77392578125, 43.99428939819335937, 1.863339424133300781, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67123, 16423, 530, 1, 1, 0, 9208.0732421875, -7342.18701171875, 42.93673324584960937, 3.190436601638793945, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67124, 16423, 530, 1, 1, 0, 9222.3857421875, -7376.8095703125, 39.94235992431640625, 1.618519306182861328, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67125, 16423, 530, 1, 1, 0, 9223.47265625, -7321.06201171875, 36.04755020141601562, 4.819352149963378906, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67126, 16423, 530, 1, 1, 0, 9227.3720703125, -7338.21044921875, 35.36068344116210937, 0.281941771507263183, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67127, 16423, 530, 1, 1, 0, 9227.5693359375, -7356.2939453125, 35.95882797241210937, 2.819842100143432617, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67128, 16423, 530, 1, 1, 0, 9240.865234375, -7310.32958984375, 28.03185462951660156, 5.564355373382568359, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67129, 16423, 530, 1, 1, 0, 9243.12890625, -7322.7734375, 28.40892982482910156, 0.555259287357330322, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(67130, 16423, 530, 1, 1, 0, 9254.853515625, -7325.79736328125, 25.29967689514160156, 4.691057205200195312, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67131, 16423, 530, 1, 1, 0, 9256.6171875, -7308.18701171875, 25.77788734436035156, 0.287500232458114624, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(67132, 16423, 530, 1, 1, 0, 9258.732421875, -7293.9423828125, 24.65468597412109375, 4.834720134735107421, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67133, 16423, 530, 1, 1, 0, 9277.396484375, -7361.08203125, 25.7863922119140625, 5.194993972778320312, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(67134, 16423, 530, 1, 1, 0, 9282.830078125, -7337.35546875, 21.4691925048828125, 2.886626720428466796, 120, 3, 1, 0, 0, 0, "", 45572, 1, NULL), +(67135, 16423, 530, 1, 1, 0, 9294.521484375, -7370.701171875, 25.46319198608398437, 4.484422206878662109, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(67136, 16423, 530, 1, 1, 0, 9307.947265625, -7357.56005859375, 21.58169937133789062, 0.820058345794677734, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(67137, 16423, 530, 1, 1, 0, 9316.853515625, -7377.103515625, 21.64589691162109375, 5.952449321746826171, 120, 3, 1, 0, 0, 0, "", 46248, 1, NULL), +(67138, 16423, 530, 1, 1, 0, 9339.4091796875, -7340.38720703125, 12.40863990783691406, 5.510135173797607421, 120, 3, 1, 0, 0, 0, "", 46248, 2, NULL), +(67139, 16423, 530, 1, 1, 0, 9340.080078125, -7361.341796875, 14.49008369445800781, 4.575189590454101562, 120, 3, 1, 0, 0, 0, "", 49345, 1, NULL), +(67140, 16423, 530, 1, 1, 0, 9342.84375, -7376.10400390625, 15.9468994140625, 0.528074502944946289, 120, 3, 1, 0, 0, 0, "", 45942, 1, NULL), +(67141, 16423, 530, 1, 1, 0, 9358.73828125, -7340.4365234375, 11.64703845977783203, 0.223065331578254699, 120, 3, 1, 0, 0, 0, "", 46248, 2, NULL); + +-- remove duplicate spawns +DELETE FROM `creature` WHERE (`id1` IN (16423)) AND (`guid` IN (153402, 153401, 153400, 153399, 153398, 153397, 153396, 153395, 153394, 153410, 153411)); +DELETE FROM `creature_addon` WHERE (`guid` IN (153402, 153401, 153400, 153399, 153398, 153397, 153396, 153395, 153394, 153410, 153411)); +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (153402, 153401, 153400, 153399, 153398, 153397, 153396, 153395, 153394, 153410, 153411)); + +-- enable all spawns for eventEntry 17 +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 17) AND (`guid` IN (SELECT `guid` FROM `creature` WHERE `id1` IN (16423))); +INSERT INTO `game_event_creature` (SELECT 17, `guid` FROM `creature` WHERE `id1` IN (16423)); + +-- clean areas of default creature spawns +DELETE FROM `game_event_creature` WHERE (`eventEntry` = -17) AND (`guid` IN (12128, 12370, 4779, 12933, 49925, 47452, 47920, 1738, 1740, 4070, 4071, 4074, 4075, 4076, 79867, 79868, 79869, 79871, 79873, 79874, 79876, 79877, 79878, 79879, 79880, 79882, 79883, 80282, 80284, 80285, 80286, 80287, 80382, 45008, 45022, 45078, 45169, 61032, 61034, 61319, 61469, 61576, 61579, 62743, 55746, 55784, 55786, 55937, 55938, 55939)); +INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES +-- Orgrimmar +(-17, 12128), -- Elder Mottled boar +(-17, 12370), -- Venomtail Scorpid +(-17, 4779), -- Bloodtalon Taillasher +(-17, 12933), -- Dustwind Pillager +-- Darnassus +(-17, 49925), -- Nightsaber Stalker +(-17, 47452), -- Strigid Screecher +(-17, 47920), -- Rabbit +-- Ironforge +(-17, 1738), -- Large Crag Boar +(-17, 1740), -- Rabbit +(-17, 4070), -- Winter Wolf +(-17, 4071), -- Ice Claw Bear +(-17, 4074), -- Snow Tracker Wolf +(-17, 4075), -- Snow Tracker Wolf +(-17, 4076), -- Winter Wolf +-- Stormwind +(-17, 79867), -- Rabbit +(-17, 79868), -- Fawn +(-17, 79869), -- Deer +(-17, 79871), -- Cow +(-17, 79873), -- Rabbit +(-17, 79874), -- Deer +(-17, 79876), -- Mangy Wolf +(-17, 79877), -- Defias Cutpurse +(-17, 79878), -- Deer +(-17, 79879), -- Fawn +(-17, 79880), -- Cow +(-17, 79882), -- Rabbit +(-17, 79883), -- Forest Spider +(-17, 80282), -- Defias Cutpurse +(-17, 80284), -- Sheep +(-17, 80285), -- Cow +(-17, 80286), -- Deer +(-17, 80287), -- Fawn +(-17, 80382), -- Mangy Wolf +-- Undercity +(-17, 45008), -- Cursed Duskbat +(-17, 45022), -- Cursed Darkhound +(-17, 45078), -- Greater Duskbat +(-17, 45169), -- Cursed Darkhound +-- Exodar +(-17, 61032), -- Root Trapper +(-17, 61034), -- Root Trapper +(-17, 61319), -- Moongraze Stag +(-17, 61469), -- Moongraze Buck +(-17, 61576), -- Infected Nightstalker Runt +(-17, 61579), -- Infected Nightstalker Runt +(-17, 62743), -- Timberstrider Fledgling +-- Silvermoon +(-17, 55746), -- Feral Dragonhawk Hatchling +(-17, 55784), -- Feral Dragonhawk Hatchling +(-17, 55786), -- Feral Dragonhawk Hatchling +(-17, 55937), -- Springpaw Stalker +(-17, 55938), -- Springpaw Stalker +(-17, 55939); -- Springpaw Stalker + +-- current DB quest pois already match a 51832 brute +-- therefore mark them as sniffed +UPDATE `quest_poi_points` SET `VerifiedBuild` = 51831 WHERE `QuestID` IN (9260, 9261, 9262, 9263, 9264, 9265, 12816, 12817) AND (`Idx1` BETWEEN 0 and 9) AND (`Idx2` BETWEEN 0 AND 8);