From 858b857ae460b530e19d43430a167120049b968c Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 6 Oct 2014 02:58:36 +0200 Subject: DB/Creature: BroadcastTextID for creature_text By 41782992, closes #13278 --- sql/updates/world/2014_10_06_00_world.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sql/updates/world/2014_10_06_00_world.sql (limited to 'sql') diff --git a/sql/updates/world/2014_10_06_00_world.sql b/sql/updates/world/2014_10_06_00_world.sql new file mode 100644 index 00000000000..5ef37298264 --- /dev/null +++ b/sql/updates/world/2014_10_06_00_world.sql @@ -0,0 +1,14 @@ +-- +UPDATE `creature_text` SET `BroadcastTextId`=9633 WHERE `entry`=14467 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=7798 WHERE `entry`=701 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=8355 WHERE `entry`=12923 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=8355 WHERE `entry`=12924 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=8355 WHERE `entry`=12925 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=10601 WHERE `entry`=11380 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=23175 WHERE `entry`=23863 AND `groupid`=2 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=23176 WHERE `entry`=23863 AND `groupid`=3 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=23178 WHERE `entry`=23863 AND `groupid`=5 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=23179 WHERE `entry`=23863 AND `groupid`=6 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=23181 WHERE `entry`=23863 AND `groupid`=8 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=23182 WHERE `entry`=23863 AND `groupid`=8 AND `id`=1; +UPDATE `creature_text` SET `BroadcastTextId`=23183 WHERE `entry`=23863 AND `groupid`=9 AND `id`=0; -- cgit v1.2.3 From 2acf72f9dd4e80d561b9f56072e23e63262a8ff6 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 6 Oct 2014 09:48:17 +0200 Subject: DB/Creature: BroadcastTextID for npc_text By 41782992, closes #13279 --- sql/updates/world/2014_10_06_01_world.sql | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sql/updates/world/2014_10_06_01_world.sql (limited to 'sql') diff --git a/sql/updates/world/2014_10_06_01_world.sql b/sql/updates/world/2014_10_06_01_world.sql new file mode 100644 index 00000000000..841f5bc117b --- /dev/null +++ b/sql/updates/world/2014_10_06_01_world.sql @@ -0,0 +1,38 @@ +-- BroadcastTextID0 +UPDATE `npc_text` SET `BroadcastTextID0`=3962 WHERE `ID`=1620; +UPDATE `npc_text` SET `BroadcastTextID0`=3963 WHERE `ID`=1621; +UPDATE `npc_text` SET `BroadcastTextID0`=8806 WHERE `ID`=6789; +UPDATE `npc_text` SET `BroadcastTextID0`=9168 WHERE `ID`=6789; +UPDATE `npc_text` SET `BroadcastTextID0`=9626 WHERE `ID`=7002; +UPDATE `npc_text` SET `BroadcastTextID0`=9628 WHERE `ID`=7003; +UPDATE `npc_text` SET `BroadcastTextID0`=9630 WHERE `ID`=7004; +UPDATE `npc_text` SET `BroadcastTextID0`=9632 WHERE `ID`=7005; +UPDATE `npc_text` SET `BroadcastTextID0`=11275 WHERE `ID`=8060; +UPDATE `npc_text` SET `BroadcastTextID0`=11892 WHERE `ID`=8326; +UPDATE `npc_text` SET `BroadcastTextID0`=11894 WHERE `ID`=8327; +UPDATE `npc_text` SET `BroadcastTextID0`=12100 WHERE `ID`=8426; +UPDATE `npc_text` SET `BroadcastTextID0`=12280 WHERE `ID`=8516; +UPDATE `npc_text` SET `BroadcastTextID0`=14071 WHERE `ID`=8975; +UPDATE `npc_text` SET `BroadcastTextID0`=14386 WHERE `ID`=9064; +UPDATE `npc_text` SET `BroadcastTextID0`=17555 WHERE `ID`=9949; +UPDATE `npc_text` SET `BroadcastTextID0`=19019 WHERE `ID`=10339; +UPDATE `npc_text` SET `BroadcastTextID0`=19431 WHERE `ID`=10454; +UPDATE `npc_text` SET `BroadcastTextID0`=20459 WHERE `ID`=10733; +UPDATE `npc_text` SET `BroadcastTextID0`=20643 WHERE `ID`=10798; +UPDATE `npc_text` SET `BroadcastTextID0`=20883 WHERE `ID`=10830; +UPDATE `npc_text` SET `BroadcastTextID0`=21404 WHERE `ID`=10926; +UPDATE `npc_text` SET `BroadcastTextID0`=21535 WHERE `ID`=10967; +UPDATE `npc_text` SET `BroadcastTextID0`=21542 WHERE `ID`=10976; +UPDATE `npc_text` SET `BroadcastTextID0`=21610 WHERE `ID`=11026; +UPDATE `npc_text` SET `BroadcastTextID0`=21618 WHERE `ID`=11029; +UPDATE `npc_text` SET `BroadcastTextID0`=21814 WHERE `ID`=11059; + +-- npc_text +UPDATE `npc_text` SET `BroadcastTextID0`=10796 WHERE `ID`=7804; +UPDATE `npc_text` SET `BroadcastTextID0`=2545 WHERE `ID`=6491; +UPDATE `npc_text` SET `BroadcastTextID0`=6877 WHERE `ID`=4194; + +-- creature_text +UPDATE `creature_text` SET `BroadcastTextId`=6198 WHERE `entry`=3977 AND `groupid`=1 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=35523 WHERE `entry`=35320 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=35529 WHERE `entry`=35320 AND `groupid`=1 AND `id`=0; -- cgit v1.2.3 From d8245c7ea55516e8b6d1ce81aba648f3a0c74e1b Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 6 Oct 2014 10:07:17 +0200 Subject: DB/Creature: Fix 2 creatures faction Closes #13280 --- sql/updates/world/2014_10_06_02_world.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sql/updates/world/2014_10_06_02_world.sql (limited to 'sql') diff --git a/sql/updates/world/2014_10_06_02_world.sql b/sql/updates/world/2014_10_06_02_world.sql new file mode 100644 index 00000000000..56929a9b5db --- /dev/null +++ b/sql/updates/world/2014_10_06_02_world.sql @@ -0,0 +1,3 @@ +-- +UPDATE `creature_template` SET `faction`=834 WHERE `entry`=14435; +UPDATE `creature_template` SET `faction`=90 WHERE `entry`=6268; -- cgit v1.2.3 From 51a3b6ecdf63cbb8078afc9dbf272bee44c5f3db Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 6 Oct 2014 10:56:44 +0200 Subject: DB/Creature: Fix 1 startup error --- sql/updates/world/2014_10_06_03_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/2014_10_06_03_world.sql (limited to 'sql') diff --git a/sql/updates/world/2014_10_06_03_world.sql b/sql/updates/world/2014_10_06_03_world.sql new file mode 100644 index 00000000000..b0335d78834 --- /dev/null +++ b/sql/updates/world/2014_10_06_03_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_template` SET `AIName`='' WHERE `entry`=21611; -- cgit v1.2.3 From 289725c3999d078b05e52844c4e196c7d6d897db Mon Sep 17 00:00:00 2001 From: Dr-J Date: Mon, 6 Oct 2014 13:25:43 +0100 Subject: DB/Misc: Valgarde Scripts Move Anchorite Yazmina's waypoints from waypoint_data to waypoints and script her so she tends to the injured defenders and says texts as should. Repeating event for Guard Captain Zorek --- sql/updates/world/2014_10_06_04_world.sql | 66 +++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 sql/updates/world/2014_10_06_04_world.sql (limited to 'sql') diff --git a/sql/updates/world/2014_10_06_04_world.sql b/sql/updates/world/2014_10_06_04_world.sql new file mode 100644 index 00000000000..41e18bcbb9e --- /dev/null +++ b/sql/updates/world/2014_10_06_04_world.sql @@ -0,0 +1,66 @@ +DELETE FROM `waypoint_data` WHERE `id`=1131170; +UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=113117; +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=113117; + +DELETE FROM `waypoints` WHERE `entry`=23734; + +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(23734, 1, 629.388, -5021.37, 3.04091, 'Anchorite Yazmina '), +(23734, 2, 630.836, -5011.95, 3.8314, 'Anchorite Yazmina '), +(23734, 3, 630.836, -5011.95, 3.8314, 'Anchorite Yazmina '), +(23734, 4, 624.458, -5003.92, 3.59241, 'Anchorite Yazmina '), +(23734, 5, 614.28, -5005.49, 3.06355, 'Anchorite Yazmina '), +(23734, 6, 607.946, -5014.89, 3.10032, 'Anchorite Yazmina '), +(23734, 7, 612.983, -5025.49, 2.03711, 'Anchorite Yazmina '), +(23734, 8, 625.177, -5026.14, 2.32847, 'Anchorite Yazmina '); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN(23734,23728); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(23734,23728) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(2373400,2373401,2373402,2373403,237404,2372800) 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 +(23734, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 53, 0, 23734, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - On Spawn - Start WP'), +(23734, 0, 1, 0, 40, 0, 5, 0, 0, 0, 0, 0, 87, 2373400,2373401,2373402,2373403,0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - On Reached WP - Run Random Script'), +(23728, 0, 0, 0, 10, 0, 100, 0, 1, 50, 120000, 300000, 80, 2372800, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Guard Captain Zorek - OOC LOS - Run Script'), +(2372800, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Guard Captain Zorek - Script - Say Line 0'), +(2372800, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Guard Captain Zorek - Script - Say Line 1'), +(2372800, 9, 2, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Guard Captain Zorek - Script - Say Line 2'), +(2372800, 9, 3, 0, 0, 0, 100, 0, 11000, 11000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Guard Captain Zorek - Script - Say Line 3'), +(2373400, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 1 - Pause WP'), +(2373401, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 15000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Pause WP'), +(2373401, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 23783, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Face Injured Defender'), +(2373401, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Say Line 1'), +(2373401, 9, 3, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Set Bytes 1'), +(2373401, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Set Emote State 69'), +(2373401, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Set Emote State 0'), +(2373401, 9, 6, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Say Line 2'), +(2373401, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 2 - Remove Bytes 1'), +(2373402, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 15000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Pause WP'), +(2373402, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 23783, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Face Injured Defender'), +(2373402, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Say Line 3'), +(2373402, 9, 3, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Set Bytes 1'), +(2373402, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Set Emote State 69'), +(2373402, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Set Emote State 0'), +(2373402, 9, 6, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Say Line 0'), +(2373402, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 3 - Remove Bytes 1'), +(2373403, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 15000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Pause WP'), +(2373403, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 23783, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Face Injured Defender'), +(2373403, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Say Line 4'), +(2373403, 9, 3, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Set Bytes 1'), +(2373403, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Set Emote State 69'), +(2373403, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Set Emote State 0'), +(2373403, 9, 6, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Say Line 5'), +(2373403, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Yazmina - Script 4 - Remove Bytes 1'); + +DELETE FROM `creature_text` WHERE `entry` IN(23734,23728); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`,`BroadcastTextID`) VALUES +(23734, 0, 0, 'That should slow the infection down a little.', 12, 7, 100, 1, 0, 0, 'Anchorite Yazmina',22251), +(23734, 1, 0, 'I can only hope the treatment will work.', 12, 7, 100, 1, 0, 0, 'Anchorite Yazmina',22828), +(23734, 2, 0, 'I just don''t have the medical supplies I need to properly treat all of you.', 12, 7, 100, 1, 0, 5495, 'Anchorite Yazmina',22829), +(23734, 3, 0, 'Oh my, let me change those bandages!', 12, 7, 100, 5, 0, 0, 'Anchorite Yazmina',22250), +(23734, 4, 0, 'Don''t worry, soldier. Yazmina is going to take care of you.', 12, 7, 100, 1, 0, 0, 'Anchorite Yazmina',22830), +(23734, 5, 0, '%s shakes her head.', 16, 7, 100, 274, 0, 0, 'Anchorite Yazmina',22831), +(23728, 0, 0, '%s clears his throat.', 16, 7, 100, 0, 0, 0, 'Guard Captain Zorek',22737), +(23728, 1, 0, 'I look across this base and all I see is fear... Are you gonna be scared when the Lich King''s armies are sittin'' pretty in Stormwind? Ironforge? NO! You''re not. And do you know why? Because you''ll be dead, that''s why.', 12, 7, 100, 1, 0, 0, 'Guard Captain Zorek',22738), +(23728, 2, 0, 'So when you''re feeling that tinglin'' sensation at the base of your spine and you''re ''bout ready to wet your pants, embrace it. Let it enrage you. That fear is the only thing that''s gonna keep you breathin''.', 12, 7, 100, 25, 0, 0, 'Guard Captain Zorek',22739), +(23728, 3, 0, 'Am I clear? Do you understand what I''m sayin''? I don''t wanna have to send any more coffins or letters home.', 12, 7, 100, 6, 0, 0, 'Guard Captain Zorek',22740); -- cgit v1.2.3 From 2b6825aefca72722735f6aec73f0c78693b4855c Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 6 Oct 2014 16:22:07 +0200 Subject: DB/Creature: Fix 1 startup error --- sql/updates/world/2014_10_06_05_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/2014_10_06_05_world.sql (limited to 'sql') diff --git a/sql/updates/world/2014_10_06_05_world.sql b/sql/updates/world/2014_10_06_05_world.sql new file mode 100644 index 00000000000..8f9a4e67b33 --- /dev/null +++ b/sql/updates/world/2014_10_06_05_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `entryorguid`='21661' WHERE `entryorguid`=21611; -- cgit v1.2.3