From 101a5f0bec0d06d8bd93119e1846c2cc38a1f74b Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 12 May 2016 09:27:42 +0200 Subject: [PATCH] DB\misc: 3.3.5a fixes --- ...world_from_335_was_2016_05_09_01_world.sql | 21 ++++++++++ ...orld_from_335_was_2016_05_09_02_world.sql} | 0 ...orld_from_335_was_2016_05_09_03_world.sql} | 0 ...world_from_335_was_2016_05_09_04_world.sql | 41 +++++++++++++++++++ ...world_from_335_was_2016_05_11_00_world.sql | 33 +++++++++++++++ ...world_from_335_was_2016_05_11_01_world.sql | 18 ++++++++ 6 files changed, 113 insertions(+) create mode 100644 sql/updates/world/2016_05_12_00_world_from_335_was_2016_05_09_01_world.sql rename sql/updates/world/{3.3.5/2015_99_99_99_world.sql => 2016_05_12_01_world_from_335_was_2016_05_09_02_world.sql} (100%) rename sql/updates/world/{3.3.5/2016_99_99_99_world.sql => 2016_05_12_02_world_from_335_was_2016_05_09_03_world.sql} (100%) create mode 100644 sql/updates/world/2016_05_12_03_world_from_335_was_2016_05_09_04_world.sql create mode 100644 sql/updates/world/2016_05_12_04_world_from_335_was_2016_05_11_00_world.sql create mode 100644 sql/updates/world/2016_05_12_05_world_from_335_was_2016_05_11_01_world.sql diff --git a/sql/updates/world/2016_05_12_00_world_from_335_was_2016_05_09_01_world.sql b/sql/updates/world/2016_05_12_00_world_from_335_was_2016_05_09_01_world.sql new file mode 100644 index 0000000000..b75eb63dd2 --- /dev/null +++ b/sql/updates/world/2016_05_12_00_world_from_335_was_2016_05_09_01_world.sql @@ -0,0 +1,21 @@ +DELETE FROM creature_text WHERE `entry` in(28116,28115); +INSERT INTO creature_text (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES +(28115, 0, 0, 'You feel a massive jolt of energy as your body binds with that of Soo-holu.', 42, 0, 100, 0, 0, 0, 29003, 'Soo-holu to Player'), +(28116, 0, 0, 'You feel rage rise within you as your body binds with Kartak.', 42, 0, 100, 0, 0, 0, 29005, 'Kartak the Abominable to Player'); + +UPDATE `creature_template` SET `spell1`=52316, `spell2`=52271, `spell3`=52311, `spell4`=52272, `spell5`=52274, `VehicleId`=257 WHERE `entry`=28116; +UPDATE `creature_template` SET `spell1`=52331, `spell2`=52358, `spell3`=53032, `spell4`=52321, `spell5`=0, `VehicleId`=257 WHERE `entry`=28115; + +UPDATE `creature_template` SET `ainame`='SmartAI', `scriptname`='' WHERE `entry` IN(28115,28116); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(28115,28116) AND `source_type`=0; + +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 +(28115, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Soo-holu - On Just Summoned - Set Passive'), +(28115, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Soo-holu - On Just Summoned - Say'), +(28116, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Kartak the Abominable - On Just Summoned - Set Passive'), +(28116, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Kartak the Abominable - On Just Summoned - Say'); + +UPDATE `gameobject` SET `position_x`=5110.322754, `position_y`=5466.666504, `position_z`=-91.836319 WHERE `guid`=99745; +UPDATE `creature_text` SET `BroadcastTextId`=29247 WHERE `entry`=29043 AND `groupid`=4 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=29248 WHERE `entry`=29043 AND `groupid`=5 AND `id`=0; +UPDATE `creature_text` SET `BroadcastTextId`=29249 WHERE `entry`=29043 AND `groupid`=6 AND `id`=0; diff --git a/sql/updates/world/3.3.5/2015_99_99_99_world.sql b/sql/updates/world/2016_05_12_01_world_from_335_was_2016_05_09_02_world.sql similarity index 100% rename from sql/updates/world/3.3.5/2015_99_99_99_world.sql rename to sql/updates/world/2016_05_12_01_world_from_335_was_2016_05_09_02_world.sql diff --git a/sql/updates/world/3.3.5/2016_99_99_99_world.sql b/sql/updates/world/2016_05_12_02_world_from_335_was_2016_05_09_03_world.sql similarity index 100% rename from sql/updates/world/3.3.5/2016_99_99_99_world.sql rename to sql/updates/world/2016_05_12_02_world_from_335_was_2016_05_09_03_world.sql diff --git a/sql/updates/world/2016_05_12_03_world_from_335_was_2016_05_09_04_world.sql b/sql/updates/world/2016_05_12_03_world_from_335_was_2016_05_09_04_world.sql new file mode 100644 index 0000000000..111b000efe --- /dev/null +++ b/sql/updates/world/2016_05_12_03_world_from_335_was_2016_05_09_04_world.sql @@ -0,0 +1,41 @@ +UPDATE `creature_template` SET `unit_flags`=33554432, `flags_extra`=0 WHERE `entry`=25744; +DELETE FROM `creature_summon_groups` WHERE `summonerId`=25741; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_summon_blood_elves_script', +'spell_muru_darkness', +'spell_dark_fiend_skin', +'spell_transform_visual_missile_periodic', +'spell_summon_blood_elves_periodic'); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(46050,'spell_summon_blood_elves_script'), +(45996,'spell_muru_darkness'), +(45934,'spell_dark_fiend_skin'), +(46205,'spell_transform_visual_missile_periodic'), +(46041,'spell_summon_blood_elves_periodic'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (46208,46178); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,46208,0,0,31,0,3,25741,0,0,0,'','Spell \'Transform Visual Missile\' targets M\'uru'), +(13,1,46178,0,0,31,0,3,25741,0,0,0,'','Spell \'Transform Visual Missile\' targets M\'uru'); + +UPDATE `creature_model_info` SET `BoundingRadius`=1, `CombatReach`=2 WHERE `DisplayID`=23842; +UPDATE `creature_model_info` SET `BoundingRadius`=6, `CombatReach`=6 WHERE `DisplayID`=23428; +UPDATE `creature_model_info` SET `BoundingRadius`=1, `CombatReach`=1.5 WHERE `DisplayID`=22471; +UPDATE `creature_model_info` SET `BoundingRadius`=0.48, `CombatReach`=11.2 WHERE `DisplayID`=22838; +UPDATE `creature_model_info` SET `BoundingRadius`=0.8893, `CombatReach`=2.5 WHERE `DisplayID`=23177; +UPDATE `creature_model_info` SET `BoundingRadius`=6, `CombatReach`=15 WHERE `DisplayID`=23200; +UPDATE `creature_model_info` SET `BoundingRadius`=0.8893, `CombatReach`=2.5 WHERE `DisplayID`=23334; +UPDATE `creature_model_info` SET `BoundingRadius`=0.612, `CombatReach`=3 WHERE `DisplayID`=23350; +UPDATE `creature_model_info` SET `BoundingRadius`=0.75, `CombatReach`=3.75 WHERE `DisplayID`=23473; +UPDATE `creature_model_info` SET `BoundingRadius`=0.6, `CombatReach`=3 WHERE `DisplayID`=23474; +UPDATE `creature_model_info` SET `BoundingRadius`=0.6, `CombatReach`=3 WHERE `DisplayID`=23476; +UPDATE `creature_model_info` SET `BoundingRadius`=0.6, `CombatReach`=3 WHERE `DisplayID`=23477; +UPDATE `creature_model_info` SET `BoundingRadius`=0.6, `CombatReach`=3 WHERE `DisplayID`=23478; +UPDATE `creature_model_info` SET `BoundingRadius`=0.754676, `CombatReach`=3 WHERE `DisplayID`=23479; +UPDATE `creature_model_info` SET `BoundingRadius`=0.51705, `CombatReach`=2.025 WHERE `DisplayID`=23531; +UPDATE `creature_model_info` SET `BoundingRadius`=0.51705, `CombatReach`=2.025 WHERE `DisplayID`=23533; +UPDATE `creature_model_info` SET `BoundingRadius`=0.51705, `CombatReach`=2.025 WHERE `DisplayID`=23537; +UPDATE `creature_model_info` SET `BoundingRadius`=1, `CombatReach`=1.5 WHERE `DisplayID`=23717; +UPDATE `creature_model_info` SET `BoundingRadius`=3, `CombatReach`=4.5 WHERE `DisplayID`=26628; +UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=0.375 WHERE `DisplayID`=29280; diff --git a/sql/updates/world/2016_05_12_04_world_from_335_was_2016_05_11_00_world.sql b/sql/updates/world/2016_05_12_04_world_from_335_was_2016_05_11_00_world.sql new file mode 100644 index 0000000000..9be7c8d3a0 --- /dev/null +++ b/sql/updates/world/2016_05_12_04_world_from_335_was_2016_05_11_00_world.sql @@ -0,0 +1,33 @@ +-- +DELETE FROM `command` WHERE `name` IN ('server shutdown force','server restart force'); +INSERT INTO `command` (`name`,`permission`) VALUES ('server shutdown force', 839),('server restart force', 840); +UPDATE `command` SET `help`="Syntax: .server shutdown [force] #delay [#exit_code] [reason] + +Shut the server down after #delay seconds. Use #exit_code or 0 as program exit code. Specify 'force' to allow short-term shutdown despite other players being connected." WHERE `name` IN ('server shutdown','server shutdown force'); +UPDATE `command` SET `help`="Syntax: .server restart [force] #delay [#exit_code] [reason] + +Restart the server after #delay seconds. Use #exit_code or 2 as program exit code. Specify 'force' to allow short-term shutdown despite other players being connected." WHERE `name` IN ('server restart','server restart force'); + + +DELETE FROM `command` WHERE `permission` IN (571,575); +INSERT INTO `command` (`name`,`permission`,`help`) VALUES +("npc add", 571, "Syntax: .npc add #entry + Spawn a creature using template #entry and save it to the database. + If you want a temporary spawn that is not saved to the database, use .npc add temp instead."), +("npc add temp", 575, "Syntax: .npc add temp [loot/noloot] #entry +Adds temporary NPC, not saved to database. + Specify 'loot' to have the NPC's corpse stick around for some time after death, allowing it to be looted. + Specify 'noloot' to have the corpse disappear immediately."); + +DELETE FROM `command` WHERE `permission`=837; +INSERT INTO `command` (`name`,`permission`,`help`) VALUES ("npc evade",837,"Syntax: .npc evade [reason] [force] +Makes the targeted NPC enter evade mode.\nDefaults to specifying EVADE_REASON_OTHER, override this by providing the reason string (ex.: .npc evade EVADE_REASON_BOUNDARY).\nSpecify 'force' to clear any pre-existing evade state before evading - this may cause weirdness, use at your own risk."); + +DELETE FROM `command` WHERE `permission`=838; +INSERT INTO `command` (`name`,`permission`,`help`) VALUES ("pet level",838,"Syntax: .pet level #dLevel +Increases/decreases the pet's level by #dLevel. Pet's level cannot exceed the owner's level."); + +DELETE FROM `trinity_string` WHERE `entry` IN (11015,11016); +INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES +(11015,"This creature does not have an active CreatureAI assigned to it."), +(11016,"Select a player or player pet."); diff --git a/sql/updates/world/2016_05_12_05_world_from_335_was_2016_05_11_01_world.sql b/sql/updates/world/2016_05_12_05_world_from_335_was_2016_05_11_01_world.sql new file mode 100644 index 0000000000..b78e973576 --- /dev/null +++ b/sql/updates/world/2016_05_12_05_world_from_335_was_2016_05_11_01_world.sql @@ -0,0 +1,18 @@ +/* +ALTER TABLE `spell_proc` + CHANGE `spellId` `SpellId` int(11) NOT NULL DEFAULT 0 FIRST, + CHANGE `schoolMask` `SchoolMask` tinyint(3) unsigned NOT NULL DEFAULT 0 AFTER `SpellId`, + CHANGE `spellFamilyName` `SpellFamilyName` smallint(5) unsigned NOT NULL DEFAULT 0 AFTER `SchoolMask`, + CHANGE `spellFamilyMask0` `SpellFamilyMask0` int(10) unsigned NOT NULL DEFAULT 0 AFTER `SpellFamilyName`, + CHANGE `spellFamilyMask1` `SpellFamilyMask1` int(10) unsigned NOT NULL DEFAULT 0 AFTER `SpellFamilyMask0`, + CHANGE `spellFamilyMask2` `SpellFamilyMask2` int(10) unsigned NOT NULL DEFAULT 0 AFTER `SpellFamilyMask1`, + CHANGE `typeMask` `ProcFlags` int(10) unsigned NOT NULL DEFAULT 0 AFTER `SpellFamilyMask2`, + CHANGE `spellTypeMask` `SpellTypeMask` int(10) unsigned NOT NULL DEFAULT 0 AFTER `ProcFlags`, + CHANGE `spellPhaseMask` `SpellPhaseMask` int(10) unsigned NOT NULL DEFAULT 0 AFTER `SpellTypeMask`, + CHANGE `hitMask` `HitMask` int(10) unsigned NOT NULL DEFAULT 0 AFTER `SpellPhaseMask`, + CHANGE `attributesMask` `AttributesMask` int(10) unsigned NOT NULL DEFAULT 0 AFTER `HitMask`, + CHANGE `ratePerMinute` `ProcsPerMinute` float NOT NULL DEFAULT 0 AFTER `AttributesMask`, + CHANGE `chance` `Chance` float NOT NULL DEFAULT 0 AFTER `ProcsPerMinute`, + CHANGE `cooldown` `Cooldown` int(10) unsigned NOT NULL DEFAULT 0 AFTER `Chance`, + CHANGE `charges` `Charges` tinyint(3) unsigned NOT NULL DEFAULT 0 AFTER `Cooldown`; +*/