From 69f0063c97a11df2f6428093a582b520ad012370 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 3 Sep 2015 18:48:57 +0200 Subject: [PATCH] DB/Spawns: Sync some 3.3.5a spawns with 3.3.5a db --- sql/updates/world/2015_09_03_10_world.sql | 15 +++++ sql/updates/world/2015_09_03_11_world.sql | 16 +++++ sql/updates/world/2015_09_03_12_world.sql | 72 +++++++++++++++++++++++ sql/updates/world/2015_09_03_13_world.sql | 4 ++ 4 files changed, 107 insertions(+) create mode 100644 sql/updates/world/2015_09_03_10_world.sql create mode 100644 sql/updates/world/2015_09_03_11_world.sql create mode 100644 sql/updates/world/2015_09_03_12_world.sql create mode 100644 sql/updates/world/2015_09_03_13_world.sql diff --git a/sql/updates/world/2015_09_03_10_world.sql b/sql/updates/world/2015_09_03_10_world.sql new file mode 100644 index 00000000000..1f9e2c3e360 --- /dev/null +++ b/sql/updates/world/2015_09_03_10_world.sql @@ -0,0 +1,15 @@ +-- +SET @CGUID := 53919; -- set by TDB team (8) +SET @OLDCGUID := 493; -- set by TDB team (8) + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+7; +DELETE FROM `creature` WHERE `guid` BETWEEN @OLDCGUID+0 AND @OLDCGUID+7; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 30755, 571, 1, 1, 5844.797, 479.632, 657.6495, 3.351032, 120, 0, 0), -- Kor'kron Reaver (Area: 4395) +(@CGUID+1, 30755, 571, 1, 1, 5848.494, 480.568, 657.6278, 3.368485, 120, 0, 0), -- Kor'kron Reaver (Area: 4395) +(@CGUID+2, 30755, 571, 1, 1, 5845.834, 475.8459, 657.7172, 3.298672, 120, 0, 0), -- Kor'kron Reaver (Area: 4395) +(@CGUID+3, 30755, 571, 1, 1, 5849.62, 476.4291, 657.7032, 3.222836, 120, 0, 0), -- Kor'kron Reaver (Area: 4395) +(@CGUID+4, 30352, 571, 1, 1, 5803.514, 494.7659, 657.2115, 5.54129, 120, 0, 0), -- Skybreaker Marine (Area: 4395) +(@CGUID+5, 30352, 571, 1, 1, 5805.08, 492.9698, 657.2003, 5.584598, 120, 0, 0), -- Skybreaker Marine (Area: 4395) +(@CGUID+6, 30352, 571, 1, 1, 5801.245, 492.336, 657.3757, 5.602507, 120, 0, 0), -- Skybreaker Marine (Area: 4395) +(@CGUID+7, 30352, 571, 1, 1, 5802.888, 490.7988, 657.3538, 5.602507, 120, 0, 0); -- Skybreaker Marine (Area: 4395) diff --git a/sql/updates/world/2015_09_03_11_world.sql b/sql/updates/world/2015_09_03_11_world.sql new file mode 100644 index 00000000000..6fe597a2d64 --- /dev/null +++ b/sql/updates/world/2015_09_03_11_world.sql @@ -0,0 +1,16 @@ +-- +SET @CGUID := 54428; -- set by TDB team (3) +SET @OLDCGUID := 264; -- 4.x +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +DELETE FROM `creature` WHERE `guid` BETWEEN @OLDCGUID+0 AND @OLDCGUID+2; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 36656, 571, 1, 1, 5647.669, 2106.526, 798.1375, 4.764749, 120, 0, 0), -- Silver Covenant Sentinel (Area: 4862) +(@CGUID+1, 36656, 571, 1, 1, 5657.819, 2105.712, 798.1375, 4.590216, 120, 0, 0), -- Silver Covenant Sentinel (Area: 4862) +(@CGUID+2, 36624, 571, 1, 1, 5652.733, 2106.208, 798.1375, 4.572762, 120, 0, 0); -- Caladis Brightspear (Area: 4862) + +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @OLDCGUID+0 AND @OLDCGUID+2; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@CGUID+0, 0, 0, 0x10000, 0x1, 0, '71311'), +(@CGUID+1, 0, 0, 0x10000, 0x1, 0, '71311'), +(@CGUID+2, 0, 0, 0x10000, 0x1, 0, '71311'); diff --git a/sql/updates/world/2015_09_03_12_world.sql b/sql/updates/world/2015_09_03_12_world.sql new file mode 100644 index 00000000000..8f1b31e0cbb --- /dev/null +++ b/sql/updates/world/2015_09_03_12_world.sql @@ -0,0 +1,72 @@ +-- +SET @GUID := 63373; +SET @OLDGUID := 225; +DELETE FROM `creature` WHERE `guid` IN (@GUID,@GUID+1,@GUID+2); +DELETE FROM `creature` WHERE `guid` IN (@OLDGUID,@OLDGUID+1,@OLDGUID+2); +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(@GUID,29369,571,1,1,0,1,7842.542,-110.6463,882.8068,5.88176,300,0,0,1,0,0), +(@GUID+1,29369,571,1,1,0,1,7827.683,-77.09928,882.7308,5.88176,300,0,0,1,0,0), +(@GUID+2,29369,571,1,1,0,1,7834.078,-130.5392,882.3082,5.88176,300,0,0,1,0,0); + +-- Pathing for Stormforged Taskmaster Entry: 29369 +SET @NPC := @GUID; +SET @OLDNPC := @OLDGUID; +SET @PATH := @NPC * 10; +SET @OLDPATH := @OLDNPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=7842.542,`position_y`=-110.6463,`position_z`=882.8068 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@OLDNPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +DELETE FROM `waypoint_data` WHERE `id`=@OLDPATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,7842.542,-110.6463,882.8068,0,0,0,0,100,0), +(@PATH,2,7839.237,-106.3565,882.6854,0,0,0,0,100,0), +(@PATH,3,7833.708,-100.7408,881.3173,0,0,0,0,100,0), +(@PATH,4,7827.768,-96.58257,881.0281,0,0,0,0,100,0), +(@PATH,5,7822.916,-90.53754,880.5125,0,0,0,0,100,0), +(@PATH,6,7822.845,-83.79515,881.5299,0,0,0,0,100,0), +(@PATH,7,7822.916,-90.48802,880.5093,0,0,0,0,100,0), +(@PATH,8,7827.694,-96.49003,881.0132,0,0,0,0,100,0), +(@PATH,9,7833.708,-100.7408,881.3173,0,0,0,0,100,0), +(@PATH,10,7839.095,-106.2119,882.6039,0,0,0,0,100,0); + +-- Pathing for Stormforged Taskmaster Entry: 29369 +SET @NPC := @GUID+1; +SET @OLDNPC := @OLDGUID+1; +SET @PATH := @NPC * 10; +SET @OLDPATH := @OLDNPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=7827.683,`position_y`=-77.09928,`position_z`=882.7308 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@OLDNPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +DELETE FROM `waypoint_data` WHERE `id`=@OLDPATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,7827.683,-77.09928,882.7308,0,0,0,0,100,0), +(@PATH,2,7824.653,-79.73319,882.5463,0,0,0,0,100,0), +(@PATH,3,7827.683,-77.09928,882.7308,0,0,0,0,100,0), +(@PATH,4,7832.377,-77.63552,881.9279,0,0,0,0,100,0), +(@PATH,5,7837.402,-75.31012,880.0537,0,0,0,0,100,0), +(@PATH,6,7832.377,-77.63552,881.9279,0,0,0,0,100,0); + +-- Pathing for Stormforged Taskmaster Entry: 29369 +SET @NPC := @GUID+2; +SET @OLDNPC := @OLDGUID+2; +SET @PATH := @NPC * 10; +SET @OLDPATH := @OLDNPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=7842.921,`position_y`=-124.6453,`position_z`=880.9332 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@OLDNPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +DELETE FROM `waypoint_data` WHERE `id`=@OLDPATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,7834.078,-130.5392,882.3082,0,0,0,0,100,0), +(@PATH,2,7842.921,-124.6453,880.9332,0,0,0,0,100,0), +(@PATH,3,7851.019,-120.6835,880.8082,0,0,0,0,100,0), +(@PATH,4,7856.965,-115.7509,881.3082,0,0,0,0,100,0), +(@PATH,5,7850.458,-124.2621,880.1832,0,0,0,0,100,0), +(@PATH,6,7856.965,-115.7509,881.3082,0,0,0,0,100,0), +(@PATH,7,7851.019,-120.6835,880.8082,0,0,0,0,100,0), +(@PATH,8,7842.921,-124.6453,880.9332,0,0,0,0,100,0); diff --git a/sql/updates/world/2015_09_03_13_world.sql b/sql/updates/world/2015_09_03_13_world.sql new file mode 100644 index 00000000000..39b658f3890 --- /dev/null +++ b/sql/updates/world/2015_09_03_13_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `creature` WHERE `guid`=1011 AND `id`=23434; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(1011, 23434, 530, 0, 0, 1, 1, 0, 1, -4106.57, 1126.79, 43.6441, 5.65259, 180, 0, 0, 57440, 32310, 0, 0, 0, 0, 0);