From 6dd6cfda03d6c6797546042eaa794b3ec88b0b2f Mon Sep 17 00:00:00 2001 From: Tobschinski Date: Tue, 21 Jan 2025 14:33:10 +0100 Subject: [PATCH] Wetlands - Copper Vein 5 groups with 2 spawns each --- Updates/4700_copper_vein_wetlands.sql | 172 ++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 Updates/4700_copper_vein_wetlands.sql diff --git a/Updates/4700_copper_vein_wetlands.sql b/Updates/4700_copper_vein_wetlands.sql new file mode 100644 index 000000000..ee3d0bbee --- /dev/null +++ b/Updates/4700_copper_vein_wetlands.sql @@ -0,0 +1,172 @@ +/* +03 04 06 08 11 15 18 19 21 24 +02 03 09 10 11 15 21 22 24 26 +02 04 06 10 11 13 17 18 20 27 +01 02 07 08 11 14 18 24 26 27 +03 04 09 10 14 15 19 25 26 27 +01 04 08 10 11 14 17 22 23 24 +02 04 06 07 12 13 17 23 26 27 +01 03 07 10 12 13 16 20 21 27 +02 04 09 10 13 14 18 19 26 27 +01 02 08 09 12 15 16 22 25 26 +01 02 06 07 14 15 19 21 22 26 +02 04 05 09 11 12 17 20 21 25 +01 03 06 10 14 15 18 20 21 26 +02 04 05 10 12 14 17 22 23 26 +02 04 06 10 11 13 17 18 20 27 +-- -------------------------- +05 06 07 08 09 10 +16 17 19 20 24 26 +18 21 22 23 25 27 +11 12 13 14 15 +01 02 03 04 +*/ + +-- Copper Vein +DELETE FROM `gameobject` WHERE `guid` IN (79390, 79395, 79400, 79405, 79410, 79415, 79420, 79425, 79430, 79435, 79440, 79445, 79450, 79455, 79460, 79465, 79470, 79475, 79480, 79485, 79490, 79495, 79500, 79505, 79510, 79515, 79520, 79525, 79530, 79535, 79540, 79545, +79550, 79555, 79560, 79565, 79570, 79575, 79580, 79585, 79590, 79595, 79600, 79605, 79610, 79615, 79620, 79625, 79630, 79635, 79640, 79645, 79650, 79655, 79660, 79665, 79670, 79675, 79680, 79685, 79690, 79695, 79700, 79705, 79710, 79715, 79720, 79725, 79730, 79735, +79740, 79750, 79755, 79760, 79765, 79770, 79775, 79780, 79785, 79790, 79795, 79800, 79805, 79810, 79815, 79820, 79830, 79835, 79850, 79855, 79860, 79865, 79870, 79880, 79895, 79900, 79910, 79915, 79920, 79925, 79930, 79935, 79950, 79965, 79980, 100000, 100005, 105208, +105213, 105218); +DELETE FROM `pool_gameobject` WHERE `guid` IN (79390, 79395, 79400, 79405, 79410, 79415, 79420, 79425, 79430, 79435, 79440, 79445, 79450, 79455, 79460, 79465, 79470, 79475, 79480, 79485, 79490, 79495, 79500, 79505, 79510, 79515, 79520, 79525, 79530, 79535, 79540, 79545, +79550, 79555, 79560, 79565, 79570, 79575, 79580, 79585, 79590, 79595, 79600, 79605, 79610, 79615, 79620, 79625, 79630, 79635, 79640, 79645, 79650, 79655, 79660, 79665, 79670, 79675, 79680, 79685, 79690, 79695, 79700, 79705, 79710, 79715, 79720, 79725, 79730, 79735, +79740, 79750, 79755, 79760, 79765, 79770, 79775, 79780, 79785, 79790, 79795, 79800, 79805, 79810, 79815, 79820, 79830, 79835, 79850, 79855, 79860, 79865, 79870, 79880, 79895, 79900, 79910, 79915, 79920, 79925, 79930, 79935, 79950, 79965, 79980, 100000, 100005, 105208, +105213, 105218); + +-- Tin Vein +DELETE FROM `gameobject` WHERE `guid` IN (79391, 79406, 79411, 79416, 79421, 79426, 79431, 79436, 79441, 79446, 79451, 79456, 79461, 79466, 79471, 79476, 79486, 79516, 79556, 79561, 79566, 105209, 105214); +DELETE FROM `pool_gameobject` WHERE `guid` IN (79391, 79406, 79411, 79416, 79421, 79426, 79431, 79436, 79441, 79446, 79451, 79456, 79461, 79466, 79471, 79476, 79486, 79516, 79556, 79561, 79566, 105209, 105214); + +-- Silver Vein +DELETE FROM `gameobject` WHERE `guid` IN (79393, 79408, 79413, 79418, 79423, 79428, 79433, 79438, 79443, 79448, 79453, 79458, 79463, 79468, 79473, 79478, 79488, 79518, 79558, 79563, 79568, 105211, 105216); +DELETE FROM `pool_gameobject` WHERE `guid` IN (79393, 79408, 79413, 79418, 79423, 79428, 79433, 79438, 79443, 79448, 79453, 79458, 79463, 79468, 79473, 79478, 79488, 79518, 79558, 79563, 79568, 105211, 105216); + +DELETE FROM `pool_template` WHERE `entry` IN (3567, 3568, 3571, 3582, 3583, 3613, 3618, 3639, 3678, 3692, 3693, 3701, 3702, 3704, 3705, 3706, 3708, 3710, 3712, 3713, 3714, 3719, 3722); + +-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142570; +SET @SGUID := 498; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -3220.767822265625, -1333.2197265625, 1.523180007934570312, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 300, 600), +(@OGUID + 01, 0, 0, 1, -3118.420654296875, -1244.998291015625, 2.637420892715454101, 0.890116631984710693, 0, 0, 0.430510520935058593, 0.902585566043853759, 300, 600), +(@OGUID + 02, 0, 0, 1, -3132.896484375, -1450.7855224609375, -0.29859000444412231, 0.436331570148468017, 0, 0, 0.216439247131347656, 0.976296067237854003, 300, 600), +(@OGUID + 03, 0, 0, 1, -3174.073486328125, -1533.1090087890625, 2.158180952072143554, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 300, 600), +(@OGUID + 04, 0, 0, 1, -2757.122802734375, -1669.9620361328125, -0.25249499082565307, 0.890116631984710693, 0, 0, 0.430510520935058593, 0.902585566043853759, 300, 600), +(@OGUID + 05, 0, 0, 1, -2951.17333984375, -1806.750244140625, 3.608139991760253906, 4.764749526977539062, 0, 0, -0.6883544921875, 0.725374460220336914, 300, 600); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Wetlands - Copper Vein (2) Ore 000', '1', '2', '0', '0'); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1731', '0', '0', '0'); + +-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142580; +SET @SGUID := 499; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -3024.8330078125, -1356.1771240234375, 0.228388994932174682, 4.118979454040527343, 0, 0, -0.88294696807861328, 0.469472706317901611, 300, 600), +(@OGUID + 01, 0, 0, 1, -3037.3876953125, -1525.7047119140625, 0.639823019504547119, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 300, 600), +(@OGUID + 02, 0, 0, 1, -3103.4033203125, -1676.962158203125, 3.064789056777954101, 2.111847877502441406, 0, 0, 0.870355606079101562, 0.492423713207244873, 300, 600), +(@OGUID + 03, 0, 0, 1, -2923.041748046875, -1608.3887939453125, 0.933755993843078613, 0.925023794174194335, 0, 0, 0.446197509765625, 0.894934535026550292, 300, 600), +(@OGUID + 04, 0, 0, 1, -2899.94873046875, -1715.6312255859375, 2.100207090377807617, 4.642575740814208984, 0, 0, -0.731353759765625, 0.681998312473297119, 300, 600), +(@OGUID + 05, 0, 0, 1, -3066.62255859375, -1932.8526611328125, 4.935038089752197265, 2.338739633560180664, 0, 0, 0.920504570007324218, 0.3907318115234375, 300, 600); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Wetlands - Copper Vein (2) Ore 001', '1', '2', '0', '0'); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1731', '0', '0', '0'); + +-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142590; +SET @SGUID := 500; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -3715.401611328125, -2879.98095703125, 5.16272592544555664, 1.937312245368957519, 0, 0, 0.824125289916992187, 0.566407561302185058, 300, 600), +(@OGUID + 01, 0, 0, 1, -3833.936767578125, -2866.973876953125, 3.534746885299682617, 3.24634718894958496, 0, 0, -0.99862861633300781, 0.052353221923112869, 300, 600), +(@OGUID + 02, 0, 0, 1, -4028.353271484375, -2945.35205078125, 6.087533950805664062, 1.064649581909179687, 0, 0, 0.507537841796875, 0.861629426479339599, 300, 600), +(@OGUID + 03, 0, 0, 1, -4080.010009765625, -2911.184814453125, 4.63452005386352539, 0.977383077144622802, 0, 0, 0.469470977783203125, 0.882947921752929687, 300, 600), +(@OGUID + 04, 0, 0, 1, -4153.11474609375, -3038.731201171875, 2.505574941635131835, 3.90954136848449707, 0, 0, -0.92718315124511718, 0.37460830807685852, 300, 600), +(@OGUID + 05, 0, 0, 1, -4271.3203125, -3020.72998046875, 10.53666496276855468, 4.188792228698730468, 0, 0, -0.86602497100830078, 0.50000077486038208, 300, 600); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Wetlands - Copper Vein (2) Ore 002', '1', '2', '0', '0'); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1731', '0', '0', '0'); + +-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142600; +SET @SGUID := 501; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -3800.206298828125, -1383.1588134765625, 39.83075714111328125, 1.902408957481384277, 0, 0, 0.814115524291992187, 0.580702960491180419, 300, 600), +(@OGUID + 01, 0, 0, 1, -3644.19140625, -1439.9644775390625, 11.71442508697509765, 0.034906249493360519, 0, 0, 0.017452239990234375, 0.999847710132598876, 300, 600), +(@OGUID + 02, 0, 0, 1, -3531.562744140625, -1456.5513916015625, 27.56510162353515625, 5.969027042388916015, 0, 0, -0.1564340591430664, 0.987688362598419189, 300, 600), +(@OGUID + 03, 0, 0, 1, -3438.17236328125, -1643.4615478515625, 21.719451904296875, 3.385940074920654296, 0, 0, -0.99254608154296875, 0.121869951486587524, 300, 600), +(@OGUID + 04, 0, 0, 1, -3338.98828125, -1702.818603515625, 13.684661865234375, 2.583080768585205078, 0, 0, 0.961260795593261718, 0.275640487670898437, 300, 600); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Wetlands - Copper Vein (2) Ore 003', '1', '2', '0', '0'); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1731', '0', '0', '0'); + +-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142610; +SET @SGUID := 502; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -4159.18408203125, -2369.030517578125, 212.792633056640625, 4.101525306701660156, 0, 0, -0.88701057434082031, 0.461749136447906494, 300, 600), +(@OGUID + 01, 0, 0, 1, -4144.73291015625, -2474.294189453125, 185.1001739501953125, 1.029743075370788574, 0, 0, 0.492423057556152343, 0.870355963706970214, 300, 600), +(@OGUID + 02, 0, 0, 1, -4218.16650390625, -2474.72705078125, 282.471649169921875, 2.932138919830322265, 0, 0, 0.994521141052246093, 0.104535527527332305, 300, 600), +(@OGUID + 03, 0, 0, 1, -4341.2177734375, -2511.056396484375, 256.40838623046875, 0.471238493919372558, 0, 0, 0.233445167541503906, 0.972369968891143798, 300, 600); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Wetlands - Copper Vein (2) Ore 004', '1', '2', '0', '0'); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1731', '0', '0', '0');