From 0f1e69fa150010eaacc825635eae9730bc02d6c2 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 11 Jan 2019 06:36:42 +0100 Subject: [PATCH] DB/TotT: added waypoints for most of the Throne of the Tides npc's --- .../custom/custom_2019_01_11_01_world.sql | 120 ++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 sql/updates/world/custom/custom_2019_01_11_01_world.sql diff --git a/sql/updates/world/custom/custom_2019_01_11_01_world.sql b/sql/updates/world/custom/custom_2019_01_11_01_world.sql new file mode 100644 index 00000000000..42890bff426 --- /dev/null +++ b/sql/updates/world/custom/custom_2019_01_11_01_world.sql @@ -0,0 +1,120 @@ +-- Pathing for Entry: 40577 'TDB FORMAT' +SET @NPC := 255009; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=74.99132,`position_y`=810.7952,`position_z`=806.3171 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,74.99132,810.7952,806.3171,0,0,0,0,100,0), +(@PATH,2,97.46181,803.8854,807.3604,0,0,0,0,100,0), +(@PATH,3,114.717,802.7621,808.2779,0,0,0,0,100,0), +(@PATH,4,129.8576,806.3299,808.4269,0,0,0,0,100,0), +(@PATH,5,132.7101,826.8663,808.5387,0,0,0,0,100,0), +(@PATH,6,148.4931,847.2118,807.5844,0,0,0,0,100,0), +(@PATH,7,160.25,856.4844,808.2592,0,0,0,0,100,0), +(@PATH,8,148.4931,847.2118,807.5844,0,0,0,0,100,0), +(@PATH,9,132.7101,826.8663,808.5387,0,0,0,0,100,0), +(@PATH,10,129.8576,806.3299,808.4269,0,0,0,0,100,0), +(@PATH,11,114.717,802.7621,808.2779,0,0,0,0,100,0), +(@PATH,12,97.46181,803.8854,807.3604,0,0,0,0,100,0), +(@PATH,13,74.99132,810.7952,806.3171,0,0,0,0,100,0), +(@PATH,14,59.62674,824.4861,806.317,0,0,0,0,100,0), +(@PATH,15,36.59549,824.1458,806.3172,0,0,0,0,100,0), +(@PATH,16,24.05035,806.1597,806.3171,0,0,0,0,100,0), +(@PATH,17,31.74826,783.941,806.317,0,0,0,0,100,0), +(@PATH,18,57.69093,778.7611,806.3171,0,0,0,0,100,0), +(@PATH,19,74.05729,796.757,806.317,0,0,0,0,100,0), +(@PATH,20,97.92535,801.9636,807.3945,0,0,0,0,100,0), +(@PATH,21,115,801.6111,808.2744,0,0,0,0,100,0), +(@PATH,22,129.4948,794.1858,808.3755,0,0,0,0,100,0), +(@PATH,23,136.7431,767.4774,808.1108,0,0,0,0,100,0), +(@PATH,24,159.8073,748.7205,808.1066,0,0,0,0,100,0), +(@PATH,25,136.7431,767.4774,808.1108,0,0,0,0,100,0), +(@PATH,26,129.4948,794.1858,808.3755,0,0,0,0,100,0), +(@PATH,27,115,801.6111,808.2744,0,0,0,0,100,0), +(@PATH,28,97.92535,801.9636,807.3945,0,0,0,0,100,0), +(@PATH,29,74.05729,796.757,806.317,0,0,0,0,100,0), +(@PATH,30,58.08903,778.938,806.3171,0,0,0,0,100,0), +(@PATH,31,31.74826,783.941,806.317,0,0,0,0,100,0), +(@PATH,32,24.05035,806.1597,806.3171,0,0,0,0,100,0), +(@PATH,33,36.59549,824.1458,806.3172,0,0,0,0,100,0), +(@PATH,34,59.62674,824.4861,806.317,0,0,0,0,100,0); +-- 0x20307C506027A0400033C70000CF1DDB .go xyz 74.99132 810.7952 806.3171 + +-- Pathing for Entry: 40579 'TDB FORMAT' +SET @NPC := 254988; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=50.8559,`position_y`=864.8489,`position_z`=805.8482 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,50.8559,864.8489,805.8482,0,0,1,0,100,0), +(@PATH,2,52.21354,835.3489,806.319,0,0,1,0,100,0), +(@PATH,3,65.77778,819.3768,806.3171,0,0,1,0,100,0), +(@PATH,4,73.32986,802.25,806.317,0,0,1,0,100,0), +(@PATH,5,60.47917,781.3264,806.3171,0,0,1,0,100,0), +(@PATH,6,49.97396,764.0191,806.296,0,0,1,0,100,0), +(@PATH,7,51.07813,739.4184,805.8798,0,0,1,0,100,0), +(@PATH,8,50.72049,771.2309,806.3171,0,0,1,0,100,0), +(@PATH,9,64.21875,784.0121,806.3171,0,0,1,0,100,0), +(@PATH,10,76.27084,799.2083,806.317,0,0,1,0,100,0), +(@PATH,11,69.57986,816.1215,806.3171,0,0,1,0,100,0), +(@PATH,12,52.84201,830.6614,806.3184,0,0,1,0,100,0), +(@PATH,13,51.12847,849.5313,806.1619,0,0,1,0,100,0); +-- 0x20307C506027A0C00033C700004F1DDB .go xyz 50.8559 864.8489 805.8482 + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 254988; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(254988, 254988, 0, 0, 515, 0, 0), +(254988, 254991, 3, 0, 515, 0, 0), +(254988, 254978, 3, 45, 515, 0, 0), +(254988, 254984, 3, 315, 515, 0, 0), +(254988, 254981, 3, 275, 515, 0, 0), +(254988, 254979, 3, 85, 515, 0, 0), +(254988, 254986, 3, 130, 515, 0, 0), +(254988, 254992, 3, 230, 515, 0, 0), +(254988, 254989, 3, 165, 515, 0, 0), +(254988, 254993, 3, 195, 515, 0, 0); + +-- Pathing for Entry: 40925 'TDB FORMAT' +SET @NPC := 255115; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-310.095,`position_y`=889.727,`position_z`=245.391 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,-310.095,889.727,245.391,0,0,0,0,100,0), +(@PATH,2,-309.6554,911.3647,239.8545,0,0,0,0,100,0), +(@PATH,3,-307.405,927.236,237.8796,0,0,0,0,100,0), +(@PATH,4,-301.571,943.212,236.6475,0,0,0,0,100,0), +(@PATH,5,-309.653,911.481,239.8431,0,0,0,0,100,0), +(@PATH,6,-310.095,889.727,245.391,0,0,0,0,100,0), +(@PATH,7,-307.405,927.236,237.8796,0,0,0,0,100,0), +(@PATH,8,-301.571,943.212,236.6475,0,0,0,0,100,0), +(@PATH,9,-307.405,927.236,237.8796,0,0,0,0,100,0), +(@PATH,10,-309.653,911.481,239.8431,0,0,0,0,100,0); +-- 0x20307C506027F7400033C700004F2085 .go xyz -310.095 889.727 245.391 + +-- Pathing for Entry: 40925 'TDB FORMAT' +SET @NPC := 255120; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-296.345,`position_y`=949.974,`position_z`=236.4467 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,-296.345,949.974,236.4467,0,0,0,0,100,0), +(@PATH,2,-289.661,960.634,236.4112,0,0,0,0,100,0), +(@PATH,3,-281.7324,967.2686,236.7168,0,0,0,0,100,0), +(@PATH,4,-268.84,976.043,236.8212,0,0,0,0,100,0), +(@PATH,5,-281.726,967.274,236.7169,0,0,0,0,100,0), +(@PATH,6,-289.661,960.634,236.4112,0,0,0,0,100,0), +(@PATH,7,-289.661,960.634,236.4112,0,0,0,0,100,0), +(@PATH,8,-281.7324,967.2686,236.7168,0,0,0,0,100,0), +(@PATH,9,-268.84,976.043,236.8212,0,0,0,0,100,0), +(@PATH,10,-281.726,967.274,236.7169,0,0,0,0,100,0), +(@PATH,11,-289.661,960.634,236.4112,0,0,0,0,100,0); +-- 0x20307C506027F7400033C700004F2086 .go xyz -296.345 949.974 236.4467