diff options
Diffstat (limited to 'sql')
6 files changed, 369 insertions, 0 deletions
diff --git a/sql/updates/world/2014_07_25_03_world_waypoint_data.sql b/sql/updates/world/2014_07_25_03_world_waypoint_data.sql new file mode 100644 index 00000000000..008248d8395 --- /dev/null +++ b/sql/updates/world/2014_07_25_03_world_waypoint_data.sql @@ -0,0 +1 @@ +ALTER TABLE `waypoint_data` CHANGE `move_flag` `move_type` INT(11) NOT NULL DEFAULT 0; diff --git a/sql/updates/world/2014_07_26_00_world_waypoints.sql b/sql/updates/world/2014_07_26_00_world_waypoints.sql new file mode 100644 index 00000000000..c012728efc0 --- /dev/null +++ b/sql/updates/world/2014_07_26_00_world_waypoints.sql @@ -0,0 +1,145 @@ +-- Pathing for Garadar Wolf Rider Entry: 19068 +SET @NPC := 68369; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1306.285,`position_y`=6952.27,`position_z`=31.80549 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,18509, ''); +UPDATE `creature` SET `position_x`=-1312.285,`position_y`=6940.27,`position_z`=31.40549,`orientation`=1.049322 WHERE `guid`=68368; +DELETE FROM `creature_formations` WHERE `leaderGUID`=68369; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(68369,68369,0,0,2),(68369,68368,10,180,2); +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,-1306.285,6952.27,31.80549,0,0,1,0,100,0), +(@PATH,2,-1297.114,6970.51,32.55774,0,0,1,0,100,0), +(@PATH,3,-1286.846,6984.002,32.94885,0,0,1,0,100,0), +(@PATH,4,-1294.647,6996.062,32.38757,0,0,1,0,100,0), +(@PATH,5,-1325.328,7024.249,33.6833,0,0,1,0,100,0), +(@PATH,6,-1348.238,7032.215,33.68893,0,0,1,0,100,0), +(@PATH,7,-1368.992,7045.52,34.10938,0,0,1,0,100,0), +(@PATH,8,-1386.631,7061.436,34.45948,0,0,1,0,100,0), +(@PATH,9,-1394.578,7075.491,33.83854,0,0,1,0,100,0), +(@PATH,10,-1398.298,7096.861,33.335,0,0,1,0,100,0), +(@PATH,11,-1403.897,7125.299,33.58035,0,0,1,0,100,0), +(@PATH,12,-1389.057,7138.8,33.99598,0,0,1,0,100,0), +(@PATH,13,-1370.205,7156.964,33.61451,0,0,1,0,100,0), +(@PATH,14,-1370.205,7156.964,33.61451,0,0,1,0,100,0), +(@PATH,15,-1359.099,7166.051,33.47036,0,0,1,0,100,0), +(@PATH,16,-1347.834,7156.16,33.48244,0,0,1,0,100,0), +(@PATH,17,-1340.037,7146.628,33.13161,0,0,1,0,100,0), +(@PATH,18,-1327.699,7131.039,33.02342,0,0,1,0,100,0), +(@PATH,19,-1314.86,7100.454,35.69725,0,0,1,0,100,0), +(@PATH,20,-1327.699,7131.039,33.02342,0,0,1,0,100,0), +(@PATH,21,-1340.037,7146.628,33.13161,0,0,1,0,100,0), +(@PATH,22,-1347.834,7156.16,33.48244,0,0,1,0,100,0), +(@PATH,23,-1359.099,7166.051,33.47036,0,0,1,0,100,0), +(@PATH,24,-1369.572,7157.438,33.394,0,0,1,0,100,0), +(@PATH,25,-1386.934,7139.82,34.2103,0,0,1,0,100,0), +(@PATH,26,-1403.897,7125.299,33.58035,0,0,1,0,100,0), +(@PATH,27,-1398.298,7096.861,33.335,0,0,1,0,100,0), +(@PATH,28,-1394.578,7075.491,33.83854,0,0,1,0,100,0), +(@PATH,29,-1386.631,7061.436,34.45948,0,0,1,0,100,0), +(@PATH,30,-1368.992,7045.52,34.10938,0,0,1,0,100,0), +(@PATH,31,-1348.238,7032.215,33.68893,0,0,1,0,100,0), +(@PATH,32,-1325.328,7024.249,33.6833,0,0,1,0,100,0), +(@PATH,33,-1294.647,6996.062,32.38757,0,0,1,0,100,0), +(@PATH,34,-1286.846,6984.002,32.94885,0,0,1,0,100,0), +(@PATH,35,-1297.114,6970.51,32.55774,0,0,1,0,100,0), +(@PATH,36,-1306.285,6952.27,31.80549,0,0,1,0,100,0), +(@PATH,37,-1318.743,6930.187,31.66993,0,0,1,0,100,0), +(@PATH,38,-1334.226,6909.456,31.35373,0,0,1,0,100,0), +(@PATH,39,-1349.58,6892.065,30.41895,0,0,1,0,100,0), +(@PATH,40,-1368.256,6872.903,30.07822,0,0,1,0,100,0), +(@PATH,41,-1389.396,6856.315,28.70381,0,0,1,0,100,0), +(@PATH,42,-1404.557,6849.696,27.38716,0,0,1,0,100,0), +(@PATH,43,-1413.721,6831.764,26.72453,0,0,1,0,100,0), +(@PATH,44,-1420.326,6810.526,27.59953,0,0,1,0,100,0), +(@PATH,45,-1439.301,6791.51,28.34141,0,0,1,0,100,0), +(@PATH,46,-1453.281,6768.101,27.12888,0,0,1,0,100,0), +(@PATH,47,-1470.179,6739.332,25.1649,0,0,1,0,100,0), +(@PATH,48,-1483.529,6716.287,24.14556,0,0,1,0,100,0), +(@PATH,49,-1493.718,6694.826,24.19415,0,0,1,0,100,0), +(@PATH,50,-1504.721,6664.285,24.20934,0,0,1,0,100,0), +(@PATH,51,-1510.836,6642.756,22.9326,0,0,1,0,100,0), +(@PATH,52,-1515.425,6620.579,21.01927,0,0,1,0,100,0), +(@PATH,53,-1519.032,6604.414,20.89977,0,0,1,0,100,0), +(@PATH,54,-1510.836,6642.756,22.9326,0,0,1,0,100,0), +(@PATH,55,-1504.721,6664.285,24.20934,0,0,1,0,100,0), +(@PATH,56,-1493.718,6694.826,24.19415,0,0,1,0,100,0), +(@PATH,57,-1483.529,6716.287,24.14556,0,0,1,0,100,0), +(@PATH,58,-1470.179,6739.332,25.1649,0,0,1,0,100,0), +(@PATH,59,-1453.281,6768.101,27.12888,0,0,1,0,100,0), +(@PATH,60,-1439.301,6791.51,28.34141,0,0,1,0,100,0), +(@PATH,61,-1420.326,6810.526,27.59953,0,0,1,0,100,0), +(@PATH,62,-1413.721,6831.764,26.72453,0,0,1,0,100,0), +(@PATH,63,-1404.557,6849.696,27.38716,0,0,1,0,100,0), +(@PATH,64,-1389.396,6856.315,28.70381,0,0,1,0,100,0), +(@PATH,65,-1368.256,6872.903,30.07822,0,0,1,0,100,0), +(@PATH,66,-1349.58,6892.065,30.41895,0,0,1,0,100,0), +(@PATH,67,-1334.226,6909.456,31.35373,0,0,1,0,100,0), +(@PATH,68,-1318.743,6930.187,31.66993,0,0,1,0,100,0); + +-- Pathing for Garadar Wolf Rider Entry: 19068 +SET @NPC := 68371; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1211.921,`position_y`=7410.358,`position_z`=27.81794 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,18509, ''); +UPDATE `creature` SET `position_x`=-1212.921,`position_y`=7400.358,`position_z`=28.68889,`orientation`=2.005122 WHERE `guid`=68370; +DELETE FROM `creature_formations` WHERE `leaderGUID`=68371; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(68371,68371,0,0,2),(68371,68370,10,180,2); +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,-1211.921,7410.358,27.81794,0,0,1,0,100,0), +(@PATH,2,-1214.586,7425.123,25.99836,0,0,1,0,100,0), +(@PATH,3,-1222.165,7481.616,21.67305,0,0,1,0,100,0), +(@PATH,4,-1220.974,7497.774,20.48409,0,0,1,0,100,0), +(@PATH,5,-1214.87,7518.328,19.43397,0,0,1,0,100,0), +(@PATH,6,-1212.915,7540.512,18.40359,0,0,1,0,100,0), +(@PATH,7,-1211.614,7556.853,17.56509,0,0,1,0,100,0), +(@PATH,8,-1216.004,7573.963,16.24247,0,0,1,0,100,0), +(@PATH,9,-1217.563,7593.355,14.74553,0,0,1,0,100,0), +(@PATH,10,-1219.645,7606.309,13.68142,0,0,1,0,100,0), +(@PATH,11,-1225.298,7625.371,12.251,0,0,1,0,100,0), +(@PATH,12,-1229.663,7641.069,11.23986,0,0,1,0,100,0), +(@PATH,13,-1237.146,7655.85,10.48808,0,0,1,0,100,0), +(@PATH,14,-1242.923,7670.299,9.753622,0,0,1,0,100,0), +(@PATH,15,-1240.828,7683.721,9.396078,0,0,1,0,100,0), +(@PATH,16,-1250.555,7678.873,8.685507,0,0,1,0,100,0), +(@PATH,17,-1237.549,7656.549,10.52263,0,0,1,0,100,0), +(@PATH,18,-1229.939,7641.217,11.3557,0,0,1,0,100,0), +(@PATH,19,-1225.466,7625.775,12.251,0,0,1,0,100,0), +(@PATH,20,-1219.507,7606.408,13.66946,0,0,1,0,100,0), +(@PATH,21,-1217.322,7593.599,14.80558,0,0,1,0,100,0), +(@PATH,22,-1216.509,7573.793,16.26286,0,0,1,0,100,0), +(@PATH,23,-1211.828,7556.847,17.56509,0,0,1,0,100,0), +(@PATH,24,-1212.723,7540.783,18.39443,0,0,1,0,100,0), +(@PATH,25,-1215.317,7518.904,19.44593,0,0,1,0,100,0), +(@PATH,26,-1221.131,7497.735,20.48873,0,0,1,0,100,0), +(@PATH,27,-1222.776,7482.632,21.6545,0,0,1,0,100,0), +(@PATH,28,-1220.757,7459.46,23.17959,0,0,1,0,100,0), +(@PATH,29,-1217.947,7442.052,24.55239,0,0,1,0,100,0), +(@PATH,30,-1215.386,7427.643,25.71003,0,0,1,0,100,0), +(@PATH,31,-1212.104,7411.986,27.62336,0,0,1,0,100,0), +(@PATH,32,-1213.585,7392.814,29.7174,0,0,1,0,100,0), +(@PATH,33,-1220.035,7371.12,33.57092,0,0,1,0,100,0), +(@PATH,34,-1222.352,7358.362,34.27285,0,0,1,0,100,0), +(@PATH,35,-1222.356,7341.586,34.02285,0,0,1,0,100,0), +(@PATH,36,-1202.531,7331.909,34.10541,0,0,1,0,100,0), +(@PATH,37,-1186.747,7320.795,34.03506,0,0,1,0,100,0), +(@PATH,38,-1181.867,7303.457,34.13747,0,0,1,0,100,0), +(@PATH,39,-1181.804,7297.336,34.78957,0,0,1,0,100,0), +(@PATH,40,-1192.18,7249.516,35.21297,0,0,1,0,100,0), +(@PATH,41,-1195.673,7231.294,42.2477,0,0,1,0,100,0), +(@PATH,42,-1196.073,7218.396,48.50587,0,0,1,0,100,0), +(@PATH,43,-1195.584,7229.94,43.06007,0,0,1,0,100,0), +(@PATH,44,-1194.09,7244.866,35.06643,0,0,1,0,100,0), +(@PATH,45,-1192.24,7248.374,35.16298,0,0,1,0,100,0), +(@PATH,46,-1180.625,7296.229,34.84074,0,0,1,0,100,0), +(@PATH,47,-1182.318,7302.35,34.07021,0,0,1,0,100,0), +(@PATH,48,-1184.25,7317.054,34.17605,0,0,1,0,100,0), +(@PATH,49,-1198.885,7329.619,34.02688,0,0,1,0,100,0), +(@PATH,50,-1218.819,7338.442,34.02285,0,0,1,0,100,0), +(@PATH,51,-1222.647,7357.911,34.27285,0,0,1,0,100,0), +(@PATH,52,-1213.344,7392.449,29.94091,0,0,1,0,100,0); diff --git a/sql/updates/world/2014_07_26_01_world_creature_formations.sql b/sql/updates/world/2014_07_26_01_world_creature_formations.sql new file mode 100644 index 00000000000..dc424437dfc --- /dev/null +++ b/sql/updates/world/2014_07_26_01_world_creature_formations.sql @@ -0,0 +1,9 @@ +-- Fix Garadar Wolf Rider Formations +UPDATE `creature` SET `position_x`=-1312.285,`position_y`=6940.27,`position_z`=31.40549,`orientation`=1.049322 WHERE `guid`=68368; +DELETE FROM `creature_formations` WHERE `leaderGUID`=68369; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(68369,68369,0,0,2),(68369,68368,8,0,2); +UPDATE `creature` SET `position_x`=-1212.921,`position_y`=7400.358,`position_z`=28.68889,`orientation`=2.005122 WHERE `guid`=68370; +DELETE FROM `creature_formations` WHERE `leaderGUID`=68371; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(68371,68371,0,0,2),(68371,68370,8,0,2); diff --git a/sql/updates/world/2014_07_27_00_world_misc.sql b/sql/updates/world/2014_07_27_00_world_misc.sql new file mode 100644 index 00000000000..42f4a82b158 --- /dev/null +++ b/sql/updates/world/2014_07_27_00_world_misc.sql @@ -0,0 +1,114 @@ +DELETE FROM `creature_text` WHERE `entry` IN(17246,17240, 17242, 17241,17214,17215,17117); +DELETE FROM `creature_text` WHERE `entry` =17375 and `id` IN(3,4); + +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(17246, 0, 0, 'Yarr, Admiral. Let me think about it... Arrr... It be comin'' into focus.', 12, 7, 100, 1, 0, 0, '"Cookie" McWeaksauce', 13699), +(17246, 1, 0, 'It looks like it be succulent pork ribs basted with its own delectable juices and a side o'' Captain Sander''s Secret Sauce - fer dippin''.', 12, 7, 100, 1, 0, 0, '"Cookie" McWeaksauce', 13700), +(17246, 2, 0, 'And fer dessert we be havin'' cheesecake, flown in fresh from Stormwind on the wings o'' angels...', 12, 7, 100, 1, 0, 0, '"Cookie" McWeaksauce', 13701), +(17246, 3, 0, 'No. Not really...', 12, 7, 100, 274, 0, 0, '"Cookie" McWeaksauce', 13702), +(17246, 4, 0, 'It be chicken...', 12, 7, 100, 1, 0, 0, '"Cookie" McWeaksauce', 13704), +(17240, 0, 0, 'Hey, Cookie! What''s for dinner tonight? And don''t say chicken!', 12, 7, 100, 22, 0, 0, 'Admiral Odesyus', 13698), +(17240, 1, 0, 'Wow! Really?', 12, 7, 100, 5, 0, 0, 'Admiral Odesyus', 13702), +(17240, 2, 0, 'I hate you so much, Cookie.', 12, 7, 100, 1, 0, 0, 'Admiral Odesyus', 13705), +(17242, 0, 0, 'Of course! Anything for you, darling!', 12, 7, 100, 5, 0, 0, 'Archaeologist Adamant Ironheart', 13712), +(17242, 1, 0, 'Alright, let me take a look at that tablet.', 12, 7, 100, 1, 0, 0, 'Archaeologist Adamant Ironheart', 13713), +(17242, 2, 0, '%s slowly reads the tablet, mouthing the words in their native tongue.', 16, 7, 100, 0, 0, 0, 'Archaeologist Adamant Ironheart', 13714), +(17242, 3, 0, 'Naga warlord! Oh dear...', 12, 7, 100, 5, 0, 0, 'Archaeologist Adamant Ironheart', 13715), +(17242, 4, 0, 'Well, you aren''t going to like what I have to tell you, young missy. This tablet is a naga communication. Their leader, Warlord Sriss''tiz, has ordered his naga to take the rest of the island by force.', 12, 7, 100, 1, 0, 0, 'Archaeologist Adamant Ironheart', 13716), +(17242, 5, 0, 'And it looks like he''s got reinforcements comin'' from Nazjatar!', 12, 7, 100, 5, 0, 0, 'Archaeologist Adamant Ironheart', 13717), +(17242, 6, 0, 'We''ve got to do something about this!', 12, 0, 100, 5, 0, 0, 'Archaeologist Adamant Ironheart', 13718), +(17241, 0, 0, 'Adamant, could you please take a look at this tablet and try to decipher the runes?', 12, 7, 100, 1, 0, 0, 'Priestess Kyleen Il''dinare', 13711), +(17241, 1, 0, 'Thank you, Adamant. I think I know just the person for the job.', 12, 7, 100, 2, 0, 0, 'Priestess Kyleen Il''dinare', 13719), +(17214, 0, 0, 'Now to apply the ointment to her wounds.', 12, 7, 100, 1, 0, 0, 'Anchorite Fateema', 13596), +(17214, 1, 0, 'It appears that the ointment is ineffective. Such a pity...', 12, 7, 100, 1, 0, 0, 'Anchorite Fateema', 13597), +(17214, 2, 0, 'Man''ari... But how... We are not eredar! She must know! If there are others like her, we must find them and explain...', 12, 7, 100, 1, 0, 0, 'Anchorite Fateema', 13608), +(17215, 0, 0, 'There may still be a solution. Come here, $n. I will explain what I need.', 12, 7, 100, 1, 0, 0, 'Daedal0', 13598), +(17215, 1, 0, 'This should do it...', 12, 7, 100, 0, 0, 0, 'Daedal', 13599), +(17215, 2, 0, 'Wake up little creature. Wake up from your slumber... You are safe now.', 12, 7, 100, 0, 0, 0, 'Daedal', 13600), +(17117, 0, 0, '%s groans.', 16, 7, 100, 0, 0, 0, 'Injured Night Elf Priestess', 13601), +(17117, 1, 0, '%s sits up.', 16, 7, 100, 0, 0, 0, 'Injured Night Elf Priestess', 13602), +(17117, 2, 0, 'Whe... Where am I? What... What is this place?', 12, 7, 100, 6, 0, 0, 'Injured Night Elf Priestess', 13603), +(17117, 3, 0, 'BY THE LIGHT OF ELUNE! Eredar! Cursed demons, what have you done to me? I have not come alone, we will fight you as we have in the past! I...', 12, 7, 100, 5, 0, 0, 'Injured Night Elf Priestess', 13604), +(17117, 4, 0, '%s falls back into a coma.', 16, 0, 100, 0, 0, 0, 'Injured Night Elf Priestess', 13605), +(17375, 0, 3, '[Furbolg] The prophecy is true!', 12, 0, 100, 0, 0, 0, 'Stillpine Captive', 13980), +(17375, 0, 4, '%s growls at its captors.', 16, 0, 100, 0, 0, 0, 'Stillpine Captive', 13977); + +-- Change cookie mcweaksauces spawn position to sniffed one, wp lead to where was previously spawned +UPDATE `creature` SET `position_x`=-4708.59, `position_y`=-12400.26, `position_z`=11.94285, `orientation`=0.9948376 WHERE `guid`=61976; + + +UPDATE `creature_template` SET `ainame`='SmartAI', `scriptname`='' WHERE `entry` IN(17246,17240, 17242, 17241, 17240,17214,17215,17117); + +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(17246,17240, 17242, 17241, 17240,17214,17215,17117) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(1724100,1724600,1724100, 1721500, 1721400) AND `source_type`=9; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17241,0,0,0,20,0,100,0,9514,0,0,0,80,1724100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - On Quest reward rune covered tablet - run script'), +(17242,0,0,0,38,0,100,0,1,1,0,0,53,0,1724200,0,0,0,0,1,0,0,0,0,0,0,0,'Archaeologist Adamant Ironheart - On Data Set 1 1- Start WP (Path 1)'), +(17242,0,1,0,38,0,100,0,2,2,0,0,53,0,1724201,0,0,0,0,1,0,0,0,0,0,0,0,'Archaeologist Adamant Ironheart - On Data Set 2 2- Start WP (Path 2)'), +(17242,0,2,0,40,0,100,0,1,1724201,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,6.26573,'Archaeologist Adamant Ironheart - On Reached WP1 (Path 2) - Set Orientation'), +(17246,0,0,0,1,0,100,0,0,30000,300000,450000,80,1724600,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Cookie" McWeaksauce - OOC - Run Script'), +(17246,0,1,0,40,0,100,0,3,17246,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Cookie" McWeaksauce - On Reached WP3 - Pause WP'), +(17240,0,0,0,38,0,100,0,1,1,0,0,66,0,0,0,0,0,0,19 ,17246,0,0,0,0,0,0,'Admiral Odesyus - On Data Set 1 1- Face "Cookie" McWeaksauce'), +(17240,0,1,0,38,0,100,0,2,2,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.38078,'Admiral Odesyus - On Data Set 2 2- Set Orientation'), +(17215,0,0,0,38,0,100,0,1,1,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Daedal - On Data Set 1 1- Set NPC Flags'), +(17215,0,1,0,38,0,100,0,2,2,0,0,81,83,0,0,0,0,0,1,0,0,0,0,0,0,0,'Daedal - On Data Set 2 2- Set NPC Flags'), +(17215,0,2,0,20,0,100,0,9473,2,0,0,80,1721500,2,0,0,0,0,1,0,0,0,0,0,0,0,'Daedal - On Quest Reward - An Alternative Alternative - Run Script'), +(17117,0,0,0,38,0,100,0,1,1,0,0,91,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Injured Night Elf Priestess - On Data Set 1 1- Set Bytes 1'), +(17117,0,1,0,38,0,100,0,2,2,0,0,90,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Injured Night Elf Priestess - On Data Set 2 2- Set Bytes 1'), +(17214,0,0,0,20,0,100,0,9463,2,0,0,80,1721400,2,0,0,0,0,1,0,0,0,0,0,0,0,'Anchorite Fateema - On Quest Reward - Medicinal Purposes - Run Script'), +(1721400,9,0,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17215,0,0,0,0,0,0,'Anchorite Fateema - Script - Set Data 1 1 Daedal'), +(1721400,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Anchorite Fateema - Script - Say Line 1'), +(1721400,9,2,0,0,0,100,0,9000,9000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Anchorite Fateema - Script - Say Line 2'), +(1721400,9,3,0,0,0,100,0,9000,9000,0,0,1,0,0,0,0,0,0,19,17215,0,0,0,0,0,0,'Anchorite Fateema - Script - Say Line 1 (Daedal)'), +(1721400,9,4,0,0,0,100,0,0,0,0,0,45,2,2,0,0,0,0,19,17215,0,0,0,0,0,0,'Anchorite Fateema - Script - Set Data 2 2 Daedal'), +(1721500,9,0,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Daedal - Script - Say Line 2'), +(1721500,9,1,0,0,0,100,0,7000,7000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Daedal - Script - Say Line 3'), +(1721500,9,2,0,0,0,100,0,3000,3000,0,0,1,0,0,0,0,0,0,19,17117,0,0,0,0,0,0,'Daedal - Script - Say Line 1 (Injured Night Elf Priestess)'), +(1721500,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,19,17117,0,0,0,0,0,0,'Daedal - Script - Say Line 2 (Injured Night Elf Priestess)'), +(1721500,9,4,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17117,0,0,0,0,0,0,'Daedal - Script - Set Data 1 1 (Injured Night Elf Priestess)'), +(1721500,9,5,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,19,17117,0,0,0,0,0,0,'Daedal - Script - Say Line 3 (Injured Night Elf Priestess)'), +(1721500,9,6,0,0,0,100,0,7000,7000,0,0,1,3,0,0,0,0,0,19,17117,0,0,0,0,0,0,'Daedal - Script - Say Line 4 (Injured Night Elf Priestess)'), +(1721500,9,7,0,0,0,100,0,5000,5000,0,0,1,4,0,0,0,0,0,19,17117,0,0,0,0,0,0,'Daedal - Script - Say Line 5 (Injured Night Elf Priestess)'), +(1721500,9,8,0,0,0,100,0,0,0,0,0,45,2,2,0,0,0,0,19,17117,0,0,0,0,0,0,'Daedal - Script - Set Data 2 2 (Injured Night Elf Priestess)'), +(1721500,9,9,0,0,0,100,0,7000,7000,0,0,1,2,0,0,0,0,0,19,17214,0,0,0,0,0,0,'Daedal - Script - Say Line 3 (Anchorite Fateema)'), +(1724600,9,0,0,0,0,100,0,0,0,0,0,53,0,17246,0,0,0,0,1,0,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Start WP'), +(1724600,9,1,0,0,0,100,0,5000,5000,0,0,45,1,1,0,0,0,0,19,17240,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Set Data 1 1 on Admiral Odesyus'), +(1724600,9,2,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,19,17240,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 1 on Admiral Odesyus'), +(1724600,9,3,0,0,0,100,0,9000,9000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 1'), +(1724600,9,4,0,0,0,100,0,9000,9000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 2'), +(1724600,9,5,0,0,0,100,0,9000,9000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 3'), +(1724600,9,6,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,19,17240,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 2 on Admiral Odesyus'), +(1724600,9,7,0,0,0,100,0,9000,9000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 4'), +(1724600,9,8,0,0,0,100,0,4000,4000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 6'), +(1724600,9,9,0,0,0,100,0,1000,1000,0,0,11,30221,0,0,0,0,0,19,620,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Cast Shoot (Target Closest chicken)'), +(1724600,9,10,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,19,17240,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Say Line 3 on Admiral Odesyus'), +(1724600,9,11,0,0,0,100,0,5000,5000,0,0,45,2,2,0,0,0,0,19,17240,0,0,0,0,0,0,'Cookie" McWeaksauce - Script - Set Data 2 2 on Admiral Odesyus'), +(1724100,9,0,0,0,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Set NPC Flags'), +(1724100,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Face Archaeologist Adamant Ironheart'), +(1724100,9,2,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 1'), +(1724100,9,3,0,0,0,100,0,2000,2000,0,0,45,1,1,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Set Data 1 1 on Archaeologist Adamant Ironheart'), +(1724100,9,4,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 1 (Archaeologist Adamant Ironheart)'), +(1724100,9,5,0,0,0,100,0,7000,7000,0,0,1,1,0,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 2 (Archaeologist Adamant Ironheart)'), +(1724100,9,6,0,0,0,100,0,2000,2000,0,0,1,2,0,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 3 (Archaeologist Adamant Ironheart)'), +(1724100,9,7,0,0,0,100,0,5000,5000,0,0,1,3,0,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 4 (Archaeologist Adamant Ironheart)'), +(1724100,9,8,0,0,0,100,0,7000,7000,0,0,1,4,0,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 5 (Archaeologist Adamant Ironheart)'), +(1724100,9,9,0,0,0,100,0,7000,7000,0,0,1,5,0,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 6 (Archaeologist Adamant Ironheart)'), +(1724100,9,10,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Say Line 2'), +(1724100,9,11,0,0,0,100,0,2000,2000,0,0,45,2,2,0,0,0,0,19,17242,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Set Data 2 2 on Archaeologist Adamant Ironheart'), +(1724100,9,12,0,0,0,100,0,3000,3000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.994838,'Priestess Kyleen Il''dinare - Script - Set Orientation'), +(1724100,9,13,0,0,0,100,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Priestess Kyleen Il''dinare - Script - Set NPC Flags'); + +DELETE FROM `waypoints` WHERE `entry` IN (1724200,1724201, 17246); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(1724200, 1, -4699.27, -12419.77, 11.7000, 'Archaeologist Adamant Ironheart'), +(1724201, 1, -4693.81, -12423.1, 11.8935, 'Archaeologist Adamant Ironheart'), +(17246, 1, -4712.833, -12394.57, 12.2762, '"Cookie" McWeaksauce'), +(17246, 2, -4715.833, -12400.07, 12.5262, '"Cookie" McWeaksauce'), +(17246, 3, -4712.333, -12404.32, 12.2762, '"Cookie" McWeaksauce'), +(17246, 4, -4715.833, -12400.07, 12.5262, '"Cookie" McWeaksauce'), +(17246, 5, -4708.59, -12400.26, 11.94285, '"Cookie" McWeaksauce'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=30221; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 30221, 0, 0, 31, 0, 3, 620, 0, 0, 0, 0, '', 'Shoot Targets Chicken'); diff --git a/sql/updates/world/2014_07_27_01_world_misc.sql b/sql/updates/world/2014_07_27_01_world_misc.sql new file mode 100644 index 00000000000..359f543ce68 --- /dev/null +++ b/sql/updates/world/2014_07_27_01_world_misc.sql @@ -0,0 +1,3 @@ +-- Fix Startup Errors +DELETE FROM `creature_addon` WHERE `guid` IN (103589,104200); +DELETE FROM `waypoint_scripts` WHERE `id` IN (460,461); diff --git a/sql/updates/world/2014_07_27_02_world_waypoints.sql b/sql/updates/world/2014_07_27_02_world_waypoints.sql new file mode 100644 index 00000000000..badb3af6078 --- /dev/null +++ b/sql/updates/world/2014_07_27_02_world_waypoints.sql @@ -0,0 +1,97 @@ +-- Pathing for Murkblood Invader Entry: 18238 +SET @NPC := 65508; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1928.632,`position_y`=8725.079,`position_z`=24.25752,`orientation`=3.095328 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,17891, ''); +UPDATE `creature` SET `position_x`=-1918.632,`position_y`=8724.079,`position_z`=24.25752,`orientation`=3.095328 WHERE `guid`=65506; +UPDATE `creature` SET `position_x`=-1908.632,`position_y`=8724.079,`position_z`=24.64092,`orientation`=3.095328 WHERE `guid`=65507; +DELETE FROM `creature_formations` WHERE `leaderGUID`=65508; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(65508,65508,0,0,2),(65508,65506,10,0,2),(65508,65507,20,0,2); +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,-1928.632,8725.079,24.25752,0,0,0,0,100,0), +(@PATH,2,-1966.446,8717.539,21.99185,0,0,0,0,100,0), +(@PATH,3,-2005.826,8716.254,19.80993,0,0,0,0,100,0), +(@PATH,4,-2016.783,8714.921,19.39349,0,0,0,0,100,0), +(@PATH,5,-2042.417,8701.892,18.07981,0,0,0,0,100,0), +(@PATH,6,-2068.804,8680.673,18.93495,0,0,0,0,100,0), +(@PATH,7,-2087.212,8652.72,17.59001,0,0,0,0,100,0), +(@PATH,8,-2102.178,8631.095,17.35943,0,0,0,0,100,0), +(@PATH,9,-2124.29,8607.336,17.17577,0,0,0,0,100,0), +(@PATH,10,-2125.007,8588.16,17.36669,0,0,0,0,100,0), +(@PATH,11,-2116.553,8560.366,19.12604,0,0,0,0,100,0), +(@PATH,12,-2114.252,8531.596,21.75403,0,0,0,0,100,0), +(@PATH,13,-2108.561,8507.092,23.44275,0,0,0,0,100,0), +(@PATH,14,-2106.812,8478.482,22.60953,0,0,0,0,100,0), +(@PATH,15,-2106.71,8463.584,22.14218,0,0,0,0,100,0), +(@PATH,16,-2088.777,8437.308,21.56343,0,0,0,0,100,0), +(@PATH,17,-2074.934,8402.895,18.74801,0,0,0,0,100,0), +(@PATH,18,-2054.847,8372.031,17.88245,0,0,0,0,100,0), +(@PATH,19,-2044.42,8353.194,16.45808,0,0,0,0,100,0), +(@PATH,20,-2040.957,8337.205,14.9322,0,0,0,0,100,0), +(@PATH,21,-2021.216,8310.251,11.5401,0,0,0,0,100,0), +(@PATH,22,-2004.646,8291.519,10.82406,0,0,0,0,100,0), +(@PATH,23,-1989.724,8273.373,8.883897,0,0,0,0,100,0), +(@PATH,24,-1983.553,8259.863,6.539972,0,0,0,0,100,0), +(@PATH,25,-1982.861,8233.603,2.136774,0,0,0,0,100,0), +(@PATH,26,-1986.143,8199.416,0.9015293,0,0,0,0,100,0), +(@PATH,27,-2011.609,8175.506,0.3361206,0,0,0,0,100,0), +(@PATH,28,-2030.666,8151.698,1.648474,0,0,0,0,100,0), +(@PATH,29,-2048.426,8130.438,2.55332,0,0,0,0,100,0), +(@PATH,30,-2064.924,8112.038,2.538671,0,0,0,0,100,0), +(@PATH,31,-2079.267,8093.191,2.946595,0,0,0,0,100,0), +(@PATH,32,-2091.217,8071.594,2.854432,0,0,0,0,100,0), +(@PATH,33,-2106.352,8049.733,1.976455,0,0,0,0,100,0), +(@PATH,34,-2121.393,8026.129,1.529545,0,0,0,0,100,0), +(@PATH,35,-2126.731,8001.408,0.009037018,0,0,0,0,100,0), +(@PATH,36,-2133.614,7980.045,-1.761643,0,0,0,0,100,0), +(@PATH,37,-2141.162,7953.366,-4.754976,0,0,0,0,100,0), +(@PATH,38,-2141.755,7928.814,-6.847231,0,0,0,0,100,0), +(@PATH,39,-2143.836,7906.825,-8.610537,0,0,0,0,100,0), +(@PATH,40,-2146.907,7880.856,-10.76713,0,0,0,0,100,0), +(@PATH,41,-2149.451,7859.555,-11.69755,0,0,0,0,100,0), +(@PATH,42,-2149.775,7839.294,-12.42301,0,0,0,0,100,0), +(@PATH,43,-2152.03,7824.522,-12.74447,0,0,0,0,100,0), +(@PATH,44,-2149.775,7839.294,-12.42301,0,0,0,0,100,0), +(@PATH,45,-2149.451,7859.555,-11.69755,0,0,0,0,100,0), +(@PATH,46,-2146.907,7880.856,-10.76713,0,0,0,0,100,0), +(@PATH,47,-2143.836,7906.825,-8.610537,0,0,0,0,100,0), +(@PATH,48,-2141.755,7928.814,-6.847231,0,0,0,0,100,0), +(@PATH,49,-2141.162,7953.366,-4.754976,0,0,0,0,100,0), +(@PATH,50,-2133.614,7980.045,-1.761643,0,0,0,0,100,0), +(@PATH,51,-2126.731,8001.408,0.009037018,0,0,0,0,100,0), +(@PATH,52,-2121.393,8026.129,1.529545,0,0,0,0,100,0), +(@PATH,53,-2106.352,8049.733,1.976455,0,0,0,0,100,0), +(@PATH,54,-2091.217,8071.594,2.854432,0,0,0,0,100,0), +(@PATH,55,-2079.267,8093.191,2.946595,0,0,0,0,100,0), +(@PATH,56,-2064.924,8112.038,2.538671,0,0,0,0,100,0), +(@PATH,57,-2048.426,8130.438,2.55332,0,0,0,0,100,0), +(@PATH,58,-2030.666,8151.698,1.648474,0,0,0,0,100,0), +(@PATH,59,-2011.609,8175.506,0.3361206,0,0,0,0,100,0), +(@PATH,60,-1986.143,8199.416,0.9015293,0,0,0,0,100,0), +(@PATH,61,-1982.861,8233.603,2.136774,0,0,0,0,100,0), +(@PATH,62,-1983.553,8259.863,6.539972,0,0,0,0,100,0), +(@PATH,63,-1989.724,8273.373,8.883897,0,0,0,0,100,0), +(@PATH,64,-2004.646,8291.519,10.82406,0,0,0,0,100,0), +(@PATH,65,-2021.216,8310.251,11.5401,0,0,0,0,100,0), +(@PATH,66,-2040.957,8337.205,14.9322,0,0,0,0,100,0), +(@PATH,67,-2044.42,8353.194,16.45808,0,0,0,0,100,0), +(@PATH,68,-2054.847,8372.031,17.88245,0,0,0,0,100,0), +(@PATH,69,-2074.934,8402.895,18.74801,0,0,0,0,100,0), +(@PATH,70,-2088.777,8437.308,21.56343,0,0,0,0,100,0), +(@PATH,71,-2106.71,8463.584,22.14218,0,0,0,0,100,0), +(@PATH,72,-2106.812,8478.482,22.60953,0,0,0,0,100,0), +(@PATH,73,-2108.561,8507.092,23.44275,0,0,0,0,100,0), +(@PATH,74,-2114.252,8531.596,21.75403,0,0,0,0,100,0), +(@PATH,75,-2116.553,8560.366,19.12604,0,0,0,0,100,0), +(@PATH,76,-2125.007,8588.16,17.36669,0,0,0,0,100,0), +(@PATH,77,-2124.29,8607.336,17.17577,0,0,0,0,100,0), +(@PATH,78,-2102.178,8631.095,17.35943,0,0,0,0,100,0), +(@PATH,79,-2087.212,8652.72,17.59001,0,0,0,0,100,0), +(@PATH,80,-2068.804,8680.673,18.93495,0,0,0,0,100,0), +(@PATH,81,-2042.417,8701.892,18.07981,0,0,0,0,100,0), +(@PATH,82,-2016.783,8714.921,19.39349,0,0,0,0,100,0), +(@PATH,83,-2005.826,8716.254,19.80993,0,0,0,0,100,0), +(@PATH,84,-1966.446,8717.539,21.99185,0,0,0,0,100,0); |
