diff options
| author | DDuarte <dnpd.dd@gmail.com> | 2014-10-19 00:18:06 +0100 |
|---|---|---|
| committer | DDuarte <dnpd.dd@gmail.com> | 2014-10-19 00:18:06 +0100 |
| commit | 5bf55eacfdf7cfd0036bf51e78a2f04f9b55feb0 (patch) | |
| tree | 9653ff7011d0b370c1360e09590c09ebec4f7e9a /sql/updates | |
| parent | e07d3ebe4e6d2d797cb77ba65fb52efbef3462d9 (diff) | |
| parent | 15a9c6729ee274044b2ba78f8b9ad3c167c94bd1 (diff) | |
Merge remote-tracking branch 'origin/3.3.5' into 4.3.4
Conflicts:
sql/base/auth_database.sql
src/server/game/Instances/InstanceScript.h
src/server/scripts/Northrend/isle_of_conquest.cpp
src/server/shared/Database/Implementation/LoginDatabase.cpp
src/server/shared/Database/Implementation/LoginDatabase.h
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/auth/2014_10_18_00_auth.sql | 9 | ||||
| -rw-r--r-- | sql/updates/auth/2014_10_18_01_auth.sql | 23 | ||||
| -rw-r--r-- | sql/updates/characters/2014_10_18_00_characters.sql | 12 | ||||
| -rw-r--r-- | sql/updates/world/2014_10_18_00_world.sql | 105 | ||||
| -rw-r--r-- | sql/updates/world/2014_10_18_01_world.sql | 3 | ||||
| -rw-r--r-- | sql/updates/world/2014_10_18_02_world.sql | 9 | ||||
| -rw-r--r-- | sql/updates/world/2014_10_18_03_world.sql | 83 | ||||
| -rw-r--r-- | sql/updates/world/2014_10_18_04_world.sql | 6 |
8 files changed, 250 insertions, 0 deletions
diff --git a/sql/updates/auth/2014_10_18_00_auth.sql b/sql/updates/auth/2014_10_18_00_auth.sql new file mode 100644 index 00000000000..fbae94a4195 --- /dev/null +++ b/sql/updates/auth/2014_10_18_00_auth.sql @@ -0,0 +1,9 @@ +DELETE FROM `rbac_permissions` WHERE `id` IN (795, 796); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(795, 'Command: .instance setbossstate'), +(796, 'Command: .instance getbossstate'); + +DELETE FROM `rbac_linked_permissions` WHERE `linkedId` IN (795, 796); +INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES +(192, 795), +(192, 796); diff --git a/sql/updates/auth/2014_10_18_01_auth.sql b/sql/updates/auth/2014_10_18_01_auth.sql new file mode 100644 index 00000000000..60808b8a9c9 --- /dev/null +++ b/sql/updates/auth/2014_10_18_01_auth.sql @@ -0,0 +1,23 @@ +/* drop then create account_muted table */ +DROP TABLE IF EXISTS `account_muted`; + +CREATE TABLE `account_muted` ( + `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `mutedate` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `mutetime` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `mutedby` VARCHAR(50) NOT NULL, + `mutereason` VARCHAR(255) NOT NULL, + PRIMARY KEY (`guid`, `mutedate`) +) +COMMENT='mute List' ENGINE=InnoDB; + +/* add rbac permissions to new commands */ +DELETE FROM `rbac_permissions` WHERE `id`=632; +INSERT INTO `rbac_permissions` (`id`,`name`) VALUES +(632, 'Command: .mutehistory'); + +/* adds qc to players */ +DELETE FROM `rbac_linked_permissions` WHERE `id`=632; +INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES +/* add mutehistory to gms */ +(194, 632); diff --git a/sql/updates/characters/2014_10_18_00_characters.sql b/sql/updates/characters/2014_10_18_00_characters.sql new file mode 100644 index 00000000000..36b2d042374 --- /dev/null +++ b/sql/updates/characters/2014_10_18_00_characters.sql @@ -0,0 +1,12 @@ +DROP TABLE IF EXISTS `quest_tracker`; +CREATE TABLE `quest_tracker` ( + `id` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', + `character_guid` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `quest_accept_time` DATETIME NOT NULL, + `quest_complete_time` DATETIME DEFAULT NULL, + `quest_abandon_time` DATETIME DEFAULT NULL, + `completed_by_gm` BOOL NOT NULL DEFAULT '0', + `core_hash` VARCHAR(120) NOT NULL DEFAULT '0', + `core_revision` VARCHAR(120) NOT NULL DEFAULT '0' +) +ENGINE=InnoDB; diff --git a/sql/updates/world/2014_10_18_00_world.sql b/sql/updates/world/2014_10_18_00_world.sql new file mode 100644 index 00000000000..92bd0741dab --- /dev/null +++ b/sql/updates/world/2014_10_18_00_world.sql @@ -0,0 +1,105 @@ +SET @CGUID := 74976; +SET @OGUID := 7087; + +DELETE FROM `creature` WHERE (`guid` BETWEEN @CGUID+0 AND @CGUID+23) OR (`id` IN (34929, 34935)) OR (`map` IN (641, 642)); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +-- Goblin Engineering Crew +(@CGUID+0, 36162, 642, 3, 1, 0, -22.16258, 11.19428, 35.09622, 3.961897, 7200, 0, 0), +(@CGUID+1, 36162, 642, 3, 1, 0, -18.38382, -11.11724, 34.91919, 3.089233, 7200, 0, 0), + +-- Kor'kron Reaver +(@CGUID+2, 36164, 642, 3, 1, 0, 28.44413, 18.95949, 35.95979, 2.234021, 7200, 0, 0), +(@CGUID+3, 36164, 642, 3, 1, 0, 37.40386, -8.937434, 30.1788, 6.265732, 7200, 0, 0), +(@CGUID+4, 36164, 642, 3, 1, 0, 6.56619, 7.988725, 34.4726, 3.07178, 7200, 0, 0), +(@CGUID+5, 36164, 642, 3, 1, 0, 37.47043, 8.731059, 30.17881, 6.003932, 7200, 0, 0), +(@CGUID+6, 36164, 642, 3, 1, 0, 28.40881, -19.30474, 35.98264, 4.153883, 7200, 0, 0), +(@CGUID+7, 36164, 642, 3, 1, 0, 17.52033, -14.02618, 35.07203, 3.07178, 7200, 0, 0), +(@CGUID+8, 36164, 642, 3, 1, 0, 6.645779, -8.052721, 34.47524, 3.07178, 7200, 0, 0), +(@CGUID+9, 36164, 642, 3, 1, 0, 16.94911, 14.93277, 35.08105, 3.071779, 7200, 0, 0), +(@CGUID+10, 36164, 642, 3, 1, 0, -31.12894, -19.48676, 34.24918, 4.153883, 7200, 0, 0), +(@CGUID+11, 36164, 642, 3, 1, 0, -30.18002, 17.94827, 34.34239, 2.234021, 7200, 0, 0), + +-- 7th Legion Marine +(@CGUID+12, 36166, 641, 3, 1, 0, -53.55445, 2.977596, 23.44318, 0.3316126, 7200, 0, 0), +(@CGUID+13, 36166, 641, 3, 1, 0, 17.0807, -7.109451, 20.5052, 3.124139, 7200, 0, 0), +(@CGUID+14, 36166, 641, 3, 1, 0, 49.93306, -7.458596, 40.16777, 3.979351, 7200, 0, 0), +(@CGUID+15, 36166, 641, 3, 1, 0, 50.20697, 8.003532, 40.16655, 2.530727, 7200, 0, 0), +(@CGUID+16, 36166, 641, 3, 1, 0, 39.78789, -38.58735, 25.11459, 3.979351, 7200, 0, 0), +(@CGUID+17, 36166, 641, 3, 1, 0, -17.57936, 4.24393, 20.84544, 3.12414, 7200, 0, 0), +(@CGUID+18, 36166, 641, 3, 1, 0, 16.84876, 6.618541, 20.51171, 3.12414, 7200, 0, 0), +(@CGUID+19, 36166, 641, 3, 1, 0, -61.94096, 0.089971, 23.56898, 3.124139, 7200, 0, 0), +(@CGUID+20, 36166, 641, 3, 1, 0, -17.59357, -4.383727, 20.84574, 3.12414, 7200, 0, 0), +(@CGUID+21, 36166, 641, 3, 1, 0, -53.6908, -3.682069, 23.44308, 6.056293, 7200, 0, 0), + +-- 7th Legion Deckhand +(@CGUID+22, 36165, 641, 3, 1, 0, -35.88269, 3.162697, 20.53507, 1.658063, 7200, 0, 0), +(@CGUID+23, 36165, 641, 3, 1, 0, -36.38501, -7.325379, 20.44885, 1.653776, 7200, 0, 0), + +-- Horde Gunship Cannon +(@CGUID+24, 34935, 642, 3, 1, 0, -21.40090, -31.34303, 34.25633, 4.677482, 7200, 0, 0), +(@CGUID+25, 34935, 642, 3, 1, 0, -12.10641, -31.96964, 34.46390, 4.625123, 7200, 0, 0), +(@CGUID+26, 34935, 642, 3, 1, 0, -2.487608, -31.98854, 34.92170, 4.834562, 7200, 0, 0), +(@CGUID+27, 34935, 642, 3, 1, 0, 19.463670, -30.79399, 36.30841, 4.852015, 7200, 0, 0), +(@CGUID+28, 34935, 642, 3, 1, 0, 10.266400, -32.07130, 35.81895, 4.852015, 7200, 0, 0), + +-- Alliance Gunship Cannon +(@CGUID+29, 34929, 641, 3, 1, 0, -12.47339, 25.72650, 21.67813, 1.742887, 7200, 0, 0), +(@CGUID+30, 34929, 641, 3, 1, 0, -41.71228, 22.90814, 22.60103, 1.902409, 7200, 0, 0), +(@CGUID+31, 34929, 641, 3, 1, 0, -2.811304, 25.78116, 21.69148, 1.658063, 7200, 0, 0), +(@CGUID+32, 34929, 641, 3, 1, 0, -21.44925, 25.39890, 21.66956, 1.658063, 7200, 0, 0), +(@CGUID+33, 34929, 641, 3, 1, 0, -31.03540, 24.86197, 21.70274, 1.658063, 7200, 0, 0); + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+3; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 195705, 641, 3, 1, 16.48109, -0.00539, 20.41618, 3.036838, 0, 0, 0, 1, 7200, 255, 0), +(@OGUID+1, 195371, 641, 3, 1, 16.47634, 0.018369, 20.41617, 3.036838, 0, 0, 0, 1, 7200, 255, 1), +(@OGUID+2, 195706, 642, 3, 1, 12.28939, 0.081029, 34.6497, 3.159062, 0, 0, 0, 1, 7200, 255, 0), +(@OGUID+3, 196413, 642, 3, 1, 12.31993, 0.096332, 34.65082, 3.159062, 0, 0, 0, 1, 7200, 255, 1); + +-- Template Updates +-- Teleporter +UPDATE `gameobject_template` SET `flags`=48 WHERE `entry` IN (195313, 195314); + +-- Horde Gunship Cannon +UPDATE `creature_template` SET `difficulty_entry_1`=35427 WHERE `entry`=34935; +UPDATE `creature_template` SET `spell1`=66529, `unit_flags`=33570816 WHERE `entry`=35427; + +-- Alliance Gunship Cannon +UPDATE `creature_template` SET `spell1`=66518, `unit_flags`=33570816 WHERE `entry`=35410; + +-- Goblin Engineering Crew +UPDATE `creature_template` SET `minlevel`=80, `maxlevel`=80, `faction`=1978 WHERE `entry`=36162; + +-- 7th Legion Deckhand +UPDATE `creature_template` SET `minlevel`=80, `maxlevel`=80, `faction`=1973 WHERE `entry`=36165; + +-- Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (36162, 36165); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(36162, 0, 0, 0x0, 0x101, 0, ''), +(36165, 0, 0, 0x0, 0x101, 0, ''); + +-- Spell Target Positions +DELETE FROM `spell_target_position` WHERE `id`=66899; +INSERT INTO `spell_target_position` VALUES +(66899,0, 628, 747, -1075, 135, 0, 18414); + +-- Spell linked spell +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=66899; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(66899, -66656, 0, 'On cast 66899 (Gunship Portal Click (to Hangar)) - Remove 66656 (Parachute)'); + +-- conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND (`SourceEntry`=66637 OR `SourceEntry`=66630) AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=31 AND `ConditionTarget`=0 AND `ConditionValue1`=3 AND `ConditionValue2`=34984 AND `ConditionValue3`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES +(13, 1, 66630, 31, 3, 34984), +(13, 1, 66637, 31, 3, 34984); + +-- Texts +DELETE FROM `creature_text` WHERE `entry` IN (35003, 34960); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(35003, 0, 0, 'All aboard the gunship! Man the guns!', 14, 0, 100, 0, 0, 0, 35241, 'Horde Gunship Captain'), +(34960, 0, 0, 'All aboard the gunship! Man the guns!', 14, 0, 100, 0, 0, 0, 35228, 'Alliance Gunship Captain'); + +-- Scripts +UPDATE `creature_template` SET `ScriptName`='npc_ioc_gunship_captain' WHERE `entry` IN (35003, 34960); diff --git a/sql/updates/world/2014_10_18_01_world.sql b/sql/updates/world/2014_10_18_01_world.sql new file mode 100644 index 00000000000..779e59446b4 --- /dev/null +++ b/sql/updates/world/2014_10_18_01_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_script_names` WHERE `spell_id`=23138; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(23138, 'spell_shazzrah_gate_dummy'); diff --git a/sql/updates/world/2014_10_18_02_world.sql b/sql/updates/world/2014_10_18_02_world.sql new file mode 100644 index 00000000000..564e3dc125b --- /dev/null +++ b/sql/updates/world/2014_10_18_02_world.sql @@ -0,0 +1,9 @@ +DELETE FROM `trinity_string` WHERE `entry` IN (5057, 5058); +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(5057, 'Boss id %i state is now set to %i.'), +(5058, 'Boss id %i state is %i.'); + +DELETE FROM `command` WHERE `permission` IN (795, 796); +INSERT INTO `command` (`name`, `permission`, `help`) VALUES +('instance setbossstate', '795', 'Syntax: .instance setbossstate $bossId $encounterState [$Name]\r\nSets the EncounterState for the given boss id to a new value. EncounterStates range from 0 to 5.\r\nIf no character name is provided, the current map will be used as target.'), +('instance getbossstate', '796', 'Syntax: .instance getbossstate $bossId [$Name]\r\nGets the current EncounterState for the provided boss id.\r\nIf no character name is provided, the current map will be used as target.'); diff --git a/sql/updates/world/2014_10_18_03_world.sql b/sql/updates/world/2014_10_18_03_world.sql new file mode 100644 index 00000000000..708dd3295c9 --- /dev/null +++ b/sql/updates/world/2014_10_18_03_world.sql @@ -0,0 +1,83 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gen_mixology_bonus'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(53755,'spell_gen_mixology_bonus'), +(53758,'spell_gen_mixology_bonus'), +(53760,'spell_gen_mixology_bonus'), +(54212,'spell_gen_mixology_bonus'), +(62380,'spell_gen_mixology_bonus'), +(53752,'spell_gen_mixology_bonus'), +(28521,'spell_gen_mixology_bonus'), +(42735,'spell_gen_mixology_bonus'), +(28518,'spell_gen_mixology_bonus'), +(28519,'spell_gen_mixology_bonus'), +(28540,'spell_gen_mixology_bonus'), +(28520,'spell_gen_mixology_bonus'), +(17629,'spell_gen_mixology_bonus'), +(17627,'spell_gen_mixology_bonus'), +(17628,'spell_gen_mixology_bonus'), +(17626,'spell_gen_mixology_bonus'), +(28497,'spell_gen_mixology_bonus'), +(60340,'spell_gen_mixology_bonus'), +(60341,'spell_gen_mixology_bonus'), +(60343,'spell_gen_mixology_bonus'), +(60344,'spell_gen_mixology_bonus'), +(60345,'spell_gen_mixology_bonus'), +(60346,'spell_gen_mixology_bonus'), +(53751,'spell_gen_mixology_bonus'), +(53764,'spell_gen_mixology_bonus'), +(53748,'spell_gen_mixology_bonus'), +(60347,'spell_gen_mixology_bonus'), +(53763,'spell_gen_mixology_bonus'), +(53747,'spell_gen_mixology_bonus'), +(53749,'spell_gen_mixology_bonus'), +(33721,'spell_gen_mixology_bonus'), +(53746,'spell_gen_mixology_bonus'), +(28514,'spell_gen_mixology_bonus'), +(28509,'spell_gen_mixology_bonus'), +(28503,'spell_gen_mixology_bonus'), +(28502,'spell_gen_mixology_bonus'), +(38954,'spell_gen_mixology_bonus'), +(39628,'spell_gen_mixology_bonus'), +(54494,'spell_gen_mixology_bonus'), +(39627,'spell_gen_mixology_bonus'), +(28501,'spell_gen_mixology_bonus'), +(28493,'spell_gen_mixology_bonus'), +(39626,'spell_gen_mixology_bonus'), +(33726,'spell_gen_mixology_bonus'), +(28491,'spell_gen_mixology_bonus'), +(39625,'spell_gen_mixology_bonus'), +(28490,'spell_gen_mixology_bonus'), +(54452,'spell_gen_mixology_bonus'), +(33720,'spell_gen_mixology_bonus'), +(24361,'spell_gen_mixology_bonus'), +(17539,'spell_gen_mixology_bonus'), +(17538,'spell_gen_mixology_bonus'), +(17537,'spell_gen_mixology_bonus'), +(17535,'spell_gen_mixology_bonus'), +(11348,'spell_gen_mixology_bonus'), +(11406,'spell_gen_mixology_bonus'), +(26276,'spell_gen_mixology_bonus'), +(11474,'spell_gen_mixology_bonus'), +(24363,'spell_gen_mixology_bonus'), +(11405,'spell_gen_mixology_bonus'), +(11334,'spell_gen_mixology_bonus'), +(11390,'spell_gen_mixology_bonus'), +(11396,'spell_gen_mixology_bonus'), +(11349,'spell_gen_mixology_bonus'), +(21920,'spell_gen_mixology_bonus'), +(11328,'spell_gen_mixology_bonus'), +(3223,'spell_gen_mixology_bonus'), +(3593,'spell_gen_mixology_bonus'), +(3164,'spell_gen_mixology_bonus'), +(7844,'spell_gen_mixology_bonus'), +(3160,'spell_gen_mixology_bonus'), +(3220,'spell_gen_mixology_bonus'), +(3222,'spell_gen_mixology_bonus'), +(63729,'spell_gen_mixology_bonus'), +(3166,'spell_gen_mixology_bonus'), +(8212,'spell_gen_mixology_bonus'), +(2374,'spell_gen_mixology_bonus'), +(2378,'spell_gen_mixology_bonus'), +(3219,'spell_gen_mixology_bonus'), +(2367,'spell_gen_mixology_bonus'), +(673,'spell_gen_mixology_bonus'); diff --git a/sql/updates/world/2014_10_18_04_world.sql b/sql/updates/world/2014_10_18_04_world.sql new file mode 100644 index 00000000000..c4d1fe9f039 --- /dev/null +++ b/sql/updates/world/2014_10_18_04_world.sql @@ -0,0 +1,6 @@ +/* new trinity_strings */ +DELETE FROM `trinity_string` WHERE `entry` IN (5059,5060,5061); +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(5059, 'Mutes for account: %s'), +(5060, 'No mutes for account: %s'), +(5061, 'Mute Date: %20s Mutetime: %10u mins. Reason: %s Set by: %s'); |
