From 2baecc571f88b9b15a4597c72ce319179faa9bb7 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 24 Oct 2024 01:27:20 +0200 Subject: [PATCH 1/6] DB/Gameobject: The World Tree and the Emerald Dream book update closes #30372 by CraftedRO --- sql/updates/world/3.3.5/2024_10_24_00_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/3.3.5/2024_10_24_00_world.sql diff --git a/sql/updates/world/3.3.5/2024_10_24_00_world.sql b/sql/updates/world/3.3.5/2024_10_24_00_world.sql new file mode 100644 index 0000000000..99814cda8e --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_24_00_world.sql @@ -0,0 +1,2 @@ +-- The World Tree and the Emerald Dream book update +UPDATE `gameobject` SET `position_x` = -8729.36328125, `position_y` = 1107.6275634765625, `position_z` = 94.32956695556640625, `orientation` = 5.532694816589355468, `rotation2` = -0.3665008544921875, `rotation3` = 0.93041771650314331, `state` = 1 WHERE `guid` = 42903; From e61ad334feae44ed2753842251ade1fee70cb82a Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 24 Oct 2024 01:32:23 +0200 Subject: [PATCH 2/6] DB/Creature: Felpaw Village, Felwood Deadwood furbog respawning closes #30258 by malcrom --- .../world/3.3.5/2024_10_24_01_world.sql | 446 ++++++++++++++++++ 1 file changed, 446 insertions(+) create mode 100644 sql/updates/world/3.3.5/2024_10_24_01_world.sql diff --git a/sql/updates/world/3.3.5/2024_10_24_01_world.sql b/sql/updates/world/3.3.5/2024_10_24_01_world.sql new file mode 100644 index 0000000000..3e7eea16af --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_24_01_world.sql @@ -0,0 +1,446 @@ +-- Felpaw Village, Felwood Replace existing Deadwood spawns with sniffed CreateObject2 and pooling +SET @CGUID := 143153; +SET @POOLID := 865; + +-- Remove existing spawns +DELETE FROM `creature` WHERE `guid` IN (39690,40305,40308,40386,40403,40409,40424,40464,40610,40615,40621,40623,40304,40307,40314,40388,40391,40393,40408,40413,40414,40415,40421,40472,40604,40611,40612,40629,40631,39691,40303,40306,40389,40390,40394,40397,40398,40401,40417,40430,40605,40608,40613,40625,40627); +DELETE FROM `creature_addon` WHERE `guid`=40394; +DELETE FROM `spawn_group` WHERE `spawnType`=0 AND `spawnId` IN (39690,40305,40308,40386,40403,40409,40424,40464,40610,40615,40621,40623,40304,40307,40314,40388,40391,40393,40408,40413,40414,40415,40421,40472,40604,40611,40612,40629,40631,39691,40303,40306,40389,40390,40394,40397,40398,40401,40417,40430,40605,40608,40613,40625,40627); +DELETE FROM `waypoint_data` WHERE `id`=403940; + +-- Add new spawns and pooling +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+127; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID AND @CGUID+127; +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`,`ScriptName`,`VerifiedBuild`) VALUES +(@CGUID, 7156, 1, 0, 0, 1, 1, 0, 1, 6752.151, -1961.7408, 551.0034, 2.897246599197387695, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(@CGUID+1, 7156, 1, 0, 0, 1, 1, 0, 1, 6826.352, -1967.1415, 551.7001, 0.087266460061073303, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+2, 7157, 1, 0, 0, 1, 1, 0, 1, 6836.794, -1954.4425, 550.3044, 4.97418832778930664, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+3, 7157, 1, 0, 0, 1, 1, 0, 1, 6747.612, -1965.1079, 551.0034, 1.466076612472534179, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(@CGUID+4, 7158, 1, 0, 0, 1, 1, 0, 1, 6860.563, -1964.6693, 556.07733, 1.868465900421142578, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+5, 7156, 1, 0, 0, 1, 1, 0, 1, 6906.3325, -1812.831, 571.74634, 3.124139308929443359, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+6, 7157, 1, 0, 0, 1, 1, 0, 1, 6906.3325, -1812.831, 571.74634, 3.124139308929443359, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+7, 7156, 1, 0, 0, 1, 1, 0, 1, 6907.568, -1824.5265, 569.79987, 2.652148962020874023, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+8, 7157, 1, 0, 0, 1, 1, 0, 1, 6907.568, -1824.5265, 569.79987, 2.652148962020874023, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+9, 7156, 1, 0, 0, 1, 1, 0, 1, 6732.4287, -1885.0846, 549.65784, 2.639858484268188476, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+10, 7157, 1, 0, 0, 1, 1, 0, 1, 6732.4287, -1885.0846, 549.65784, 2.639858484268188476, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+11, 7156, 1, 0, 0, 1, 1, 0, 1, 6836.325, -1875.1724, 550.6761, 5.632167816162109375, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+12, 7157, 1, 0, 0, 1, 1, 0, 1, 6836.325, -1875.1724, 550.6761, 5.632167816162109375, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+13, 7157, 1, 0, 0, 1, 1, 0, 1, 6911.731, -1813.9487, 571.83374, 3.90445256233215332, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(@CGUID+14, 7158, 1, 0, 0, 1, 1, 0, 1, 6911.731, -1813.9487, 571.83374, 3.90445256233215332, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(@CGUID+15, 7157, 1, 0, 0, 1, 1, 0, 1, 6920.1743, -1834.089, 571.92725, 1.535889744758605957, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+16, 7158, 1, 0, 0, 1, 1, 0, 1, 6920.1743, -1834.089, 571.92725, 1.535889744758605957, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+17, 7156, 1, 0, 0, 1, 1, 0, 1, 6717.204, -1983.8384, 559.4351, 4.812276840209960937, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+18, 7157, 1, 0, 0, 1, 1, 0, 1, 6717.204, -1983.8384, 559.4351, 4.812276840209960937, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+19, 7158, 1, 0, 0, 1, 1, 0, 1, 6717.204, -1983.8384, 559.4351, 4.812276840209960937, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+20, 7156, 1, 0, 0, 1, 1, 0, 1, 6873.1665, -2038.6376, 581.6539, 3.997686624526977539, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+21, 7157, 1, 0, 0, 1, 1, 0, 1, 6873.1665, -2038.6376, 581.6539, 3.997686624526977539, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+22, 7158, 1, 0, 0, 1, 1, 0, 1, 6873.1665, -2038.6376, 581.6539, 3.997686624526977539, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+23, 7156, 1, 0, 0, 1, 1, 0, 1, 6707.918, -1899.5065, 549.25116, 2.629336118698120117, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+24, 7157, 1, 0, 0, 1, 1, 0, 1, 6707.918, -1899.5065, 549.25116, 2.629336118698120117, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+25, 7158, 1, 0, 0, 1, 1, 0, 1, 6707.918, -1899.5065, 549.25116, 2.629336118698120117, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+26, 7156, 1, 0, 0, 1, 1, 0, 1, 6650.4067, -1949.7196, 549.8623, 1.452553272247314453, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+27, 7157, 1, 0, 0, 1, 1, 0, 1, 6650.4067, -1949.7196, 549.8623, 1.452553272247314453, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+28, 7158, 1, 0, 0, 1, 1, 0, 1, 6650.4067, -1949.7196, 549.8623, 1.452553272247314453, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+29, 7156, 1, 0, 0, 1, 1, 0, 1, 6733.7173, -1955.1018, 549.71326, 3.353776931762695312, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+30, 7157, 1, 0, 0, 1, 1, 0, 1, 6733.7173, -1955.1018, 549.71326, 3.353776931762695312, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+31, 7158, 1, 0, 0, 1, 1, 0, 1, 6733.7173, -1955.1018, 549.71326, 3.353776931762695312, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+32, 7156, 1, 0, 0, 1, 1, 0, 1, 6702.9175, -1961.2802, 553.9784, 0.38945859670639038, 300, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+33, 7157, 1, 0, 0, 1, 1, 0, 1, 6702.9175, -1961.2802, 553.9784, 0.38945859670639038, 300, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+34, 7158, 1, 0, 0, 1, 1, 0, 1, 6702.9175, -1961.2802, 553.9784, 0.38945859670639038, 300, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+35, 7156, 1, 0, 0, 1, 1, 0, 1, 6689.4556, -2008.2662, 560.1293, 6.061192035675048828, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+36, 7157, 1, 0, 0, 1, 1, 0, 1, 6689.4556, -2008.2662, 560.1293, 6.061192035675048828, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+37, 7158, 1, 0, 0, 1, 1, 0, 1, 6689.4556, -2008.2662, 560.1293, 6.061192035675048828, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+38, 7156, 1, 0, 0, 1, 1, 0, 1, 6852.629, -1939.76, 551.0034, 3.651977300643920898, 300, 10, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+39, 7157, 1, 0, 0, 1, 1, 0, 1, 6852.629, -1939.76, 551.0034, 3.651977300643920898, 300, 10, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+40, 7158, 1, 0, 0, 1, 1, 0, 1, 6852.629, -1939.76, 551.0034, 3.651977300643920898, 300, 10, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+41, 7156, 1, 0, 0, 1, 1, 0, 1, 6816.777, -2014.8325, 568.51807, 5.54440164566040039, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+42, 7157, 1, 0, 0, 1, 1, 0, 1, 6816.777, -2014.8325, 568.51807, 5.54440164566040039, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+43, 7158, 1, 0, 0, 1, 1, 0, 1, 6816.777, -2014.8325, 568.51807, 5.54440164566040039, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+44, 7156, 1, 0, 0, 1, 1, 0, 1, 6852.9307, -1980.0747, 551.7032, 0.850379586219787597, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+45, 7157, 1, 0, 0, 1, 1, 0, 1, 6852.9307, -1980.0747, 551.7032, 0.850379586219787597, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+46, 7158, 1, 0, 0, 1, 1, 0, 1, 6852.9307, -1980.0747, 551.7032, 0.850379586219787597, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+47, 7156, 1, 0, 0, 1, 1, 0, 1, 6912.4556, -1800.7333, 573.76605, 3.690003395080566406, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+48, 7157, 1, 0, 0, 1, 1, 0, 1, 6912.4556, -1800.7333, 573.76605, 3.690003395080566406, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+49, 7158, 1, 0, 0, 1, 1, 0, 1, 6912.4556, -1800.7333, 573.76605, 3.690003395080566406, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+50, 7156, 1, 0, 0, 1, 1, 0, 1, 6884.3813, -1815.441, 569.1466, 1.413716673851013183, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+51, 7157, 1, 0, 0, 1, 1, 0, 1, 6884.3813, -1815.441, 569.1466, 1.413716673851013183, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+52, 7158, 1, 0, 0, 1, 1, 0, 1, 6884.3813, -1815.441, 569.1466, 1.413716673851013183, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+53, 7156, 1, 0, 0, 1, 1, 0, 1, 6671.831, -1937.1498, 549.9153, 5.767045497894287109, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+54, 7157, 1, 0, 0, 1, 1, 0, 1, 6671.831, -1937.1498, 549.9153, 5.767045497894287109, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+55, 7158, 1, 0, 0, 1, 1, 0, 1, 6671.831, -1937.1498, 549.9153, 5.767045497894287109, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+56, 7156, 1, 0, 0, 1, 1, 0, 1, 6783.9683, -2017.4205, 567.54736, 4.150726318359375, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+57, 7157, 1, 0, 0, 1, 1, 0, 1, 6783.9683, -2017.4205, 567.54736, 4.150726318359375, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+58, 7158, 1, 0, 0, 1, 1, 0, 1, 6783.9683, -2017.4205, 567.54736, 4.150726318359375, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+59, 7156, 1, 0, 0, 1, 1, 0, 1, 6854.4717, -1891.2478, 551.0034, 0.333302795886993408, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+60, 7157, 1, 0, 0, 1, 1, 0, 1, 6854.4717, -1891.2478, 551.0034, 0.333302795886993408, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+61, 7158, 1, 0, 0, 1, 1, 0, 1, 6854.4717, -1891.2478, 551.0034, 0.333302795886993408, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+62, 7156, 1, 0, 0, 1, 1, 0, 1, 6848.996, -1814.8412, 564.1588, 2.317746877670288085, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+63, 7157, 1, 0, 0, 1, 1, 0, 1, 6848.996, -1814.8412, 564.1588, 2.317746877670288085, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+64, 7158, 1, 0, 0, 1, 1, 0, 1, 6848.996, -1814.8412, 564.1588, 2.317746877670288085, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+65, 7156, 1, 0, 0, 1, 1, 0, 1, 6889.5596, -1947.1342, 572.1914, 5.422736167907714843, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+66, 7157, 1, 0, 0, 1, 1, 0, 1, 6889.5596, -1947.1342, 572.1914, 5.422736167907714843, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+67, 7158, 1, 0, 0, 1, 1, 0, 1, 6889.5596, -1947.1342, 572.1914, 5.422736167907714843, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+68, 7156, 1, 0, 0, 1, 1, 0, 1, 6901.011, -2020.2257, 583.0537, 4.345870018005371093, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+69, 7157, 1, 0, 0, 1, 1, 0, 1, 6901.011, -2020.2257, 583.0537, 4.345870018005371093, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+70, 7158, 1, 0, 0, 1, 1, 0, 1, 6901.011, -2020.2257, 583.0537, 4.345870018005371093, 300, 6, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+71, 7156, 1, 0, 0, 1, 1, 0, 1, 6840.962, -2011.3381, 572.1896, 2.666453838348388671, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+72, 7157, 1, 0, 0, 1, 1, 0, 1, 6840.962, -2011.3381, 572.1896, 2.666453838348388671, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+73, 7158, 1, 0, 0, 1, 1, 0, 1, 6840.962, -2011.3381, 572.1896, 2.666453838348388671, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+74, 7156, 1, 0, 0, 1, 1, 0, 1, 6850.334, -1898.8638, 550.99396, 0.419144600629806518, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+75, 7157, 1, 0, 0, 1, 1, 0, 1, 6850.334, -1898.8638, 550.99396, 0.419144600629806518, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+76, 7158, 1, 0, 0, 1, 1, 0, 1, 6850.334, -1898.8638, 550.99396, 0.419144600629806518, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+77, 7156, 1, 0, 0, 1, 1, 0, 1, 6748.8423, -1888.2213, 549.94415, 5.060978889465332031, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+78, 7157, 1, 0, 0, 1, 1, 0, 1, 6748.8423, -1888.2213, 549.94415, 5.060978889465332031, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+79, 7158, 1, 0, 0, 1, 1, 0, 1, 6748.8423, -1888.2213, 549.94415, 5.060978889465332031, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+80, 7156, 1, 0, 0, 1, 1, 0, 1, 6908.5566, -1872.0408, 568.9377, 1.676499843597412109, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+81, 7157, 1, 0, 0, 1, 1, 0, 1, 6908.5566, -1872.0408, 568.9377, 1.676499843597412109, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+82, 7158, 1, 0, 0, 1, 1, 0, 1, 6908.5566, -1872.0408, 568.9377, 1.676499843597412109, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+83, 7156, 1, 0, 0, 1, 1, 0, 1, 6756.5103, -1986.3594, 551.00354, 1.836662650108337402, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+84, 7157, 1, 0, 0, 1, 1, 0, 1, 6756.5103, -1986.3594, 551.00354, 1.836662650108337402, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+85, 7158, 1, 0, 0, 1, 1, 0, 1, 6756.5103, -1986.3594, 551.00354, 1.836662650108337402, 300, 4, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+86, 7156, 1, 0, 0, 1, 1, 0, 1, 6811.798, -1862.0892, 551.0034, 3.028398513793945312, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+87, 7157, 1, 0, 0, 1, 1, 0, 1, 6811.798, -1862.0892, 551.0034, 3.028398513793945312, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+88, 7158, 1, 0, 0, 1, 1, 0, 1, 6811.798, -1862.0892, 551.0034, 3.028398513793945312, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+89, 7156, 1, 0, 0, 1, 1, 0, 1, 6785.5903, -1867.4802, 551.0258, 5.412777900695800781, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+90, 7157, 1, 0, 0, 1, 1, 0, 1, 6785.5903, -1867.4802, 551.0258, 5.412777900695800781, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+91, 7158, 1, 0, 0, 1, 1, 0, 1, 6785.5903, -1867.4802, 551.0258, 5.412777900695800781, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+92, 7156, 1, 0, 0, 1, 1, 0, 1, 6816.9775, -1818.9469, 562.42096, 5.254460334777832031, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+93, 7157, 1, 0, 0, 1, 1, 0, 1, 6816.9775, -1818.9469, 562.42096, 5.254460334777832031, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+94, 7158, 1, 0, 0, 1, 1, 0, 1, 6816.9775, -1818.9469, 562.42096, 5.254460334777832031, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+95, 7156, 1, 0, 0, 1, 1, 0, 1, 6799.929, -1833.5918, 558.3517, 0.822560429573059082, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+96, 7157, 1, 0, 0, 1, 1, 0, 1, 6799.929, -1833.5918, 558.3517, 0.822560429573059082, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+97, 7158, 1, 0, 0, 1, 1, 0, 1, 6799.929, -1833.5918, 558.3517, 0.822560429573059082, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+98, 7156, 1, 0, 0, 1, 1, 0, 1, 6683.4727, -1983.9648, 553.7465, 5.527495384216308593, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+99, 7157, 1, 0, 0, 1, 1, 0, 1, 6683.4727, -1983.9648, 553.7465, 5.527495384216308593, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+100, 7158, 1, 0, 0, 1, 1, 0, 1, 6683.4727, -1983.9648, 553.7465, 5.527495384216308593, 300, 7, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+101, 7156, 1, 0, 0, 1, 1, 0, 1, 6633.604, -1994.87, 551.8855, 1.831908464431762695, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+102, 7157, 1, 0, 0, 1, 1, 0, 1, 6633.604, -1994.87, 551.8855, 1.831908464431762695, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+103, 7158, 1, 0, 0, 1, 1, 0, 1, 6633.604, -1994.87, 551.8855, 1.831908464431762695, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+104, 7156, 1, 0, 0, 1, 1, 0, 1, 6659.386, -2017.5638, 552.1679, 5.303110122680664062, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+105, 7157, 1, 0, 0, 1, 1, 0, 1, 6659.386, -2017.5638, 552.1679, 5.303110122680664062, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+106, 7158, 1, 0, 0, 1, 1, 0, 1, 6659.386, -2017.5638, 552.1679, 5.303110122680664062, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+107, 7156, 1, 0, 0, 1, 1, 0, 1, 6893.018, -1907.9801, 568.61505, 3.519721269607543945, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+108, 7157, 1, 0, 0, 1, 1, 0, 1, 6893.018, -1907.9801, 568.61505, 3.519721269607543945, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+109, 7158, 1, 0, 0, 1, 1, 0, 1, 6893.018, -1907.9801, 568.61505, 3.519721269607543945, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+110, 7156, 1, 0, 0, 1, 1, 0, 1, 6789.6323, -1987.0955, 563.5386, 3.399090290069580078, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+111, 7157, 1, 0, 0, 1, 1, 0, 1, 6789.6323, -1987.0955, 563.5386, 3.399090290069580078, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+112, 7158, 1, 0, 0, 1, 1, 0, 1, 6789.6323, -1987.0955, 563.5386, 3.399090290069580078, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+113, 7156, 1, 0, 0, 1, 1, 0, 1, 6813.097, -1962.2092, 551.4164, 1.928655982017517089, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+114, 7157, 1, 0, 0, 1, 1, 0, 1, 6813.097, -1962.2092, 551.4164, 1.928655982017517089, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+115, 7158, 1, 0, 0, 1, 1, 0, 1, 6813.097, -1962.2092, 551.4164, 1.928655982017517089, 300, 9, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+116, 7156, 1, 0, 0, 1, 1, 0, 1, 6849.124, -1881.0748, 551.00366, 3.333578824996948242, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+117, 7157, 1, 0, 0, 1, 1, 0, 1, 6849.124, -1881.0748, 551.00366, 3.333578824996948242, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+118, 7158, 1, 0, 0, 1, 1, 0, 1, 6849.124, -1881.0748, 551.00366, 3.333578824996948242, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+119, 7156, 1, 0, 0, 1, 1, 0, 1, 6679.4087, -1953.9244, 551.26965, 3.954087495803833007, 300, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+120, 7157, 1, 0, 0, 1, 1, 0, 1, 6679.4087, -1953.9244, 551.26965, 3.954087495803833007, 300, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+121, 7158, 1, 0, 0, 1, 1, 0, 1, 6679.4087, -1953.9244, 551.26965, 3.954087495803833007, 300, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+122, 7156, 1, 0, 0, 1, 1, 0, 1, 6782.4507, -1952.2059, 551.1027, 0.982004404067993164, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+123, 7157, 1, 0, 0, 1, 1, 0, 1, 6782.4507, -1952.2059, 551.1027, 0.982004404067993164, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+124, 7158, 1, 0, 0, 1, 1, 0, 1, 6782.4507, -1952.2059, 551.1027, 0.982004404067993164, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+125, 7156, 1, 0, 0, 1, 1, 0, 1, 6854.5806, -1923.5446, 551.0034, 2.179383754730224609, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+126, 7157, 1, 0, 0, 1, 1, 0, 1, 6854.5806, -1923.5446, 551.0034, 2.179383754730224609, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+127, 7158, 1, 0, 0, 1, 1, 0, 1, 6854.5806, -1923.5446, 551.0034, 2.179383754730224609, 300, 8, 0, 1, 0, 1, 0, 0, 0, '', 0); + +DELETE FROM `pool_template` WHERE `entry` BETWEEN @POOLID AND @POOLID+42; +INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES +(@POOLID,1,'Felpaw Village, Felwood, Group 1'), +(@POOLID+1,1,'Felpaw Village, Felwood, Group 2'), +(@POOLID+2,1,'Felpaw Village, Felwood, Group 3'), +(@POOLID+3,1,'Felpaw Village, Felwood, Group 4'), +(@POOLID+4,1,'Felpaw Village, Felwood, Group 5'), +(@POOLID+5,1,'Felpaw Village, Felwood, Group 6'), +(@POOLID+6,1,'Felpaw Village, Felwood, Group 7'), +(@POOLID+7,1,'Felpaw Village, Felwood, Group 8'), +(@POOLID+8,1,'Felpaw Village, Felwood, Group 9'), +(@POOLID+9,1,'Felpaw Village, Felwood, Group 10'), +(@POOLID+10,1,'Felpaw Village, Felwood, Group 11'), +(@POOLID+11,1,'Felpaw Village, Felwood, Group 12'), +(@POOLID+12,1,'Felpaw Village, Felwood, Group 13'), +(@POOLID+13,1,'Felpaw Village, Felwood, Group 14'), +(@POOLID+14,1,'Felpaw Village, Felwood, Group 15'), +(@POOLID+15,1,'Felpaw Village, Felwood, Group 16'), +(@POOLID+16,1,'Felpaw Village, Felwood, Group 17'), +(@POOLID+17,1,'Felpaw Village, Felwood, Group 18'), +(@POOLID+18,1,'Felpaw Village, Felwood, Group 19'), +(@POOLID+19,1,'Felpaw Village, Felwood, Group 20'), +(@POOLID+20,1,'Felpaw Village, Felwood, Group 21'), +(@POOLID+21,1,'Felpaw Village, Felwood, Group 22'), +(@POOLID+22,1,'Felpaw Village, Felwood, Group 23'), +(@POOLID+23,1,'Felpaw Village, Felwood, Group 24'), +(@POOLID+24,1,'Felpaw Village, Felwood, Group 25'), +(@POOLID+25,1,'Felpaw Village, Felwood, Group 26'), +(@POOLID+26,1,'Felpaw Village, Felwood, Group 27'), +(@POOLID+27,1,'Felpaw Village, Felwood, Group 28'), +(@POOLID+28,1,'Felpaw Village, Felwood, Group 29'), +(@POOLID+29,1,'Felpaw Village, Felwood, Group 30'), +(@POOLID+30,1,'Felpaw Village, Felwood, Group 31'), +(@POOLID+31,1,'Felpaw Village, Felwood, Group 32'), +(@POOLID+32,1,'Felpaw Village, Felwood, Group 33'), +(@POOLID+33,1,'Felpaw Village, Felwood, Group 34'), +(@POOLID+34,1,'Felpaw Village, Felwood, Group 35'), +(@POOLID+35,1,'Felpaw Village, Felwood, Group 36'), +(@POOLID+36,1,'Felpaw Village, Felwood, Group 37'), +(@POOLID+37,1,'Felpaw Village, Felwood, Group 38'), +(@POOLID+38,1,'Felpaw Village, Felwood, Group 39'), +(@POOLID+39,1,'Felpaw Village, Felwood, Group 40'), +(@POOLID+40,1,'Felpaw Village, Felwood, Group 41'), +(@POOLID+41,1,'Felpaw Village, Felwood, Group 42'), +(@POOLID+42,1,'Felpaw Village, Felwood, Group 43'); + +DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOLID AND @POOLID+42; +INSERT INTO `pool_members` (`type`,`spawnId`,`poolSpawnId`,`chance`,`description`) VALUES +(0,@CGUID+5,@POOLID,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+6,@POOLID,0,'Deadwood Avenger (7157)'), +(0,@CGUID+7,@POOLID+1,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+8,@POOLID+1,0,'Deadwood Avenger (7157)'), +(0,@CGUID+9,@POOLID+2,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+10,@POOLID+2,0,'Deadwood Avenger (7157)'), +(0,@CGUID+11,@POOLID+3,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+12,@POOLID+3,0,'Deadwood Avenger (7157)'), +(0,@CGUID+13,@POOLID+4,0,'Deadwood Avenger (7157)'), +(0,@CGUID+14,@POOLID+4,0,'Deadwood Shaman (7158)'), +(0,@CGUID+15,@POOLID+5,0,'Deadwood Avenger (7157)'), +(0,@CGUID+16,@POOLID+5,0,'Deadwood Shaman (7158)'), +(0,@CGUID+17,@POOLID+6,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+18,@POOLID+6,0,'Deadwood Avenger (7157)'), +(0,@CGUID+19,@POOLID+6,0,'Deadwood Shaman (7158)'), +(0,@CGUID+20,@POOLID+7,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+21,@POOLID+7,0,'Deadwood Avenger (7157)'), +(0,@CGUID+22,@POOLID+7,0,'Deadwood Shaman (7158)'), +(0,@CGUID+23,@POOLID+8,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+24,@POOLID+8,0,'Deadwood Avenger (7157)'), +(0,@CGUID+25,@POOLID+8,0,'Deadwood Shaman (7158)'), +(0,@CGUID+26,@POOLID+9,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+27,@POOLID+9,0,'Deadwood Avenger (7157)'), +(0,@CGUID+28,@POOLID+9,0,'Deadwood Shaman (7158)'), +(0,@CGUID+29,@POOLID+10,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+30,@POOLID+10,0,'Deadwood Avenger (7157)'), +(0,@CGUID+31,@POOLID+10,0,'Deadwood Shaman (7158)'), +(0,@CGUID+32,@POOLID+11,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+33,@POOLID+11,0,'Deadwood Avenger (7157)'), +(0,@CGUID+34,@POOLID+11,0,'Deadwood Shaman (7158)'), +(0,@CGUID+35,@POOLID+12,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+36,@POOLID+12,0,'Deadwood Avenger (7157)'), +(0,@CGUID+37,@POOLID+12,0,'Deadwood Shaman (7158)'), +(0,@CGUID+38,@POOLID+13,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+39,@POOLID+13,0,'Deadwood Avenger (7157)'), +(0,@CGUID+40,@POOLID+13,0,'Deadwood Shaman (7158)'), +(0,@CGUID+41,@POOLID+14,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+42,@POOLID+14,0,'Deadwood Avenger (7157)'), +(0,@CGUID+43,@POOLID+14,0,'Deadwood Shaman (7158)'), +(0,@CGUID+44,@POOLID+15,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+45,@POOLID+15,0,'Deadwood Avenger (7157)'), +(0,@CGUID+46,@POOLID+15,0,'Deadwood Shaman (7158)'), +(0,@CGUID+47,@POOLID+16,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+48,@POOLID+16,0,'Deadwood Avenger (7157)'), +(0,@CGUID+49,@POOLID+16,0,'Deadwood Shaman (7158)'), +(0,@CGUID+50,@POOLID+17,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+51,@POOLID+17,0,'Deadwood Avenger (7157)'), +(0,@CGUID+52,@POOLID+17,0,'Deadwood Shaman (7158)'), +(0,@CGUID+53,@POOLID+18,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+54,@POOLID+18,0,'Deadwood Avenger (7157)'), +(0,@CGUID+55,@POOLID+18,0,'Deadwood Shaman (7158)'), +(0,@CGUID+56,@POOLID+19,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+57,@POOLID+19,0,'Deadwood Avenger (7157)'), +(0,@CGUID+58,@POOLID+19,0,'Deadwood Shaman (7158)'), +(0,@CGUID+59,@POOLID+20,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+60,@POOLID+20,0,'Deadwood Avenger (7157)'), +(0,@CGUID+61,@POOLID+20,0,'Deadwood Shaman (7158)'), +(0,@CGUID+62,@POOLID+21,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+63,@POOLID+21,0,'Deadwood Avenger (7157)'), +(0,@CGUID+64,@POOLID+21,0,'Deadwood Shaman (7158)'), +(0,@CGUID+65,@POOLID+22,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+66,@POOLID+22,0,'Deadwood Avenger (7157)'), +(0,@CGUID+67,@POOLID+22,0,'Deadwood Shaman (7158)'), +(0,@CGUID+68,@POOLID+23,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+69,@POOLID+23,0,'Deadwood Avenger (7157)'), +(0,@CGUID+70,@POOLID+23,0,'Deadwood Shaman (7158)'), +(0,@CGUID+71,@POOLID+24,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+72,@POOLID+24,0,'Deadwood Avenger (7157)'), +(0,@CGUID+73,@POOLID+24,0,'Deadwood Shaman (7158)'), +(0,@CGUID+74,@POOLID+25,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+75,@POOLID+25,0,'Deadwood Avenger (7157)'), +(0,@CGUID+76,@POOLID+25,0,'Deadwood Shaman (7158)'), +(0,@CGUID+77,@POOLID+26,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+78,@POOLID+26,0,'Deadwood Avenger (7157)'), +(0,@CGUID+79,@POOLID+26,0,'Deadwood Shaman (7158)'), +(0,@CGUID+80,@POOLID+27,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+81,@POOLID+27,0,'Deadwood Avenger (7157)'), +(0,@CGUID+82,@POOLID+27,0,'Deadwood Shaman (7158)'), +(0,@CGUID+83,@POOLID+28,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+84,@POOLID+28,0,'Deadwood Avenger (7157)'), +(0,@CGUID+85,@POOLID+28,0,'Deadwood Shaman (7158)'), +(0,@CGUID+86,@POOLID+29,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+87,@POOLID+29,0,'Deadwood Avenger (7157)'), +(0,@CGUID+88,@POOLID+29,0,'Deadwood Shaman (7158)'), +(0,@CGUID+89,@POOLID+30,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+90,@POOLID+30,0,'Deadwood Avenger (7157)'), +(0,@CGUID+91,@POOLID+30,0,'Deadwood Shaman (7158)'), +(0,@CGUID+92,@POOLID+31,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+93,@POOLID+31,0,'Deadwood Avenger (7157)'), +(0,@CGUID+94,@POOLID+31,0,'Deadwood Shaman (7158)'), +(0,@CGUID+95,@POOLID+32,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+96,@POOLID+32,0,'Deadwood Avenger (7157)'), +(0,@CGUID+97,@POOLID+32,0,'Deadwood Shaman (7158)'), +(0,@CGUID+98,@POOLID+33,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+99,@POOLID+33,0,'Deadwood Avenger (7157)'), +(0,@CGUID+100,@POOLID+33,0,'Deadwood Shaman (7158)'), +(0,@CGUID+101,@POOLID+34,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+102,@POOLID+34,0,'Deadwood Avenger (7157)'), +(0,@CGUID+103,@POOLID+34,0,'Deadwood Shaman (7158)'), +(0,@CGUID+104,@POOLID+35,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+105,@POOLID+35,0,'Deadwood Avenger (7157)'), +(0,@CGUID+106,@POOLID+35,0,'Deadwood Shaman (7158)'), +(0,@CGUID+107,@POOLID+36,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+108,@POOLID+36,0,'Deadwood Avenger (7157)'), +(0,@CGUID+109,@POOLID+36,0,'Deadwood Shaman (7158)'), +(0,@CGUID+110,@POOLID+37,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+111,@POOLID+37,0,'Deadwood Avenger (7157)'), +(0,@CGUID+112,@POOLID+37,0,'Deadwood Shaman (7158)'), +(0,@CGUID+113,@POOLID+38,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+114,@POOLID+38,0,'Deadwood Avenger (7157)'), +(0,@CGUID+115,@POOLID+38,0,'Deadwood Shaman (7158)'), +(0,@CGUID+116,@POOLID+39,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+117,@POOLID+39,0,'Deadwood Avenger (7157)'), +(0,@CGUID+118,@POOLID+39,0,'Deadwood Shaman (7158)'), +(0,@CGUID+119,@POOLID+40,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+120,@POOLID+40,0,'Deadwood Avenger (7157)'), +(0,@CGUID+121,@POOLID+40,0,'Deadwood Shaman (7158)'), +(0,@CGUID+122,@POOLID+41,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+123,@POOLID+41,0,'Deadwood Avenger (7157)'), +(0,@CGUID+124,@POOLID+41,0,'Deadwood Shaman (7158)'), +(0,@CGUID+125,@POOLID+42,0,'Deadwood Den Watcher (7156)'), +(0,@CGUID+126,@POOLID+42,0,'Deadwood Avenger (7157)'), +(0,@CGUID+127,@POOLID+42,0,'Deadwood Shaman (7158)'); + +-- Pathing for Deadwood Avenger Entry: 7157 +SET @NPC := @CGUID+2; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,6836.2563,-1958.3312,551.14636,NULL,50000,0,0,100,0), +(@PATH,2,6832.138,-1946.8033,548.6861,NULL,40000,0,0,100,0); + +-- Pathing for Deadwood Den Watcher Entry: 7156, Deadwood Avenger Entry: 7157 +SET @NPC := @CGUID+9; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid` IN (@NPC,@NPC+1); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES +(@NPC,@PATH,0,0,1,0,0, ''),(@NPC+1,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,6742.783,-1884.2014,550.0086,NULL,0,0,0,100,0), +(@PATH,2,6755.027,-1882.4729,550.80035,NULL,0,0,0,100,0), +(@PATH,3,6762.4033,-1880.247,550.92535,NULL,0,0,0,100,0), +(@PATH,4,6772.671,-1875.1853,550.8313,NULL,0,0,0,100,0), +(@PATH,5,6785.2915,-1858.1077,552.3018,NULL,0,0,0,100,0), +(@PATH,6,6799.3403,-1845.1311,554.64874,NULL,0,0,0,100,0), +(@PATH,7,6813.109,-1824.484,560.7498,NULL,0,0,0,100,0), +(@PATH,8,6828.3228,-1820.8368,561.93854,NULL,0,0,0,100,0), +(@PATH,9,6845.292,-1826.416,561.6869,NULL,0,0,0,100,0), +(@PATH,10,6867.53,-1825.0946,563.73517,NULL,0,0,0,100,0), +(@PATH,11,6884.5103,-1824.497,566.3377,NULL,0,0,0,100,0), +(@PATH,12,6898.2207,-1826.3928,568.0859,NULL,0,0,0,100,0), +(@PATH,13,6880.141,-1823.8627,565.93854,NULL,0,0,0,100,0), +(@PATH,14,6862.512,-1819.7505,564.43787,NULL,0,0,0,100,0), +(@PATH,15,6853.1475,-1807.4088,565.7855,NULL,0,0,0,100,0), +(@PATH,16,6829.3037,-1811.7084,564.3947,NULL,0,0,0,100,0), +(@PATH,17,6809.335,-1826.6364,560.1082,NULL,0,0,0,100,0), +(@PATH,18,6803.229,-1842.7974,554.82904,NULL,0,0,0,100,0), +(@PATH,19,6802.725,-1864.1155,551.0451,NULL,0,0,0,100,0), +(@PATH,20,6793.358,-1871.483,550.9563,NULL,0,0,0,100,0), +(@PATH,21,6780.5254,-1878.0662,550.2063,NULL,0,0,0,100,0), +(@PATH,22,6761.8857,-1883.431,550.92535,NULL,0,0,0,100,0), +(@PATH,23,6750.664,-1881.2048,550.42535,NULL,0,0,0,100,0), +(@PATH,24,6722.1313,-1889.0719,549.3373,NULL,0,0,0,100,0), +(@PATH,25,6713.2954,-1894.2188,549.21985,NULL,0,0,0,100,0), +(@PATH,26,6708.041,-1900.7806,549.07025,NULL,0,0,0,100,0), +(@PATH,27,6710.7495,-1892.5039,549.4479,NULL,0,0,0,100,0), +(@PATH,28,6709.9814,-1882.2263,550.2838,NULL,0,0,0,100,0), +(@PATH,29,6734.5825,-1882.2701,549.99054,NULL,0,0,0,100,0), +(@PATH,30,6750.664,-1881.2048,550.42535,NULL,0,0,0,100,0), +(@PATH,31,6761.8857,-1883.431,550.92535,NULL,0,0,0,100,0), +(@PATH,32,6780.5254,-1878.0662,550.2063,NULL,0,0,0,100,0), +(@PATH,33,6793.358,-1871.483,550.9563,NULL,0,0,0,100,0), +(@PATH,34,6802.725,-1864.1155,551.0451,NULL,0,0,0,100,0), +(@PATH,35,6803.229,-1842.7974,554.82904,NULL,0,0,0,100,0), +(@PATH,36,6809.335,-1826.6364,560.1082,NULL,0,0,0,100,0), +(@PATH,37,6829.3037,-1811.7084,564.3947,NULL,0,0,0,100,0), +(@PATH,38,6853.1475,-1807.4088,565.7855,NULL,0,0,0,100,0), +(@PATH,39,6862.512,-1819.7505,564.43787,NULL,0,0,0,100,0), +(@PATH,40,6880.141,-1823.8627,565.93854,NULL,0,0,0,100,0), +(@PATH,41,6898.2207,-1826.3928,568.0859,NULL,0,0,0,100,0), +(@PATH,42,6884.5103,-1824.497,566.3377,NULL,0,0,0,100,0), +(@PATH,43,6867.53,-1825.0946,563.73517,NULL,0,0,0,100,0), +(@PATH,44,6845.292,-1826.416,561.6869,NULL,0,0,0,100,0), +(@PATH,45,6828.3228,-1820.8368,561.93854,NULL,0,0,0,100,0), +(@PATH,46,6813.109,-1824.484,560.7498,NULL,0,0,0,100,0), +(@PATH,47,6799.3403,-1845.1311,554.64874,NULL,0,0,0,100,0), +(@PATH,48,6785.2915,-1858.1077,552.3018,NULL,0,0,0,100,0), +(@PATH,49,6772.671,-1875.1853,550.8313,NULL,0,0,0,100,0), +(@PATH,50,6762.4033,-1880.247,550.92535,NULL,0,0,0,100,0), +(@PATH,51,6755.027,-1882.4729,550.80035,NULL,0,0,0,100,0); + +-- Pathing for Deadwood Den Watcher Entry: 7156, Deadwood Avenger Entry: 7157, Deadwood Shaman Entry: 7158 +SET @NPC := @CGUID+53; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid` IN (@NPC,@NPC+1,@NPC+2); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES +(@NPC,@PATH,0,0,1,0,0, ''),(@NPC+1,@PATH,0,0,1,0,0, ''),(@NPC+2,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,6674.144,-1938.4623,550.1063,NULL,0,0,0,100,0), +(@PATH,2,6680.9253,-1945.6392,550.8187,NULL,0,0,0,100,0), +(@PATH,3,6693.1694,-1952.7042,551.0707,NULL,0,0,0,100,0), +(@PATH,4,6705.156,-1953.2203,552.2102,NULL,0,0,0,100,0), +(@PATH,5,6720.814,-1957.4888,552.2864,NULL,0,0,0,100,0), +(@PATH,6,6725.9185,-1964.8463,552.3895,NULL,0,0,0,100,0), +(@PATH,7,6725.5947,-1978.221,559.3325,NULL,0,0,0,100,0), +(@PATH,8,6722.6387,-1987.695,560.3678,NULL,0,0,0,100,0), +(@PATH,9,6716.1553,-1990.7474,560.49414,NULL,0,0,0,100,0), +(@PATH,10,6707.6743,-1986.0039,559.0332,NULL,0,0,0,100,0), +(@PATH,11,6697.0845,-1982.1294,556.9809,NULL,0,0,0,100,0), +(@PATH,12,6689.924,-1972.5391,552.7983,NULL,0,0,0,100,0), +(@PATH,13,6681.2456,-1970.9508,551.23065,NULL,0,0,0,100,0), +(@PATH,14,6661.076,-1962.1512,550.74835,NULL,0,0,0,100,0), +(@PATH,15,6648.992,-1958.2153,550.6717,NULL,0,0,0,100,0), +(@PATH,16,6643.303,-1953.4427,550.5903,NULL,0,0,0,100,0), +(@PATH,17,6641.8594,-1941.9397,549.2579,NULL,0,0,0,100,0), +(@PATH,18,6649.981,-1935.5818,547.8481,NULL,0,0,0,100,0), +(@PATH,19,6663.953,-1934.707,549.12335,NULL,0,0,0,100,0); + +-- Pathing for Deadwood Den Watcher Entry: 7156, Deadwood Avenger Entry: 7157, Deadwood Shaman Entry: 7158 +SET @NPC := @CGUID+71; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid` IN (@NPC,@NPC+1,@NPC+2); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES +(@NPC,@PATH,0,0,1,0,0, ''),(@NPC+1,@PATH,0,0,1,0,0, ''),(@NPC+2,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,6839.8213,-2010.7513,571.88824,NULL,0,0,0,100,0), +(@PATH,2,6825.454,-2003.0621,567.79156,NULL,0,0,0,100,0), +(@PATH,3,6808.6484,-1998.2537,565.77673,NULL,0,0,0,100,0), +(@PATH,4,6797.5586,-1997.8064,565.4205,NULL,0,0,0,100,0), +(@PATH,5,6785.587,-2006.0873,566.36304,NULL,0,0,0,100,0), +(@PATH,6,6779.187,-2018.8337,567.20764,NULL,0,0,0,100,0), +(@PATH,7,6787.61,-2023.3473,569.01,NULL,0,0,0,100,0), +(@PATH,8,6810.3037,-2020.6549,569.0567,NULL,0,0,0,100,0), +(@PATH,9,6826.6704,-2013.8262,569.9943,NULL,0,0,0,100,0), +(@PATH,10,6844.8022,-2016.8806,574.1186,NULL,0,0,0,100,0), +(@PATH,11,6849.61,-2027.3008,577.63873,NULL,0,0,0,100,0), +(@PATH,12,6860.901,-2037.0543,581.5809,NULL,0,0,0,100,0), +(@PATH,13,6872.202,-2040.5083,582.4156,NULL,0,0,0,100,0), +(@PATH,14,6885.85,-2040.0408,581.4642,NULL,0,0,0,100,0), +(@PATH,15,6893.2324,-2036.9629,582.4974,NULL,0,0,0,100,0), +(@PATH,16,6906.8237,-2029.5887,585.2558,NULL,0,0,0,100,0), +(@PATH,17,6912.1626,-2023.863,586.6153,NULL,0,0,0,100,0), +(@PATH,18,6908.6235,-2015.8668,585.2845,NULL,0,0,0,100,0), +(@PATH,19,6901.057,-2009.9861,583.15265,NULL,0,0,0,100,0), +(@PATH,20,6891.577,-2012.1641,579.04706,NULL,0,0,0,100,0), +(@PATH,21,6884.7573,-2017.9587,578.0085,NULL,0,0,0,100,0), +(@PATH,22,6875.134,-2024.5499,577.02216,NULL,0,0,0,100,0), +(@PATH,23,6870.844,-2026.7975,577.436,NULL,0,0,0,100,0), +(@PATH,24,6859.9976,-2023.9427,577.399,NULL,0,0,0,100,0), +(@PATH,25,6851.0894,-2018.5762,575.4251,NULL,0,0,0,100,0); From 5da8e80fab05d0b3f547b9c074b982c4721d88a2 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 24 Oct 2024 04:31:04 +0200 Subject: [PATCH 3/6] DB/Misc: Restore data deleted by mistake it's bad to push things on late night without triple checking text. --- .../world/3.3.5/2024_10_24_02_world.sql | 111 ++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 sql/updates/world/3.3.5/2024_10_24_02_world.sql diff --git a/sql/updates/world/3.3.5/2024_10_24_02_world.sql b/sql/updates/world/3.3.5/2024_10_24_02_world.sql new file mode 100644 index 0000000000..ff65af9c8e --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_24_02_world.sql @@ -0,0 +1,111 @@ +-- +SET @CGUID := 147290; +SET @POOLID := 593; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+50; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES +(@CGUID, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2978.1, 6172.02, 60.9706, 5.32325, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+1, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2945.24, 6246.11, 60.975, 6.16101, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+2, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2957.58, 6227.22, 60.7323, 3.94444, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+3, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2926.58, 6281.96, 62.1978, 0.802851, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+4, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2887.59, 6237.46, 77.7758, 3.85718, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+5, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2867.71, 6267.31, 61.747, 4.99164, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+6, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2854.76, 6246.98, 77.7758, 3.35103, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+7, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2905.47, 6216.61, 61.5561, 5.3058, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+8, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2928.38, 6185.37, 62.5468, 1.91986, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+9, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2894.52, 6226.45, 77.7758, 3.64774, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+10, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2902.44, 6158.43, 78.5022, 2.96706, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+11, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2895.37, 6293.76, 61.6635, 4.24115, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+12, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2934.04, 6166.06, 62.0291, 2.00713, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+13, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2819.93, 6311.56, 62.5366, 4.69494, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+14, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2921.87, 6135.71, 78.5082, 5.16617, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+15, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2754.33, 6240.9, 77.7758, 3.1765, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+16, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2704.21, 6040.9, 30.7446, 5.77704, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+17, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2722.75, 6031.68, 30.6742, 2.18166, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+18, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2685.12, 6131.61, 40.0764, 2.53073, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+19, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2689.42, 6110.31, 40.1811, 2.19912, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+20, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2680.27, 6147.35, 40.3715, 5.60251, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+21, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2721.42, 6008.34, 32.7563, 3.80482, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+22, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2650.33, 6111.8, 38.2883, 3.00197, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+23, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2689.25, 6194.8, 54.0332, 3.49066, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+24, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2669.27, 6179.79, 39.3598, 5.65487, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+25, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2656.43, 6220.2, 38.5179, 1.76278, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+26, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2567.77, 6109.05, 54.6977, 3.76991, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+27, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2641.34, 6031.71, 54.2912, 3.26377, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+28, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2625.26, 6095.54, 54.0161, 5.23599, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+29, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2585.7, 6190.79, 39.1659, 3.90954, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+30, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2615.04, 6115.13, 45.4237, 2.49582, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+31, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2634.75, 6034.53, 54.0479, 3.07178, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+32, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2700.17, 6236.87, 39.5734, 6.12611, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+33, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2660.3, 6237.82, 38.3345, 3.90954, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+34, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2671.28, 6169.58, 39.5054, 5.51524, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+35, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2717.3, 6294.58, 61.7433, 1.3439, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+36, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2673.98, 6268.22, 39.8142, 2.63545, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+37, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2629.93, 6118.81, 38.2883, 2.42601, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+38, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2627.62, 6052.65, 54.0331, 6.21337, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+39, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2590.95, 6064.32, 53.932, 0.994838, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+40, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2637.65, 6217.15, 40.1605, 2.19912, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+41, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2677.92, 6199.64, 39.8142, 2.51327, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+42, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2708.72, 6270.94, 47.0079, 3.22886, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+43, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2990.11, 6142.67, 61.5929, 1.27409, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+44, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2979.68, 6128.44, 62.3862, 2.84489, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+45, 35644, 650, 4723, 4723, 3, 1, 0, 0, 702.967, 587.649, 412.475, 0.610865, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+46, 35644, 650, 4723, 4723, 3, 1, 0, 0, 774.898, 573.736, 412.475, 2.14675, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+47, 35644, 650, 4723, 4723, 3, 1, 0, 0, 787.439, 584.969, 412.476, 2.47837, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+48, 35644, 650, 4723, 4723, 3, 1, 0, 0, 712.594, 576.26, 412.476, 0.890118, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+49, 35644, 650, 4723, 4723, 3, 1, 0, 0, 720.57, 571.285, 412.475, 1.06465, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+50, 36558, 650, 4723, 4723, 3, 1, 0, 0, 790.177, 589.059, 412.475, 2.56563, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0); + +-- pool_template +DELETE FROM `pool_template` WHERE `entry`= @POOLID; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@POOLID, 15, 'MASTER Minerals Wintergrasp zone 4197'); + +-- pool_members +DELETE FROM `pool_members` WHERE `type`=2 AND `poolSpawnId`=@POOLID; +INSERT INTO `pool_members` (`type`, `spawnId`, `poolSpawnId`, `chance`, `description`) VALUES +(2, 5617, @POOLID, 0, 'Wintergrasp mineral, node 1'), +(2, 5618, @POOLID, 0, 'Wintergrasp mineral, node 2'), +(2, 5619, @POOLID, 0, 'Wintergrasp mineral, node 3'), +(2, 5620, @POOLID, 0, 'Wintergrasp mineral, node 4'), +(2, 5621, @POOLID, 0, 'Wintergrasp mineral, node 5'), +(2, 5622, @POOLID, 0, 'Wintergrasp mineral, node 6'), +(2, 5623, @POOLID, 0, 'Wintergrasp mineral, node 7'), +(2, 5624, @POOLID, 0, 'Wintergrasp mineral, node 8'), +(2, 5625, @POOLID, 0, 'Wintergrasp mineral, node 9'), +(2, 5626, @POOLID, 0, 'Wintergrasp mineral, node 10'), +(2, 5627, @POOLID, 0, 'Wintergrasp mineral, node 11'), +(2, 5628, @POOLID, 0, 'Wintergrasp mineral, node 12'), +(2, 5629, @POOLID, 0, 'Wintergrasp mineral, node 13'), +(2, 5630, @POOLID, 0, 'Wintergrasp mineral, node 14'), +(2, 5631, @POOLID, 0, 'Wintergrasp mineral, node 15'), +(2, 5632, @POOLID, 0, 'Wintergrasp mineral, node 16'), +(2, 5633, @POOLID, 0, 'Wintergrasp mineral, node 17'), +(2, 5634, @POOLID, 0, 'Wintergrasp mineral, node 18'), +(2, 5635, @POOLID, 0, 'Wintergrasp mineral, node 19'), +(2, 5636, @POOLID, 0, 'Wintergrasp mineral, node 20'), +(2, 5637, @POOLID, 0, 'Wintergrasp mineral, node 21'), +(2, 5638, @POOLID, 0, 'Wintergrasp mineral, node 22'), +(2, 5639, @POOLID, 0, 'Wintergrasp mineral, node 23'), +(2, 5640, @POOLID, 0, 'Wintergrasp mineral, node 24'), +(2, 5641, @POOLID, 0, 'Wintergrasp mineral, node 25'), +(2, 5642, @POOLID, 0, 'Wintergrasp mineral, node 26'), +(2, 5643, @POOLID, 0, 'Wintergrasp mineral, node 27'), +(2, 5644, @POOLID, 0, 'Wintergrasp mineral, node 28'), +(2, 5645, @POOLID, 0, 'Wintergrasp mineral, node 29'), +(2, 5646, @POOLID, 0, 'Wintergrasp mineral, node 30'), +(2, 5647, @POOLID, 0, 'Wintergrasp mineral, node 31'), +(2, 5648, @POOLID, 0, 'Wintergrasp mineral, node 32'), +(2, 5649, @POOLID, 0, 'Wintergrasp mineral, node 33'), +(2, 5650, @POOLID, 0, 'Wintergrasp mineral, node 34'), +(2, 5651, @POOLID, 0, 'Wintergrasp mineral, node 35'), +(2, 5652, @POOLID, 0, 'Wintergrasp mineral, node 36'), +(2, 5653, @POOLID, 0, 'Wintergrasp mineral, node 37'), +(2, 5654, @POOLID, 0, 'Wintergrasp mineral, node 38'), +(2, 5655, @POOLID, 0, 'Wintergrasp mineral, node 39'), +(2, 5656, @POOLID, 0, 'Wintergrasp mineral, node 40'), +(2, 5657, @POOLID, 0, 'Wintergrasp mineral, node 41'), +(2, 5658, @POOLID, 0, 'Wintergrasp mineral, node 42'), +(2, 5659, @POOLID, 0, 'Wintergrasp mineral, node 43'), +(2, 5660, @POOLID, 0, 'Wintergrasp mineral, node 44'), +(2, 5661, @POOLID, 0, 'Wintergrasp mineral, node 45'); From 113f31d114112a3aea70776eee23054ac0c7d986 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 24 Oct 2024 04:42:53 +0200 Subject: [PATCH 4/6] DB/Creature: Jadefire Run, Felwood Respawn Jadefire Tricksters, Betrayers, Hellcallers, and Xavaric closes #30260 by malcrom --- .../world/3.3.5/2024_10_24_03_world.sql | 192 ++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 sql/updates/world/3.3.5/2024_10_24_03_world.sql diff --git a/sql/updates/world/3.3.5/2024_10_24_03_world.sql b/sql/updates/world/3.3.5/2024_10_24_03_world.sql new file mode 100644 index 0000000000..01f482bae4 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_24_03_world.sql @@ -0,0 +1,192 @@ +-- Jadefire Run, Felwood Replace existing Jadefire spawns with sniffed CreateObject2 and pooling +SET @CGUID := 147341; +SET @POOLID := 908; +-- Remove existing spawns +DELETE FROM `creature` WHERE `guid` IN (40193,40194,40195,40240,40241,40242,40284,40288,40289,40291,40296,40365,40677,40678,40713,40714,40196,40290,40301,40302,40671,40680,40712,40715,40718,40230,40283,40286,40287,40297,40298,40299,40300,40338,40668,40674,40706,40708); +DELETE FROM `creature_addon` WHERE `guid` IN (40193,40194,40195,40240,40241,40242,40284,40288,40289,40291,40296,40365,40677,40678,40713,40714,40196,40290,40301,40302,40671,40680,40712,40715,40718,40230,40283,40286,40287,40297,40298,40299,40300,40338,40668,40674,40706,40708); +DELETE FROM `spawn_group` WHERE `spawnType`=0 AND `spawnId` IN (40193,40194,40195,40240,40241,40242,40284,40288,40289,40291,40296,40365,40677,40678,40713,40714,40196,40290,40301,40302,40671,40680,40712,40715,40718,40230,40283,40286,40287,40297,40298,40299,40300,40338,40668,40674,40706,40708); +DELETE FROM `waypoint_data` WHERE `id` IN (407060); +-- Add new spawns and pooling +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+65; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID AND @CGUID+65; +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`,`ScriptName`,`VerifiedBuild`) VALUES +(@CGUID, 7107, 1, 0, 0, 1, 1, 0, 0, 6597.9893, -937.82446, 473.77335, 0.209439516067504882, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+1, 7108, 1, 0, 0, 1, 1, 0, 0, 6597.9893, -937.82446, 473.77335, 0.209439516067504882, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+2, 7107, 1, 0, 0, 1, 1, 0, 0, 6581.721, -1013.5572, 463.79858, 1.172463178634643554, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+3, 7108, 1, 0, 0, 1, 1, 0, 0, 6581.721, -1013.5572, 463.79858, 1.172463178634643554, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+4, 7107, 1, 0, 0, 1, 1, 0, 0, 6595.478, -964.7803, 472.8459, 3.744056224822998046, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+5, 7108, 1, 0, 0, 1, 1, 0, 0, 6595.478, -964.7803, 472.8459, 3.744056224822998046, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+6, 7107, 1, 0, 0, 1, 1, 0, 0, 6606.426, -912.1112, 473.53186, 2.259292364120483398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+7, 7108, 1, 0, 0, 1, 1, 0, 0, 6606.426, -912.1112, 473.53186, 2.259292364120483398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+8, 7107, 1, 0, 0, 1, 1, 0, 0, 6500.4424, -850.4374, 472.95465, 4.504848957061767578, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+9, 7108, 1, 0, 0, 1, 1, 0, 0, 6500.4424, -850.4374, 472.95465, 4.504848957061767578, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+10, 7107, 1, 0, 0, 1, 1, 0, 0, 6489.674, -784.32434, 473.6464, 0.226892799139022827, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+11, 7108, 1, 0, 0, 1, 1, 0, 0, 6489.674, -784.32434, 473.6464, 0.226892799139022827, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+12, 7107, 1, 0, 0, 1, 1, 0, 0, 6553.232, -841.71313, 473.59003, 0.154711350798606872, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+13, 7108, 1, 0, 0, 1, 1, 0, 0, 6553.232, -841.71313, 473.59003, 0.154711350798606872, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+14, 7107, 1, 0, 0, 1, 1, 0, 0, 6535.845, -834.43854, 474.60547, 4.304278373718261718, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+15, 7108, 1, 0, 0, 1, 1, 0, 0, 6535.845, -834.43854, 474.60547, 4.304278373718261718, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+16, 7107, 1, 0, 0, 1, 1, 0, 0, 6569.074, -806.16907, 475.7942, 0.657858967781066894, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+17, 7108, 1, 0, 0, 1, 1, 0, 0, 6569.074, -806.16907, 475.7942, 0.657858967781066894, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+18, 7107, 1, 0, 0, 1, 1, 0, 0, 6479.3735, -793.56195, 473.90875, 4.374718189239501953, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+19, 7108, 1, 0, 0, 1, 1, 0, 0, 6479.3735, -793.56195, 473.90875, 4.374718189239501953, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+20, 7107, 1, 0, 0, 1, 1, 0, 0, 6581.0884, -804.00696, 474.8405, 3.724053382873535156, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+21, 7108, 1, 0, 0, 1, 1, 0, 0, 6581.0884, -804.00696, 474.8405, 3.724053382873535156, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+22, 7107, 1, 0, 0, 1, 1, 0, 0, 6483.8745, -817.1497, 473.94272, 1.133222579956054687, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+23, 7108, 1, 0, 0, 1, 1, 0, 0, 6483.8745, -817.1497, 473.94272, 1.133222579956054687, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+24, 7107, 1, 0, 0, 1, 1, 0, 0, 6516.1167, -814.5349, 474.74985, 2.449142217636108398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+25, 7108, 1, 0, 0, 1, 1, 0, 0, 6516.1167, -814.5349, 474.74985, 2.449142217636108398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+26, 7107, 1, 0, 0, 1, 1, 0, 0, 6448.5664, -800.8992, 474.3046, 5.257455348968505859, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+27, 7108, 1, 0, 0, 1, 1, 0, 0, 6448.5664, -800.8992, 474.3046, 5.257455348968505859, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+28, 7107, 1, 0, 0, 1, 1, 0, 0, 6432.1587, -759.84686, 473.15967, 3.224145412445068359, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+29, 7108, 1, 0, 0, 1, 1, 0, 0, 6432.1587, -759.84686, 473.15967, 3.224145412445068359, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+30, 7107, 1, 0, 0, 1, 1, 0, 0, 6414.7876, -782.52045, 471.68338, 4.049969673156738281, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+31, 7108, 1, 0, 0, 1, 1, 0, 0, 6414.7876, -782.52045, 471.68338, 4.049969673156738281, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+32, 7107, 1, 0, 0, 1, 1, 0, 0, 6417.261, -818.1496, 470.33954, 3.518303632736206054, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+33, 7108, 1, 0, 0, 1, 1, 0, 0, 6417.261, -818.1496, 470.33954, 3.518303632736206054, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+34, 7107, 1, 0, 0, 1, 1, 0, 0, 6383.858, -749.6224, 469.33542, 4.047421932220458984, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+35, 7108, 1, 0, 0, 1, 1, 0, 0, 6383.858, -749.6224, 469.33542, 4.047421932220458984, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+36, 7107, 1, 0, 0, 1, 1, 0, 0, 6400.7476, -712.16486, 474.86307, 1.413716673851013183, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+37, 7108, 1, 0, 0, 1, 1, 0, 0, 6400.7476, -712.16486, 474.86307, 1.413716673851013183, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+38, 7107, 1, 0, 0, 1, 1, 0, 0, 6373.806, -699.54706, 476.85983, 2.024573326110839843, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+39, 7108, 1, 0, 0, 1, 1, 0, 0, 6373.806, -699.54706, 476.85983, 2.024573326110839843, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+40, 7107, 1, 0, 0, 1, 1, 0, 0, 6377.0596, -797.05804, 457.78555, 3.528153657913208007, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+41, 7108, 1, 0, 0, 1, 1, 0, 0, 6377.0596, -797.05804, 457.78555, 3.528153657913208007, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+42, 7107, 1, 0, 0, 1, 1, 0, 0, 6410.2524, -725.2984, 473.8544, 4.321902275085449218, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+43, 7108, 1, 0, 0, 1, 1, 0, 0, 6410.2524, -725.2984, 473.8544, 4.321902275085449218, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+44, 7107, 1, 0, 0, 1, 1, 0, 0, 6350.9453, -734.53973, 471.33276, 5.67474365234375, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+45, 7108, 1, 0, 0, 1, 1, 0, 0, 6350.9453, -734.53973, 471.33276, 5.67474365234375, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+46, 7107, 1, 0, 0, 1, 1, 0, 0, 6351.046, -717.2646, 472.2365, 5.79449319839477539, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+47, 7108, 1, 0, 0, 1, 1, 0, 0, 6351.046, -717.2646, 472.2365, 5.79449319839477539, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+48, 7107, 1, 0, 0, 1, 1, 0, 0, 6287.962, -598.7009, 466.59583, 2.396016359329223632, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+49, 7108, 1, 0, 0, 1, 1, 0, 0, 6287.962, -598.7009, 466.59583, 2.396016359329223632, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+50, 7107, 1, 0, 0, 1, 1, 0, 0, 6279.444, -614.3792, 472.5725, 2.256314516067504882, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+51, 7108, 1, 0, 0, 1, 1, 0, 0, 6279.444, -614.3792, 472.5725, 2.256314516067504882, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+52, 7111, 1, 0, 0, 1, 1, 0, 0, 6580.9106, -846.0111, 474.0431, 2.908204555511474609, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+53, 7111, 1, 0, 0, 1, 1, 0, 0, 6546.847, -842.53314, 473.8505, 3.269372463226318359, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+54, 7111, 1, 0, 0, 1, 1, 0, 0, 6479.9087, -786.9245, 474.54443, 3.862565040588378906, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+55, 7111, 1, 0, 0, 1, 1, 0, 0, 6577.2773, -798.1775, 475.03653, 1.438873529434204101, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+56, 7111, 1, 0, 0, 1, 1, 0, 0, 6589.328, -856.6679, 474.59833, 3.874630928039550781, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+57, 7111, 1, 0, 0, 1, 1, 0, 0, 6558.4224, -823.91797, 475.64575, 5.380662918090820312, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+58, 7111, 1, 0, 0, 1, 1, 0, 0, 6409.626, -718.0106, 475.00592, 3.664785385131835937, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+59, 7111, 1, 0, 0, 1, 1, 0, 0, 6342.289, -727.19995, 470.21567, 6.003914833068847656, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+60, 7111, 1, 0, 0, 1, 1, 0, 0, 6302.0747, -757.5039, 468.49915, 5.619960308074951171, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+61, 7111, 1, 0, 0, 1, 1, 0, 0, 6327.2744, -623.5396, 476.49002, 1.379523515701293945, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+62, 7111, 1, 0, 0, 1, 1, 0, 0, 6297.897, -617.827, 471.6025, 2.321287870407104492, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+63, 7111, 1, 0, 0, 1, 1, 0, 0, 6290.3145, -635.4162, 483.368, 5.811946392059326171, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+64, 7111, 1, 0, 0, 1, 1, 0, 0, 6281.056, -651.52264, 489.869, 4.186584949493408203, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+65, 10648, 1, 0, 0, 1, 1, 0, 0, 6279.093, -603.6922, 467.83997, 1.442377448081970214, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0); + +DELETE FROM `pool_template` WHERE `entry` BETWEEN @POOLID AND @POOLID+25; +INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES +(@POOLID,1,'Jadefire Run, Felwood, Group 1'), +(@POOLID+1,1,'Jadefire Run, Felwood, Group 2'), +(@POOLID+2,1,'Jadefire Run, Felwood, Group 3'), +(@POOLID+3,1,'Jadefire Run, Felwood, Group 4'), +(@POOLID+4,1,'Jadefire Run, Felwood, Group 5'), +(@POOLID+5,1,'Jadefire Run, Felwood, Group 6'), +(@POOLID+6,1,'Jadefire Run, Felwood, Group 7'), +(@POOLID+7,1,'Jadefire Run, Felwood, Group 8'), +(@POOLID+8,1,'Jadefire Run, Felwood, Group 9'), +(@POOLID+9,1,'Jadefire Run, Felwood, Group 10'), +(@POOLID+10,1,'Jadefire Run, Felwood, Group 11'), +(@POOLID+11,1,'Jadefire Run, Felwood, Group 12'), +(@POOLID+12,1,'Jadefire Run, Felwood, Group 13'), +(@POOLID+13,1,'Jadefire Run, Felwood, Group 14'), +(@POOLID+14,1,'Jadefire Run, Felwood, Group 15'), +(@POOLID+15,1,'Jadefire Run, Felwood, Group 16'), +(@POOLID+16,1,'Jadefire Run, Felwood, Group 17'), +(@POOLID+17,1,'Jadefire Run, Felwood, Group 18'), +(@POOLID+18,1,'Jadefire Run, Felwood, Group 19'), +(@POOLID+19,1,'Jadefire Run, Felwood, Group 20'), +(@POOLID+20,1,'Jadefire Run, Felwood, Group 21'), +(@POOLID+21,1,'Jadefire Run, Felwood, Group 22'), +(@POOLID+22,1,'Jadefire Run, Felwood, Group 23'), +(@POOLID+23,1,'Jadefire Run, Felwood, Group 24'), +(@POOLID+24,1,'Jadefire Run, Felwood, Group 25'), +(@POOLID+25,1,'Jadefire Run, Felwood, Group 26'); + +DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOLID AND @POOLID+25; +INSERT INTO `pool_members` (`type`,`spawnId`,`poolSpawnId`,`chance`,`description`) VALUES +(0,@CGUID,@POOLID,0,'Jadefire Trickster (7107)'), +(0,@CGUID+1,@POOLID,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+2,@POOLID+1,0,'Jadefire Trickster (7107)'), +(0,@CGUID+3,@POOLID+1,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+4,@POOLID+2,0,'Jadefire Trickster (7107)'), +(0,@CGUID+5,@POOLID+2,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+6,@POOLID+3,0,'Jadefire Trickster (7107)'), +(0,@CGUID+7,@POOLID+3,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+8,@POOLID+4,0,'Jadefire Trickster (7107)'), +(0,@CGUID+9,@POOLID+4,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+10,@POOLID+5,0,'Jadefire Trickster (7107)'), +(0,@CGUID+11,@POOLID+5,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+12,@POOLID+6,0,'Jadefire Trickster (7107)'), +(0,@CGUID+13,@POOLID+6,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+14,@POOLID+7,0,'Jadefire Trickster (7107)'), +(0,@CGUID+15,@POOLID+7,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+16,@POOLID+8,0,'Jadefire Trickster (7107)'), +(0,@CGUID+17,@POOLID+8,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+18,@POOLID+9,0,'Jadefire Trickster (7107)'), +(0,@CGUID+19,@POOLID+9,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+20,@POOLID+10,0,'Jadefire Trickster (7107)'), +(0,@CGUID+21,@POOLID+10,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+22,@POOLID+11,0,'Jadefire Trickster (7107)'), +(0,@CGUID+23,@POOLID+11,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+24,@POOLID+12,0,'Jadefire Trickster (7107)'), +(0,@CGUID+25,@POOLID+12,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+26,@POOLID+13,0,'Jadefire Trickster (7107)'), +(0,@CGUID+27,@POOLID+13,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+28,@POOLID+14,0,'Jadefire Trickster (7107)'), +(0,@CGUID+29,@POOLID+14,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+30,@POOLID+15,0,'Jadefire Trickster (7107)'), +(0,@CGUID+31,@POOLID+15,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+32,@POOLID+16,0,'Jadefire Trickster (7107)'), +(0,@CGUID+33,@POOLID+16,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+34,@POOLID+17,0,'Jadefire Trickster (7107)'), +(0,@CGUID+35,@POOLID+17,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+36,@POOLID+18,0,'Jadefire Trickster (7107)'), +(0,@CGUID+37,@POOLID+18,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+38,@POOLID+19,0,'Jadefire Trickster (7107)'), +(0,@CGUID+39,@POOLID+19,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+40,@POOLID+20,0,'Jadefire Trickster (7107)'), +(0,@CGUID+41,@POOLID+20,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+42,@POOLID+21,0,'Jadefire Trickster (7107)'), +(0,@CGUID+43,@POOLID+21,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+44,@POOLID+22,0,'Jadefire Trickster (7107)'), +(0,@CGUID+45,@POOLID+22,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+46,@POOLID+23,0,'Jadefire Trickster (7107)'), +(0,@CGUID+47,@POOLID+23,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+48,@POOLID+24,0,'Jadefire Trickster (7107)'), +(0,@CGUID+49,@POOLID+24,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+50,@POOLID+25,0,'Jadefire Trickster (7107)'), +(0,@CGUID+51,@POOLID+25,0,'Jadefire Betrayer (7108)'); + +-- Pathing for Jadefire Trickster Entry: 7107, Jadefire Betrayer Entry: 7108 +SET @NPC := @CGUID+28; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid` IN (@NPC,@NPC+1); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES +(@NPC,@PATH,0,0,1,0,0, ''),(@NPC+1,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,6431.575,-759.89514,473.14578,NULL,0,0,0,100,0), +(@PATH,2,6415.6743,-757.93774,473.14578,NULL,0,0,0,100,0), +(@PATH,3,6399.2617,-760.9202,470.7167,NULL,0,0,0,100,0), +(@PATH,4,6406.117,-791.04846,468.84244,NULL,0,0,0,100,0), +(@PATH,5,6424.424,-803.3945,471.96426,NULL,0,0,0,100,0), +(@PATH,6,6436.6743,-790.0301,473.39835,NULL,0,0,0,100,0), +(@PATH,7,6466.341,-799.6447,474.1249,NULL,0,0,0,100,0), +(@PATH,8,6478.2183,-818.8252,474.33282,NULL,0,0,0,100,0), +(@PATH,9,6496.9536,-828.95374,473.3863,NULL,0,0,0,100,0), +(@PATH,10,6520.4375,-828.62994,473.9445,NULL,0,0,0,100,0), +(@PATH,11,6543.6343,-830.434,474.0695,NULL,0,0,0,100,0), +(@PATH,12,6552.5806,-842.2002,473.697,NULL,0,0,0,100,0), +(@PATH,13,6571.129,-847.305,473.45517,NULL,0,0,0,100,0), +(@PATH,14,6583.8125,-830.9744,474.79904,NULL,0,0,0,100,0), +(@PATH,15,6573.4272,-806.39954,475.57468,NULL,0,0,0,100,0), +(@PATH,16,6558.5117,-795.7527,475.39703,NULL,0,0,0,100,0), +(@PATH,17,6529.44,-795.3073,473.6696,NULL,0,0,0,100,0), +(@PATH,18,6513.4146,-788.9368,474.66885,NULL,0,0,0,100,0), +(@PATH,19,6490.856,-802.297,474.06464,NULL,0,0,0,100,0), +(@PATH,20,6469.944,-795.0282,474.02267,NULL,0,0,0,100,0), +(@PATH,21,6451.1313,-779.17725,474.14835,NULL,0,0,0,100,0); From df1788663673eb6157c3063acc9628280e213511 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sat, 26 Oct 2024 09:43:55 +0200 Subject: [PATCH 5/6] DB/Creature: Remove one Stormwind guard incorrect pathing closes #30373 by CraftedRO --- sql/updates/world/3.3.5/2024_10_26_00_world.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sql/updates/world/3.3.5/2024_10_26_00_world.sql diff --git a/sql/updates/world/3.3.5/2024_10_26_00_world.sql b/sql/updates/world/3.3.5/2024_10_26_00_world.sql new file mode 100644 index 0000000000..31d5d1c2af --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_26_00_world.sql @@ -0,0 +1,7 @@ +-- Stormwind Guard movement update +SET @GUID=79875; +SET @PATH=@GUID * 10; + +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=@GUID; +UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=@GUID AND `path_id`=@PATH; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; From 90db558697fb1253d9195e4d4743be80ca1968b7 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 28 Oct 2024 00:52:19 +0100 Subject: [PATCH 6/6] Core/Objects: Eliminate unneccessary temporary objects and double map lookups when building SMSG_UPDATE_OBJECT (cherry picked from commit 38a209276d9a6b3fb5e657711894a1b696933c59) --- src/server/game/Entities/Object/Object.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp index 74cfa6e9bb..f74b666884 100644 --- a/src/server/game/Entities/Object/Object.cpp +++ b/src/server/game/Entities/Object/Object.cpp @@ -505,15 +505,7 @@ void Object::ClearUpdateMask(bool remove) void Object::BuildFieldsUpdate(Player* player, UpdateDataMapType& data_map) const { - UpdateDataMapType::iterator iter = data_map.find(player); - - if (iter == data_map.end()) - { - std::pair p = data_map.emplace(player, UpdateData()); - ASSERT(p.second); - iter = p.first; - } - + UpdateDataMapType::iterator iter = data_map.try_emplace(player).first; BuildValuesUpdateBlockForPlayer(&iter->second, iter->first); }