Skip to content

Commit

Permalink
Hillsbrad Foothills - Copper Vein
Browse files Browse the repository at this point in the history
5 groups with 2 spawns each

Update c4007fa
  • Loading branch information
Tobschinski committed Jan 20, 2025
1 parent 5c7253d commit 0a882f5
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Updates/4697_copper_vein_desolace_fix.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UPDATE `spawn_group` SET `MaxCount` = '2' WHERE (`Id` = '10263');
UPDATE `spawn_group` SET `MaxCount` = '2' WHERE (`Id` = '10264');
174 changes: 174 additions & 0 deletions Updates/4698_copper_vein_hillsbrad.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
/*
03 05 07 11 14 16 19 20 27 28
01 04 07 12 13 15 19 23 26 29
04 05 06 11 14 16 20 24 25 28
01 06 08 11 13 16 23 24 25 26
02 03 06 11 15 17 19 20 25 29
02 04 06 07 15 17 18 20 23 29
03 05 07 11 14 15 18 21 23 27
01 03 06 07 15 16 19 23 28 29
03 04 09 10 14 15 21 24 26 29
01 05 06 12 15 17 19 24 25 29
02 04 06 07 13 14 22 24 27 28
02 04 09 10 16 17 18 20 21 28
03 07 08 09 15 16 21 23 25 27
01 08 10 16 17 18 22 24 26 27
01 02 06 10 13 14 18 22 24 27
-- --------------------------
01 02 03 04 05 08
06 07 09 10 11 12
18 25 26 27 28 29
19 20 21 22 23 24
13 14 15 16 17
*/

-- Copper Vein
DELETE FROM `gameobject` WHERE `guid` IN (75200, 75203, 75206, 75209, 75215, 75218, 75221, 75224, 75227, 75230, 75233, 75236, 75239, 75242, 75245, 75248, 75251, 75254, 75257, 75260, 75263, 75266, 75269, 75272, 75275, 75278, 75281, 75284, 75287, 75290, 75293,
75296, 75299, 75302, 75305, 75308, 75311, 75320, 75323, 75326, 75329, 75332, 75335, 75338, 75344, 75347, 75350, 75353, 75356, 75362, 75365, 75368, 75374, 75377, 75380, 75383, 75386, 75389, 75392, 75395, 75398, 75401, 75404, 75541, 75544, 75547, 75550, 75553,
75556, 75559, 75562, 75565, 75568, 75589, 75592, 75595);
DELETE FROM `pool_gameobject` WHERE `guid` IN (75200, 75203, 75206, 75209, 75215, 75218, 75221, 75224, 75227, 75230, 75233, 75236, 75239, 75242, 75245, 75248, 75251, 75254, 75257, 75260, 75263, 75266, 75269, 75272, 75275, 75278, 75281, 75284, 75287, 75290, 75293,
75296, 75299, 75302, 75305, 75308, 75311, 75320, 75323, 75326, 75329, 75332, 75335, 75338, 75344, 75347, 75350, 75353, 75356, 75362, 75365, 75368, 75374, 75377, 75380, 75383, 75386, 75389, 75392, 75395, 75398, 75401, 75404, 75541, 75544, 75547, 75550, 75553,
75556, 75559, 75562, 75565, 75568, 75589, 75592, 75595);

-- Tin Vein
DELETE FROM `gameobject` WHERE `guid` IN (75201, 75204, 75207, 75210, 75216, 75219, 75222, 75225, 75228, 75231, 75234, 75237, 75240, 75243, 75246, 75249, 75252, 75255, 75258, 75261, 75264, 75267, 75542, 75557, 75560);
DELETE FROM `pool_gameobject` WHERE `guid` IN (75201, 75204, 75207, 75210, 75216, 75219, 75222, 75225, 75228, 75231, 75234, 75237, 75240, 75243, 75246, 75249, 75252, 75255, 75258, 75261, 75264, 75267, 75542, 75557, 75560);

-- Silver Vein
DELETE FROM `gameobject` WHERE `guid` IN (75202, 75205, 75208, 75211, 75217, 75220, 75223, 75226, 75229, 75232, 75235, 75238, 75241, 75244, 75247, 75250, 75253, 75256, 75259, 75262, 75265, 75268, 75543, 75558, 75561);
DELETE FROM `pool_gameobject` WHERE `guid` IN (75202, 75205, 75208, 75211, 75217, 75220, 75223, 75226, 75229, 75232, 75235, 75238, 75241, 75244, 75247, 75250, 75253, 75256, 75259, 75262, 75265, 75268, 75543, 75558, 75561);

DELETE FROM `pool_template` WHERE `entry` IN (5679, 5701, 5718, 5721, 5727, 5728, 5733, 5734, 5758, 5760, 5761, 5762, 5764, 5796, 5799, 5800, 5803, 5804, 5805, 5806, 5807, 5809);

-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SET @OGUID := 142520;
SET @SGUID := 493;

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, -291.25823974609375, 293.586822509765625, 118.5868911743164062, 0.767943859100341796, 0, 0, 0.374606132507324218, 0.927184045314788818, 300, 600),
(@OGUID + 01, 0, 0, 1, -278.271148681640625, 228.77740478515625, 102.131072998046875, 4.049167633056640625, 0, 0, -0.89879322052001953, 0.438372820615768432, 300, 600),
(@OGUID + 02, 0, 0, 1, -386.991851806640625, 260.18707275390625, 94.64617919921875, 1.937312245368957519, 0, 0, 0.824125289916992187, 0.566407561302185058, 300, 600),
(@OGUID + 03, 0, 0, 1, -435.6475830078125, 303.568572998046875, 99.02164459228515625, 1.047197580337524414, 0, 0, 0.5, 0.866025388240814208, 300, 600),
(@OGUID + 04, 0, 0, 1, -472.812286376953125, 368.856231689453125, 106.0553131103515625, 2.67034769058227539, 0, 0, 0.972369194030761718, 0.233448356389999389, 300, 600),
(@OGUID + 05, 0, 0, 1, -713.6690673828125, 489.348297119140625, 82.66605377197265625, 0.366517573595046997, 0, 0, 0.182234764099121093, 0.98325502872467041, 300, 600);

INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(@SGUID + 00, 'Hillsbrad Foothills - 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 := 142530;
SET @SGUID := 494;

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, -526.1573486328125, 480.68499755859375, 86.88469696044921875, 4.206246376037597656, 0, 0, -0.86162853240966796, 0.50753939151763916, 300, 600),
(@OGUID + 01, 0, 0, 1, -664.9949951171875, 489.1260986328125, 88.24805450439453125, 6.14356088638305664, 0, 0, -0.06975555419921875, 0.997564136981964111, 300, 600),
(@OGUID + 02, 0, 0, 1, -745.16644287109375, 577.43634033203125, 103.4268112182617187, 0.925023794174194335, 0, 0, 0.446197509765625, 0.894934535026550292, 300, 600),
(@OGUID + 03, 0, 0, 1, -801.256103515625, 519.08575439453125, 101.7119979858398437, 1.884953022003173828, 0, 0, 0.809016227722167968, 0.587786316871643066, 300, 600),
(@OGUID + 04, 0, 0, 1, -807.59619140625, 386.709686279296875, 66.4212799072265625, 2.530723094940185546, 0, 0, 0.953716278076171875, 0.300707906484603881, 300, 600),
(@OGUID + 05, 0, 0, 1, -893.76324462890625, 309.780548095703125, 39.35920333862304687, 6.161012649536132812, 0, 0, -0.06104850769042968, 0.998134791851043701, 300, 600);

INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(@SGUID + 00, 'Hillsbrad Foothills - 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 := 142540;
SET @SGUID := 495;

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, -1081.923828125, 246.915740966796875, 16.77893447875976562, 4.310965538024902343, 0, 0, -0.83388519287109375, 0.55193793773651123, 300, 600),
(@OGUID + 01, 0, 0, 1, -1151.2423095703125, 112.5396881103515625, 8.401135444641113281, 5.881760597229003906, 0, 0, -0.19936752319335937, 0.979924798011779785, 300, 600),
(@OGUID + 02, 0, 0, 1, -1048.940673828125, -13.9948463439941406, 17.37586784362792968, 0.331610709428787231, 0, 0, 0.16504669189453125, 0.986285746097564697, 300, 600),
(@OGUID + 03, 0, 0, 1, -1004.3499755859375, -339.05621337890625, 13.73185634613037109, 0.226892471313476562, 0, 0, 0.113203048706054687, 0.993571877479553222, 300, 600),
(@OGUID + 04, 0, 0, 1, -1100.64794921875, -830.5799560546875, 17.95322418212890625, 5.811946868896484375, 0, 0, -0.2334451675415039, 0.972369968891143798, 300, 600),
(@OGUID + 05, 0, 0, 1, -1458.5806884765625, -1085.9595947265625, 7.964059829711914062, 5.148722648620605468, 0, 0, -0.53729915618896484, 0.843391716480255126, 300, 600);

INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(@SGUID + 00, 'Hillsbrad Foothills - 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 := 142550;
SET @SGUID := 496;

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, -357.374176025390625, -456.945220947265625, 57.1995849609375, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 300, 600),
(@OGUID + 01, 0, 0, 1, -620.95294189453125, -849.44488525390625, 39.39380264282226562, 3.22885894775390625, 0, 0, -0.99904823303222656, 0.043619260191917419, 300, 600),
(@OGUID + 02, 0, 0, 1, -502.591033935546875, -828.23663330078125, 53.35495376586914062, 3.036838293075561523, 0, 0, 0.998628616333007812, 0.052353221923112869, 300, 600),
(@OGUID + 03, 0, 0, 1, -315.450836181640625, -842.82769775390625, 61.72718048095703125, 4.502951622009277343, 0, 0, -0.7771453857421875, 0.629321098327636718, 300, 600),
(@OGUID + 04, 0, 0, 1, -644.45660400390625, -1361.1727294921875, 68.57419586181640625, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 300, 600),
(@OGUID + 05, 0, 0, 1, -445.190155029296875, -1529.40234375, 71.0052642822265625, 4.415683269500732421, 0, 0, -0.80385684967041015, 0.594822824001312255, 300, 600);

INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(@SGUID + 00, 'Hillsbrad Foothills - 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'),
(@SGUID + 00, @OGUID + 05, '-1');

INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES
(@SGUID + 00, '1731', '0', '0', '0');

-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SET @OGUID := 142560;
SET @SGUID := 497;

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, -809.14471435546875, 21.44471549987792968, 36.6349639892578125, 5.532694816589355468, 0, 0, -0.3665008544921875, 0.93041771650314331, 300, 600),
(@OGUID + 01, 0, 0, 1, -745.48797607421875, -98.021270751953125, 57.85779571533203125, 1.815141916275024414, 0, 0, 0.788010597229003906, 0.615661680698394775, 300, 600),
(@OGUID + 02, 0, 0, 1, -743.78759765625, -245.083389282226562, 40.216888427734375, 2.495818138122558593, 0, 0, 0.948323249816894531, 0.317305892705917358, 300, 600),
(@OGUID + 03, 0, 0, 1, -483.1611328125, -244.187942504882812, 59.4281158447265625, 2.199114561080932617, 0, 0, 0.8910064697265625, 0.453990638256072998, 300, 600),
(@OGUID + 04, 0, 0, 1, -383.36456298828125, -182.706497192382812, 61.78570556640625, 5.235987663269042968, 0, 0, -0.5, 0.866025388240814208, 300, 600);

INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(@SGUID + 00, 'Hillsbrad Foothills - 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'),
(@SGUID + 00, @OGUID + 04, '-1');

INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES
(@SGUID + 00, '1731', '0', '0', '0');

1 comment on commit 0a882f5

@Tobschinski
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Please sign in to comment.