mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
refactor(DB): Move old archive files to old dir (#18164)
* refactor(DB): Move old archive files to old dir * fix auth and char
This commit is contained in:
3
data/sql/old/db_world/1.x/2016_07_09_00.sql
Normal file
3
data/sql/old/db_world/1.x/2016_07_09_00.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
CREATE TABLE `world_db_version` (
|
||||
`2016_07_09_00` BIT(1) DEFAULT NULL
|
||||
) ENGINE=MYISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
|
||||
1
data/sql/old/db_world/1.x/2016_07_09_01.sql
Normal file
1
data/sql/old/db_world/1.x/2016_07_09_01.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_09_00 2016_07_09_01 bit;
|
||||
4
data/sql/old/db_world/1.x/2016_07_10_00_.sql
Normal file
4
data/sql/old/db_world/1.x/2016_07_10_00_.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_09_01 2016_07_10_00 bit;
|
||||
|
||||
DELETE FROM `item_template` WHERE `entry` = 34833;
|
||||
INSERT INTO `item_template` (`entry`, `class`, `subclass`, `SoundOverrideSubclass`, `name`, `displayid`, `Quality`, `Flags`, `FlagsExtra`, `BuyCount`, `BuyPrice`, `SellPrice`, `InventoryType`, `AllowableClass`, `AllowableRace`, `ItemLevel`, `RequiredLevel`, `RequiredSkill`, `RequiredSkillRank`, `requiredspell`, `requiredhonorrank`, `RequiredCityRank`, `RequiredReputationFaction`, `RequiredReputationRank`, `maxcount`, `stackable`, `ContainerSlots`, `StatsCount`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `ScalingStatDistribution`, `ScalingStatValue`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `delay`, `ammo_type`, `RangedModRange`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmRate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmRate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmRate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmRate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmRate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `description`, `PageText`, `LanguageID`, `PageMaterial`, `startquest`, `lockid`, `Material`, `sheath`, `RandomProperty`, `RandomSuffix`, `block`, `itemset`, `MaxDurability`, `area`, `Map`, `BagFamily`, `TotemCategory`, `socketColor_1`, `socketContent_1`, `socketColor_2`, `socketContent_2`, `socketColor_3`, `socketContent_3`, `socketBonus`, `GemProperties`, `RequiredDisenchantSkill`, `ArmorDamageModifier`, `duration`, `ItemLimitCategory`, `HolidayId`, `ScriptName`, `DisenchantID`, `FoodType`, `minMoneyLoot`, `maxMoneyLoot`, `flagsCustom`, `VerifiedBuild`) VALUES (34833, 12, 0, 0, 'Unlit Torches', 7290, 1, 2, 0, 1, 0, 0, 0, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45671, 0, 0, 0, 5000, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 4, '', 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 12340);
|
||||
90
data/sql/old/db_world/1.x/2016_07_10_01.sql
Normal file
90
data/sql/old/db_world/1.x/2016_07_10_01.sql
Normal file
@@ -0,0 +1,90 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_10_00 2016_07_10_01 bit;
|
||||
|
||||
/* Spawn missing Midsummer bonfire */
|
||||
SET @STARTGUID := 268968;
|
||||
DELETE FROM `gameobject` WHERE guid = @STARTGUID+0;
|
||||
DELETE FROM `gameobject` WHERE guid = @STARTGUID+1;
|
||||
/* Ironforge */
|
||||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES (@STARTGUID+0, 181371, 0, 1, 1, -4699.790039, -1222.770020, 501.658997, -1.378810, 0, 0, 0, 0, 300, 0, 1, 0);
|
||||
/* Shattrath */
|
||||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES (@STARTGUID+1, 181371, 530, 1, 1, -1747.849976, 5326.290039, -12.428100, -3.019420, 0, 0, 0, 0, 300, 0, 1, 0);
|
||||
|
||||
/* Add missing Midsummer creature */
|
||||
SET @STARTGUID := 248565;
|
||||
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN @STARTGUID+00 AND @STARTGUID+29;
|
||||
DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @STARTGUID+00 AND @STARTGUID+29;
|
||||
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
|
||||
(@STARTGUID+0, 32801, 571, 1, 1, 4131.279, 5394.604, 26.09047, 3.595378, 120, 0, 0), -- 32801
|
||||
(@STARTGUID+1, 32809, 571, 1, 1, 4454.667, 5623.537, 56.91562, 4.13643, 120, 0, 0), -- 32809
|
||||
(@STARTGUID+2, 32810, 571, 1, 1, 5499.812, 4878.976, -197.8652, 3.176499, 120, 0, 0), -- 32810
|
||||
(@STARTGUID+3, 32802, 571, 1, 1, 5360.002, 4834.393, -196.3981, 5.550147, 120, 0, 0), -- 32802
|
||||
(@STARTGUID+4, 32811, 571, 1, 1, 3762.387, 1481.287, 92.8882, 3.438299, 120, 0, 0), -- 32811
|
||||
(@STARTGUID+5, 32803, 571, 1, 1, 3936.924, -595.4437, 241.1534, 5.951573, 120, 0, 0), -- 32803
|
||||
(@STARTGUID+6, 32812, 571, 1, 1, 2586.682, -4337.068, 276.0698, 4.13643, 120, 0, 0), -- 32812
|
||||
(@STARTGUID+7, 32804, 571, 1, 1, 2466.965, -4892.675, 262.5474, 2.303835, 120, 0, 0), -- 32804
|
||||
(@STARTGUID+8, 32813, 571, 1, 1, 3376.009, -2124.778, 124.664, 0.1396263, 120, 0, 0), -- 32813
|
||||
(@STARTGUID+9, 32805, 571, 1, 1, 3400.944, -2890.375, 201.4968, 2.303835, 120, 0, 0), -- 32805
|
||||
(@STARTGUID+10, 32814, 571, 1, 1, 6150.945, -1023.05, 408.3642, 1.43117, 120, 0, 0), -- 32814
|
||||
(@STARTGUID+11, 32806, 571, 1, 1, 6087.442, -1105.523, 418.2672, 1.099557, 120, 0, 0), -- 32806
|
||||
(@STARTGUID+12, 32815, 571, 1, 1, 5536.516, -733.7185, 149.6217, 3.124139, 120, 0, 0), -- 32815
|
||||
(@STARTGUID+13, 32807, 571, 1, 1, 5141.776, -685.0027, 170.2738, 5.951573, 120, 0, 0), -- 32807
|
||||
(@STARTGUID+14, 32816, 571, 1, 1, 5280.307, -2766.146, 292.5019, 2.303835, 120, 0, 0), -- 32816
|
||||
(@STARTGUID+15, 32808, 571, 1, 1, 5627.932, -2616.493, 292.5019, 1.518436, 120, 0, 0), -- 32808
|
||||
(@STARTGUID+16, 25892, 0, 1, 1, -8258.798, -2618.704, 133.3752, 1.343904, 120, 0, 0), -- 25892
|
||||
(@STARTGUID+17, 25899, 1, 1, 1, -4391.495, 2187.865, 12.22644, 5.864306, 120, 0, 0), -- 25899
|
||||
(@STARTGUID+18, 25936, 1, 1, 1, -2321.744, -619.7491, -9.089149, 5.67232, 120, 0, 0), -- 25936
|
||||
(@STARTGUID+19, 25888, 530, 1, 1, -4219.219, -12310.55, 2.439188, 5.934119, 120, 0, 0), -- 25888
|
||||
(@STARTGUID+20, 25891, 530, 1, 1, -2234.83, -11895.94, 26.62421, 4.694936, 120, 0, 0), -- 25891
|
||||
(@STARTGUID+21, 25907, 530, 1, 1, -2998.854, 4164.042, 5.169014, 0.5934119, 120, 0, 0), -- 25907
|
||||
(@STARTGUID+22, 25938, 530, 1, 1, -3067.278, 2387.903, 62.19349, 3.368485, 120, 0, 0), -- 25938
|
||||
(@STARTGUID+23, 25905, 530, 1, 1, -3951.305, 2045.65, 95.14804, 4.520403, 120, 0, 0), -- 25905
|
||||
(@STARTGUID+24, 25912, 530, 1, 1, 193.7309, 6016.713, 22.73373, 6.161012, 120, 0, 0), -- 25912
|
||||
(@STARTGUID+25, 25903, 530, 1, 1, -2517.064, 7555.085, -1.793157, 5.375614, 120, 0, 0), -- 25903
|
||||
(@STARTGUID+26, 25889, 530, 1, 1, 2024.906, 6590.532, 135.3214, 5.934119, 120, 0, 0), -- 25889
|
||||
(@STARTGUID+27, 25926, 530, 1, 1, 2286.707, 6137.618, 136.3056, 1.570796, 120, 0, 0), -- 25926
|
||||
(@STARTGUID+28, 25913, 530, 1, 1, 3127.551, 3743.148, 141.7706, 6.161012, 120, 0, 0), -- 25913
|
||||
(@STARTGUID+29, 25918, 530, 1, 1, 2917.222, 3693.411, 143.7703, 2.932153, 120, 0, 0); -- 25918
|
||||
|
||||
INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
|
||||
(1, @STARTGUID+00),
|
||||
(1, @STARTGUID+01),
|
||||
(1, @STARTGUID+02),
|
||||
(1, @STARTGUID+03),
|
||||
(1, @STARTGUID+04),
|
||||
(1, @STARTGUID+05),
|
||||
(1, @STARTGUID+06),
|
||||
(1, @STARTGUID+07),
|
||||
(1, @STARTGUID+08),
|
||||
(1, @STARTGUID+09),
|
||||
(1, @STARTGUID+10),
|
||||
(1, @STARTGUID+11),
|
||||
(1, @STARTGUID+12),
|
||||
(1, @STARTGUID+13),
|
||||
(1, @STARTGUID+14),
|
||||
(1, @STARTGUID+15),
|
||||
(1, @STARTGUID+16),
|
||||
(1, @STARTGUID+17),
|
||||
(1, @STARTGUID+18),
|
||||
(1, @STARTGUID+19),
|
||||
(1, @STARTGUID+20),
|
||||
(1, @STARTGUID+21),
|
||||
(1, @STARTGUID+22),
|
||||
(1, @STARTGUID+23),
|
||||
(1, @STARTGUID+24),
|
||||
(1, @STARTGUID+25),
|
||||
(1, @STARTGUID+26),
|
||||
(1, @STARTGUID+27),
|
||||
(1, @STARTGUID+28),
|
||||
(1, @STARTGUID+29);
|
||||
|
||||
/* Delete some double spawn creature of midsummer fire festival */
|
||||
DELETE FROM `creature` WHERE `guid`=86358 AND `id`=25915;
|
||||
DELETE FROM `creature` WHERE `guid`=86387 AND `id`=25920;
|
||||
DELETE FROM `creature` WHERE `guid`=86241 AND `id`=25887;
|
||||
DELETE FROM `creature` WHERE `guid`=86327 AND `id`=25914;
|
||||
DELETE FROM `creature` WHERE `guid`=86376 AND `id`=25916;
|
||||
DELETE FROM `creature` WHERE `guid`=86426 AND `id`=25921;
|
||||
DELETE FROM `creature` WHERE `guid`=86165 AND `id`=26123;
|
||||
DELETE FROM `creature` WHERE `guid`=202863 AND `id`=25975;
|
||||
4
data/sql/old/db_world/1.x/2016_07_10_02.sql
Normal file
4
data/sql/old/db_world/1.x/2016_07_10_02.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_10_01 2016_07_10_02 bit;
|
||||
|
||||
/* Quest adding injury to insult, fix mob speed run, from 2.2 to 1.0 */
|
||||
UPDATE `creature_template` SET `speed_run` = 1 WHERE `entry` = 24238;
|
||||
5
data/sql/old/db_world/1.x/2016_07_14_00.sql
Normal file
5
data/sql/old/db_world/1.x/2016_07_14_00.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_10_02 2016_07_14_00 bit;
|
||||
|
||||
/* add spellscript for crow spell */
|
||||
DELETE FROM spell_script_names WHERE spell_id = 38776;
|
||||
INSERT INTO spell_script_names VALUES (38776,'spell_q9718_crow_transform');
|
||||
17
data/sql/old/db_world/1.x/2016_07_28_00.sql
Normal file
17
data/sql/old/db_world/1.x/2016_07_28_00.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_14_00 2016_07_28_00 bit;
|
||||
|
||||
-- loot for mindless servant 26536 in utgarde pinnacle
|
||||
DELETE FROM `creature_loot_template` WHERE (Entry = 26536);
|
||||
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `ChanceOrQuestChance`, `LootMode`, `GroupId`, `mincountOrRef`, `maxcount`) VALUES
|
||||
(26536, 33470, 10.7, 1, 0, 1, 7),
|
||||
(26536, 26002, 3, 1, 1, -26002, 1),
|
||||
(26536, 26011, 1, 1, 1, -26011, 1),
|
||||
(26536, 26012, 1, 1, 1, -26012, 1),
|
||||
(26536, 26040, 21.4, 1, 0, -26040, 1),
|
||||
(26536, 33370, 3.6, 1, 1, 1, 1),
|
||||
(26536, 33399, 3.6, 1, 1, 1, 1),
|
||||
(26536, 33454, 35.5, 1, 0, 1, 1),
|
||||
(26536, 37068, 0.69, 1, 1, 1, 1),
|
||||
(26536, 37069, 0.69, 1, 1, 1, 1),
|
||||
(26536, 37070, 0.69, 1, 1, 1, 1),
|
||||
(26536, 45912, 0.1, 1, 1, 1, 1);
|
||||
5
data/sql/old/db_world/1.x/2016_08_01_00.sql
Normal file
5
data/sql/old/db_world/1.x/2016_08_01_00.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_28_00 2016_08_01_00 bit;
|
||||
|
||||
UPDATE creature_template SET faction = 14 WHERE faction != 35 and entry in (
|
||||
35572,35569,35571,35570,35617,34705,34702,34701,34657,34703,35329,35328,35331,35330,
|
||||
35332,35314,35326,35325,35323,35327,35119,35518,34928,35517,35309,35305,35307,35451,35004,35005,35545,35564,33628,36085,36090,36084,35517,35490,36089,35518,36091,36087,36086,36083,36082,36088,35310,35308,35546,35568,35306);
|
||||
3
data/sql/old/db_world/1.x/2016_08_03_00.sql
Normal file
3
data/sql/old/db_world/1.x/2016_08_03_00.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_01_00 2016_08_03_00 bit;
|
||||
|
||||
DELETE from spell_area where spell = 60815 and area = 14;
|
||||
161
data/sql/old/db_world/1.x/2016_08_10_00.sql
Normal file
161
data/sql/old/db_world/1.x/2016_08_10_00.sql
Normal file
@@ -0,0 +1,161 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_03_00 2016_08_10_00 bit;
|
||||
|
||||
# Import some trinity_string from TrinityCore
|
||||
INSERT IGNORE INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`)VALUES
|
||||
(63, 'Wrong parameter, id: %u does not exist.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(64, 'Wrong parameter realmId: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(65, 'Account %u (%s) granted permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(66, 'Account %u (%s) denied permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(67, 'Account %u (%s) inherited permissions by sec level %u:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(68, 'Permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(69, 'Linked permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(70, 'Empty List', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(71, '- %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(72, 'Couldn\'t grant permission %u (%s) realmId %d. Account %u (%s) already has that permission', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(73, 'Couldn\'t grant permission %u (%s) realmId %d. Account %u (%s) has that permission in deny list', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(74, 'Granted permission %u (%s) realmId %d to account %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(75, 'Couldn\'t deny permission %u (%s) realmId %d. Account %u (%s) already has that permission', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(76, 'Couldn\'t deny permission %u (%s) realmId %d. Account %u (%s) has that permission in deny list', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(77, 'Denied permission %u (%s) realmId %d to account %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(78, 'Revoked permission %u (%s) realmId %d to account %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(79, 'Couldn\'t revoke permission %u (%s) realmId %d. Account %u (%s) does not have that permission', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(80, 'BattleGround victories in the last 7 days\nAlliance: %d\nHorde: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(81, 'BattleGround scores storing is disabled!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(96, 'The guild name \'%s\' is already taken', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(97, 'Changed guild name \'%s\' to \'%s\'', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(98, '\'%s\' already exists as character name, choose another one', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(99, 'Player \'%s\' forced rename to \'%s\'', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(167, 'This name is reserved, choose another one', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(176, 'Invalid gameobject type, must be a destructible building.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(177, 'Gameobject %s (GUID: %u) damaged %u (actual health: %u).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(178, 'grid[%u,%u]cell[%u,%u] InstanceID: %u\n ZoneX: %f ZoneY: %f\nGroundZ: %f FloorZ: %f Have height data (Map: %u VMap: %u MMap: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(186, 'TransMapID: %u TransOffsetX: %f TransOffsetY: %f TransOffsetZ: %f TransOffsetO: %f (Transport ID: %u %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(357, 'Cheat Command Status:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(358, 'Godmode: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(359, 'Casttime: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(360, 'Cooldown: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(361, 'Power: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(362, 'Waterwalk: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(363, 'Player %s cannot whisper you any longer.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(364, 'Taxinodes: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(453, '│Player %s %s (guid: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(548, '│ GM Mode active, Phase: -1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(549, '├─ Banned: (Type: %s, Reason: %s, Time: %s, By: %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(550, '├─ Muted: (Reason: %s, Time: %s, By: %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(714, '│ Account: %s (ID: %u), GMLevel: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(716, '│ Last Login: %s (Failed Logins: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(749, '│ OS: %s - Latency: %u ms', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(752, '│ Last IP: %s (Locked: %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(843, '│ Level: %u (%u/%u XP (%u XP left))', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(844, '│ Race: %s %s, %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(845, '│ Alive ?: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(846, '│ Phase: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(847, '│ Money: %ug%us%uc', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(848, '│ Map: %s, Area: %s, Zone: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(849, '│ Guild: %s (ID: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(850, '├─ Rank: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(851, '├─ Note: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(852, '├─ O. Note: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(853, '│ Played time: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(854, '│ Mails: %d Read/%u Total', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(855, 'Male', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(856, 'Female', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(857, 'Arena team [%u] not found', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(858, 'There is already an arena team named \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(859, '%s is already in an arena team of that size', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(860, 'Arena Team In Combat', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(861, 'Arena with name: \"%s\" or silmilar not found', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(862, '[%s] not member of the team \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(863, '[%s] already capitan in the team \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(864, 'New ArenaTeam created [Name: \"%s\"][Id: %u][Type: %u][Captain GUID: %u]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(865, 'Arena team Name: \"%s\"[Id: %u] disbanded', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(866, 'Arena team [Id: %u] change from \"%s\" to \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(867, 'Arena team Name: \"%s\"[Id: %u] change capitan from[%s] to [%s]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(868, 'Arena team: \"%s\"[%u] - Rating: %u - Type: %ux%u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(869, 'Name:\"%s\"[guid:%u] - PR: %u - %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(870, '|\"%s\"[ID:%u](%ux%u)|', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(871, '│ Level: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(872, 'Entered email is not equal to registration email, check input', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(873, 'The new emails do not match', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(874, 'The email was changed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(875, 'Your email can\'t be longer than 64 characters, email not changed!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(876, 'Email not changed (unknown error)!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(877, 'Email change unnecessary, new email is equal to old email', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(878, 'Your email is: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(879, '└ Registration Email: %s - Email: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(880, 'Security Level: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(881, 'An email address is required to change your password.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1151, 'Mail List Info: # of mails: %u, Player: %s(%u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1152, 'Mail Id: %u Title: \"%s\" Money: %ug%us%uc', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1153, 'Sender: %s(%u), Receiver: %s(%u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1154, 'Time deliver: %s, Time expire: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1155, 'Item: %s[Entry:%u Guid:%u Count:%u]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1156, 'Mail List Info: No mail found for this character.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1157, 'All configs are reloaded from the configuration file(s).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1158, '==========================================================', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1159, '|--------------------------------------------------------|', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1160, '| | Alliance | Horde | Neutral | Total |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1161, ' Alliance/Horde/Neutral/Total', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1162, '| %-10s | %8u | %8u | %8u | %8u |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1163, '%-10s = %6u / %6u / %6u / %6u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1164, 'Count', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1165, 'Item Ratio', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1166, '| | Alliance | Horde | Neutral | Amount |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1167, ' Alliance/Horde/Neutral/Amount', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1168, 'Gray', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1169, 'White', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1170, 'Green', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1171, 'Blue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1172, 'Purple', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1173, 'Orange', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1174, 'Yellow', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1175, 'Amount of %s items is set to %u.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1176, 'Items ratio for %s is set to %u.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1177, 'Displaying Guild Details for %s (Id: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1178, '| Guild Master: %s (GUID: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1179, '| Guild Creation Date: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1180, '| Guild Members: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1181, '| Guild Bank: %u gold', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1182, '| Guild MOTD: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(1183, '| Guild Information: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(2030, '|cff00ff00Completed by|r:|cff00ccff %s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5037, 'MechanicImmuneMask: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5038, 'Unit Flags: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5039, 'Console', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5040, 'Character', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5041, 'Permanently', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5042, 'You are outdoors.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5043, 'You are indoors.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5044, 'no VMAP available for area info', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5045, 'Map: %d | ID: %d | perm: %s | extended: %s | diff: %d | canReset: %s | TTR: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5046, 'Player binds: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5047, 'Group binds: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5048, 'Unbinding map: %d inst: %d perm: %s diff: %d canReset: %s TTR: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5049, 'Instances unbound: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5050, 'Instances loaded: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5051, 'Players in instances: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5052, 'Instance saves: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5053, 'Players bound: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5054, 'Groups bound: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5055, 'Map is not a dungeon.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5056, 'Map has no instance data.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5057, 'Boss id %i state is now set to %i (%s).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5058, 'Boss id %i state is %i (%s).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5059, 'Mutes for account: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5060, 'No mutes for account: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(5061, 'Mute Date: %20s Mutetime: %10u mins. Reason: %s Set by: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11002, 'Server: %s has kicked %s, reason: %s', '', '', '', '', '', '', '', ''),
|
||||
(11003, 'Server: %s has muted %s for %u minutes, reason: %s', '', '', '', '', '', '', '', ''),
|
||||
(11004, 'Server: %s has banned character %s for %s, reason: %s', '', '', '', '', '', '', '', ''),
|
||||
(11005, 'Server: %s has banned character %s permanetly, reason: %s', '', '', '', '', '', '', '', ''),
|
||||
(11006, 'Server: %s has banned %s for %s, reason: %s', '', '', '', '', '', '', '', ''),
|
||||
(11007, 'Server: %s has banned %s permanetly, reason: %s', '', '', '', '', '', '', '', ''),
|
||||
(11008, 'InhabitType: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11009, 'Flags Extra: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11010, 'You didn\'t get kicked out of the instance even if Player::CheckInstanceLoginValid() returned false and without .gm on flag', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11011, 'VisualizeBoundary warning: No interior point of the creature\'s boundary could be found - check if you have mutually exclusive boundaries!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11012, 'VisualizeBoundary error: Creature movement is unbounded', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11013, 'VisualizeBoundary warning: Reached fail-safe flood boundary - check is your boundary is unbounded!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11014, 'You are already locked to %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11015, 'This creature does not have an active CreatureAI assigned to it.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
||||
(11016, 'Select a player or player pet.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
5
data/sql/old/db_world/1.x/2016_08_10_01.sql
Normal file
5
data/sql/old/db_world/1.x/2016_08_10_01.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_10_00 2016_08_10_01 bit;
|
||||
|
||||
INSERT IGNORE INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('instance setbossstate', 2, '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', 2, '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.');
|
||||
7
data/sql/old/db_world/1.x/2016_08_13_00.sql
Normal file
7
data/sql/old/db_world/1.x/2016_08_13_00.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- uncomment and fix following line at next revision / updates archivation
|
||||
-- ALTER TABLE auth_db_version CHANGE COLUMN xxxx_xx_xx_xx xxxx_xx_xx_xx bit;
|
||||
|
||||
--
|
||||
-- Do not remove this file when we archive sql under this folder
|
||||
-- it is needed for pending sql importer
|
||||
--
|
||||
6
data/sql/old/db_world/1.x/2016_08_14_00.sql
Normal file
6
data/sql/old/db_world/1.x/2016_08_14_00.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_10_01 2016_08_14_00 bit;
|
||||
|
||||
-- Dream Vision make it trigger
|
||||
UPDATE `creature_template` SET `flags_extra`='128' WHERE (`entry`='7863');
|
||||
-- Eye of Kilrogg (Summon) apply stealth aura
|
||||
UPDATE `creature_template_addon` SET `auras`='2585' WHERE (`entry`='4277');
|
||||
8
data/sql/old/db_world/1.x/2016_08_14_01.sql
Normal file
8
data/sql/old/db_world/1.x/2016_08_14_01.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_14_00 2016_08_14_01 bit;
|
||||
|
||||
-- Hellscream's Warsong
|
||||
UPDATE `spell_area` SET `spell`='73822'
|
||||
WHERE `spell`='73818' AND `area`='4812' AND `quest_start`='0' AND `aura_spell`='0' AND `racemask`='690' AND `gender`='2';
|
||||
-- Strength of Wrynn
|
||||
UPDATE `spell_area` SET `spell`='73828'
|
||||
WHERE `spell`='73824' AND `area`='4812' AND `quest_start`='0' AND `aura_spell`='0' AND `racemask`='1101' AND `gender`='2';
|
||||
6
data/sql/old/db_world/1.x/2016_08_14_02.sql
Normal file
6
data/sql/old/db_world/1.x/2016_08_14_02.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_14_01 2016_08_14_02 bit;
|
||||
|
||||
DELETE FROM `trinity_string` WHERE `entry`IN (1334, 1335);
|
||||
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
|
||||
(1334, 'Your ticket has been closed.'),
|
||||
(1335, 'You received a ticket response.');
|
||||
24
data/sql/old/db_world/1.x/2016_08_19_00.sql
Normal file
24
data/sql/old/db_world/1.x/2016_08_19_00.sql
Normal file
@@ -0,0 +1,24 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_14_02 2016_08_19_00 BIT;
|
||||
|
||||
/*
|
||||
Issue: Not work quest id 11543 #93
|
||||
Missing SAI for the correct execution of quest
|
||||
|
||||
Create SAI for ending quest
|
||||
*/
|
||||
|
||||
UPDATE creature_template SET AIName="SmartAI" WHERE entry IN (25090,25091,25092);
|
||||
DELETE FROM smart_scripts WHERE entryorguid IN (25090,25091,25092) AND source_type=0;
|
||||
INSERT INTO smart_scripts VALUES
|
||||
(25090,0,0,0,8,0,100,0,45115,0,0,0,33,25090,0,0,0,0,0,7,0,0,0,0,0,0,0,"Sin'Loren - On spellhit 45115 - Kill Credit"),
|
||||
(25091,0,0,0,8,0,100,0,45115,0,0,0,33,25091,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bloodoath - On spellhit 45115 - Kill Credit"),
|
||||
(25092,0,0,0,8,0,100,0,45115,0,0,0,33,25092,0,0,0,0,0,7,0,0,0,0,0,0,0,"Dawnchaser - On spellhit 45115 - Kill Credit");
|
||||
|
||||
/*
|
||||
Backup for next DELETE query
|
||||
INSERT INTO conditions VALUES
|
||||
(15,9143,0,0,0,9,0,11542,0,0,0,0,0,,"Show gossip option if player has quest 11542 but not complete"),
|
||||
(15,9143,0,0,1,9,0,11543,0,0,0,0,0,,"Show gossip option if player has quest 11543 but not complete");
|
||||
*/
|
||||
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=15 AND SourceGroup=9143;
|
||||
493
data/sql/old/db_world/1.x/2016_08_21_00.sql
Normal file
493
data/sql/old/db_world/1.x/2016_08_21_00.sql
Normal file
@@ -0,0 +1,493 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_19_00 2016_08_21_00 bit;
|
||||
|
||||
INSERT IGNORE INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('achievement',2,'Syntax: .achievement $subcommand\nType .achievement to see the list of possible subcommands or .help achievement $subcommand to see info on subcommands'),
|
||||
('achievement add',2,'Syntax: .achievement add $achievement\nAdd an achievement to the targeted player.\n$achievement: can be either achievement id or achievement link'),
|
||||
('achievement checkall',3,''),
|
||||
('additem',2,'Syntax: .additem #itemid/[#itemname]/#shift-click-item-link #itemcount\r\n\r\nAdds the specified number of items of id #itemid (or exact (!) name $itemname in brackets, or link created by shift-click at item in inventory or recipe) to your or selected character inventory. If #itemcount is omitted, only one item will be added.\r\n.'),
|
||||
('additemset',2,'Syntax: .additemset #itemsetid\r\n\r\nAdd items from itemset of id #itemsetid to your or selected character inventory. Will add by one example each item from itemset.'),
|
||||
('announce',2,'Syntax: .announce $MessageToBroadcast\r\n\r\nSend a global message to all players online in chat log.'),
|
||||
('appear',1,'Syntax: .appear [$charactername]\r\n\r\nTeleport to the given character. Either specify the character name or click on the character\'s portrait,e.g. when you are in a group. Character can be offline.'),
|
||||
('aura',2,'Syntax: .aura #spellid\r\n\r\nAdd the aura from spell #spellid to the selected Unit.'),
|
||||
('ban',2,'Syntax: .ban $subcommand\nType .ban to see the list of possible subcommands or .help ban $subcommand to see info on subcommands'),
|
||||
('ban account',2,'Syntax: .ban account $Name $bantime $reason\r\nBan account kick player.\r\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
|
||||
('ban character',2,'Syntax: .ban character $Name $bantime $reason\nBan character and kick player.\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
|
||||
('ban ip',2,'Syntax: .ban ip $Ip $bantime $reason\r\nBan IP.\r\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
|
||||
('ban playeraccount',2,'Syntax: .ban playeraccount $Name $bantime $reason\nBan account and kick player.\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
|
||||
('baninfo',2,'Syntax: .baninfo $subcommand\nType .baninfo to see the list of possible subcommands or .help baninfo $subcommand to see info on subcommands'),
|
||||
('baninfo account',2,'Syntax: .baninfo account $accountid\r\nWatch full information about a specific ban.'),
|
||||
('baninfo character',2,'Syntax: .baninfo character $charactername \r\nWatch full information about a specific ban.'),
|
||||
('baninfo ip',2,'Syntax: .baninfo ip $ip\r\nWatch full information about a specific ban.'),
|
||||
('banlist',2,'Syntax: .banlist $subcommand\nType .banlist to see the list of possible subcommands or .help banlist $subcommand to see info on subcommands'),
|
||||
('banlist account',2,'Syntax: .banlist account [$Name]\r\nSearches the banlist for a account name pattern or show full list account bans.'),
|
||||
('banlist character',2,'Syntax: .banlist character $Name\r\nSearches the banlist for a character name pattern. Pattern required.'),
|
||||
('banlist ip',2,'Syntax: .banlist ip [$Ip]\r\nSearches the banlist for a IP pattern or show full list of IP bans.'),
|
||||
('bf',3,''),
|
||||
('bf enable',3,'Syntax: .bf enable #battleid'),
|
||||
('bf start',3,'Syntax: .bf start #battleid'),
|
||||
('bf stop',3,'Syntax: .bf stop #battleid'),
|
||||
('bf switch',3,'Syntax: .bf switch #battleid'),
|
||||
('bf timer',3,'Syntax: .bf timer #battleid #timer'),
|
||||
('bindsight',3,'Syntax: .bindsight\r\n\r\nBinds vision to the selected unit indefinitely. Cannot be used while currently possessing a target.'),
|
||||
('cast',2,'Syntax: .cast #spellid [triggered]\r\n Cast #spellid to selected target. If no target selected cast to self. If \'trigered\' or part provided then spell casted with triggered flag.'),
|
||||
('cast back',2,'Syntax: .cast back #spellid [triggered]\r\n Selected target will cast #spellid to your character. If \'trigered\' or part provided then spell casted with triggered flag.'),
|
||||
('cast dest',2,'Syntax: .cast dest #spellid #x #y #z [triggered]\r\n Selected target will cast #spellid at provided destination. If \'trigered\' or part provided then spell casted with triggered flag.'),
|
||||
('cast dist',2,'Syntax: .cast dist #spellid [#dist [triggered]]\r\n You will cast spell to pint at distance #dist. If \'trigered\' or part provided then spell casted with triggered flag. Not all spells can be casted as area spells.'),
|
||||
('cast self',2,'Syntax: .cast self #spellid [triggered]\r\nCast #spellid by target at target itself. If \'trigered\' or part provided then spell casted with triggered flag.'),
|
||||
('cast target',2,'Syntax: .cast target #spellid [triggered]\r\n Selected target will cast #spellid to his victim. If \'trigered\' or part provided then spell casted with triggered flag.'),
|
||||
('character changefaction',2,'Syntax: .character changefaction $name\r\n\r\nChange character faction.'),
|
||||
('character changerace',2,'Syntax: .character changerace $name\r\n\r\nChange character race.'),
|
||||
('character customize',2,'Syntax: .character customize [$name]\r\n\r\nMark selected in game or by $name in command character for customize at next login.'),
|
||||
('character level',2,'Syntax: .character level [$playername] [#level]\r\n\r\nSet the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.'),
|
||||
('character rename',2,'Syntax: .character rename [$name] [$newName] \n\nMark selected in game or by $name in command character for rename at next login.\n\nIf $newName then the player will be forced rename.'),
|
||||
('character reputation',2,'Syntax: .character reputation [$player_name]\r\n\r\nShow reputation information for selected player or player find by $player_name.'),
|
||||
('character titles',2,'Syntax: .character titles [$player_name]\r\n\r\nShow known titles list for selected player or player find by $player_name.'),
|
||||
('combatstop',2,'Syntax: .combatstop [$playername]\r\nStop combat for selected character. If selected non-player then command applied to self. If $playername provided then attempt applied to online player $playername.'),
|
||||
('cometome',5,'Syntax: .cometome $parameter\nMake selected creature come to your current location (new position not saved to DB).'),
|
||||
('commands',0,'Syntax: .commands\r\n\r\nDisplay a list of available commands for your account level.'),
|
||||
('cooldown',2,'Syntax: .cooldown [#spell_id]\r\n\r\nRemove all (if spell_id not provided) or #spel_id spell cooldown from selected character or you (if no selection).'),
|
||||
('damage',2,'Syntax: .damage $damage_amount [$school [$spellid]]\r\n\r\nApply $damage to target. If not $school and $spellid provided then this flat clean melee damage without any modifiers. If $school provided then damage modified by armor reduction (if school physical), and target absorbing modifiers and result applied as melee damage to target. If spell provided then damage modified and applied as spell damage. $spellid can be shift-link.'),
|
||||
('debug',2,'Syntax: .debug $subcommand\nType .debug to see the list of possible subcommands or .help debug $subcommand to see info on subcommands'),
|
||||
('debug areatriggers',3,'Syntax: .debug areatriggers\nToggle debug mode for areatriggers. In debug mode GM will be notified if reaching an areatrigger'),
|
||||
('debug arena',3,'Syntax: .debug arena\r\n\r\nToggle debug mode for arenas. In debug mode GM can start arena with single player.'),
|
||||
('debug bg',3,'Syntax: .debug bg\r\n\r\nToggle debug mode for battlegrounds. In debug mode GM can start battleground with single player.'),
|
||||
('debug Mod32Value',3,'Syntax: .debug Mod32Value #field #value\r\n\r\nAdd #value to field #field of your character.'),
|
||||
('debug moveflags',3,'Syntax: .debug moveflags [$newMoveFlags [$newMoveFlags2]]\r\nNo params given will output the current moveflags of the target'),
|
||||
('debug play cinematic',1,'Syntax: .debug play cinematic #cinematicid\r\n\r\nPlay cinematic #cinematicid for you. You stay at place while your mind fly.\r\n'),
|
||||
('debug play movie',1,'Syntax: .debug play movie #movieid\r\n\r\nPlay movie #movieid for you.'),
|
||||
('debug play sound',1,'Syntax: .debug play sound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...'),
|
||||
('debug send',3,''),
|
||||
('debug send buyerror',3,''),
|
||||
('debug send channelnotify',3,''),
|
||||
('debug send chatmmessage',3,''),
|
||||
('debug send equiperror',3,''),
|
||||
('debug send largepacket',3,''),
|
||||
('debug send opcode',3,''),
|
||||
('debug send qinvalidmsg',3,''),
|
||||
('debug send qpartymsg',3,''),
|
||||
('debug send sellerror',3,''),
|
||||
('debug send setphaseshift',3,''),
|
||||
('debug send spellfail',3,''),
|
||||
('debug setaurastate',3,''),
|
||||
('debug setbit',3,''),
|
||||
('debug setvalue',3,''),
|
||||
('debug setvid',3,''),
|
||||
('debug spawnvehicle',3,''),
|
||||
('debug update',3,''),
|
||||
('demorph',1,'Syntax: .demorph\r\n\r\nDemorph the selected player.'),
|
||||
('dev',3,'Syntax: .dev [on/off]\r\n\r\nEnable or Disable in game Dev tag or show current state if on/off not provided.'),
|
||||
('die',2,'Syntax: .die\r\n\r\nKill the selected player. If no player is selected, it will kill you.'),
|
||||
('dismount',0,'Syntax: .dismount\r\n\r\nDismount you, if you are mounted.'),
|
||||
('distance',3,'Syntax: .distance\r\n\r\nDisplay the distance from your character to the selected creature.'),
|
||||
('event',2,'Syntax: .event #event_id\r\nShow details about event with #event_id.'),
|
||||
('event activelist',2,'Syntax: .event activelist\r\nShow list of currently active events.'),
|
||||
('event start',2,'Syntax: .event start #event_id\r\nStart event #event_id. Set start time for event to current moment (change not saved in DB).'),
|
||||
('event stop',2,'Syntax: .event stop #event_id\r\nStop event #event_id. Set start time for event to time in past that make current moment is event stop time (change not saved in DB).'),
|
||||
('flusharenapoints',3,'Syntax: .flusharenapoints\r\n\r\nUse it to distribute arena points based on arena team ratings, and start a new week.'),
|
||||
('freeze',2,'Syntax: .freeze (#player)\r\n\"Freezes\" #player and disables his chat. When using this without #name it will freeze your target.'),
|
||||
('gm',2,'Syntax: .gm [on/off]\r\n\r\nEnable or Disable in game GM MODE or show current state of on/off not provided.'),
|
||||
('gm chat',2,'Syntax: .gm chat [on/off]\r\n\r\nEnable or disable chat GM MODE (show gm badge in messages) or show current state of on/off not provided.'),
|
||||
('gm fly',2,'Syntax: .gm fly [on/off]\r\nEnable/disable gm fly mode.'),
|
||||
('gm list',1,'Syntax: .gm list\r\n\r\nDisplay a list of all Game Masters accounts and security levels.'),
|
||||
('gm visible',1,'Syntax: .gm visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'),
|
||||
('gmannounce',2,'Syntax: .gmannounce $announcement\r\nSend an announcement to online Gamemasters.'),
|
||||
('gmnameannounce',2,'Syntax: .gmnameannounce $announcement.\r\nSend an announcement to all online GM\'s, displaying the name of the sender.'),
|
||||
('gmnotify',2,'Syntax: .gmnotify $notification\r\nDisplays a notification on the screen of all online GM\'s.'),
|
||||
('go',1,'Syntax: .go $subcommand\nType .go to see the list of possible subcommands or .help go $subcommand to see info on subcommands'),
|
||||
('go creature',1,'Syntax: .go creature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.'),
|
||||
('go graveyard',1,'Syntax: .go graveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'),
|
||||
('go grid',1,'Syntax: .go grid #gridX #gridY [#mapId]\r\n\r\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'),
|
||||
('go object',1,'Syntax: .go object #object_guid\r\nTeleport your character to gameobject with guid #object_guid'),
|
||||
('go taxinode',1,'Syntax: .go taxinode #taxinode\r\n\r\nTeleport player to taxinode coordinates. You can look up zone using .lookup taxinode $namepart'),
|
||||
('go ticket',2,'Syntax: .go ticket #ticketid\r\nTeleports the user to the location where $ticketid was created.'),
|
||||
('go trigger',1,'Syntax: .go trigger #trigger_id\r\n\r\nTeleport your character to areatrigger with id #trigger_id. Character will be teleported to trigger target if selected areatrigger is telporting trigger.'),
|
||||
('go xyz',1,'Syntax: .go xyz #x #y [#z [#mapid [#orientation]]]\r\n\r\nTeleport player to point with (#x,#y,#z) coordinates at map #mapid with orientation #orientation. If z is not provided, ground/water level will be used. If mapid is not provided, the current map will be used. If #orientation is not provided, the current orientation will be used.'),
|
||||
('go zonexy',1,'Syntax: .go zonexy #x #y [#zone]\r\n\r\nTeleport player to point with (#x,#y) client coordinates at ground(water) level in zone #zoneid or current zone if #zoneid not provided. You can look up zone using .lookup area $namepart'),
|
||||
('gobject',2,'Syntax: .gobject $subcommand\nType .gobject to see the list of possible subcommands or .help gobject $subcommand to see info on subcommands'),
|
||||
('gobject activate',2,'Syntax: .gobject activate #guid\r\n\r\nActivates an object like a door or a button.'),
|
||||
('gobject add',3,'Syntax: .gobject add #id <spawntimeSecs>\r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nspawntimesecs sets the spawntime, it is optional.\r\n\r\nNote: this is a copy of .gameobject.'),
|
||||
('gobject add temp',2,'Adds a temporary gameobject that is not saved to DB.'),
|
||||
('gobject delete',3,'Syntax: .gobject delete #go_guid\r\nDelete gameobject with guid #go_guid.'),
|
||||
('gobject info',1,'Syntax: .gobject info [$object_entry]\r \r Query Gameobject information for selected gameobject or given entry.'),
|
||||
('gobject move',3,'Syntax: .gobject move #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).'),
|
||||
('gobject near',1,'Syntax: .gobject near [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.'),
|
||||
('gobject set phase',3,'Syntax: .gobject set phase #guid #phasemask\r\n\r\nGameobject with DB guid #guid phasemask changed to #phasemask with related world vision update for players. Gameobject state saved to DB and persistent.'),
|
||||
('gobject target',1,'Syntax: .gobject target [#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
|
||||
('gobject turn',3,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
|
||||
('gps',1,'Syntax: .gps [$name|$shift-link]\r\n\r\nDisplay the position information for a selected character or creature (also if player name $name provided then for named player, or if creature/gameobject shift-link provided then pointed creature/gameobject if it loaded). Position information includes X, Y, Z, and orientation, map Id and zone Id'),
|
||||
('group',2,'Syntax: .group $subcommand\nType .group to see the list of possible subcommands or .help group $subcommand to see info on subcommands'),
|
||||
('group disband',2,'Syntax: .group disband [$characterName]\n\nDisbands the given character\'s group.'),
|
||||
('group join',2,'Syntax: .group join $AnyCharacterNameFromGroup [$CharacterName] \r\nAdds to group of player $AnyCharacterNameFromGroup player $CharacterName (or selected).'),
|
||||
('group leader',2,'Syntax: .group leader [$characterName]\n\nSets the given character as his group\'s leader.'),
|
||||
('group list',2,'Syntax: .group list [$CharacterName] \r\nLists all the members of the group/party the player is in.'),
|
||||
('group remove',2,'Syntax: .group remove [$characterName]\n\nRemoves the given character from his group.'),
|
||||
('groupsummon',2,'Syntax: .groupsummon [$charactername]\r\n\r\nTeleport the given character and his group to you. Teleported only online characters but original selected group member can be offline.'),
|
||||
('guid',2,'Syntax: .guid\r\n\r\nDisplay the GUID for the selected character.'),
|
||||
('guild',2,'Syntax: .guild $subcommand\nType .guild to see the list of possible subcommands or .help guild $subcommand to see info on subcommands'),
|
||||
('guild create',2,'Syntax: .guild create [$GuildLeaderName] \"$GuildName\"\r\n\r\nCreate a guild named $GuildName with the player $GuildLeaderName (or selected) as leader. Guild name must in quotes.'),
|
||||
('guild delete',2,'Syntax: .guild delete \"$GuildName\"\r\n\r\nDelete guild $GuildName. Guild name must in quotes.'),
|
||||
('guild invite',2,'Syntax: .guild invite [$CharacterName] \"$GuildName\"\r\n\r\nAdd player $CharacterName (or selected) into a guild $GuildName. Guild name must in quotes.'),
|
||||
('guild rank',2,'Syntax: .guild rank [$CharacterName] #Rank\r\n\r\nSet for player $CharacterName (or selected) rank #Rank in a guild.'),
|
||||
('guild uninvite',2,'Syntax: .guild uninvite [$CharacterName]\r\n\r\nRemove player $CharacterName (or selected) from a guild.'),
|
||||
('help',0,'Syntax: .help [$command]\r\n\r\nDisplay usage instructions for the given $command. If no $command provided show list available commands.'),
|
||||
('hidearea',3,'Syntax: .hidearea #areaid\r\n\r\nHide the area of #areaid to the selected character. If no character is selected, hide this area to you.'),
|
||||
('honor',2,'Syntax: .honor $subcommand\nType .honor to see the list of possible subcommands or .help honor $subcommand to see info on subcommands'),
|
||||
('honor add',2,'Syntax: .honor add $amount\r\n\r\nAdd a certain amount of honor (gained today) to the selected player.'),
|
||||
('honor add kill',2,'Syntax: .honor add kill\r\n\r\nAdd the targeted unit as one of your pvp kills today (you only get honor if it\'s a racial leader or a player)'),
|
||||
('honor update',2,'Syntax: .honor update\r\n\r\nForce the yesterday\'s honor fields to be updated with today\'s data, which will get reset for the selected player.'),
|
||||
('instance',1,'Syntax: .instance $subcommand\nType .instance to see the list of possible subcommands or .help instance $subcommand to see info on subcommands'),
|
||||
('instance getbossstate',1,'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.'),
|
||||
('instance listbinds',1,'Syntax: .instance listbinds\r\n Lists the binds of the selected player.'),
|
||||
('instance savedata',3,'Syntax: .instance savedata\r\n Save the InstanceData for the current player\'s map to the DB.'),
|
||||
('instance setbossstate',2,'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 unbind',2,'Syntax: .instance unbind <mapid|all> [difficulty]\r\n Clear all/some of player\'s binds'),
|
||||
('itemmove',2,'Syntax: .itemmove #sourceslotid #destinationslotid\r\n\r\nMove an item from slots #sourceslotid to #destinationslotid in your inventory\r\n\r\nNot yet implemented'),
|
||||
('kick',2,'Syntax: .kick [$charactername] [$reason]\r\n\r\nKick the given character name from the world with or without reason. If no character name is provided then the selected player (except for yourself) will be kicked. If no reason is provided, default is \"No Reason\".'),
|
||||
('learn',2,'Syntax: .learn #spell [all]\r\n\r\nSelected character learn a spell of id #spell. If \'all\' provided then all ranks learned.'),
|
||||
('learn all',2,''),
|
||||
('learn all crafts',2,'Syntax: .learn crafts\r\n\r\nLearn all professions and recipes.'),
|
||||
('learn all default',2,'Syntax: .learn all default [$playername]\r\n\r\nLearn for selected/$playername player all default spells for his race/class and spells rewarded by completed quests.'),
|
||||
('learn all gm',2,'Syntax: .learn all gm\r\n\r\nLearn all default spells for Game Masters.'),
|
||||
('learn all lang',2,'Syntax: .learn all lang\r\n\r\nLearn all languages'),
|
||||
('learn all my',2,''),
|
||||
('learn all my class',2,'Syntax: .learn all my class\r\n\r\nLearn all spells and talents available for his class.'),
|
||||
('learn all my pettalents',2,'Syntax: .learn all my pettalents\r\n\r\nLearn all talents for your pet available for his creature type (only for hunter pets).'),
|
||||
('learn all my spells',2,'Syntax: .learn all my spells\r\n\r\nLearn all spells (except talents and spells with first rank learned as talent) available for his class.'),
|
||||
('learn all my talents',2,'Syntax: .learn all my talents\r\n\r\nLearn all talents (and spells with first rank learned as talent) available for his class.'),
|
||||
('learn all recipes',2,'Syntax: .learn all recipes [$profession]\r\rLearns all recipes of specified profession and sets skill level to max.\rExample: .learn all recipes enchanting'),
|
||||
('levelup',2,'Syntax: .levelup [$playername] [#numberoflevels]\r\n\r\nIncrease/decrease the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.'),
|
||||
('lfg',1,''),
|
||||
('lfg clean',3,'Syntax: .flg clean\n Cleans current queue, only for debugging purposes.'),
|
||||
('lfg group',1,'Syntax: .lfg group\n Shows information about all players in the group (state, roles, comment, dungeons selected).'),
|
||||
('lfg options',2,'Syntax: .lfg options [new value]\n Shows current lfg options. New value is set if extra param is present.'),
|
||||
('lfg player',1,'Syntax: .lfg player\n Shows information about player (state, roles, comment, dungeons selected).'),
|
||||
('lfg queue',1,'Syntax: .lfg queue\n Shows info about current lfg queues.'),
|
||||
('linkgrave',3,'Syntax: .linkgrave #graveyard_id [alliance|horde]\r\n\r\nLink current zone to graveyard for any (or alliance/horde faction ghosts). This let character ghost from zone teleport to graveyard after die if graveyard is nearest from linked to zone and accept ghost of this faction. Add only single graveyard at another map and only if no graveyards linked (or planned linked at same map).'),
|
||||
('list',1,'Syntax: .list $subcommand\nType .list to see the list of possible subcommands or .help list $subcommand to see info on subcommands'),
|
||||
('list auras',1,'Syntax: .list auras\nList auras (passive and active) of selected creature or player. If no creature or player is selected, list your own auras.'),
|
||||
('list creature',1,'Syntax: .list creature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.'),
|
||||
('list item',1,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails, auctions, and guild banks. Output item guids, item owner guid, owner account and owner name (guild name and guid in case guild bank). Will be output maximum #max_count items. If #max_count not provided use 10 as default value.'),
|
||||
('list object',1,'Syntax: .list object #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.'),
|
||||
('lookup',1,'Syntax: .lookup $subcommand\nType .lookup to see the list of possible subcommands or .help lookup $subcommand to see info on subcommands'),
|
||||
('lookup area',1,'Syntax: .lookup area $namepart\r\n\r\nLooks up an area by $namepart, and returns all matches with their area ID\'s.'),
|
||||
('lookup creature',1,'Syntax: .lookup creature $namepart\r\n\r\nLooks up a creature by $namepart, and returns all matches with their creature ID\'s.'),
|
||||
('lookup event',1,'Syntax: .lookup event $name\r\nAttempts to find the ID of the event with the provided $name.'),
|
||||
('lookup faction',1,'Syntax: .lookup faction $name\r\nAttempts to find the ID of the faction with the provided $name.'),
|
||||
('lookup item',1,'Syntax: .lookup item $itemname\r\n\r\nLooks up an item by $itemname, and returns all matches with their Item ID\'s.'),
|
||||
('lookup itemset',1,'Syntax: .lookup itemset $itemname\r\n\r\nLooks up an item set by $itemname, and returns all matches with their Item set ID\'s.'),
|
||||
('lookup map',1,'Syntax: .lookup map $namepart\r\n\r\nLooks up a map by $namepart, and returns all matches with their map ID\'s.'),
|
||||
('lookup object',1,'Syntax: .lookup object $objname\r\n\r\nLooks up an gameobject by $objname, and returns all matches with their Gameobject ID\'s.'),
|
||||
('lookup player',2,''),
|
||||
('lookup player account',2,'Syntax: .lookup player account $account ($limit) \r\n\r\n Searchs players, which account username is $account with optional parametr $limit of results.'),
|
||||
('lookup player email',2,'Syntax: .lookup player email $email ($limit) \r\n\r\n Searchs players, which account email is $email with optional parametr $limit of results.'),
|
||||
('lookup player ip',2,'Syntax: .lookup player ip $ip ($limit) \r\n\r\n Searchs players, which account ast_ip is $ip with optional parametr $limit of results.'),
|
||||
('lookup quest',1,'Syntax: .lookup quest $namepart\r\n\r\nLooks up a quest by $namepart, and returns all matches with their quest ID\'s.'),
|
||||
('lookup skill',1,'Syntax: .lookup skill $$namepart\r\n\r\nLooks up a skill by $namepart, and returns all matches with their skill ID\'s.'),
|
||||
('lookup spell',1,'Syntax: .lookup spell $namepart\r\n\r\nLooks up a spell by $namepart, and returns all matches with their spell ID\'s.'),
|
||||
('lookup spell id',1,'Syntax: .lookup spell id #spellid\n\nLooks up a spell by #spellid, and returns the match with its spell name.'),
|
||||
('lookup taxinode',1,'Syntax: .lookup taxinode $substring\r\n\r\nSearch and output all taxinodes with provide $substring in name.'),
|
||||
('lookup tele',1,'Syntax: .lookup tele $substring\r\n\r\nSearch and output all .tele command locations with provide $substring in name.'),
|
||||
('lookup title',1,'Syntax: .lookup title $$namepart\r\n\r\nLooks up a title by $namepart, and returns all matches with their title ID\'s and index\'s.'),
|
||||
('maxskill',2,'Syntax: .maxskill\r\nSets all skills of the targeted player to their maximum values for its current level.'),
|
||||
('modify',2,'Syntax: .modify $subcommand\nType .modify to see the list of possible subcommands or .help modify $subcommand to see info on subcommands'),
|
||||
('modify arenapoints',2,'Syntax: .modify arenapoints #value\r\nAdd $amount arena points to the selected player.'),
|
||||
('modify bit',2,'Syntax: .modify bit #field #bit\r\n\r\nToggle the #bit bit of the #field field for the selected player. If no player is selected, modify your character.'),
|
||||
('modify drunk',2,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
|
||||
('modify energy',2,'Syntax: .modify energy #energy\r\n\r\nModify the energy of the selected player. If no player is selected, modify your energy.'),
|
||||
('modify faction',3,'Syntax: .modify faction #factionid #flagid #npcflagid #dynamicflagid\r\n\r\nModify the faction and flags of the selected creature. Without arguments, display the faction and flags of the selected creature.'),
|
||||
('modify gender',2,'Syntax: .modify gender male/female\r\n\r\nChange gender of selected player.'),
|
||||
('modify honor',2,'Syntax: .modify honor $amount\r\n\r\nAdd $amount honor points to the selected player.'),
|
||||
('modify hp',2,'Syntax: .modify hp #newhp\r\n\r\nModify the hp of the selected player. If no player is selected, modify your hp.'),
|
||||
('modify mana',2,'Syntax: .modify mana #newmana\r\n\r\nModify the mana of the selected player. If no player is selected, modify your mana.'),
|
||||
('modify money',2,'Syntax: .modify money #money\r\n.money #money\r\n\r\nAdd or remove money to the selected player. If no player is selected, modify your money.\r\n\r\n #gold can be negative to remove money.'),
|
||||
('modify mount',2,'Syntax: .modify mount #id #speed\r\nDisplay selected player as mounted at #id creature and set speed to #speed value.'),
|
||||
('modify phase',2,'Syntax: .modify phase #phasemask\r\n\r\nSelected character phasemask changed to #phasemask with related world vision update. Change active until in game phase changed, or GM-mode enable/disable, or re-login. Character pts pasemask update to same value.'),
|
||||
('modify rage',2,'Syntax: .modify rage #newrage\r\n\r\nModify the rage of the selected player. If no player is selected, modify your rage.'),
|
||||
('modify reputation',2,'Syntax: .modify reputation #repId (#repvalue | $rankname [#delta])\nSets the selected players reputation with faction #repId to #repvalue or to $reprank.\nIf the reputation rank name is provided, the resulting reputation will be the lowest reputation for that rank plus the delta amount, if specified.\nYou can use \'.pinfo rep\' to list all known reputation ids, or use \'.lookup faction $name\' to locate a specific faction id.'),
|
||||
('modify runicpower',2,'Syntax: .modify runicpower #newrunicpower\r\n\r\nModify the runic power of the selected player. If no player is selected, modify your runic power.'),
|
||||
('modify scale',2,'.modify scale #scale\nModify size of the selected player or creature to \"normal scale\"*rate. If no player or creature is selected, modify your size.\n#rate may range from 0.1 to 10.'),
|
||||
('modify speed',2,'Syntax: .modify speed $speedtype #rate\r\n\r\nModify the running speed of the selected player to \"normal base run speed\"= 1. If no player is selected, modify your speed.\r\n\r\n$speedtypes may be fly, all, walk, backwalk, or swim.\r\n\r\n #rate may range from 0.1 to 50.'),
|
||||
('modify speed all',2,'Syntax: .modify aspeed #rate\r\n\r\nModify all speeds -run,swim,run back,swim back- of the selected player to \"normalbase speed for this move type\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
|
||||
('modify speed backwalk',2,'Syntax: .modify speed backwalk #rate\r\n\r\nModify the speed of the selected player while running backwards to \"normal walk back speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
|
||||
('modify speed fly',2,'.modify speed fly #rate\nModify the flying speed of the selected player to \"normal flying speed\"*rate. If no player is selected, modify your speed.\n #rate may range from 0.1 to 50.'),
|
||||
('modify speed swim',2,'Syntax: .modify speed swim #rate\r\n\r\nModify the swim speed of the selected player to \"normal swim speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
|
||||
('modify speed walk',2,'Syntax: .modify speed bwalk #rate\r\n\r\nModify the speed of the selected player while running to \"normal walk speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
|
||||
('modify spell',5,'TODO'),
|
||||
('modify standstate',2,'Syntax: .modify standstate #emoteid\r\n\r\nChange the emote of your character while standing to #emoteid.'),
|
||||
('modify talentpoints',2,'Syntax: .modify talentpoints #amount\r\n\r\nSet free talent points for selected character or character\'s pet. It will be reset to default expected at next levelup/login/quest reward.'),
|
||||
('morph',1,'Syntax: .morph #displayid\r\n\r\nChange your current model id to #displayid.'),
|
||||
('movegens',3,'Syntax: .movegens\r\n Show movement generators stack for selected creature or player.'),
|
||||
('mute',2,'Syntax: .mute [$playerName] $timeInMinutes [$reason]\r\n\r\nDisible chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.'),
|
||||
('nameannounce',2,'Syntax: .nameannounce $announcement.\nSend an announcement to all online players, displaying the name of the sender.'),
|
||||
('neargrave',2,'Syntax: .neargrave [alliance|horde]\r\n\r\nFind nearest graveyard linked to zone (or only nearest from accepts alliance or horde faction ghosts).'),
|
||||
('notify',2,'Syntax: .notify $MessageToBroadcast\r\n\r\nSend a global message to all players online in screen.'),
|
||||
('npc',2,'Syntax: .npc $subcommand\nType .npc to see the list of possible subcommands or .help npc $subcommand to see info on subcommands'),
|
||||
('npc add',3,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
|
||||
('npc add formation',3,'Syntax: .npc add formation $leader\nAdd selected creature to a leader\'s formation.'),
|
||||
('npc add item',3,'Syntax: .npc add item #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
|
||||
('npc add move',3,'Syntax: .npc add move #creature_guid [#waittime]\r\n\r\nAdd your current location as a waypoint for creature with guid #creature_guid. And optional add wait time.'),
|
||||
('npc add temp',3,'Syntax: .npc add temp\r\n\r\nAdds temporary NPC, not saved to database.'),
|
||||
('npc delete',3,'Syntax: .npc delete [#guid]\r\n\r\nDelete creature with guid #guid (or the selected if no guid is provided)'),
|
||||
('npc delete item',3,'Syntax: .npc delete item #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
|
||||
('npc follow',2,'Syntax: .npc follow start\r\n\r\nSelected creature start follow you until death/fight/etc.'),
|
||||
('npc follow stop',2,'Syntax: .npc follow stop\r\n\r\nSelected creature (non pet) stop follow you.'),
|
||||
('npc info',1,'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
|
||||
('npc move',3,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
|
||||
('npc playemote',2,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
|
||||
('npc say',2,'Syntax: .npc say $message\nMake selected creature say specified message.'),
|
||||
('npc set allowmove',5,'Syntax: .npc set allowmove\r\n\r\nEnable or disable movement creatures in world. Not implemented.'),
|
||||
('npc set data',3,'Syntax: .npc set data $field $data\nSets data for the selected creature. Used for testing Scripting'),
|
||||
('npc set entry',3,'Syntax: .npc set entry $entry\nSwitch selected creature with another entry from creature_template. - New creature.id value not saved to DB.'),
|
||||
('npc set factionid',3,'Syntax: .npc set factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
|
||||
('npc set flag',3,'Syntax: .npc set flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
|
||||
('npc set level',3,'Syntax: .npc set level #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to (CONFIG_MAX_PLAYER_LEVEL) + 3.'),
|
||||
('npc set link',3,'Syntax: .npc set link $creatureGUID\r\n\r\nLinks respawn of selected creature to the condition that $creatureGUID defined is alive.'),
|
||||
('npc set model',3,'Syntax: .npc set model #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
|
||||
('npc set movetype',3,'Syntax: .npc set movetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'),
|
||||
('npc set phase',3,'Syntax: .npc set phase #phasemask\r\n\r\nSelected unit or pet phasemask changed to #phasemask with related world vision update for players. In creature case state saved to DB and persistent. In pet case change active until in game phase changed for owner, owner re-login, or GM-mode enable/disable..'),
|
||||
('npc set spawndist',3,'Syntax: .npc set spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
|
||||
('npc set spawntime',3,'Syntax: .npc set spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
|
||||
('npc textemote',2,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
|
||||
('npc whisper',2,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
|
||||
('npc yell',2,'Syntax: .npc yell $message\nMake selected creature yell specified message.'),
|
||||
('pdump',3,'Syntax: .pdump $subcommand\nType .pdump to see the list of possible subcommands or .help pdump $subcommand to see info on subcommands'),
|
||||
('pdump load',3,'Syntax: .pdump load $filename $account [$newname] [$newguid]\r\nLoad character dump from dump file into character list of $account with saved or $newname, with saved (or first free) or $newguid guid.'),
|
||||
('pdump write',3,'Syntax: .pdump write $filename $playerNameOrGUID\r\nWrite character dump with name/guid $playerNameOrGUID to file $filename.'),
|
||||
('pet',2,'Syntax: .pet $subcommand\nType .pet to see the list of possible subcommands or .help pet $subcommand to see info on subcommands'),
|
||||
('pet create',2,'Syntax: .pet create\r\n\r\nCreates a pet of the selected creature.'),
|
||||
('pet learn',2,'Syntax: .pet learn\r\n\r\nLearn #spellid to pet.'),
|
||||
('pet unlearn',2,'Syntax: .pet unlean\r\n\r\nunLearn #spellid to pet.'),
|
||||
('pinfo',2,'Syntax: .pinfo [$player_name/#GUID]\r\n\r\nOutput account information and guild information for selected player or player find by $player_name or #GUID.'),
|
||||
('playall',2,'Syntax: .playall #soundid\r\n\r\nPlayer a sound to whole server.'),
|
||||
('possess',2,'Syntax: .possess\r\n\r\nPossesses indefinitely the selected creature.'),
|
||||
('quest',2,'Syntax: .quest $subcommand\nType .quest to see the list of possible subcommands or .help quest $subcommand to see info on subcommands'),
|
||||
('quest add',2,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
|
||||
('quest complete',2,'Syntax: .quest complete #questid\r\nMark all quest objectives as completed for target character active quest. After this target character can go and get quest reward.'),
|
||||
('quest remove',2,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
|
||||
('quest reward',2,'Syntax: .quest reward #questId\n\nGrants quest reward to selected player and removes quest from his log (quest must be in completed state).'),
|
||||
('recall',2,'Syntax: .recall [$playername]\r\n\r\nTeleport $playername or selected player to the place where he has been before last use of a teleportation command. If no $playername is entered and no player is selected, it will teleport you.'),
|
||||
('reload',3,'Syntax: .reload $subcommand\nType .reload to see the list of possible subcommands or .help reload $subcommand to see info on subcommands'),
|
||||
('reload access_requirement',3,'Syntax: .reload access_requirement\nReload access_requirement table.'),
|
||||
('reload achievement_criteria_data',3,'Syntax: .reload achievement_criteria_data\nReload achievement_criteria_data table.'),
|
||||
('reload achievement_reward',3,'Syntax: .reload achievement_reward\nReload achievement_reward table.'),
|
||||
('reload all',3,'Syntax: .reload all\r\n\r\nReload all tables with reload support added and that can be _safe_ reloaded.'),
|
||||
('reload all achievement',3,'Syntax: .reload all achievement\r\n\r\nReload achievement_reward, achievement_criteria_data tables.'),
|
||||
('reload all area',3,'Syntax: .reload all area\r\n\r\nReload areatrigger_teleport, areatrigger_tavern, game_graveyard_zone tables.'),
|
||||
('reload all gossips',3,'Syntax: .reload all gossips\nReload gossip_menu, gossip_menu_option, gossip_scripts, points_of_interest tables.'),
|
||||
('reload all item',3,'Syntax: .reload all item\nReload page_text, item_enchantment_table tables.'),
|
||||
('reload all locales',3,'Syntax: .reload all locales\r\n\r\nReload all `locales_*` tables with reload support added and that can be _safe_ reloaded.'),
|
||||
('reload all loot',3,'Syntax: .reload all loot\r\n\r\nReload all `*_loot_template` tables. This can be slow operation with lags for server run.'),
|
||||
('reload all npc',3,'Syntax: .reload all npc\nReload npc_option, npc_trainer, npc vendor, points of interest tables.'),
|
||||
('reload all quest',3,'Syntax: .reload all quest\r\n\r\nReload all quest related tables if reload support added for this table and this table can be _safe_ reloaded.'),
|
||||
('reload all scripts',3,'Syntax: .reload all scripts\nReload gameobject_scripts, event_scripts, quest_end_scripts, quest_start_scripts, spell_scripts, db_script_string, waypoint_scripts tables.'),
|
||||
('reload all spell',3,'Syntax: .reload all spell\r\n\r\nReload all `spell_*` tables with reload support added and that can be _safe_ reloaded.'),
|
||||
('reload areatrigger_involvedrelation',3,'Syntax: .reload areatrigger_involvedrelation\nReload areatrigger_involvedrelation table.'),
|
||||
('reload areatrigger_tavern',3,'Syntax: .reload areatrigger_tavern\nReload areatrigger_tavern table.'),
|
||||
('reload areatrigger_teleport',3,'Syntax: .reload areatrigger_teleport\nReload areatrigger_teleport table.'),
|
||||
('reload auctions',3,'Syntax: .reload auctions\nReload dynamic data tables from the database.'),
|
||||
('reload autobroadcast',3,'Syntax: .reload autobroadcast\nReload autobroadcast table.'),
|
||||
('reload command',3,'Syntax: .reload command\nReload command table.'),
|
||||
('reload conditions',3,'Reload conditions table.'),
|
||||
('reload config',3,'Syntax: .reload config\r\n\r\nReload config settings (by default stored in trinityd.conf). Not all settings can be change at reload: some new setting values will be ignored until restart, some values will applied with delay or only to new objects/maps, some values will explicitly rejected to change at reload.'),
|
||||
('reload creature_linked_respawn',3,'Syntax: .reload creature_linked_respawn\r\nReload creature_linked_respawn table.'),
|
||||
('reload creature_loot_template',3,'Syntax: .reload creature_loot_template\nReload creature_loot_template table.'),
|
||||
('reload creature_onkill_reputation',3,'Syntax: .reload creature_onkill_reputation\r\nReload creature_onkill_reputation table.'),
|
||||
('reload creature_questender',3,'Syntax: .reload creature_questender\nReload creature_questender table.'),
|
||||
('reload creature_queststarter',3,'Syntax: .reload creature_queststarter\nReload creature_queststarter table.'),
|
||||
('reload creature_template',3,'Syntax: .reload creature_template $entry\r\nReload the specified creature\'s template.'),
|
||||
('reload creature_text',3,'Syntax: .reload creature_text\r\nReload creature_text table.'),
|
||||
('reload disables',3,'Syntax: .reload disables\r\nReload disables table.'),
|
||||
('reload disenchant_loot_template',3,'Syntax: .reload disenchant_loot_template\nReload disenchant_loot_template table.'),
|
||||
('reload event_scripts',3,'Syntax: .reload event_scripts\nReload event_scripts table.'),
|
||||
('reload fishing_loot_template',3,'Syntax: .reload fishing_loot_template\nReload fishing_loot_template table.'),
|
||||
('reload gameobject_loot_template',3,'Syntax: .reload gameobject_loot_template\nReload gameobject_loot_template table.'),
|
||||
('reload gameobject_queststarter',3,'Syntax: .reload gameobject_queststarter\nReload gameobject_queststarter table.'),
|
||||
('reload game_graveyard_zone',3,'Syntax: .reload game_graveyard_zone\nReload game_graveyard_zone table.'),
|
||||
('reload game_tele',3,'Syntax: .reload game_tele\nReload game_tele table.'),
|
||||
('reload gm_tickets',3,'Syntax: .reload gm_tickets\nReload gm_tickets table.'),
|
||||
('reload gossip_menu',3,'Syntax: .reload gossip_menu\nReload gossip_menu table.'),
|
||||
('reload gossip_menu_option',3,'Syntax: .reload gossip_menu_option\nReload gossip_menu_option table.'),
|
||||
('reload item_enchantment_template',3,'Syntax: .reload item_enchantment_template\nReload item_enchantment_template table.'),
|
||||
('reload item_loot_template',3,'Syntax: .reload item_loot_template\nReload item_loot_template table.'),
|
||||
('reload item_set_names',3,'Syntax: .reload item_set_names\nReload item_set_names table.'),
|
||||
('reload lfg_dungeon_rewards',3,'Syntax: .reload lfg_dungeon_rewards\nReload lfg_dungeon_rewards table.'),
|
||||
('reload locales_creature',3,'Syntax: .reload locales_creature\nReload locales_creature table.'),
|
||||
('reload locales_creature_text',3,'Syntax: .reload locales_creature_text\nReload locales_creature_text Table.'),
|
||||
('reload locales_gameobject',3,'Syntax: .reload locales_gameobject\nReload locales_gameobject table.'),
|
||||
('reload locales_gossip_menu_option',3,'Syntax: .reload locales_gossip_menu_option\nReload locales_gossip_menu_option table.'),
|
||||
('reload locales_item',3,'Syntax: .reload locales_item\nReload locales_item table.'),
|
||||
('reload locales_item_set_name',3,'Syntax: .reload locales_item_set_name\nReload locales_item_set_name table.'),
|
||||
('reload locales_npc_text',3,'Syntax: .reload locales_npc_text\nReload locales_npc_text table.'),
|
||||
('reload locales_page_text',3,'Syntax: .reload locales_page_text\nReload locales_page_text table.'),
|
||||
('reload locales_points_of_interest',3,'Syntax: .reload locales_points_of_interest\nReload locales_point_of_interest table.'),
|
||||
('reload locales_quest',3,'Syntax: .reload locales_quest\nReload locales_quest table.'),
|
||||
('reload mail_level_reward',3,'Syntax: .reload mail_level_reward\nReload mail_level_reward table.'),
|
||||
('reload mail_loot_template',3,'Syntax: .reload quest_mail_loot_template\nReload quest_mail_loot_template table.'),
|
||||
('reload milling_loot_template',3,'Syntax: .reload milling_loot_template\nReload milling_loot_template table.'),
|
||||
('reload npc_trainer',3,'Syntax: .reload npc_trainer\nReload npc_trainer table.'),
|
||||
('reload npc_vendor',3,'Syntax: .reload npc_vendor\nReload npc_vendor table.'),
|
||||
('reload page_text',3,'Syntax: .reload page_text\nReload page_text table.'),
|
||||
('reload pickpocketing_loot_template',3,'Syntax: .reload pickpocketing_loot_template\nReload pickpocketing_loot_template table.'),
|
||||
('reload points_of_interest',3,'Syntax: .reload points_of_interest\nReload points_of_interest table.'),
|
||||
('reload prospecting_loot_template',3,'Syntax: .reload prospecting_loot_template\nReload prospecting_loot_template table.'),
|
||||
('reload quest_poi',3,'Syntax: .reload quest_poi\nReload quest_poi table.'),
|
||||
('reload quest_template',3,'Syntax: .reload quest_template\nReload quest_template table.'),
|
||||
('reload reference_loot_template',3,'Syntax: .reload reference_loot_template\nReload reference_loot_template table.'),
|
||||
('reload reserved_name',3,'Syntax: .reload reserved_name\nReload reserved_name table.'),
|
||||
('reload skill_discovery_template',3,'Syntax: .reload skill_discovery_template\nReload skill_discovery_template table.'),
|
||||
('reload skill_extra_item_template',3,'Syntax: .reload skill_extra_item_template\nReload skill_extra_item_template table.'),
|
||||
('reload skill_fishing_base_level',3,'Syntax: .reload skill_fishing_base_level\nReload skill_fishing_base_level table.'),
|
||||
('reload skinning_loot_template',3,'Syntax: .reload skinning_loot_template\nReload skinning_loot_template table.'),
|
||||
('reload smart_scripts',3,'Syntax: .reload smart_scripts\nReload smart_scripts table.'),
|
||||
('reload spell_area',3,'Syntax: .reload spell_area\nReload spell_area table.'),
|
||||
('reload spell_bonus_data',3,'Syntax: .reload spell_bonus_data\nReload spell_bonus_data table.'),
|
||||
('reload spell_group',3,'Syntax: .reload spell_group\nReload spell_group table.'),
|
||||
('reload spell_group_stack_rules',3,'Syntax: .reload spell_group\nReload spell_group_stack_rules table.'),
|
||||
('reload spell_linked_spell',3,'Usage: .reload spell_linked_spell\r\nReloads the spell_linked_spell DB table.'),
|
||||
('reload spell_loot_template',3,'Syntax: .reload spell_loot_template\nReload spell_loot_template table.'),
|
||||
('reload spell_pet_auras',3,'Syntax: .reload spell_pet_auras\nReload spell_pet_auras table.'),
|
||||
('reload spell_proc',3,'Syntax: .reload spell_proc\nReload spell_proc table.'),
|
||||
('reload spell_proc_event',3,'Syntax: .reload spell_proc_event\nReload spell_proc_event table.'),
|
||||
('reload spell_required',3,'Syntax: .reload spell_required\nReload spell_required table.'),
|
||||
('reload spell_scripts',3,'Syntax: .reload spell_scripts\nReload spell_scripts table.'),
|
||||
('reload spell_target_position',3,'Syntax: .reload spell_target_position\nReload spell_target_position table.'),
|
||||
('reload spell_threats',3,'Syntax: .reload spell_threats\nReload spell_threats table.'),
|
||||
('reload trinity_string',3,'Syntax: .reload trinity_string\nReload trinity_string table.'),
|
||||
('reload vehicle_accessory',3,'Syntax: .reload vehicle_accessory\n\nReloads GUID-based vehicle accessory definitions from the database.'),
|
||||
('reload vehicle_template_accessory',3,'Syntax: .reload vehicle_template_accessory\n\nReloads entry-based vehicle accessory definitions from the database.'),
|
||||
('reload waypoint_data',3,'Syntax: .reload waypoint_data will reload waypoint_data table.'),
|
||||
('reload waypoint_scripts',3,'Syntax: .reload waypoint_scripts\nReload waypoint_scripts table.'),
|
||||
('repairitems',2,'Syntax: .repairitems\r\n\r\nRepair all selected player\'s items.'),
|
||||
('reset',3,'Syntax: .reset $subcommand\nType .reset to see the list of possible subcommands or .help reset $subcommand to see info on subcommands'),
|
||||
('reset achievements',4,'Syntax: .reset achievements [$playername]\r\n\r\nReset achievements data for selected or named (online or offline) character. Achievements for persistance progress data like completed quests/etc re-filled at reset. Achievements for events like kills/casts/etc will lost.'),
|
||||
('reset all',4,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all talents\r\n\r\nRequest reset spells or talents (including talents for all character\'s pets if any) at next login each existed character.'),
|
||||
('reset honor',3,'Syntax: .reset honor [Playername]\r\n Reset all honor data for targeted character.'),
|
||||
('reset level',3,'Syntax: .reset level [Playername]\r\n Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.'),
|
||||
('reset spells',3,'Syntax: .reset spells [Playername]\r\n Removes all non-original spells from spellbook.\r\n. Playername can be name of offline character.'),
|
||||
('reset stats',3,'Syntax: .reset stats [Playername]\r\n Resets(recalculate) all stats of the targeted player to their original VALUESat current level.'),
|
||||
('reset talents',3,'Syntax: .reset talents [Playername]\r\n Removes all talents of the targeted player or pet or named player. Playername can be name of offline character. With player talents also will be reset talents for all character\'s pets if any.'),
|
||||
('respawn',2,'Syntax: .respawn\r\n\r\nRespawn all nearest creatures and GO without waiting respawn time expiration.'),
|
||||
('revive',2,'Syntax: .revive\r\n\r\nRevive the selected player. If no player is selected, it will revive you.'),
|
||||
('save',0,'Syntax: .save\r\n\r\nSaves your character.'),
|
||||
('saveall',2,'Syntax: .saveall\r\n\r\nSave all characters in game.'),
|
||||
('send items',2,'Syntax: .send items #playername \"#subject\" \"#text\" itemid1[:count1] itemid2[:count2] ... itemidN[:countN]\r\n\r\nSend a mail to a player. Subject and mail text must be in \"\". If for itemid not provided related count values then expected 1, if count > max items in stack then items will be send in required amount stacks. All stacks amount in mail limited to 12.'),
|
||||
('send mail',2,'Syntax: .send mail #playername \"#subject\" \"#text\"\r\n\r\nSend a mail to a player. Subject and mail text must be in \"\".'),
|
||||
('send message',3,'Syntax: .send message $playername $message\r\n\r\nSend screen message to player from ADMINISTRATOR.'),
|
||||
('send money',2,'Syntax: .send money #playername \"#subject\" \"#text\" #money\r\n\r\nSend mail with money to a player. Subject and mail text must be in \"\".'),
|
||||
('server',3,'Syntax: .server $subcommand\nType .server to see the list of possible subcommands or .help server $subcommand to see info on subcommands'),
|
||||
('server corpses',2,'Syntax: .server corpses\r\n\r\nTriggering corpses expire check in world.'),
|
||||
('server exit',4,'Syntax: .server exit\r\n\r\nTerminate trinity-core NOW. Exit code 0.'),
|
||||
('server idlerestart',4,'Syntax: .server idlerestart #delay\r\n\r\nRestart the server after #delay seconds if no active connections are present (no players). Use #exist_code or 2 as program exist code.'),
|
||||
('server idlerestart cancel',3,'Syntax: .server idlerestart cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
|
||||
('server idleshutdown',4,'Syntax: .server idleshutdown #delay [#exist_code]\r\n\r\nShut the server down after #delay seconds if no active connections are present (no players). Use #exist_code or 0 as program exist code.'),
|
||||
('server idleshutdown cancel',3,'Syntax: .server idleshutdown cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
|
||||
('server info',0,'Syntax: .server info\r\n\r\nDisplay server version and the number of connected players.'),
|
||||
('server motd',0,'Syntax: .server motd\r\n\r\nShow server Message of the day.'),
|
||||
('server restart',3,'Syntax: .server restart #delay\r\n\r\nRestart the server after #delay seconds. Use #exist_code or 2 as program exist code.'),
|
||||
('server restart cancel',3,'Syntax: .server restart cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
|
||||
('server set closed',4,'Syntax: server set closed on/off\r\n\r\nSets whether the world accepts new client connectsions.'),
|
||||
('server set loglevel',4,'Syntax: .server set loglevel $facility $name $loglevel. $facility can take the values: appender (a) or logger (l). $loglevel can take the values: disabled (0), trace (1), debug (2), info (3), warn (4), error (5) or fatal (6)'),
|
||||
('server set motd',3,'Syntax: .server set motd $MOTD\r\n\r\nSet server Message of the day.'),
|
||||
('server shutdown',3,'Syntax: .server shutdown #delay [#exit_code]\r\n\r\nShut the server down after #delay seconds. Use #exit_code or 0 as program exit code.'),
|
||||
('server shutdown cancel',3,'Syntax: .server shutdown cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
|
||||
('server togglequerylog',4,''),
|
||||
('setskill',2,'Syntax: .setskill #skill #level [#max]\r\n\r\nSet a skill of id #skill with a current skill value of #level and a maximum value of #max (or equal current maximum if not provide) for the selected character. If no character is selected, you learn the skill.'),
|
||||
('showarea',2,'Syntax: .showarea #areaid\r\n\r\nReveal the area of #areaid to the selected character. If no character is selected, reveal this area to you.'),
|
||||
('skirmish',3,''),
|
||||
('spect',0,''),
|
||||
('spect leave',0,''),
|
||||
('spect reset',0,''),
|
||||
('spect spectate',0,''),
|
||||
('spect version',0,''),
|
||||
('spect watch',0,''),
|
||||
('summon',2,'Syntax: .summon [$charactername]\r\n\r\nTeleport the given character to you. Character can be offline.'),
|
||||
('tele',1,'Syntax: .tele #location\r\n\r\nTeleport player to a given location.'),
|
||||
('tele add',3,'Syntax: .tele add $name\r\n\r\nAdd current your position to .tele command target locations list with name $name.'),
|
||||
('tele del',3,'Syntax: .tele del $name\r\n\r\nRemove location with name $name for .tele command locations list.'),
|
||||
('tele group',2,'Syntax: .tele group#location\r\n\r\nTeleport a selected player and his group members to a given location.'),
|
||||
('tele name',2,'Syntax: .tele name [#playername] #location\n\nTeleport the given character to a given location. Character can be offline.\n\nTo teleport to homebind, set #location to \"$home\" (without quotes).'),
|
||||
('ticket',2,'Syntax: .ticket $subcommand\nType .ticket to see the list of possible subcommands or .help ticket $subcommand to see info on subcommands'),
|
||||
('ticket assign',2,'Usage: .ticket assign $ticketid $gmname.\r\nAssigns the specified ticket to the specified Game Master.'),
|
||||
('ticket close',2,'Usage: .ticket close $ticketid.\r\nCloses the specified ticket. Does not delete permanently.'),
|
||||
('ticket closedlist',2,'Displays a list of closed GM tickets.'),
|
||||
('ticket comment',2,'Usage: .ticket comment $ticketid $comment.\r\nAllows the adding or modifying of a comment to the specified ticket.'),
|
||||
('ticket delete',3,'Usage: .ticket delete $ticketid.\r\nDeletes the specified ticket permanently. Ticket must be closed first.'),
|
||||
('ticket list',2,'Displays a list of open GM tickets.'),
|
||||
('ticket onlinelist',2,'Displays a list of open GM tickets whose owner is online.'),
|
||||
('ticket reset',4,'Syntax: .ticket reset\nRemoves all closed tickets and resets the counter, if no pending open tickets are existing.'),
|
||||
('ticket unassign',2,'Usage: .ticket unassign $ticketid.\r\nUnassigns the specified ticket from the current assigned Game Master.'),
|
||||
('ticket viewid',2,'Usage: .ticket viewid $ticketid.\r\nReturns details about specified ticket. Ticket must be open and not deleted.'),
|
||||
('ticket viewname',2,'Usage: .ticket viewname $creatorname. \r\nReturns details about specified ticket. Ticket must be open and not deleted.'),
|
||||
('titles add',2,'Syntax: .titles add #title\r\nAdd title #title (id or shift-link) to known titles list for selected player.'),
|
||||
('titles current',2,'Syntax: .titles current #title\r\nSet title #title (id or shift-link) as current selected titl for selected player. If title not in known title list for player then it will be added to list.'),
|
||||
('titles remove',2,'Syntax: .titles remove #title\r\nRemove title #title (id or shift-link) from known titles list for selected player.'),
|
||||
('titles set mask',2,'Syntax: .titles set mask #mask\r\n\r\nAllows user to use all titles from #mask.\r\n\r\n #mask=0 disables the title-choose-field'),
|
||||
('unaura',2,'Syntax: .unaura #spellid\r\n\r\nRemove aura due to spell #spellid from the selected Unit.'),
|
||||
('unban',2,'Syntax: .unban $subcommand\nType .unban to see the list of possible subcommands or .help unban $subcommand to see info on subcommands'),
|
||||
('unban account',2,'Syntax: .unban account $Name\r\nUnban accounts for account name pattern.'),
|
||||
('unban character',2,'Syntax: .unban character $Name\r\nUnban accounts for character name pattern.'),
|
||||
('unban ip',2,'Syntax : .unban ip $Ip\r\nUnban accounts for IP pattern.'),
|
||||
('unban playeraccount',4,''),
|
||||
('unbindsight',3,'Syntax: .unbindsight\r\n\r\nRemoves bound vision. Cannot be used while currently possessing a target.'),
|
||||
('unfreeze',2,'Syntax: .unfreeze (#player)\r\n\"Unfreezes\" #player and enables his chat again. When using this without #name it will unfreeze your target.'),
|
||||
('unlearn',2,'Syntax: .unlearn #spell [all]\r\n\r\nUnlearn for selected player a spell #spell. If \'all\' provided then all ranks unlearned.'),
|
||||
('unmute',2,'Syntax: .unmute [$playerName]\r\n\r\nRestore chat messaging for any character from account of character $playerName (or selected). Character can be ofline.'),
|
||||
('unpossess',2,'Syntax: .unpossess\r\n\r\nIf you are possessed, unpossesses yourself; otherwise unpossesses current possessed target.'),
|
||||
('unstuck',2,'Syntax: .unstuck $playername [inn/graveyard/startzone]\n\nTeleports specified player to specified location. Default location is player\'s current hearth location.'),
|
||||
('wchange',3,'Syntax: .wchange #weathertype #status\r\n\r\nSet current weather to #weathertype with an intensity of #status.\r\n\r\n#weathertype can be 1 for rain, 2 for snow, and 3 for sand. #status can be 0 for disabled, and 1 for enabled.'),
|
||||
('whispers',1,'Syntax: .whispers on|off\r\nEnable/disable accepting whispers by GM from players. By default use trinityd.conf setting.'),
|
||||
('wp add',3,'Syntax: .wp add\r\n\r\nAdd a waypoint for the selected creature at your current position.'),
|
||||
('wp event',3,'Syntax: .wp event $subcommand\nType .path event to see the list of possible subcommands or .help path event $subcommand to see info on subcommands.'),
|
||||
('wp load',3,'Syntax: .wp load $pathid\nLoad pathid number for selected creature. Creature must have no waypoint data.'),
|
||||
('wp reload',3,'Syntax: .wp reload $pathid\nLoad path changes ingame - IMPORTANT: must be applied first for new paths before .wp load #pathid '),
|
||||
('wp show',3,'Syntax: .wp show $option\nOptions:\non $pathid (or selected creature with loaded path) - Show path\noff - Hide path\ninfo $slected_waypoint - Show info for selected waypoint.'),
|
||||
('wp unload',3,'Syntax: .wp unload\nUnload path for selected creature.'),
|
||||
('wpgps',4,'Syntax: .wpgps\n\nOutput current position to sql developer log as partial SQL query to be used in pathing'),
|
||||
('account create',4,'Syntax: .account create $account $password\r\n\r\nCreate account and set password to it.'),
|
||||
('account delete',4,'Syntax: .account delete $account\r\n\r\nDelete account with all characters.'),
|
||||
('account onlinelist',4,'Syntax: .account onlinelist\r\n\r\nShow list of online accounts.'),
|
||||
('account password',0,'Syntax: .account password $old_password $new_password $new_password [$email]\r\n\r\nChange your account password. You may need to check the actual security mode to see if email input is necessary.'),
|
||||
('account set addon',2,'Syntax: .account set addon [$account] #addon\r\n\r\nSet user (possible targeted) expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.'),
|
||||
('account set gmlevel',4,'Syntax: .account set gmlevel [$account] #level [#realmid]\r\n\r\nSet the security level for targeted player (can\'t be used at self) or for account $name to a level of #level on the realm #realmID.\r\n\r\n#level may range from 0 to 3.\r\n\r\n#reamID may be -1 for all realms.'),
|
||||
('account set password',4,'Syntax: .account set password $account $password $password\r\n\r\nSet password for account.'),
|
||||
('account set',2,'Syntax: .account set $subcommand\nType .account set to see the list of possible subcommands or .help account set $subcommand to see info on subcommands'),
|
||||
('account',0,'Syntax: .account\r\n\r\nDisplay the access level of your account and the email adress if you possess the necessary permissions.'),
|
||||
('gm ingame',5,'Syntax: .gm ingame\r\n\r\nDisplay a list of available in game Game Masters.'),
|
||||
('account addon',1,'Syntax: .account addon #addon\nSet expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.'),
|
||||
('mailbox',1,'Syntax: .mailbox\r\n\r\nShow your mailbox content.'),
|
||||
('reload gameobject_questender',3,'Syntax: .reload gameobject_questender\\nReload gameobject_questender table.'),
|
||||
('npc evade',2,'Syntax: .npc evade [reason] [force]\nMakes 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.'),
|
||||
('account lock',0,'Syntax: .account lock [on|off]\n\n Allow login from account only from current used IP or remove this requirement.'),
|
||||
('character',2,'Syntax: character $subcommand\n Type .character to see a list of possible subcommands\n or .help character $subcommand to see info on the subcommand.'),
|
||||
('debug anim',5,'TODO'),
|
||||
('debug entervehicle',3,'Syntax: '),
|
||||
('debug getitemstate',3,'Syntax: '),
|
||||
('debug getitemvalue',3,'Syntax: '),
|
||||
('debug getvalue',3,'Syntax: '),
|
||||
('debug hostil',1,'Syntax: '),
|
||||
('debug itemexpire',3,'Syntax: '),
|
||||
('debug lootrecipient',3,'Syntax: '),
|
||||
('debug los',3,'Syntax: '),
|
||||
('debug play',1,'Syntax: '),
|
||||
('debug send chatmessage',3,'Syntax: '),
|
||||
('debug setitemvalue',3,'Syntax: '),
|
||||
('debug threat',3,'Syntax: '),
|
||||
('debug uws',3,'Syntax: '),
|
||||
('gobject set',3,'Syntax: '),
|
||||
('gobject set state',3,'Syntax: '),
|
||||
('send',2,'Syntax: send $subcommand\n Type .send to see a list of possible subcommands\n or .help send $subcommand to see info on the subcommand.'),
|
||||
('npc set',3,'Syntax: '),
|
||||
('npc near',2,'Syntax: '),
|
||||
('npc tame',2,'Syntax: '),
|
||||
('reload npc_spellclick_spells',3,'Syntax: '),
|
||||
('ticket complete',2,'Syntax: '),
|
||||
('ticket escalate',2,'Syntax: '),
|
||||
('ticket escalatedlist',2,'Syntax: '),
|
||||
('ticket response',2,'Syntax: '),
|
||||
('ticket response append',2,'Syntax: '),
|
||||
('ticket response appendln',2,'Syntax: '),
|
||||
('ticket togglesystem',3,'Syntax: '),
|
||||
('titles',2,'Syntax: '),
|
||||
('titles set',2,'Syntax: '),
|
||||
('wp',3,'Syntax: wp $subcommand\n Type .wp to see a list of possible subcommands\n or .help wp $subcommand to see info on the subcommand.'),
|
||||
('wp modify',3,'Syntax: ');
|
||||
30
data/sql/old/db_world/1.x/2016_08_24_00.sql
Normal file
30
data/sql/old/db_world/1.x/2016_08_24_00.sql
Normal file
@@ -0,0 +1,30 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_21_00 2016_08_24_00 bit;
|
||||
|
||||
-- Insert MovementType to Fizzle Darkstorm (GUID = 6455) and Burning Blade Fanatic (GUID = 6432) npc
|
||||
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (645500,643200);
|
||||
-- Fizzle Darkstorm
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
|
||||
('645500', '1', '870.331', '-4202.85', '-14.0742', '0', '45000', '0', '0', '100', '0'),
|
||||
('645500', '2', '869.751', '-4190.07', '-14.1105', '0', '45000', '0', '0', '100', '0'),
|
||||
-- Burning Blade Fanatic
|
||||
('643200', '1', '843.944', '-4207.75', '-9.11563', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '2', '855.389', '-4212.85', '-9.99841', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '3', '867.336', '-4204.73', '-13.9766', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '4', '879.138', '-4186.37', '-13.9981', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '5', '898.795', '-4170.9', '-9.24759', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '6', '894.318', '-4165.13', '-9.10758', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '7', '881.809', '-4167.77', '-13.8924', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '8', '864.355', '-4183.45', '-14.0399', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '9', '847.975', '-4191.54', '-10.0094', '0', '0', '0', '0', '100', '0'),
|
||||
('643200', '10', '847.094', '-4194.71', '-9.9878', '0', '0', '0', '0', '100', '0');
|
||||
|
||||
-- Fizzle Darkstorm
|
||||
UPDATE `creature_addon` SET `path_id`='645500' WHERE `guid`='6455';
|
||||
UPDATE `creature` SET `MovementType`='2' WHERE `guid`='6455';
|
||||
|
||||
-- Burning Blade Fanatic
|
||||
DELETE FROM `creature_addon` WHERE `guid` = 6432;
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES ('6432', '643200', '0', '0', '0', '0', '0');
|
||||
UPDATE `creature` SET `MovementType`='2' WHERE `guid`='6432';
|
||||
|
||||
3
data/sql/old/db_world/1.x/2016_08_24_01.sql
Normal file
3
data/sql/old/db_world/1.x/2016_08_24_01.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_24_00 2016_08_24_01 bit;
|
||||
|
||||
UPDATE command SET security = 0 WHERE name = 'gm ingame';
|
||||
12
data/sql/old/db_world/1.x/2016_08_25_00.sql
Normal file
12
data/sql/old/db_world/1.x/2016_08_25_00.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_24_01 2016_08_25_00 bit;
|
||||
|
||||
RENAME TABLE `world_db_version` TO `version_db_world`;
|
||||
|
||||
ALTER TABLE `version_db_world`
|
||||
ADD COLUMN `sql_rev` VARCHAR(100) NOT NULL FIRST,
|
||||
ADD COLUMN `required_rev` VARCHAR(100) NULL AFTER `sql_rev`,
|
||||
ADD PRIMARY KEY (`sql_rev`),
|
||||
ENGINE=INNODB;
|
||||
|
||||
ALTER TABLE `version_db_world` ADD CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_world`(`sql_rev`);
|
||||
|
||||
3
data/sql/old/db_world/1.x/2016_08_26_00.sql
Normal file
3
data/sql/old/db_world/1.x/2016_08_26_00.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_08_25_00 2016_08_26_00 bit;
|
||||
|
||||
DELETE FROM command WHERE name IN ('npc evade', 'debug send chatmessage');
|
||||
20
data/sql/old/db_world/1.x/2016_08_30_00.sql
Normal file
20
data/sql/old/db_world/1.x/2016_08_30_00.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
-- DB update 2016_08_26_00 -> 2016_08_30_00
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_08_26_00 2016_08_30_00 bit;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
/*
|
||||
Issue: Not work quest id 10990 10991 10992 #114
|
||||
NPCs spawns are inside the Gobjs
|
||||
*/
|
||||
|
||||
UPDATE gameobject_template SET AIName="SmartGameObjectAI", ScriptName = "" /*go_shrine_of_the_birds*/ WHERE entry IN (185551,185547,185553);
|
||||
DELETE FROM smart_scripts WHERE entryorguid IN (185551,185547,185553) AND source_type=1;
|
||||
INSERT INTO smart_scripts VALUES
|
||||
(185551,1,0,0,70,0,100,0,2,0,0,0,12,22992,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Activate - Summon Creature 22992"),
|
||||
(185547,1,0,0,70,0,100,0,2,0,0,0,12,22993,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Eagle Shrine - On Gossip Hello - Summon Creature 22993"),
|
||||
(185553,1,0,0,70,0,100,0,2,0,0,0,12,22994,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Gossip Hello - Summon Creature 22994");--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
34
data/sql/old/db_world/1.x/2016_09_24_00.sql
Normal file
34
data/sql/old/db_world/1.x/2016_09_24_00.sql
Normal file
@@ -0,0 +1,34 @@
|
||||
-- DB update 2016_08_30_00 -> 2016_09_24_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_08_30_00 2016_09_24_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1473110802988536500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1473110802988536500');
|
||||
|
||||
|
||||
-- Tyrannus Mount fix
|
||||
|
||||
DELETE from creature_template where `entry` = 36794;
|
||||
DELETE from creature_template_addon where entry = 36794;
|
||||
|
||||
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`)
|
||||
VALUES (36794, 0, 0, 0, 0, 0, 30277, 0, 0, 0, 'Scourgelord Tyrannus', '', '', 0, 82, 82, 2, 21, 0, 3, 3, 0.5, 1, 463, 640, 0, 726, 7.5, 2000, 0, 2, 832, 2048, 8, 0, 0, 0, 0, 0, 360, 520, 91, 6, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 551, 0, 0, '', 0, 4, 1, 8, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 8388624, 0, 'npc_pos_tyrannus_events', 12340);
|
||||
|
||||
|
||||
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
|
||||
(36794, 0, 27982, 50331648, 1, 0, '');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
150
data/sql/old/db_world/1.x/2016_09_24_01.sql
Normal file
150
data/sql/old/db_world/1.x/2016_09_24_01.sql
Normal file
@@ -0,0 +1,150 @@
|
||||
-- DB update 2016_09_24_00 -> 2016_09_24_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_09_24_00 2016_09_24_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1473111010225487800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1473111010225487800');
|
||||
|
||||
|
||||
-- Ambassitor Kelmer Walk fix
|
||||
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=64973;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
|
||||
(64973, 64973, 0, 0, 2),
|
||||
(64973, 64969, 3, 90, 2),
|
||||
(64973, 64972, 3, 190, 2),
|
||||
(64973, 64970, 3, 150, 2),
|
||||
(64973, 64971, 3, 230, 2);
|
||||
|
||||
-- Pathing for Ambassador Kelemar Entry: 18191 'TDB FORMAT'
|
||||
SET @NPC := 64973;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=9820.037,`position_y`=-7272.192,`position_z`=26.49395 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,9796.135,-7283.987,27.08482,0,0,0,0,100,0), -- 19:26:00
|
||||
(@PATH,2,9780.896,-7294.989,25.69673,0,0,0,0,100,0), -- 19:26:06
|
||||
(@PATH,3,9761.531,-7308.111,24.53886,0,0,0,0,100,0), -- 19:26:17
|
||||
(@PATH,4,9739.729,-7318.02,24.66139,0,0,0,0,100,0), -- 19:26:24
|
||||
(@PATH,5,9718.599,-7323.634,17.83319,0,0,0,0,100,0), -- 19:26:33
|
||||
(@PATH,6,9705.037,-7327.564,12.23571,0,0,0,0,100,0), -- 19:26:43
|
||||
(@PATH,7,9692.664,-7328.254,12.46708,0,0,0,0,100,0), -- 19:26:50
|
||||
(@PATH,8,9688.664,-7326.754,13.46708,0,0,0,0,100,0), -- 19:26:50
|
||||
(@PATH,9,9687.164,-7326.254,13.71708,0,0,0,0,100,0), -- 19:26:50
|
||||
(@PATH,10,9684.914,-7325.504,13.71708,0,0,0,0,100,0), -- 19:26:50
|
||||
(@PATH,11,9680.164,-7323.754,13.96708,0,0,0,0,100,0), -- 19:26:50
|
||||
(@PATH,12,9678.275,-7317.159,14.09098,0,0,0,0,100,0), -- 19:27:18
|
||||
(@PATH,13,9678.275,-7315.409,14.09098,0,0,0,0,100,0), -- 19:27:18
|
||||
(@PATH,14,9693.328,-7309.638,14.26884,0,0,0,0,100,0), -- 19:27:24
|
||||
(@PATH,15,9694.828,-7309.638,14.51884,0,0,0,0,100,0), -- 19:27:24
|
||||
(@PATH,16,9697.677,-7306.808,14.97078,0,0,0,0,100,0), -- 19:27:31
|
||||
(@PATH,17,9698.177,-7303.808,15.47078,0,0,0,0,100,0), -- 19:27:31
|
||||
(@PATH,18,9694.492,-7299.811,14.81144,0,0,0,0,100,0), -- 19:27:35
|
||||
(@PATH,19,9693.242,-7299.561,14.56144,0,0,0,0,100,0), -- 19:27:35
|
||||
(@PATH,20,9681.492,-7297.311,14.31144,0,0,0,0,100,0), -- 19:27:35
|
||||
(@PATH,21,9680.242,-7297.061,14.31144,0,0,0,0,100,0), -- 19:27:35
|
||||
(@PATH,22,9676.988,-7291.817,14.21627,0,0,0,0,100,0), -- 19:27:43
|
||||
(@PATH,23,9676.488,-7290.067,13.96627,0,0,0,0,100,0), -- 19:27:43
|
||||
(@PATH,24,9674.988,-7285.067,14.21627,0,0,0,0,100,0), -- 19:27:43
|
||||
(@PATH,25,9664.734,-7275.52,14.00172,0,0,0,0,100,0), -- 19:27:51
|
||||
(@PATH,26,9663.512,-7275.039,14.20501,0,0,0,0,100,0), -- 19:27:54
|
||||
(@PATH,27,9640.073,-7275.812,14.19427,0,0,0,0,100,0), -- 19:28:00
|
||||
(@PATH,28,9600.183,-7275.951,14.198,0,0,0,0,100,0), -- 19:28:11
|
||||
(@PATH,29,9591.281,-7275.895,14.20201,0,0,0,0,100,0), -- 19:28:24
|
||||
(@PATH,30,9527.367,-7276.398,14.20272,0,0,0,0,100,0), -- 19:28:42
|
||||
(@PATH,31,9514.253,-7280.672,14.23572,0,0,0,0,100,0), -- 19:28:51
|
||||
(@PATH,32,9513.003,-7281.172,14.23572,0,0,0,0,100,0), -- 19:28:51
|
||||
(@PATH,33,9505.664,-7290.029,14.31716,0,0,0,0,100,0), -- 19:28:59
|
||||
(@PATH,34,9505.664,-7307.279,14.31716,0,0,0,0,100,0), -- 19:28:59
|
||||
(@PATH,35,9515.084,-7323.17,14.36923,0,0,0,0,100,0), -- 19:29:11
|
||||
(@PATH,36,9520.657,-7327.142,14.34109,0,0,0,0,100,0), -- 19:29:18
|
||||
(@PATH,37,9530.853,-7327.042,14.0993,0,0,0,0,100,0), -- 19:29:25
|
||||
(@PATH,38,9548.444,-7326.636,14.06214,0,0,0,0,100,0), -- 19:29:58
|
||||
(@PATH,39,9580.658,-7327.75,14.35676,0,0,0,0,100,0), -- 19:30:04
|
||||
(@PATH,40,9594.123,-7336.496,14.41358,0,0,0,0,100,0), -- 19:30:20
|
||||
(@PATH,41,9596.051,-7359.264,13.80623,0,0,0,0,100,0), -- 19:31:00
|
||||
(@PATH,42,9596.301,-7361.264,13.80623,0,0,0,0,100,0), -- 19:31:00
|
||||
(@PATH,43,9579.046,-7368.445,13.69998,0,0,0,0,100,0), -- 19:31:11
|
||||
(@PATH,44,9577.046,-7368.695,13.94998,0,0,0,0,100,0), -- 19:31:11
|
||||
(@PATH,45,9574.296,-7368.945,14.19998,0,0,0,0,100,0), -- 19:31:11
|
||||
(@PATH,46,9573.438,-7371.7,14.59834,0,0,0,0,100,0), -- 19:31:21
|
||||
(@PATH,47,9573.438,-7372.7,14.84834,0,0,0,0,100,0), -- 19:31:21
|
||||
(@PATH,48,9573.438,-7377.45,14.84834,0,0,0,0,100,0), -- 19:31:21
|
||||
(@PATH,49,9573.438,-7381.45,14.84834,0,0,0,0,100,0), -- 19:31:21
|
||||
(@PATH,50,9578.811,-7384.082,14.05795,0,0,0,0,100,0), -- 19:31:27
|
||||
(@PATH,51,9581.811,-7384.332,13.80795,0,0,0,0,100,0), -- 19:31:27
|
||||
(@PATH,52,9590.561,-7385.082,13.80795,0,0,0,0,100,0), -- 19:31:27
|
||||
(@PATH,53,9591.811,-7385.332,13.80795,0,0,0,0,100,0), -- 19:31:27
|
||||
(@PATH,54,9594.387,-7393.903,13.32688,0,0,0,0,100,0), -- 19:31:35
|
||||
(@PATH,55,9605.18,-7424.402,13.54854,0,0,0,0,100,0), -- 19:31:46
|
||||
(@PATH,56,9611.559,-7427.8,13.55342,0,0,0,0,100,0), -- 19:31:55
|
||||
(@PATH,57,9650.357,-7430.099,13.54782,0,0,0,0,100,0), -- 19:32:02
|
||||
(@PATH,58,9667.592,-7436.145,13.54347,0,0,0,0,100,0), -- 19:32:13
|
||||
(@PATH,59,9669.131,-7436.995,13.54329,0,0,0,0,100,0), -- 19:32:19
|
||||
(@PATH,60,9692.813,-7437.087,13.54329,0,0,0,0,100,0), -- 19:32:27
|
||||
(@PATH,61,9700.063,-7434.087,13.54329,0,0,0,0,100,0), -- 19:32:27
|
||||
(@PATH,62,9720.646,-7424.146,13.5211,0,0,0,0,100,0), -- 19:32:35
|
||||
(@PATH,63,9746.543,-7421.814,13.48517,0,0,0,0,100,0), -- 19:32:44
|
||||
(@PATH,64,9740.969,-7422.06,13.22301,0,0,0,0,100,0), -- 19:32:51
|
||||
(@PATH,65,9760.844,-7421.124,13.52046,0,0,0,0,100,0), -- 19:33:13
|
||||
(@PATH,66,9766.758,-7413.826,13.86535,0,0,0,0,100,0), -- 19:33:19
|
||||
(@PATH,67,9767.258,-7402.326,13.86535,0,0,0,0,100,0), -- 19:33:19
|
||||
(@PATH,68,9767.258,-7400.326,13.86535,0,0,0,0,100,0), -- 19:33:19
|
||||
(@PATH,69,9767.258,-7397.576,14.11535,0,0,0,0,100,0), -- 19:33:19
|
||||
(@PATH,70,9767.447,-7397.039,14.50608,0,0,0,0,100,0), -- 19:33:29
|
||||
(@PATH,71,9770.447,-7397.039,14.50608,0,0,0,0,100,0), -- 19:33:29
|
||||
(@PATH,72,9775.947,-7396.789,15.00608,0,0,0,0,100,0), -- 19:33:29
|
||||
(@PATH,73,9790.197,-7396.289,14.75608,0,0,0,0,100,0), -- 19:33:29
|
||||
(@PATH,74,9791.447,-7396.289,15.00608,0,0,0,0,100,0), -- 19:33:29
|
||||
(@PATH,75,9793.188,-7398,14.60959,0,0,0,0,100,0), -- 19:33:40
|
||||
(@PATH,76,9793.188,-7400.75,14.10959,0,0,0,0,100,0), -- 19:33:40
|
||||
(@PATH,77,9793.188,-7402.5,14.10959,0,0,0,0,100,0), -- 19:33:40
|
||||
(@PATH,78,9793.438,-7405.5,13.85959,0,0,0,0,100,0), -- 19:33:40
|
||||
(@PATH,79,9793.438,-7415,13.85959,0,0,0,0,100,0), -- 19:33:40
|
||||
(@PATH,80,9801.363,-7416.336,13.89329,0,0,0,0,100,0), -- 19:33:47
|
||||
(@PATH,81,9803.363,-7416.336,13.39329,0,0,0,0,100,0), -- 19:33:47
|
||||
(@PATH,82,9815.096,-7417.077,13.5569,0,0,0,0,100,0), -- 19:33:55
|
||||
(@PATH,83,9842.76,-7416.906,13.55959,0,0,0,0,100,0), -- 19:34:05
|
||||
(@PATH,84,9876.417,-7415.617,13.53772,0,0,0,0,100,0), -- 19:34:14
|
||||
(@PATH,85,9872.041,-7415.873,13.27497,0,0,0,0,100,0), -- 19:34:20
|
||||
(@PATH,86,9879.891,-7412.866,13.51642,0,0,0,0,100,0), -- 19:35:01
|
||||
(@PATH,87,9882.891,-7409.116,13.51642,0,0,0,0,100,0), -- 19:35:01
|
||||
(@PATH,88,9884.779,-7404.788,13.42007,0,0,0,0,100,0), -- 19:35:06
|
||||
(@PATH,89,9884.512,-7369.616,20.88766,0,0,0,0,100,0), -- 19:35:13
|
||||
(@PATH,90,9888.86,-7355.768,20.93519,0,0,0,0,100,0), -- 19:35:22
|
||||
(@PATH,91,9889.949,-7346.212,22.30157,0,0,0,0,100,0), -- 19:35:28
|
||||
(@PATH,92,9889.699,-7344.462,22.55157,0,0,0,0,100,0), -- 19:35:28
|
||||
(@PATH,93,9885.719,-7331.884,24.01373,0,0,0,0,100,0), -- 19:35:35
|
||||
(@PATH,94,9875.469,-7325.634,25.51373,0,0,0,0,100,0), -- 19:35:35
|
||||
(@PATH,95,9873.414,-7324.011,26.02122,0,0,0,0,100,0), -- 19:35:42
|
||||
(@PATH,96,9870.914,-7322.011,26.52122,0,0,0,0,100,0), -- 19:35:42
|
||||
(@PATH,97,9862.414,-7315.011,26.52122,0,0,0,0,100,0), -- 19:35:42
|
||||
(@PATH,98,9858.664,-7312.011,26.52122,0,0,0,0,100,0), -- 19:35:42
|
||||
(@PATH,99,9852.256,-7303.121,26.45031,0,0,0,0,100,0), -- 19:36:15
|
||||
(@PATH,100,9850.756,-7299.871,26.45031,0,0,0,0,100,0), -- 19:36:15
|
||||
(@PATH,101,9848.256,-7295.121,26.45031,0,0,0,0,100,0), -- 19:36:15
|
||||
(@PATH,102,9845.628,-7286.911,26.397,0,0,0,0,100,0), -- 19:36:22
|
||||
(@PATH,103,9843.291,-7277.301,26.41252,0,0,0,0,100,0), -- 19:36:28
|
||||
(@PATH,104,9819.617,-7272.363,26.49641,0,0,0,0,100,0); -- 19:36:36
|
||||
|
||||
UPDATE `creature` SET `spawndist`=0,`position_x`=9817.200195,`position_y`=-7268.220215,`position_z`=26.223801 WHERE `guid`=64969;
|
||||
UPDATE `creature` SET `spawndist`=0,`position_x`=9824.250000,`position_y`=-7272.975586,`position_z`=26.244701 WHERE `guid`=64970;
|
||||
UPDATE `creature` SET `spawndist`=0,`position_x`=9824.455078,`position_y`=-7270.105957,`position_z`=26.228758 WHERE `guid`=64972;
|
||||
UPDATE `creature` SET `spawndist`=0,`position_x`=9822.427734,`position_y`=-7267.509277,`position_z`=26.203625 WHERE `guid`=64971;
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
104
data/sql/old/db_world/1.x/2016_09_24_02.sql
Normal file
104
data/sql/old/db_world/1.x/2016_09_24_02.sql
Normal file
@@ -0,0 +1,104 @@
|
||||
-- DB update 2016_09_24_01 -> 2016_09_24_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_09_24_01 2016_09_24_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1473111186171042200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1473111186171042200');
|
||||
|
||||
-- Culling of Stratholme Fix
|
||||
-- Fix Arthus start senario & Resting point fix
|
||||
|
||||
DELETE FROM `creature_template` WHERE `entry` IN (11082,14646,28167,28169,28340,28341,28409,28439,28509,28656,29865,29866,29868,30996,31006,31126,31127);
|
||||
INSERT INTO `creature_template` VALUES
|
||||
(11082, 0, 0, 0, 0, 0, 10547, 0, 0, 0, 'Stratholme Courier', NULL, NULL, 0, 57, 57, 0, 21, 0, 1, 1.14286, 1, 1, 98, 130, 0, 238, 3.5, 2000, 1301, 1, 32832, 2048, 0, 0, 0, 0, 0, 0, 68, 99, 24, 6, 0, 11082, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 604, 794, 'SmartAI', 1, 3, 1, 4.5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 8388624, 0, '', 12340),
|
||||
(14646, 0, 0, 0, 0, 0, 11686, 0, 0, 0, 'Stratholme Trigger', NULL, NULL, 0, 1, 1, 0, 114, 0, 1, 1.14286, 1, 0, 2, 2, 0, 24, 3.5, 2000, 2200, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 1, 1, 100, 10, 0, 0, 0, 100008, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'NullCreatureAI', 0, 4, 1, 1.35, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, '', 12340),
|
||||
(28167, 0, 0, 0, 0, 0, 25168, 25169, 25311, 25312, 'Stratholme Citizen', '', '', 0, 77, 79, 0, 190, 0, 1, 1.14286, 1, 0, 404, 564, 0, 582, 1, 2000, 0, 1, 256, 2048, 8, 0, 0, 0, 0, 0, 334, 494, 95, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 0.3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 96, 1, 0, 0, 'npc_cos_stratholme_citizien', 12340),
|
||||
(28169, 0, 0, 0, 0, 0, 25171, 25172, 25313, 25314, 'Stratholme Resident', '', '', 0, 78, 79, 0, 190, 0, 1, 1.14286, 1, 0, 404, 564, 0, 582, 1, 2000, 0, 1, 256, 2048, 8, 0, 0, 0, 0, 0, 334, 494, 95, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 0.3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 96, 1, 0, 0, 'npc_cos_stratholme_citizien', 12340),
|
||||
(28340, 0, 0, 0, 0, 0, 25168, 25169, 0, 0, 'Stratholme Citizen', '', '', 0, 80, 80, 2, 190, 0, 1, 1.14286, 1, 0, 422, 586, 0, 642, 1, 2000, 2000, 1, 768, 2048, 0, 0, 0, 0, 0, 0, 345, 509, 103, 7, 0, 28340, 0, 70210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340),
|
||||
(28341, 0, 0, 0, 0, 0, 25313, 25314, 0, 0, 'Stratholme Resident', '', '', 0, 80, 80, 2, 190, 0, 1, 1.14286, 1, 0, 417, 582, 0, 608, 1, 2000, 2000, 1, 768, 2048, 0, 0, 0, 0, 0, 0, 341, 506, 80, 7, 0, 28341, 0, 70210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340),
|
||||
(28409, 0, 0, 0, 0, 0, 25392, 0, 0, 0, 'Time Rift (CoT Stratholme)', '', '', 0, 70, 70, 2, 35, 0, 1, 0.992063, 1, 0, 252, 357, 0, 304, 1, 2000, 2000, 1, 33554688, 2048, 0, 0, 0, 0, 0, 0, 215, 320, 44, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340),
|
||||
(28439, 0, 0, 0, 0, 0, 25441, 0, 0, 0, 'Time Rift (CoT Stratholme, Large)', '', '', 0, 70, 70, 2, 35, 0, 1, 0.992063, 1, 0, 252, 357, 0, 304, 1, 2000, 2000, 1, 33554688, 2048, 0, 0, 0, 0, 0, 0, 215, 320, 44, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340),
|
||||
(28509, 0, 0, 0, 0, 0, 1126, 24719, 0, 0, 'Building (CoT Stratholme)', '', '', 0, 80, 80, 2, 1814, 0, 1, 1.14286, 1, 0, 2, 2, 0, 24, 1, 2000, 2000, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 1, 1, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, '', 12340),
|
||||
(28656, 0, 0, 0, 0, 0, 24868, 0, 0, 0, 'Hourglass (CoT Stratholme)', '', '', 0, 80, 80, 2, 35, 0, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 2000, 1, 33555200, 2048, 0, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340),
|
||||
(29865, 0, 0, 0, 0, 0, 26598, 26599, 26600, 26601, 'Stratholme Citizen Specimen', '', '', 0, 78, 79, 2, 190, 0, 1, 0.78571, 1, 0, 404, 564, 0, 582, 1, 2000, 2000, 1, 33555200, 2048, 0, 0, 0, 0, 0, 0, 334, 494, 95, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 0.3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 96, 1, 0, 0, '', 12340),
|
||||
(29866, 0, 0, 0, 0, 0, 26602, 26603, 26604, 26605, 'Stratholme Resident Specimen', '', '', 0, 78, 79, 2, 190, 0, 1, 0.78571, 1, 0, 404, 564, 0, 582, 1, 2000, 2000, 1, 33555200, 2048, 0, 0, 0, 0, 0, 0, 334, 494, 95, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 0.3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 96, 1, 0, 0, '', 12340),
|
||||
(29868, 0, 0, 0, 0, 0, 262, 338, 344, 11873, 'Stratholme Child Specimen', '', '', 0, 78, 79, 2, 190, 0, 1, 0.78571, 1, 0, 404, 564, 0, 582, 1, 2000, 2000, 1, 33555200, 2048, 0, 0, 0, 0, 0, 0, 334, 494, 95, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 0.3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 96, 1, 0, 0, '', 12340),
|
||||
(30996, 0, 0, 0, 0, 0, 16480, 19595, 0, 0, 'CoT Stratholme - Crates KC Bunny', '', '', 0, 60, 60, 1, 35, 0, 1, 1.14286, 1, 0, 2, 2, 0, 24, 1, 2000, 2000, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 1, 1, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 4, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, '', 12340),
|
||||
(31006, 0, 0, 0, 0, 0, 16480, 19595, 0, 0, 'CoT Stratholme - Mal\'Ganis KC Bunny', '', '', 0, 60, 60, 1, 35, 0, 1, 1.14286, 1, 0, 2, 2, 0, 24, 1, 2000, 2000, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 1, 1, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, '', 12340),
|
||||
(31126, 0, 0, 0, 0, 0, 25168, 25169, 0, 0, 'Agitated Stratholme Citizen', '', '', 0, 80, 80, 2, 190, 0, 1, 1.14286, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 256, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'npc_cos_stratholme_citizien', 12340),
|
||||
(31127, 0, 0, 0, 0, 0, 25313, 25314, 0, 0, 'Agitated Stratholme Resident', '', '', 0, 80, 80, 2, 190, 0, 1, 1.14286, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 256, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'npc_cos_stratholme_citizien', 12340);
|
||||
|
||||
DELETE FROM `script_waypoint` WHERE `entry` = 26499;
|
||||
INSERT INTO `script_waypoint` VALUES
|
||||
(26499, 0, 1903.17, 1291.57, 143.32, 0, 'culling Bridge WP1'),
|
||||
(26499, 1, 1911.09, 1314.26, 150.026, 0, 'culling Bridge WP2'),
|
||||
(26499, 2, 1902.96, 1295.13, 143.388, 0, 'culling Bridge WP3'),
|
||||
(26499, 3, 1913.73, 1287.41, 141.927, 10000, 'culling Bridge WP4'),
|
||||
(26499, 4, 1990.83, 1293.39, 145.467, 0, 'culling Bridge WP5'),
|
||||
(26499, 5, 1997, 1317.78, 142.963, 0, 'culling Bridge WP6'),
|
||||
(26499, 6, 2019.63, 1326.08, 142.929, 0, 'culling Bridge WP7'),
|
||||
(26499, 7, 2026.47, 1287.09, 143.596, 0, 'culling Bridge WP8'),
|
||||
(26499, 8, 2050.66, 1287.33, 142.671, 0, 'culling Bridge WP9'),
|
||||
(26499, 9, 2081.45, 1287.77, 141.324, 0, 'culling Streets WP1'),
|
||||
(26499, 10, 2087.69, 1280.34, 140.73, 1000, 'culling Streets WP2'),
|
||||
(26499, 11, 2092.15, 1276.65, 140.52, 0, 'culling Streets WP3'),
|
||||
(26499, 12, 2099.88, 1280.21, 138.55, 0, 'culling Streets WP4'),
|
||||
(26499, 13, 2120.76, 1286.97, 136.343, 0, 'culling Streets WP5'),
|
||||
(26499, 14, 2165.07, 1279.34, 133.4, 0, 'culling Streets WP6'),
|
||||
(26499, 15, 2186.44, 1234.44, 136.524, 0, 'culling Streets WP7'),
|
||||
(26499, 16, 2210.39, 1207.55, 136.259, 0, 'culling Streets WP8'),
|
||||
(26499, 17, 2243.59, 1177.7, 137.144, 0, 'culling Streets WP9'),
|
||||
(26499, 18, 2286.88, 1177.26, 137.631, 0, 'culling Streets WP10'),
|
||||
(26499, 19, 2320.37, 1179.95, 133.926, 0, 'culling Streets WP11'),
|
||||
(26499, 20, 2365.63, 1194.84, 131.974, 0, 'culling Streets WP12'),
|
||||
(26499, 21, 2366.56, 1197.76, 134.382, 0, 'culling House WP1'),
|
||||
(26499, 22, 2394.01, 1205.15, 134.125, 0, 'culling House WP2'),
|
||||
(26499, 23, 2395.85, 1206.34, 134.039, 0, 'culling House WP3'),
|
||||
(26499, 24, 2442.02, 1219.2, 133.999, 0, 'culling House WP3'),
|
||||
(26499, 25, 2447.1, 1191.18, 148.076, 0, 'culling House WP4'),
|
||||
(26499, 26, 2449.32, 1191.09, 148.076, 0, 'culling House WP5'),
|
||||
(26499, 27, 2418.49, 1196.06, 148.076, 0, 'culling House WP6'),
|
||||
(26499, 28, 2401.22, 1191.7, 148.076, 0, 'culling House WP7'),
|
||||
(26499, 29, 2409.21, 1157.43, 148.19, 0, 'culling House WP8'),
|
||||
(26499, 30, 2417.58, 1121.03, 148.082, 0, 'culling House WP9'),
|
||||
(26499, 31, 2423.12, 1119.43, 148.076, 0, 'culling House WP10'),
|
||||
(26499, 32, 2447.83, 1112.71, 148.076, 0, 'culling House WP11'),
|
||||
(26499, 33, 2457.13, 1120.94, 150.008, 0, 'culling House WP12'),
|
||||
(26499, 34, 2459.69, 1127.01, 150.008, 0, 'culling House WP13'),
|
||||
(26499, 35, 2469.62, 1122.27, 150.008, 0, 'culling House WP14'),
|
||||
(26499, 36, 2470.44, 1122.79, 150.008, 3000, 'culling House WP15'),
|
||||
(26499, 37, 2471.66, 1123.08, 150.035, 3000, 'culling House WP16'),
|
||||
(26499, 38, 2483.18, 1125.04, 149.905, 0, 'culling Secret WP1'),
|
||||
(26499, 39, 2487.87, 1099.76, 144.858, 0, 'culling Secret WP2'),
|
||||
(26499, 40, 2498.27, 1101.93, 144.599, 0, 'culling Secret WP3'),
|
||||
(26499, 41, 2492.11, 1128.24, 139.967, 0, 'culling Secret WP4'),
|
||||
(26499, 42, 2500.29, 1130.18, 139.982, 0, 'culling Room WP1'),
|
||||
(26499, 43, 2503.01, 1119.24, 139.978, 0, 'culling Room WP2'),
|
||||
(26499, 44, 2517.82, 1122.65, 132.066, 0, 'culling Room WP3'),
|
||||
(26499, 45, 2540.48, 1129.06, 130.868, 7000, 'culling Fire Street WP1'),
|
||||
(26499, 46, 2568.62, 1157.79, 126.906, 0, 'culling Fire Street WP2'),
|
||||
(26499, 47, 2556.07, 1222.06, 125.412, 20000, 'culling Fire Street WP3'),
|
||||
(26499, 48, 2521.53, 1295.21, 130.573, 0, 'culling Fire Street WP4'),
|
||||
(26499, 49, 2504.36, 1348.67, 132.944, 0, 'culling Fire Street WP5'),
|
||||
(26499, 50, 2450.59, 1431.54, 131.361, 0, 'culling Fire Street WP6'),
|
||||
(26499, 51, 2353.49, 1404.84, 128.531, 0, 'culling Market WP1'),
|
||||
(26499, 52, 2329.88, 1406.27, 128.013, 0, 'culling Market WP2'),
|
||||
(26499, 53, 2329.88, 1406.27, 128.013, 12000, 'culling Market WP3'),
|
||||
(26499, 54, 2327.39, 1412.47, 127.692, 0, 'culling Market WP4'),
|
||||
(26499, 55, 2303.02, 1480.07, 128.139, 0, 'culling Crusader WP1'),
|
||||
(26499, 56, 2296.67, 1502.36, 128.362, 0, 'culling Crusader WP2');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
47
data/sql/old/db_world/1.x/2016_09_24_03.sql
Normal file
47
data/sql/old/db_world/1.x/2016_09_24_03.sql
Normal file
@@ -0,0 +1,47 @@
|
||||
-- DB update 2016_09_24_02 -> 2016_09_24_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_09_24_02 2016_09_24_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1473152344430838100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1473152344430838100');
|
||||
|
||||
/*
|
||||
I take no credit for this fix im just doing the PR to close the issue.
|
||||
Winterfin oricle will now cast lightning bolt.
|
||||
the real credit goes to Chrisjiajun, this works
|
||||
|
||||
Closes issue #119
|
||||
|
||||
*/
|
||||
|
||||
DELETE FROM smart_scripts WHERE entryorguid=25216;
|
||||
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
|
||||
(25216, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Set Phase 1 on Aggro'),
|
||||
(25216, 0, 1, 0, 4, 1, 100, 1, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Stop Moving on Aggro'),
|
||||
(25216, 0, 2, 0, 4, 1, 100, 1, 0, 0, 0, 0, 11, 9532, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Cast bolt on Aggro'),
|
||||
(25216, 0, 3, 0, 9, 1, 100, 0, 0, 40, 3400, 4700, 11, 9532, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Cast bolt'),
|
||||
(25216, 0, 4, 0, 9, 1, 100, 0, 40, 100, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Start Moving when not in bolt Range'),
|
||||
(25216, 0, 5, 0, 9, 1, 100, 0, 10, 15, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Stop Moving at 15 Yards'),
|
||||
(25216, 0, 6, 0, 9, 1, 100, 0, 0, 40, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Stop Moving when in bolt Range'),
|
||||
(25216, 0, 7, 0, 3, 1, 100, 0, 0, 15, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Set Phase 2 at 15% Mana'),
|
||||
(25216, 0, 8, 0, 3, 2, 100, 0, 0, 15, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Start Moving at 15% Mana'),
|
||||
(25216, 0, 9, 0, 3, 2, 100, 0, 30, 100, 100, 100, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Set Phase 1 When Mana is above 30%'),
|
||||
(25216, 0, 10, 0, 2, 2, 100, 1, 0, 15, 0, 0, 22, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Set Phase 3 at 15% HP'),
|
||||
(25216, 0, 11, 0, 2, 3, 100, 1, 0, 15, 0, 0, 25, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flee at 15% HP'),
|
||||
(25216, 0, 12, 0, 7, 3, 100, 1, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Reset on Evade'),
|
||||
(25216, 0, 13, 0, 2, 3, 100, 1, 0, 15, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Say Text at 15% HP'),
|
||||
(25216, 0, 14, 0, 9, 1, 100, 0, 0, 5, 12300, 19800, 11, 50272, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cast Unstable Magic on Close');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
71
data/sql/old/db_world/1.x/2016_09_24_04.sql
Normal file
71
data/sql/old/db_world/1.x/2016_09_24_04.sql
Normal file
@@ -0,0 +1,71 @@
|
||||
-- DB update 2016_09_24_03 -> 2016_09_24_04
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_09_24_03 2016_09_24_04 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1474716815295101300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1474716815295101300');
|
||||
|
||||
DELETE FROM waypoints WHERE entry = 33519;
|
||||
|
||||
UPDATE smart_scripts SET event_param1=44 WHERE entryorguid=33519 AND source_type=0 AND id=2;
|
||||
|
||||
INSERT INTO waypoints (entry, pointid, position_x, position_y, position_z, point_comment) VALUES
|
||||
(33519, 1, 8526.23, 567.717, 552.608, 'Black Knight Gryphon WP1'),
|
||||
(33519, 2, 8529.65, 561.457, 553.146, 'Black Knight Gryphon WP2'),
|
||||
(33519, 3, 8560.83, 564.063, 560.969, 'Black Knight Gryphon WP3'),
|
||||
(33519, 4, 8618.12, 597.455, 555.925, 'Black Knight Gryphon WP4'),
|
||||
(33519, 5, 8656.04, 624.922, 552.328, 'Black Knight Gryphon WP5'),
|
||||
(33519, 6, 8680.42, 660.062, 549.031, 'Black Knight Gryphon WP6'),
|
||||
(33519, 7, 8698.54, 705.598, 548.933, 'Black Knight Gryphon WP7'),
|
||||
(33519, 8, 8715.51, 748.276, 549.854, 'Black Knight Gryphon WP8'),
|
||||
(33519, 9, 8740.09, 810.067, 549.854, 'Black Knight Gryphon WP9'),
|
||||
(33519, 10, 8764.67, 871.858, 549.854, 'Black Knight Gryphon WP10'),
|
||||
(33519, 11, 8796.18, 959.072, 518.157, 'Black Knight Gryphon WP11'),
|
||||
(33519, 12, 8815.05, 1018.42, 468.263, 'Black Knight Gryphon WP12'),
|
||||
(33519, 13, 8833.93, 1077.77, 418.369, 'Black Knight Gryphon WP13'),
|
||||
(33519, 14, 8843.37, 1107.45, 393.422, 'Black Knight Gryphon WP14'),
|
||||
(33519, 15, 8852.8, 1137.12, 368.474, 'Black Knight Gryphon WP15'),
|
||||
(33519, 16, 8887.41, 1245.93, 277.002, 'Black Knight Gryphon WP16'),
|
||||
(33519, 17, 8899.99, 1285.49, 243.739, 'Black Knight Gryphon WP17'),
|
||||
(33519, 18, 8917.19, 1344.25, 206.989, 'Black Knight Gryphon WP18'),
|
||||
(33519, 19, 8935.65, 1428.33, 171.939, 'Black Knight Gryphon WP19'),
|
||||
(33519, 20, 8952.14, 1502.28, 152.627, 'Black Knight Gryphon WP20'),
|
||||
(33519, 21, 8977.58, 1604.01, 134.608, 'Black Knight Gryphon WP21'),
|
||||
(33519, 22, 8999.84, 1693.02, 118.842, 'Black Knight Gryphon WP22'),
|
||||
(33519, 23, 9009.38, 1731.17, 112.085, 'Black Knight Gryphon WP23'),
|
||||
(33519, 24, 9016.45, 1757.73, 107.355, 'Black Knight Gryphon WP24'),
|
||||
(33519, 25, 9042.43, 1803.28, 98.3457, 'Black Knight Gryphon WP25'),
|
||||
(33519, 26, 9068.41, 1848.82, 89.3364, 'Black Knight Gryphon WP26'),
|
||||
(33519, 27, 9095.58, 1894.97, 73.9581, 'Black Knight Gryphon WP27'),
|
||||
(33519, 28, 9113.08, 1951.09, 61.4356, 'Black Knight Gryphon WP28'),
|
||||
(33519, 29, 9120.62, 1988.22, 68.3712, 'Black Knight Gryphon WP29'),
|
||||
(33519, 30, 9126.46, 2030.88, 76.7076, 'Black Knight Gryphon WP30'),
|
||||
(33519, 31, 9125.28, 2059.72, 71.875, 'Black Knight Gryphon WP31'),
|
||||
(33519, 32, 9123.38, 2100.16, 76.8306, 'Black Knight Gryphon WP32'),
|
||||
(33519, 33, 9121.33, 2132.18, 70.2638, 'Black Knight Gryphon WP33'),
|
||||
(33519, 34, 9095.69, 2181.88, 58.6374, 'Black Knight Gryphon WP34'),
|
||||
(33519, 35, 9076.85, 2189.14, 54.3544, 'Black Knight Gryphon WP35'),
|
||||
(33519, 36, 9036.74, 2180.53, 57.0958, 'Black Knight Gryphon WP36'),
|
||||
(33519, 37, 9031.46, 2161.92, 58.3603, 'Black Knight Gryphon WP37'),
|
||||
(33519, 38, 9043.38, 2134.61, 60.2847, 'Black Knight Gryphon WP38'),
|
||||
(33519, 39, 9058.39, 2101.61, 62.2349, 'Black Knight Gryphon WP39'),
|
||||
(33519, 40, 9061.58, 2094.73, 64.1907, 'Black Knight Gryphon WP40'),
|
||||
(33519, 41, 9061.58, 2094.73, 64.1907, 'Black Knight Gryphon WP41'),
|
||||
(33519, 42, 9066.5, 2084.15, 66.2016, 'Black Knight Gryphon WP42'),
|
||||
(33519, 43, 9068.36, 2080.14, 66.9176, 'Black Knight Gryphon WP43'),
|
||||
(33519, 44, 9069.15, 2078.45, 66.99, 'Black Knight Gryphon WP44');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
166
data/sql/old/db_world/1.x/2016_09_24_05.sql
Normal file
166
data/sql/old/db_world/1.x/2016_09_24_05.sql
Normal file
@@ -0,0 +1,166 @@
|
||||
-- DB update 2016_09_24_04 -> 2016_09_24_05
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_09_24_04 2016_09_24_05 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1474739178715315500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1474739178715315500');
|
||||
|
||||
|
||||
/*
|
||||
Issue: #89 (https://github.com/AzerothShard/AzerothShard-Issues-ita/issues/89)
|
||||
Missing auras and flags on main NPCs and waypoints for enemy NPCs
|
||||
*/
|
||||
|
||||
DELETE FROM `creature_template_addon` WHERE `entry`=24783;
|
||||
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
|
||||
(24783, 0, 0, 0, 1, 0, 43775);
|
||||
|
||||
-- Fjord Hawk Matriarch
|
||||
UPDATE `creature_template` SET `InhabitType`='5', unit_flags='256' WHERE `entry`=24787;
|
||||
-- Pathing for Entry: 24787 'TDB FORMAT'
|
||||
SET @NPC := 115835;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=491.5974,`position_y`=-6158.39,`position_z`=144.1042 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, '43775');
|
||||
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,491.5974,-6158.39,144.1042,0,0,1,0,100,0),
|
||||
(@PATH,2,509.5939,-6162.629,111.2709,0,0,1,0,100,0),
|
||||
(@PATH,3,526.574,-6162.785,95.60418,0,0,1,0,100,0),
|
||||
(@PATH,4,574.4791,-6163.997,95.60418,0,0,1,0,100,0),
|
||||
(@PATH,5,603.0228,-6169.135,135.1598,0,0,1,0,100,0),
|
||||
(@PATH,6,621.6965,-6158.342,152.5963,0,0,1,0,100,0),
|
||||
(@PATH,7,637.6,-6155.499,154.6354,0,0,1,0,100,0),
|
||||
(@PATH,8,663.0421,-6125.693,179.4132,0,0,1,0,100,0),
|
||||
(@PATH,9,656.72,-6138.115,215.4652,0,0,1,0,100,0),
|
||||
(@PATH,10,639.1322,-6143.215,215.4652,0,0,1,0,100,0),
|
||||
(@PATH,11,618.7733,-6150.35,208.0208,0,0,1,0,100,0),
|
||||
(@PATH,12,588.9388,-6145.327,208.0208,0,0,1,0,100,0),
|
||||
(@PATH,13,554.6487,-6152.367,187.5208,0,0,1,0,100,0),
|
||||
(@PATH,14,528.2413,-6138.124,166.6597,0,0,1,0,100,0),
|
||||
(@PATH,15,497.937,-6157.058,187.5208,0,0,1,0,100,0),
|
||||
(@PATH,16,482.7061,-6146.376,174.6875,0,0,1,0,100,0),
|
||||
(@PATH,17,491.5974,-6158.39,144.1042,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for Entry: 24787 'TDB FORMAT'
|
||||
SET @NPC := 115836;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=520.6224,`position_y`=-6137.84,`position_z`=169.3022 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, '43775');
|
||||
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,520.6224,-6137.84,169.3022,0,0,1,0,100,0),
|
||||
(@PATH,2,539.8384,-6131.232,149.1912,0,0,1,0,100,0),
|
||||
(@PATH,3,520.709,-6158.917,160.4134,0,0,1,0,100,0),
|
||||
(@PATH,4,485.8767,-6155.685,160.4134,0,0,1,0,100,0),
|
||||
(@PATH,5,438.8145,-6158.287,160.4134,0,0,1,0,100,0),
|
||||
(@PATH,6,419.3206,-6156.742,160.4134,0,0,1,0,100,0),
|
||||
(@PATH,7,390.6546,-6143.165,160.4134,0,0,1,0,100,0),
|
||||
(@PATH,8,377.2733,-6114.98,160.4134,0,0,1,0,100,0),
|
||||
(@PATH,9,383.0898,-6128.999,185.83,0,0,0,1,100,0),
|
||||
(@PATH,10,417.4906,-6154.904,185.83,0,0,1,0,100,0),
|
||||
(@PATH,11,452.2428,-6147.803,185.83,0,0,1,0,100,0),
|
||||
(@PATH,12,497.4655,-6150.674,185.83,0,0,1,0,100,0),
|
||||
(@PATH,13,520.6224,-6137.84,169.3022,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for Entry: 24787 'TDB FORMAT'
|
||||
SET @NPC := 115837;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=596.8774,`position_y`=-6114.975,`position_z`=271.1343 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, '43775');
|
||||
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,596.8774,-6114.975,271.1343,0,0,1,0,100,0),
|
||||
(@PATH,2,595.4591,-6109.405,278.3748,0,0,1,0,100,0),
|
||||
(@PATH,3,571.2776,-6109.743,290.4025,0,0,1,0,100,0),
|
||||
(@PATH,4,556.7193,-6108.814,297.3566,0,0,1,0,100,0),
|
||||
(@PATH,5,517.0029,-6104.844,297.3566,0,0,1,0,100,0),
|
||||
(@PATH,6,503.9214,-6117.692,297.3566,0,0,1,0,100,0),
|
||||
(@PATH,7,466.3313,-6107.801,271.1343,0,0,1,0,100,0),
|
||||
(@PATH,8,475.6375,-6120.523,271.1343,0,0,1,0,100,0),
|
||||
(@PATH,9,500.4033,-6130.543,271.1343,0,0,1,0,100,0),
|
||||
(@PATH,10,542.1522,-6114.92,271.1343,0,0,1,0,100,0),
|
||||
(@PATH,11,567.1166,-6129.524,271.1343,0,0,1,0,100,0),
|
||||
(@PATH,12,596.8774,-6114.975,271.1343,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for Entry: 24787 'TDB FORMAT'
|
||||
SET @NPC := 115843;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=290.8945,`position_y`=-6070.151,`position_z`=84.36917 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, '43775');
|
||||
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,290.8945,-6070.151,84.36917,0,0,1,0,100,0),
|
||||
(@PATH,2,273.076,-6034.628,84.36917,0,0,1,0,100,0),
|
||||
(@PATH,3,268.3575,-6009.71,121.8221,0,0,1,0,100,0),
|
||||
(@PATH,4,282.7736,-6034.701,150.6469,0,0,1,0,100,0),
|
||||
(@PATH,5,297.921,-6060.3,111.1191,0,0,1,0,100,0),
|
||||
(@PATH,6,324.4433,-6101.173,115.008,0,0,1,0,100,0),
|
||||
(@PATH,7,351.7174,-6115.625,115.008,0,0,1,0,100,0),
|
||||
(@PATH,8,380.059,-6146.51,102.4525,0,0,1,0,100,0),
|
||||
(@PATH,9,381.592,-6162.233,80.36916,0,0,1,0,100,0),
|
||||
(@PATH,10,363.2276,-6145.913,80.36916,0,0,1,0,100,0),
|
||||
(@PATH,11,338.3981,-6105.44,80.36916,0,0,1,0,100,0),
|
||||
(@PATH,12,319.2164,-6096.714,84.36917,0,0,1,0,100,0),
|
||||
(@PATH,13,290.8945,-6070.151,84.36917,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for Entry: 24787 'TDB FORMAT'
|
||||
SET @NPC := 115845;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=360.9156,`position_y`=-6061.682,`position_z`=302.8403 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, '43775');
|
||||
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,360.9156,-6061.682,302.8403,0,0,1,0,100,0),
|
||||
(@PATH,2,389.247,-6078.495,302.8403,0,0,1,0,100,0),
|
||||
(@PATH,3,392.2037,-6094.839,296.007,0,0,1,0,100,0),
|
||||
(@PATH,4,374.589,-6096.534,288.5903,0,0,1,0,100,0),
|
||||
(@PATH,5,358.6935,-6082.393,274.9237,0,0,1,0,100,0),
|
||||
(@PATH,6,338.8949,-6049.761,274.9237,0,0,1,0,100,0),
|
||||
(@PATH,7,320.3495,-6021.407,274.9237,0,0,1,0,100,0),
|
||||
(@PATH,8,306.0276,-5998.132,285.257,0,0,1,0,100,0),
|
||||
(@PATH,9,313.4884,-5983.751,285.2291,0,0,1,0,100,0),
|
||||
(@PATH,10,320.7385,-5972.151,286.1277,0,0,1,0,100,0),
|
||||
(@PATH,11,330.6828,-6007.996,302.8403,0,0,1,0,100,0),
|
||||
(@PATH,12,349.4529,-6033.62,302.8403,0,0,1,0,100,0),
|
||||
(@PATH,13,360.9156,-6061.682,302.8403,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for Entry: 24787 'TDB FORMAT'
|
||||
SET @NPC := 115844;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=389.949,`position_y`=-6113.926,`position_z`=217.1557 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, '43775');
|
||||
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,389.949,-6113.926,217.1557,0,0,1,0,100,0),
|
||||
(@PATH,2,365.9727,-6083.048,249.1279,0,0,1,0,100,0),
|
||||
(@PATH,3,348.9503,-6058.797,249.1279,0,0,1,0,100,0),
|
||||
(@PATH,4,334.4755,-6041.239,249.1279,0,0,1,0,100,0),
|
||||
(@PATH,5,306.4679,-6010.077,240.8223,0,0,1,0,100,0),
|
||||
(@PATH,6,305.4742,-6011.148,217.1557,0,0,1,0,100,0),
|
||||
(@PATH,7,308.0244,-6019.713,217.1557,0,0,1,0,100,0),
|
||||
(@PATH,8,331.7084,-6052.974,217.1557,0,0,1,0,100,0),
|
||||
(@PATH,9,350.9348,-6071.563,217.1557,0,0,1,0,100,0),
|
||||
(@PATH,10,371.7133,-6102.678,217.1557,0,0,1,0,100,0),
|
||||
(@PATH,11,389.949,-6113.926,217.1557,0,0,1,0,100,0);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
198
data/sql/old/db_world/1.x/2016_09_24_06.sql
Normal file
198
data/sql/old/db_world/1.x/2016_09_24_06.sql
Normal file
@@ -0,0 +1,198 @@
|
||||
-- DB update 2016_09_24_05 -> 2016_09_24_06
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_09_24_05 2016_09_24_06 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1473583129228647885'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1473583129228647885');
|
||||
|
||||
-- areatrigger_teleport
|
||||
ALTER TABLE `areatrigger_teleport`
|
||||
CHANGE `id` `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `name` `Name` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
|
||||
|
||||
-- battleground_template
|
||||
ALTER TABLE `battleground_template`
|
||||
CHANGE `id` `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
||||
-- creature_equip_template
|
||||
ALTER TABLE `creature_equip_template`
|
||||
CHANGE `entry` `CreatureID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `id` `ID` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||
CHANGE `itemEntry1` `ItemID1` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `itemEntry2` `ItemID2` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `itemEntry3` `ItemID3` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
||||
-- creature_formations
|
||||
ALTER TABLE `creature_formations`
|
||||
CHANGE `leaderGUID` `leaderGUID` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `memberGUID` `memberGUID` INT(10) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
||||
-- creature_model_info
|
||||
ALTER TABLE `creature_model_info`
|
||||
CHANGE `modelid` `DisplayID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `bounding_radius` `BoundingRadius` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `combat_reach` `CombatReach` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `gender` `Gender` TINYINT(3) UNSIGNED NOT NULL DEFAULT '2',
|
||||
CHANGE `modelid_other_gender` `DisplayID_Other_Gender` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
||||
-- gameobject_template
|
||||
ALTER TABLE `gameobject_template`
|
||||
CHANGE `data0` `Data0` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data1` `Data1` INT(11) NOT NULL DEFAULT '0',
|
||||
CHANGE `data2` `Data2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data3` `Data3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data4` `Data4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data5` `Data5` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data6` `Data6` INT(11) NOT NULL DEFAULT '0',
|
||||
CHANGE `data7` `Data7` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data8` `Data8` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data9` `Data9` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data10` `Data10` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data11` `Data11` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data12` `Data12` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data13` `Data13` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data14` `Data14` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data15` `Data15` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data16` `Data16` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data17` `Data17` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data18` `Data18` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data19` `Data19` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data20` `Data20` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data21` `Data21` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data22` `Data22` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data23` `Data23` INT(10) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
||||
-- lfg_entrances -> lfg_dungeon_template
|
||||
RENAME TABLE `lfg_entrances` TO `lfg_dungeon_template`;
|
||||
|
||||
-- npc_text
|
||||
ALTER TABLE `npc_text`
|
||||
CHANGE `prob0` `Probability0` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `prob1` `Probability1` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `prob2` `Probability2` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `prob3` `Probability3` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `prob4` `Probability4` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `prob5` `Probability5` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `prob6` `Probability6` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `prob7` `Probability7` FLOAT NOT NULL DEFAULT '0';
|
||||
|
||||
-- npc_trainer
|
||||
ALTER TABLE `npc_trainer`
|
||||
CHANGE `entry` `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `spell` `SpellID` MEDIUMINT(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `spellcost` `MoneyCost` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `reqskill` `ReqSkillLine` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `reqskillvalue` `ReqSkillRank` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `reqlevel` `ReqLevel` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
||||
-- page_text
|
||||
ALTER TABLE `page_text`
|
||||
CHANGE `entry` `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `text` `Text` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
||||
CHANGE `next_page` `NextPageID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `VerifiedBuild` `VerifiedBuild` SMALLINT(5) NULL DEFAULT '0';
|
||||
|
||||
-- player_xp_for_level
|
||||
ALTER TABLE `player_xp_for_level`
|
||||
CHANGE `lvl` `Level` TINYINT(3) UNSIGNED NOT NULL,
|
||||
CHANGE `xp_for_next_level` `Experience` INT(10) UNSIGNED NOT NULL;
|
||||
|
||||
-- points_of_interest
|
||||
ALTER TABLE `points_of_interest`
|
||||
CHANGE `entry` `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `x` `PositionX` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `y` `PositionY` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `icon` `Icon` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `flags` `Flags` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `data` `Data` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `icon_name` `Name` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
|
||||
|
||||
-- quest_poi
|
||||
ALTER TABLE `quest_poi`
|
||||
CHANGE `questId` `QuestID` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `objIndex` `ObjectiveIndex` INT(11) NOT NULL DEFAULT '0',
|
||||
CHANGE `mapid` `MapID` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `FloorId` `Floor` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `unk3` `Priority` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `unk4` `Flags` INT(10) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
||||
-- quest_poi_points
|
||||
ALTER TABLE `quest_poi_points`
|
||||
CHANGE `questId` `QuestID` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `id` `Idx1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `idx` `Idx2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `x` `X` INT(11) NOT NULL DEFAULT '0',
|
||||
CHANGE `y` `Y` INT(11) NOT NULL DEFAULT '0';
|
||||
|
||||
-- quest_template
|
||||
ALTER TABLE `quest_template`
|
||||
CHANGE `Id` `ID` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `Level` `QuestLevel` smallint(3) NOT NULL DEFAULT '1',
|
||||
CHANGE `ZoneOrSort` `QuestSortID` smallint(6) NOT NULL DEFAULT '0',
|
||||
CHANGE `Type` `QuestType` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `SuggestedPlayers` `SuggestedGroupNum` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardTitleId` `RewardTitle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemId1` `RewardItem1` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemId2` `RewardItem2` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemId3` `RewardItem3` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemId4` `RewardItem4` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemCount1` `RewardAmount1` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemCount2` `RewardAmount2` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemCount3` `RewardAmount3` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardItemCount4` `RewardAmount4` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemId1` `RewardChoiceItemID1` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemId2` `RewardChoiceItemID2` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemId3` `RewardChoiceItemID3` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemId4` `RewardChoiceItemID4` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemId5` `RewardChoiceItemID5` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemId6` `RewardChoiceItemID6` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemCount1` `RewardChoiceItemQuantity1` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemCount2` `RewardChoiceItemQuantity2` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemCount3` `RewardChoiceItemQuantity3` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemCount4` `RewardChoiceItemQuantity4` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemCount5` `RewardChoiceItemQuantity5` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardChoiceItemCount6` `RewardChoiceItemQuantity6` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionId1` `RewardFactionID1` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case',
|
||||
CHANGE `RewardFactionId2` `RewardFactionID2` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case',
|
||||
CHANGE `RewardFactionId3` `RewardFactionID3` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case',
|
||||
CHANGE `RewardFactionId4` `RewardFactionID4` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case',
|
||||
CHANGE `RewardFactionId5` `RewardFactionID5` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case',
|
||||
CHANGE `RewardFactionValueId1` `RewardFactionValue1` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueId2` `RewardFactionValue2` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueId3` `RewardFactionValue3` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueId4` `RewardFactionValue4` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueId5` `RewardFactionValue5` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueIdOverride1` `RewardFactionOverride1` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueIdOverride2` `RewardFactionOverride2` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueIdOverride3` `RewardFactionOverride3` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueIdOverride4` `RewardFactionOverride4` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `RewardFactionValueIdOverride5` `RewardFactionOverride5` mediumint(8) NOT NULL DEFAULT '0',
|
||||
CHANGE `Title` `LogTitle` text,
|
||||
CHANGE `Objectives` `LogDescription` text,
|
||||
CHANGE `Details` `QuestDescription` text,
|
||||
CHANGE `CompletedText` `QuestCompletionLog` text;
|
||||
|
||||
-- spell_target_position
|
||||
ALTER TABLE `spell_target_position`
|
||||
CHANGE `id` `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Identifier',
|
||||
CHANGE `effIndex` `EffectIndex` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `target_map` `MapID` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||
CHANGE `target_position_x` `PositionX` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `target_position_y` `PositionY` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `target_position_z` `PositionZ` FLOAT NOT NULL DEFAULT '0',
|
||||
CHANGE `target_orientation` `Orientation` FLOAT NOT NULL DEFAULT '0';
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
29
data/sql/old/db_world/1.x/2016_10_14_00.sql
Normal file
29
data/sql/old/db_world/1.x/2016_10_14_00.sql
Normal file
@@ -0,0 +1,29 @@
|
||||
-- DB update 2016_09_24_06 -> 2016_10_14_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_09_24_06 2016_10_14_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1474792959599938200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1474792959599938200');
|
||||
|
||||
|
||||
DELETE FROM smart_scripts WHERE entryorguid = 30283;
|
||||
|
||||
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
|
||||
(30283, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 11, 56709, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Plague Walker - Combat - Cast \'Aura of Lost Hope\' (Phase 1) (No Repeat) (Dungeon)'),
|
||||
(30283, 0, 1, 0, 0, 0, 100, 4, 0, 0, 0, 0, 11, 61459, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Plague Walker - On Respawn - Cast \'Aura of Lost Hope\' (Phase 1) (No Repeat) (Dungeon)'),
|
||||
(30283, 0, 2, 0, 0, 0, 100, 6, 7000, 11000, 120000, 130000, 11, 56707, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Plague Walker - In Combat - Cast \'Contagion of Rot\' (Phase 1) (No Repeat) (Dungeon)');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
26
data/sql/old/db_world/1.x/2016_10_14_01.sql
Normal file
26
data/sql/old/db_world/1.x/2016_10_14_01.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
-- DB update 2016_10_14_00 -> 2016_10_14_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_10_14_00 2016_10_14_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1475527352519816200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1475527352519816200');
|
||||
|
||||
UPDATE `gameobject_template` SET Data1 = "5000" WHERE entry = 176248;
|
||||
|
||||
INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
|
||||
(5000, 13172, -100, 1, 0, 1, 1);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
35
data/sql/old/db_world/1.x/2016_10_14_02.sql
Normal file
35
data/sql/old/db_world/1.x/2016_10_14_02.sql
Normal file
@@ -0,0 +1,35 @@
|
||||
-- DB update 2016_10_14_01 -> 2016_10_14_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_10_14_01 2016_10_14_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1475785264262766400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1475785264262766400');
|
||||
-- Winterfin Oracle
|
||||
SET @ENTRY := 25216;
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
|
||||
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
|
||||
(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
|
||||
(@ENTRY,0,1,2,2,0,100,1,0,15,0,0,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Flee at 15% HP'),
|
||||
(@ENTRY,0,2,0,61,0,100,1,0,15,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Say Text at 15% HP'),
|
||||
(@ENTRY,0,3,0,9,0,100,0,0,5,12300,19800,11,50272,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Unstable Magic on Close');
|
||||
-- NPC talk text insert
|
||||
SET @ENTRY := 25216;
|
||||
DELETE FROM `creature_text` WHERE `entry`=@ENTRY;
|
||||
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
|
||||
(@ENTRY,0,0, '%s attempts to run away in fear!',16,0,100,0,0,0, 'combat Flee');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
32
data/sql/old/db_world/1.x/2016_10_23_00.sql
Normal file
32
data/sql/old/db_world/1.x/2016_10_23_00.sql
Normal file
@@ -0,0 +1,32 @@
|
||||
-- DB update 2016_10_14_02 -> 2016_10_23_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_10_14_02 2016_10_23_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1477151458117544700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1477151458117544700');
|
||||
|
||||
DELETE FROM `creature_loot_template` WHERE `entry` IN (6501, 6502, 6503, 6504, 9162, 9163, 9164) AND `item`=11114;
|
||||
|
||||
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`) VALUES
|
||||
(6501, 11114, 30),
|
||||
(6502, 11114, 30),
|
||||
(6503, 11114, 30),
|
||||
(6504, 11114, 30),
|
||||
(9162, 11114, 30),
|
||||
(9163, 11114, 30),
|
||||
(9164, 11114, 30);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
15
data/sql/old/db_world/1.x/2016_10_29_00.sql
Normal file
15
data/sql/old/db_world/1.x/2016_10_29_00.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- DB update 2016_10_23_00 -> 2016_10_29_00
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_10_23_00 2016_10_29_00 bit;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1477683243N');
|
||||
|
||||
DELETE FROM `command` WHERE `name` = 'reload battleground_template';
|
||||
INSERT INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('reload battleground_template', 3, 'Syntax: .reload battleground_template\r\nReload Battleground Templates.');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
1972
data/sql/old/db_world/1.x/2016_11_05_00.sql
Normal file
1972
data/sql/old/db_world/1.x/2016_11_05_00.sql
Normal file
File diff suppressed because one or more lines are too long
38147
data/sql/old/db_world/1.x/2016_11_05_01.sql
Normal file
38147
data/sql/old/db_world/1.x/2016_11_05_01.sql
Normal file
File diff suppressed because it is too large
Load Diff
217992
data/sql/old/db_world/1.x/2016_11_05_02.sql
Normal file
217992
data/sql/old/db_world/1.x/2016_11_05_02.sql
Normal file
File diff suppressed because it is too large
Load Diff
23
data/sql/old/db_world/1.x/2016_11_05_03.sql
Normal file
23
data/sql/old/db_world/1.x/2016_11_05_03.sql
Normal file
@@ -0,0 +1,23 @@
|
||||
-- DB update 2016_11_05_02 -> 2016_11_05_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_05_02 2016_11_05_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1477427695797942400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1477427695797942400');
|
||||
|
||||
INSERT into `creature_queststarter` VALUES (26500, 12238);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
495
data/sql/old/db_world/1.x/2016_11_05_04.sql
Normal file
495
data/sql/old/db_world/1.x/2016_11_05_04.sql
Normal file
@@ -0,0 +1,495 @@
|
||||
-- DB update 2016_11_05_03 -> 2016_11_05_04
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_05_03 2016_11_05_04 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1478360753169893400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1478360753169893400');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for locales_points_of_interest
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `locales_points_of_interest`;
|
||||
CREATE TABLE `locales_points_of_interest` (
|
||||
`entry` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`icon_name_loc1` text,
|
||||
`icon_name_loc2` text,
|
||||
`icon_name_loc3` text,
|
||||
`icon_name_loc4` text,
|
||||
`icon_name_loc5` text,
|
||||
`icon_name_loc6` text,
|
||||
`icon_name_loc7` text,
|
||||
`icon_name_loc8` text,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of locales_points_of_interest
|
||||
-- ----------------------------
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('1', null, 'L\'auberge de la Fierté du Lion', 'Gasthaus Zur Höhle des Löwen', null, null, 'Posada Orgullo de León', 'Posada Orgullo de León', 'Таверна \"Гордость льва\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('2', null, 'Zaldimar Wefhellt', 'Zaldimar Wefhellt', null, null, 'Zaldimar Wefhellt', 'Zaldimar Wefhellt', 'Залдимар Вефхеллт');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('3', null, 'Frère Wilhelm', 'Bruder Wilhelm', null, null, 'Hermano Wilhelm', 'Hermano Wilhelm', 'Брат Вильгельм');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('4', null, 'Prêtresse Josetta', 'Priesterin Josetta', null, null, 'Sacerdotisa Josetta', 'Sacerdotisa Josetta', 'Жрица Жозетта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('5', null, 'Keryn Sylvius', 'Keryn Sylvius', null, null, 'Keryn Sylvius', 'Keryn Sylvius', 'Керин Сильвиус');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('6', null, 'Maximillian Crowe', 'Maximillian Raab', null, null, 'Maximillian Crowe', 'Maximillian Crowe', 'Максимилиан Кроу');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('7', null, 'Lyria Du Lac', 'Lyria Du Lac', null, null, 'Lyria Du Lac', 'Lyria Du Lac', 'Лирия дю Лак');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('8', null, 'Alchimiste Mallory', 'Alchemist Mallory', null, null, 'Alquimista Mallory', 'Alquimista Mallory', 'Алхимик Маллори');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('9', null, 'Argus le forgeron', 'Schmied Argus', null, null, 'Herrero Argus', 'Herrero Argus', 'Кузнец Аргус');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('10', null, 'Tomas', 'Tomas', null, null, 'Tomas', 'Tomas', 'Томас');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('11', null, 'Michelle Belle', 'Michelle Belle', null, null, 'Michelle Belle', 'Michelle Belle', 'Мишель Белль');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('12', null, 'Lee Brown', 'Lee Braun', null, null, 'Lee Moreno', 'Lee Moreno', 'Ли Браун');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('13', null, 'Calligraphies de Hurlevent', 'Inschriften von Sturmwind', null, null, 'Inscripción de Ventormenta', 'Inscripción de Ventormenta', 'Штормградский начертатель');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('14', null, 'Adele Fielder', 'Adele Fädler', null, null, 'Adele Fielder', 'Adele Fielder', 'Адель Филдер');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('15', null, 'Helene Tannepeau', 'Helene Pelzschneider', null, null, 'Helene Desollapelambres', 'Helene Desollapelambres', 'Хелена Меховяз');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('16', null, 'Eldrin', 'Eldrin', null, null, 'Eldrin', 'Eldrin', 'Элдрин');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('17', null, 'Erma', 'Erma', null, null, 'Erma', 'Erma', 'Ирма');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('18', null, 'Autel des ventes de Hurlevent', 'Auktionshaus von Sturmwind', null, null, 'Casa de subastas de Ventormenta', 'Casa de subastas de Ventormenta', 'Штормград: аукционный дом');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('19', null, 'Banque de Hurlevent', 'Bank von Sturmwind', null, null, 'Banco de Ventormenta', 'Banco de Ventormenta', 'Штормград: банк');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('20', null, 'Port de Hurlevent', 'Hafen von Sturmwind', null, null, 'Puerto de Ventormenta', 'Puerto de Ventormenta', 'Порт Штормграда');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('21', null, 'Le Tram des profondeurs', 'Die Tiefenbahn', null, null, 'El Tranvía Subterráneo', 'El Tranvía Subterráneo', 'Подземный поезд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('22', null, 'La Rose dorée', 'Die güldene Rose', null, null, 'La Rosa Áurea', 'La Rosa Áurea', 'Позолоченная роза');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('23', null, 'Maître des griffons de Hurlevent', 'Greifenmeister von Sturmwind', null, null, 'Maestro de grifos de Ventormenta', 'Maestro de grifos de Ventormenta', 'Штормград: укротитель грифонов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('24', null, 'Centre d\'accueil des visiteurs de Hurlevent', 'Besucherzentrum von Sturmwind', null, null, 'Centro del Viajero de Ventormenta', 'Centro del Viajero de Ventormenta', 'Гостевые покои Штормграда');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('25', null, 'Serrurier de Hurlevent', 'Schlosser von Sturmwind', null, null, 'Cerrajería de Ventormenta', 'Cerrajería de Ventormenta', 'Штормградский замочник');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('26', null, 'Jenova Targe-pierre', 'Jenova Steinschild', null, null, 'Jenova Petrescudo', 'Jenova Petrescudo', 'Дженова Камнещит');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('27', null, 'Woo Ping', 'Woo Ping', null, null, 'Woo Ping', 'Woo Ping', 'Ву Пинг');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('28', null, 'Hall des Champions', 'Die Halle der Champions', null, null, 'Sala de los Campeones', 'Sala de los Campeones', 'Зал Защитника');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('29', null, 'Maîtres de guerre de Hurlevent', 'Kampfmeister von Sturmwind', null, null, 'Maestros de batalla, Ventormenta', 'Maestros de batalla, Ventormenta', 'Штормград: военачальники');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('30', null, 'Coiffeur de Hurlevent', 'Barbier von Sturmwind', null, null, 'Peluquería de Ventormenta', 'Peluquería de Ventormenta', 'Штормградский парикмахер');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('31', null, 'Calligraphies de Hurlevent', 'Inschriften von Sturmwind', null, null, 'Inscripción de Ventormenta', 'Inscripción de Ventormenta', 'Штормградский начертатель');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('32', null, 'Le Parc', 'Der Park', null, null, 'El Parque', 'El Parque', 'Парк');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('33', null, 'Gîte des chasseurs', 'Jägerlodge', null, null, 'Cabaña del Cazador', 'Cabaña del Cazador', 'Охотничья Избушка');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('34', null, 'Sanctuaire du Sorcier', 'Magiersanktum', null, null, 'Sagrario del Mago', 'Sagrario del Mago', 'Башня магов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('35', null, 'Chapelle de la Lumière', 'Kathedrale des Lichts', null, null, 'Catedral de la Luz', 'Catedral de la Luz', 'Собор Света');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('36', null, 'Hurlevent - Maison des voleurs', 'Schurkenhaus von Sturmwind', null, null, 'Ventormenta: Casa de pícaros', 'Ventormenta: Casa de pícaros', 'Штормград: дом разбойников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('37', null, 'Long-voyante Umbrua', 'Weissagerin Umbrua', null, null, 'Clarividente Umbrua', 'Clarividente Umbrua', 'Прорицательница Умбруа');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('38', null, 'L\'Agneau assassiné', 'Zum geschlachteten Lamm', null, null, 'El Cordero Degollado', 'El Cordero Degollado', 'Таверна \"Забитый ягненок\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('39', null, 'Caserne de Hurlevent', 'Kaserne von Sturmwind', null, null, 'Cuartel de Ventormenta', 'Cuartel de Ventormenta', 'Казармы Штормграда');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('40', null, 'Tout pour l\'alchimiste', 'Alchemiebedarf', null, null, 'El Rincón del Alquimista', 'El Rincón del Alquimista', 'Все для алхимика');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('41', null, 'Therum Forge-profonde', 'Therum Tiefenschmied', null, null, 'Therum Forjahonda', 'Therum Forjahonda', 'Терум Подземная Кузня');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('42', null, 'Taverne du Cochon siffleur', 'Taverne Zum pfeifenden Schwein', null, null, 'El Cerdo Borracho', 'El Cerdo Borracho', 'Таверна \"Свинья и свисток\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('43', null, 'Lucan Cordell', 'Lucan Cordell', null, null, 'Lucan Cordell', 'Lucan Cordell', 'Лукан Корделл');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('44', null, 'Lilliam Fusétincelle', 'Lilliam Spindelfunks', null, null, 'Lilliam Chispeje', 'Lilliam Chispeje', 'Лилиам Шпиндель');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('45', null, 'Shaina Fuller', 'Shaina Fuller', null, null, 'Shaina Fuller', 'Shaina Fuller', 'Шайна Корпия');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('46', null, 'Arnold Leland', 'Arnold Leland', null, null, 'Arnold Leland', 'Arnold Leland', 'Арнольд Лиланд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('47', null, 'Au cuir protecteur', 'Der schützende Balg', null, null, 'El Cuero Protector', 'El Cuero Protector', 'Прочная шкура');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('48', null, 'Gelman Main-de-pierre', 'Gelman Steinhand', null, null, 'Gelman Petramano', 'Gelman Petramano', 'Гельман Камнерук');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('49', null, 'Textiles Duncan', 'Duncans Textilien', null, null, 'Telas de Duncan', 'Telas de Duncan', 'Ткани Дункана');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('50', null, 'Hôtel des ventes de Forgefer', 'Auktionshaus von Eisenschmiede', null, null, 'Casa de subastas de Forjaz', 'Casa de subastas de Forjaz', 'Стальгорн: аукционный дом');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('51', null, 'Le Caveau', 'Das Gewölbe', null, null, 'Las Arcas', 'Las Arcas', 'Свод');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('52', null, 'Tram des profondeurs', 'Die Tiefenbahn', null, null, 'Tranvía Subterráneo', 'Tranvía Subterráneo', 'Подземный поезд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('53', null, 'Maître des griffons de Forgefer', 'Greifenmeister von Eisenschmiede', null, null, 'Maestro de grifos de Forjaz', 'Maestro de grifos de Forjaz', 'Стальгорн: укротитель грифонов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('54', null, 'Centre des Visiteurs de Forgefer', 'Besucherzentrum von Eisenschmiede', null, null, 'Centro de Viajeros de Forjaz', 'Centro de Viajeros de Forjaz', 'Гостевые покои Стальгорна');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('55', null, 'La taverne de Brûlepierre', 'Steinfeuertaverne', null, null, 'Taberna Roca de Fuego', 'Taberna Roca de Fuego', 'Таверна \"Горючий камень\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('56', null, 'Boîte aux lettres de Forgefer', 'Briefkasten von Eisenschmiede', null, null, 'Buzón de Forjaz', 'Buzón de Forjaz', 'Стальгорн: почта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('57', null, 'Ulbrek Brasemain', 'Ulbrek Feuerhand', null, null, 'Ulbrek Manofuego', 'Ulbrek Manofuego', 'Ульбрек Огненная Длань');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('58', null, 'Bixi et Buliwyf', 'Bixi und Buliwyf', null, null, 'Bixi y Buliwyf', 'Bixi y Buliwyf', 'Бикси и Бульвайф');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('59', null, 'Maîtres de guerre de Forgefer', 'Kampfmeister von Eisenschmiede', null, null, 'Maestros de batalla de Forjaz', 'Maestros de batalla de Forjaz', 'Стальгорн: военачальники');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('60', null, 'Coiffeuse de Forgefer', 'Barbier von Eisenschmiede', null, null, 'Peluquería de Forjaz', 'Peluquería de Forjaz', 'Стальгорнский парикмахер');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('61', null, 'Hall des Armes', 'Halle der Waffen', null, null, 'La Sala Militar', 'La Sala Militar', 'Оружейная');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('62', null, 'Hall des Mystères', 'Halle der Mysterien', null, null, 'La Sala Mística', 'La Sala Mística', 'Зал Тайн');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('63', null, 'Maître des voleurs de Forgefer', 'Schurkenlehrer von Eisenschmiede', null, null, 'Instructor de pícaros de Forjaz', 'Instructor de pícaros de Forjaz', 'Стальгорн: наставник разбойников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('64', null, 'Maître des démonistes de Forgefer', 'Hexenmeisterlehrer von Eisenschmiede', null, null, 'Instructor de brujos de Forjaz', 'Instructor de brujos de Forjaz', 'Стальгорн: наставник чернокнижников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('65', null, 'Maître des chamans de Forgefer', 'Schamanenlehrer von Eisenschmiede', null, null, 'Instructor de chamanes de Forjaz', 'Instructor de chamanes de Forjaz', 'Стальгорн: наставник шаманов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('66', null, 'Potions et mixtures de Baiedesbulles', 'Brausefitz\' Tränke und Mischgetränke', null, null, 'Pociones y Cócteles de Burbubaya', 'Pociones y Cócteles de Burbubaya', 'Снадобья и микстуры от Гонобобельзз');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('67', null, 'La Grande Forge', 'Die große Schmiede', null, null, 'La Gran Fundición', 'La Gran Fundición', 'Великая Кузня');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('68', null, 'La Bouilloire de bronze', 'Zum Bronzekessel', null, null, 'La Marmita de Bronce', 'La Marmita de Bronce', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('69', null, 'Arcanes de Duvechardon', 'Arkanarien Distelflaum', null, null, 'Arcanería de Cardopelusa', 'Arcanería de Cardopelusa', 'Колдовские штучки Чертополуша');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('70', null, 'Médecin de Forgefer', 'Heiler von Eisenschmiede', null, null, 'Médico de Forjaz', 'Médico de Forjaz', 'Стальгорн: целитель');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('71', null, 'Pêcheur itinérant', 'Reisender Angler', null, null, 'El Pescador Nómada', 'El Pescador Nómada', 'Странствующий рыбак');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('72', null, 'Calligraphies de Forgefer', 'Inschriften von Eisenschmiede', null, null, 'Inscripción de Forjaz', 'Inscripción de Forjaz', 'Стальгорнское начертание');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('73', null, 'Cuirs de Finfuseau', 'Lederwaren Feinspindel', null, null, 'Artículos de Cuero Bueneje', 'Artículos de Cuero Bueneje', 'Кожевенная лавка Остроигла');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('74', null, 'Guilde des mineurs de la montagne profonde', 'Tiefenbergbaugilde', null, null, 'Gremio de Minería de Montañahonda', 'Gremio de Minería de Montañahonda', 'Гильдия рудокопов Темной Горы');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('75', null, 'Vêtements de Front-de-pierre', 'Tuchmacherei Steinbraue', null, null, 'Sastrería Petrocejas', 'Sastrería Petrocejas', 'Лавка одежды Камнелоба');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('76', null, 'Distillerie de Tonnebière', 'Brauerei Donnerbräu', null, null, 'Destilería Cebatruenos', 'Destilería Cebatruenos', 'Таверна \"Громоварка\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('77', null, 'Shelby Pierre-à-feu', 'Shelby Steinsplint', null, null, 'Shelby Petrepiedra', 'Shelby Petrepiedra', 'Шелби Щебенка');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('78', null, 'Grif Cœur-sauvage', 'Grif Wildherz', null, null, 'Grif Corazón Salvaje', 'Grif Corazón Salvaje', 'Гриф Дикое Сердце');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('79', null, 'Magis Mantincelle', 'Magis Funkelmantel', null, null, 'Magis Chispamanto', 'Magis Chispamanto', 'Магис Искроплащ');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('80', null, 'Azar Fortmartel', 'Azar Hammerkraft', null, null, 'Azar Martillopujante', 'Azar Martillopujante', 'Азар Мощный Молот');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('81', null, 'Maxan Anvol', 'Maxan Anvol', null, null, 'Maxan Anvol', 'Maxan Anvol', 'Максан Анвол');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('82', null, 'Hogral Bakkan', 'Hogral Bakkan', null, null, 'Hogral Bakkan', 'Hogral Bakkan', 'Хограл Баккан');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('83', null, 'Gimrizz Sombrouage', 'Gimrizz Schattenrad', null, null, 'Gimrizz Molaro', 'Gimrizz Molaro', 'Гимризз Которышка');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('84', null, 'Granis Vivehache', 'Granis Flinkaxt', null, null, 'Granis Hachaveloz', 'Granis Hachaveloz', 'Гранис Свист Топора');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('85', null, 'Tognus Flammesilex', 'Tognus Funkenfeuer', null, null, 'Tognus Fuegosílex', 'Tognus Fuegosílex', 'Тогнус Огниво');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('86', null, 'Gremlock Pilsnor', 'Gremlock Pilsnor', null, null, 'Gremlock Pilsnor', 'Gremlock Pilsnor', 'Гремлок Пилзнор');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('87', null, 'Thamner Pol', 'Thamner Pol', null, null, 'Thamner Pol', 'Thamner Pol', 'Тамнер Пол');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('88', null, 'Paxton Ganter', 'Paxton Ganter', null, null, 'Paxton Ganter', 'Paxton Ganter', 'Пакстон Гантер');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('89', null, 'Autel des ventes de Darnassus', 'Auktionshaus Darnassus', null, null, 'Casa de subastas de Darnassus', 'Casa de subastas de Darnassus', 'Аукционный дом Дарнаса');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('90', null, 'Banque de Darnassus', 'Bank von Darnassus', null, null, 'Banco de Darnassus', 'Banco de Darnassus', 'Дарнас: банк');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('91', null, 'Maître des hippogriffes de Darnassus', 'Rut\'theran', null, null, 'Aldea Rut\'theran', 'Aldea Rut\'theran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('92', null, 'Maître des guildes de Darnassus', 'Gildenmeister von Darnassus', null, null, 'Maestro de hermandad de Darnassus', 'Maestro de hermandad de Darnassus', 'Дарнас: регистрация гильдий');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('93', null, 'Auberge de Darnassus', 'Gasthaus von Darnassus', null, null, 'Posada de Darnassus', 'Posada de Darnassus', 'Дарнасская таверна');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('94', null, 'Boîte aux lettres de Darnassus', 'Briefkasten von Darnassus', null, null, 'Buzón de Darnassus', 'Buzón de Darnassus', 'Дарнас: почта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('95', null, 'Alassin', 'Alassin', null, null, 'Alassin', 'Alassin', 'Алассин');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('96', null, 'Ilyenia Lunéclat', 'Ilyenia Mondfeuer', null, null, 'Ilyenia Fuegolunar', 'Ilyenia Fuegolunar', 'Илиения Лунное Пламя');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('97', null, 'Maîtres de guerre de Darnassus', 'Kampfmeister von Darnassus', null, null, 'Maestros de batalla, Darnassus', 'Maestros de batalla, Darnassus', 'Дарнас: военачальники');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('98', null, 'Maître des druides de Darnassus', 'Druidenlehrer von Darnassus', null, null, 'Instructor de druidas de Darnassus', 'Instructor de druidas de Darnassus', 'Дарнас: наставник друидов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('99', null, 'Maître des chasseurs de Darnassus', 'Jägerlehrer von Darnassus', null, null, 'Instructor de cazadores de Darnassus', 'Instructor de cazadores de Darnassus', 'Дарнас: наставник охотников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('100', null, 'Maître des voleurs de Darnassus', 'Schurkenlehrer von Darnassus', null, null, 'Instructor de pícaros de Darnassus', 'Instructor de pícaros de Darnassus', 'Дарнас: наставник разбойников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('101', null, 'La terrasse des guerriers', 'Die Terrasse der Krieger', null, null, 'Bancal del Guerrero', 'Bancal del Guerrero', 'Терраса Воинов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('102', null, 'Maître des alchimistes de Darnassus', 'Alchemielehrer von Darnassus', null, null, 'Instructor de alquimia de Darnassus', 'Instructor de alquimia de Darnassus', 'Дарнасский учитель алхимии');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('103', null, 'Maître des cuisiniers de Darnassus', 'Kochkunstlehrer von Darnassus', null, null, 'Profesor de cocina de Darnassus', 'Profesor de cocina de Darnassus', 'Дарнас: Учитель кулинарии');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('104', null, 'Maître des enchanteurs de Darnassus', 'Verzauberkunstlehrer von Darnassus', null, null, 'Instructor de encantamiento de Darnassus', 'Instructor de encantamiento de Darnassus', 'Дарнасский учитель наложения чар');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('105', null, 'Maître des sécouristes de Darnassus', 'Lehrer für Erste Hilfe von Darnassus', null, null, 'Instructor de primeros auxilios de Darnassus', 'Instructor de primeros auxilios de Darnassus', 'Дарнас: учитель первой помощи');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('106', null, 'Maître des pêcheurs de Darnassus', 'Angellehrer von Darnassus', null, null, 'Instructor de pesca de Darnassus', 'Instructor de pesca de Darnassus', 'Дарнасский учитель рыбной ловли');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('107', null, 'Calligraphies de Darnassus', 'Inschriften von Darnassus', null, null, 'Inscripción de Darnassus', 'Inscripción de Darnassus', 'Дарнасский начертатель');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('108', null, 'Maître des travailleurs du cuir de Darnassus', 'Lederverarbeitungslehrer von Darnassus', null, null, 'Instructor de peletería de Darnassus', 'Instructor de peletería de Darnassus', 'Дарнасский учитель кожевничества');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('109', null, 'Maître des dépeceurs de Darnassus', 'Kürschnerlehrer von Darnassus', null, null, 'Instructor de desuello de Darnassus', 'Instructor de desuello de Darnassus', 'Дарнасский учитель снятия шкур');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('110', null, 'Tailleur de Darnassus', 'Schneider von Darnassus', null, null, 'Sastre de Darnassus', 'Sastre de Darnassus', 'Дарнасский портной');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('111', null, 'Auberge de Dolanaar', 'Gasthaus Dolanaar', null, null, 'Posada de Dolanaar', 'Posada de Dolanaar', 'Таверна Доланаара');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('112', null, 'Seriadne', 'Seriadne', null, null, 'Seriadne', 'Seriadne', 'Сериадна');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('113', null, 'Kal', null, null, null, 'Kal', 'Kal', 'Каль');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('114', null, 'Dazalar', 'Dazalar', null, null, 'Dazalar', 'Dazalar', 'Дазалар');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('115', null, 'Laurna Clairematin', 'Laurna Morgenglanz', null, null, 'Laurna Luzdelalba', 'Laurna Luzdelalba', 'Лорна Утренний Свет');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('116', null, 'Jannok Chantebrise', 'Jannok Windsang', null, null, 'Jannok Brisón', 'Jannok Brisón', 'Джаннок Поющий Ветерок');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('117', null, 'Kyra Lamevent', 'Kyra Windklinge', null, null, 'Kyra Espada del Viento', 'Kyra Espada del Viento', 'Кайра Ветрорез');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('118', null, 'Cyndra Murmegent', 'Cyndra Samtwisper', null, null, 'Cyndra Suavesusurro', 'Cyndra Suavesusurro', 'Циндра Ласковый Шепот');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('119', null, 'Zarrin', 'Zarrin', null, null, 'Zarrin', 'Zarrin', 'Заррин');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('120', null, 'Alanna Oeil-de-corbeau', 'Alanna Rabenauge', null, null, 'Alanna Cuervojo', 'Alanna Cuervojo', 'Аланна Око Ворона');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('121', null, 'Byancie', 'Byancie', null, null, 'Byancie', 'Byancie', 'Бьянси');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('122', null, 'Malorne Feuillelame', 'Malorne Messerblatt', null, null, 'Malorne Filohoja', 'Malorne Filohoja', 'Малорн Остролист');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('123', null, 'Nadyia Tissecrin', 'Nadyia Schopfweber', null, null, 'Nadyia Tejecrín', 'Nadyia Tejecrín', 'Надайя Гривопряд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('124', null, 'Radnaal Tissecrin', 'Radnaal Schopfweber', null, null, 'Radnaal Tejecrín', 'Radnaal Tejecrín', 'Раднаал Гривопряд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('125', null, 'Nadyia Tissecrin', 'Nadyia Schopfweber', null, null, 'Nadyia Tejecrín', 'Nadyia Tejecrín', 'Надайя Гривопряд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('126', null, 'Entrée Est des Égouts de Dalaran', 'Östlicher Kanalisationseingang von Dalaran', null, null, 'Entrada oriental de las cloacas', 'Entrada oriental de las cloacas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('127', null, 'Entrée Ouest des Égouts de Dalaran', 'Westlicher Kanalisationseingang von Dalaran', null, null, 'Entrada occidental de las cloacas', 'Entrada occidental de las cloacas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('128', null, 'Puit de Dalaran', 'Brunnen von Dalaran', null, null, 'Entrada del pozo', 'Entrada del pozo', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('129', null, 'Enclave Argentée de Dalaran', 'Silberne Enklave von Dalaran', null, null, 'El Enclave de Plata', 'El Enclave de Plata', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('130', null, 'Sanctuaire des Saccages-Soleil de Dalaran', 'Sonnenhäschers Zuflucht von Dalaran', null, null, 'Santuario Atracasol', 'Santuario Atracasol', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('131', null, 'Banque Nord de Dalaran', 'Nördliche Bank von Dalaran', null, null, 'Banco Norte', 'Banco Norte', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('132', null, 'Banque Sud de Dalaran', 'Südliche Bank von Dalaran', null, null, 'Banco Sur', 'Banco Sur', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('133', null, 'Coiffeuse de Dalaran', 'Barbier von Dalaran', null, null, 'Peluquería de Dalaran', 'Peluquería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('134', null, 'Maître de Vol de Dalaran', 'Flugmeister in Dalaran', null, null, 'Maestro de vuelo de Dalaran', 'Maestro de vuelo de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('135', null, 'Centre d\'Accueil des Visiteurs de Dalaran', 'Besucherzentrum von Dalaran', null, null, 'Centro de Visitantes de Dalaran', 'Centro de Visitantes de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('136', null, 'Auberge de Dalaran', 'Gasthaus von Dalaran', null, null, 'Posada de Dalaran', 'Posada de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('137', null, 'Auberge de l\'Alliance de Dalaran', 'Allianzgasthaus von Dalaran', null, null, 'Posada de la Alianza', 'Posada de la Alianza', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('138', null, 'Auberge de la Horde de Dalaran', 'Hordengasthaus von Dalaran', null, null, 'Posada de la Horda', 'Posada de la Horda', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('139', null, 'Serrurier de Dalaran', 'Schlosser von Dalaran', null, null, 'Cerrajería de Dalaran', 'Cerrajería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('140', null, 'Aire de Krasus de Dalaran', 'Krasus\' Landeplatz in Dalaran', null, null, 'Alto de Krasus', 'Alto de Krasus', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('141', null, 'Citadelle Pourpre de Dalaran', 'Violette Zitadelle von Dalaran', null, null, 'La Ciudadela Violeta', 'La Ciudadela Violeta', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('142', null, 'Fort Pourpre de Dalaran', 'Violette Festung von Dalaran', null, null, 'El Bastión Violeta', 'El Bastión Violeta', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('143', null, 'Quartier des Commerçants de Dalaran', 'Handelsdistrikt von Dalaran', null, null, 'Distrito de Mercaderes', 'Distrito de Mercaderes', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('144', null, 'Monument à Antonidus de Dalaran', 'Antonidas\' Denkmal von Dalaran', null, null, 'Monumento de Antonidas', 'Monumento de Antonidas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('145', null, 'Place de Tisserune de Dalaran', 'Runenweberplatz von Dalaran', null, null, 'Plaza Tejerruna', 'Plaza Tejerruna', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('146', null, 'Le Brunant de Dalaran', 'Abendruh in Dalaran', null, null, 'El Manto de la Noche', 'El Manto de la Noche', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('147', null, 'Cimetière de Dalaran', 'Friedhof von Dalaran', null, null, 'Cementerio de Dalaran', 'Cementerio de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('148', null, 'Maître des calligraphes de Dalaran', 'Inschriftenkundelehrer von Dalaran', null, null, 'Instructor de inscripción de Dalaran', 'Instructor de inscripción de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('149', null, 'Maître des écuries de Dalaran', 'Stallmeister in Dalaran', null, null, 'Maestro de establos de Dalaran', 'Maestro de establos de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('150', null, 'Maître des mages de Dalaran', 'Magierlehrer von Dalaran', null, null, 'Instructor de magos de Dalaran', 'Instructor de magos de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('151', null, 'Maître des alchimistes de Dalaran', 'Alchemielehrer von Dalaran', null, null, 'Instructor de alquimia de Dalaran', 'Instructor de alquimia de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('152', null, 'Maître des forgerons de Dalaran', 'Schmiedekunstlehrer von Dalaran', null, null, 'Instructor de herrería de Dalaran', 'Instructor de herrería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('153', null, 'Maître des enchanteurs de Dalaran', 'Verzauberkunstlehrer von Dalaran', null, null, 'Instructor de encantamiento de Dalaran', 'Instructor de encantamiento de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('154', null, 'Maître des ingénieurs de Dalaran', 'Ingenieurskunstlehrer von Dalaran', null, null, 'Instructor de ingeniería de Dalaran', 'Instructor de ingeniería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('155', null, 'Maître des secouristes de Dalaran', 'Lehrer für Erste Hilfe von Dalaran', null, null, 'Instructor de primeros auxilios de Dalaran', 'Instructor de primeros auxilios de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('156', null, 'Fontaine de Dalaran', 'Anglerbrunnen von Dalaran', null, null, 'Fuente de Pesca de Dalaran', 'Fuente de Pesca de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('157', null, 'Maître des herboristes de Dalaran', 'Kräuterkundelehrer von Dalaran', null, null, 'Instructor de herboristería de Dalaran', 'Instructor de herboristería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('158', null, 'Maître des joailliers de Dalaran', 'Juwelierskunstlehrer von Dalaran', null, null, 'Instructor de joyería de Dalaran', 'Instructor de joyería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('159', null, 'Maître des travailleurs du cuir de Dalaran', 'Lederverarbeitungslehrer von Dalaran', null, null, 'Instructor de peletería de Dalaran', 'Instructor de peletería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('160', null, 'Maître des mineurs de Dalaran', 'Bergbaulehrer von Dalaran', null, null, 'Instructor de minería de Dalaran', 'Instructor de minería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('161', null, 'Maître des dépeceurs de Dalaran', 'Kürschnerlehrer von Dalaran', null, null, 'Instructor de desuello de Dalaran', 'Instructor de desuello de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('162', null, 'Maître des tailleurs de Dalaran', 'Schneiderleher von Dalaran', null, null, 'Instructor de sastrería de Dalaran', 'Instructor de sastrería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('163', null, 'Armures d\'étoffes et de fourrures de Dalaran', 'Stoffrüstung & Kleidung von Dalaran', null, null, 'Armaduras de tela y Ropa', 'Armaduras de tela y Ropa', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('164', null, 'Fleuriste de Dalaran', 'Blumen von Dalaran', null, null, 'Flores de Dalaran', 'Flores de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('165', null, 'Vendeur de fruits de Dalaran', 'Fruchthändler von Dalaran', null, null, 'Vendedor de Fruta de Dalaran', 'Vendedor de Fruta de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('166', null, 'Fournitures générales de Dalaran', 'Gemischt- & Handwerksswarenladen von Dalaran', null, null, 'Suministros comerciales de Dalaran', 'Suministros comerciales de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('167', null, 'Animalerie de Dalaran', 'Haustierbedarf von Dalaran', null, null, 'Tienda de Mascotas de Dalaran', 'Tienda de Mascotas de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('168', null, 'Tartes, patisseries et gateaux de Dalaran', 'Kuchen, Gebäck & Torten von Dalaran', null, null, 'Tartas, pastelitos y pasteles', 'Tartas, pastelitos y pasteles', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('169', null, 'Réactifs de Dalaran', 'Reagenzien von Dalaran', null, null, 'Componentes de Dalaran', 'Componentes de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('170', null, 'Marchand de jouets de Dalaran', 'Spielzeugladen von Dalaran', null, null, 'Juguetería de Dalaran', 'Juguetería de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('171', null, 'Bijoux de Dalaran', 'Schmuckstücke von Dalaran', null, null, 'Abalorios de Dalaran', 'Abalorios de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('172', null, 'Armes de mélée de Dalaran', 'Nahkampfwaffen von Dalaran', null, null, 'Armas de combate cuerpo a cuerpo', 'Armas de combate cuerpo a cuerpo', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('173', null, 'Armes de jets de Dalaran', 'Distanzwaffen von Dalaran', null, null, 'Armas a distancia', 'Armas a distancia', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('174', null, 'Bâtons et baguettes de Dalaran', 'Stäbe & Zauberstäbe von Dalaran', null, null, 'Bastones y varitas', 'Bastones y varitas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('175', null, 'Vins et fromages de Dalaran', 'Wein & Käse von Dalaran', null, null, 'Vinos y quesos', 'Vinos y quesos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('176', null, 'Banque d\'Orgrimmar', 'Bank von Orgrimmar', null, null, 'Banco de Orgrimmar', 'Banco de Orgrimmar', 'Банк Оргриммара');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('177', null, 'Tour des Cieux', 'Der Himmelsturm', null, null, 'La Torre del Cielo', 'La Torre del Cielo', 'Башня Небес');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('178', null, 'Ambassade de la Horde', 'Botschaft der Horde', null, null, 'Embajada de la Horda', 'Embajada de la Horda', 'Посольство Орды');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('179', null, 'Auberge d\'Orgrimmar', 'Gasthaus von Orgrimmar', null, null, 'Posada de Orgrimmar', 'Posada de Orgrimmar', 'Таверна Оргриммара');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('180', null, 'Boîte aux lettres d\'Orgrimmar', 'Briefkasten von Orgrimmar', null, null, 'Buzón de Orgrimmar', 'Buzón de Orgrimmar', 'Оргриммар: почта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('181', null, 'Autel des ventes d\'Orgrimmar', 'Auktionshaus von Orgrimmar', null, null, 'Casa de subastas de Orgrimmar', 'Casa de subastas de Orgrimmar', 'Оргриммар: аукционный дом');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('182', null, 'Tour des Zeppelins Est d\'Orgrimmar', 'Östlicher Zeppelinturm von Orgrimmar', null, null, 'Torre de zepelín este de Orgrimmar', 'Torre de zepelín este de Orgrimmar', 'Башня дирижаблей Оргриммара');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('183', null, 'Tour des Zeppelins Ouest d\'Orgrimmar', 'Westlicher Zeppelinturm von Orgrimmar', null, null, 'Torre de zepelín oeste de Orgrimmar', 'Torre de zepelín oeste de Orgrimmar', 'Западная башня дирижаблей Оргриммара');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('184', null, 'Sayoc & Hanashi', 'Sayoc und Hanashi', null, null, 'Sayoc y Hanashi', 'Sayoc y Hanashi', 'Сайок и Ханаши');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('185', null, 'Xon\'cha', 'Xon\'cha', null, null, 'Xon\'cha', 'Xon\'cha', 'Ксон\'ча');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('186', null, 'Hall des Légendes', 'Die Halle der Legenden', null, null, 'Sala de las Leyendas', 'Sala de las Leyendas', 'Зал Легенд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('187', null, 'Maître de guerre d\'Orgrimmar', 'Kampfmeister von Orgrimmar', null, null, 'Maestros de batalla, Orgrimmar', 'Maestros de batalla, Orgrimmar', 'Оргриммар: военачальники');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('188', null, 'Coiffeuse d\'Orgrimmar', 'Barbier von Orgrimmar', null, null, 'Peluquería de Orgrimmar', 'Peluquería de Orgrimmar', 'Оргриммарский парикмахер');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('189', null, 'Calligraphe d\'Orgrimmar', 'Inschriften von Orgrimmar', null, null, 'Inscripción de Orgrimmar', 'Inscripción de Orgrimmar', 'Оргриммарский начертатель');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('190', null, 'Exodar, Maison des enchères', 'Auktionator der Exodar', null, null, 'El Exodar, subastador', 'El Exodar, subastador', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('191', null, 'Exodar, Banque', 'Bank der Exodar', null, null, 'El Exodar, banco', 'El Exodar, banco', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('192', null, 'Exodar, Maître des Griffons', 'Hippogryphenmeister der Exodar', null, null, 'El Exodar, maestro de hipogrifos', 'El Exodar, maestro de hipogrifos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('193', null, 'Exodar, Maître des guildes', 'Gildenmeister der Exodar', null, null, 'El Exodar, maestro de hermandad', 'El Exodar, maestro de hermandad', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('194', null, 'Exodar, Auberge', 'Gasthaus der Exodar', null, null, 'El Exodar, posada', 'El Exodar, posada', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('195', null, 'Exodar, Boîte aux lettres', 'Briefkasten der Exodar', null, null, 'El Exodar, buzón de correo', 'El Exodar, buzón de correo', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('196', null, 'Exodar, Maître des étables', 'Stallmeister der Exodar', null, null, 'El Exodar, maestro de establos', 'El Exodar, maestro de establos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('197', null, 'Exodar, Maître des armes', 'Waffenmeister der Exodar', null, null, 'El Exodar, maestro de armas', 'El Exodar, maestro de armas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('198', null, 'Exodar, Maître des Druides', 'Druidenlehrer der Exodar', null, null, 'El Exodar, instructor de druidas', 'El Exodar, instructor de druidas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('199', null, 'Exodar, Maître des Chasseurs', 'Jägerlehrer der Exodar', null, null, 'El Exodar, instructores de cazadores', 'El Exodar, instructores de cazadores', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('200', null, 'Exodar, Maître des Mages', 'Magierlehrer der Exodar', null, null, 'El Exodar, instructores de magos', 'El Exodar, instructores de magos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('201', null, 'Exodar, Maître des Paladins', 'Paladinlehrer der Exodar', null, null, 'El Exodar, instructores de paladines', 'El Exodar, instructores de paladines', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('202', null, 'Exodar, Maître des Prêtres', 'Priesterlehrer der Exodar', null, null, 'El Exodar, instructores de sacerdotes', 'El Exodar, instructores de sacerdotes', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('203', null, 'Exodar, Maître des Chamans', 'Schamanenlehrer der Exodar', null, null, 'El Exodar, instructor de chamanes', 'El Exodar, instructor de chamanes', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('204', null, 'Exodar, Maître des Guerriers', 'Kriegerlehrer der Exodar', null, null, 'El Exodar, instructor de guerreros', 'El Exodar, instructor de guerreros', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('205', null, 'Exodar, Maître des Alchismistes', 'Alchemielehrer der Exodar', null, null, 'El Exodar, instructores de alquimia', 'El Exodar, instructores de alquimia', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('206', null, 'Exodar, Maître des Forgerons', 'Schmiedekunstlehrer der Exodar', null, null, 'El Exodar, instructores de herrería', 'El Exodar, instructores de herrería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('207', null, 'Exodar, Enchantement', 'Verzauberer der Exodar', null, null, 'El Exodar, encantadores', 'El Exodar, encantadores', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('208', null, 'Exodar, Ingénierie', 'Ingenieurskunst der Exodar', null, null, 'El Exodar, ingeniería', 'El Exodar, ingeniería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('209', null, 'Exodar, Secourisme', 'Lehrer für Erste Hilfe der Exodar', null, null, 'El Exodar, instructores de primeros auxilios', 'El Exodar, instructores de primeros auxilios', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('210', null, 'Exodar, Pêche', 'Angellehrer der Exodar', null, null, 'El Exodar, instructor de pesca', 'El Exodar, instructor de pesca', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('211', null, 'Exodar, Herboristerie', 'Kräuterkundelehrer der Exodar', null, null, 'El Exodar, instructor de herboristería', 'El Exodar, instructor de herboristería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('212', null, 'Exodar, Calligraphie', 'Inschriften der Exodar', null, null, 'Inscripción de El Exodar', 'Inscripción de El Exodar', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('213', null, 'Exodar, Joaillerie', 'Juwelenschleifer der Exodar', null, null, 'El Exodar, joyeros', 'El Exodar, joyeros', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('214', null, 'Exodar, Travail du Cuir', 'Lederverarbeitung der Exodar', null, null, 'El Exodar, peletería', 'El Exodar, peletería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('215', null, 'Exodar, Minage', 'Bergbaulehrer der Exodar', null, null, 'El Exodar, instructores de minería', 'El Exodar, instructores de minería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('216', null, 'Exodar, Dépeçage', 'Kürschnerlehrer der Exodar', null, null, 'El Exodar, instructor de desuello', 'El Exodar, instructor de desuello', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('217', null, 'Exodar, Couture', 'Schneider der Exodar', null, null, 'El Exodar, sastres', 'El Exodar, sastres', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('218', null, 'Exodar, Cuisinier', 'Koch der Exodar', null, null, 'El Exodar, cocinero', 'El Exodar, cocinero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('219', null, 'Le Guet d\'Azur, Auberge', 'Gastwirt der Azurwacht', null, null, 'Avanzada Azur, tabernero', 'Avanzada Azur, tabernero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('220', null, 'Le Guet d\'Azur, Maître des étables', 'Stallmeister der Azurwacht', null, null, 'Avanzada Azur, maestro de establos', 'Avanzada Azur, maestro de establos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('221', null, 'Le Guet d\'Azur, Maître des Chasseurs', 'Jägerlehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de cazadores', 'Avanzada Azur, instructor de cazadores', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('222', null, 'Le Guet d\'Azur, Maître des Mages', 'Magierlehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de magos', 'Avanzada Azur, instructor de magos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('223', null, 'Le Guet d\'Azur, Maître des Paladins', 'Paladinlehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de paladines', 'Avanzada Azur, instructor de paladines', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('224', null, 'Le Guet d\'Azur, Maître des Prêtres', 'Priesterlehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de sacerdotes', 'Avanzada Azur, instructor de sacerdotes', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('225', null, 'Le Guet d\'Azur, Maître des Chamans', 'Schamanenlehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de chamanes', 'Avanzada Azur, instructor de chamanes', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('226', null, 'Le Guet d\'Azur, Maître des Guerriers', 'Kriegerlehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de guerreros', 'Avanzada Azur, instructor de guerreros', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('227', null, 'Le Guet d\'Azur, Alchimiste', 'Alchemist der Azurwacht', null, null, 'Avanzada Azur, alquimista', 'Avanzada Azur, alquimista', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('228', null, 'Point d\'accostage d’Odesyus, Forge', 'Schmied von Odesyus\' Ankerplatz', null, null, 'Desembarco de Odesyus, herrero', 'Desembarco de Odesyus, herrero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('229', null, 'Point d\'accostage d’Odesyus, Cuisinier', 'Koch von Odesyus\' Ankerplatz', null, null, 'Desembarco de Odesyus, cocinero', 'Desembarco de Odesyus, cocinero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('230', null, 'Le Guet d\'Azur, Maître des ingénieurs', 'Ingenieurskunstlehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de ingeniería', 'Avanzada Azur, instructor de ingeniería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('231', null, 'Le Guet d\'Azur, Maître des sécouristes', 'Lehrer für Erste Hilfe der Azurwacht', null, null, 'Avanzada Azur, instructor de primeros auxilios', 'Avanzada Azur, instructor de primeros auxilios', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('232', null, 'Gué d\'Ammen, pêcheuse', 'Anglerin des Am\'menflusses', null, null, 'Vado Ammen, pescadora', 'Vado Ammen, pescadora', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('233', null, 'Le Guet d\'Azur, Herboriste', 'Kräuterkundiger der Azurwacht', null, null, 'Avanzada Azur, herboristería', 'Avanzada Azur, herboristería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('234', null, 'Repaire des Calmepins, Travailleur du cuir', 'Lederer der Tannenruhfeste', null, null, 'Bastión Semprepino, peletero', 'Bastión Semprepino, peletero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('235', null, 'Le Guet d\'Azur, Maître des mineurs', 'Bergbaulehrer der Azurwacht', null, null, 'Avanzada Azur, instructor de minería', 'Avanzada Azur, instructor de minería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('236', null, 'Repaire des Calmepins, Dépeceur', 'Kürschner der Tannenruhfeste', null, null, 'Bastión Semprepino, desollador', 'Bastión Semprepino, desollador', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('237', null, 'Point d\'accostage d’Odesyus, Tailleur', 'Schneider von Odesyus\' Ankerplatz', null, null, 'Desembarco de Odesyus, sastre', 'Desembarco de Odesyus, sastre', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('238', null, 'Amures en cuir et maille de Dalaran', 'Leder- & Kettenrüstung von Dalaran', null, null, 'Armaduras de Cuero y Malla de Dalaran', 'Armaduras de Cuero y Malla de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('239', null, 'Amures et boucliers en plaque de Dalaran', 'Plattenrüstung & Schilde in Dalaran', null, null, 'Armaduras de Placas y Escudos de Dalaran', 'Armaduras de Placas y Escudos de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('240', null, 'La cantine de Shattrath', 'Wirtshaus von Shattrath', null, null, 'Taberna de Shattrath', 'Taberna de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('241', null, 'Banque de Shattrath des Clairvoyants', 'Bank der Seher von Shattrath', null, null, 'Banco de los Arúspices de Shattrath', 'Banco de los Arúspices de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('242', null, 'L\'Auberge de Shattrath des Clairvoyants', 'Gasthaus der Seher von Shattrath', null, null, 'Posada de los Arúspices de Shattrath', 'Posada de los Arúspices de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('243', null, 'Les Taxis de Shattrath', 'Taxi von Shattrath', null, null, 'Maestro de vuelo de Shattrath', 'Maestro de vuelo de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('244', null, 'Etables de Shattrath des Aldor', 'Stall der Aldor von Shattrath', null, null, 'Establo de los Aldor de Shattrath', 'Establo de los Aldor de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('245', null, 'Etables de Shattrath des Clairvoyants', 'Stall der Seher von Shattrath', null, null, 'Establo de los Arúspices de Shattrath', 'Establo de los Arúspices de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('246', null, 'Maîtres de Guerre de Shattrath de l\'Alliance', 'Kampfmeister der Allianz von Shattrath', null, null, 'Maestros de batalla de la Alianza de Shattrath', 'Maestros de batalla de la Alianza de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('247', null, 'Maîtres de Guerre de Shattrath de la Horde', 'Kampfmeister der Horde von Shattrath', null, null, 'Maestros de batalla de la Horda de Shattrath', 'Maestros de batalla de la Horda de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('248', null, 'Alchimiste de Shattrath', 'Alchemist von Shattrath', null, null, 'Alquimista de Shattrath', 'Alquimista de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('249', null, 'Forgeron d\'armures et d\'armes de Shattrath)', 'Rüstungs- und Waffenmacher von Shattrath', null, null, 'Artífice en Armas y Armaduras de Shattrath', 'Artífice en Armas y Armaduras de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('250', null, 'Cuisinier de Shattrath', 'Koch von Shattrath', null, null, 'Cocina de Shattrath', 'Cocina de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('251', null, 'Enchanteur de Shattrath', 'Verzauberer von Shattrath', null, null, 'Encantadores de Shattrath', 'Encantadores de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('252', null, 'Secouriste de Shattrath', 'Erste Hilfe von Shattrath', null, null, 'Primeros Auxilios de Shattrath', 'Primeros Auxilios de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('253', null, 'Joaillier de Shattrath', 'Juwelenschleifer von Shattrath', null, null, 'Joyero de Shattrath', 'Joyero de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('254', null, 'Travailleur du Cuir de Shattrath', 'Lederer von Shattrath', null, null, 'Peletero de Shattrath', 'Peletero de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('255', null, 'Dépeceur de Shattrath', 'Kürschner von Shattrath', null, null, 'Desollador de Shattrath', 'Desollador de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('256', null, 'Puits de mana de Shattrath', 'Manawebrahmen von Shattrath', null, null, 'Telar de Maná de Shattrath', 'Telar de Maná de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('257', null, 'Laboratoire d\'Alchimie de Shattrath', 'Alchemielabor von Shattrath', null, null, 'Laboratorio de Alquimia de Shattrath', 'Laboratorio de Alquimia de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('258', null, 'Vendeur de gemmmes Clairvoyant', 'Edelsteinhändler der Seher', null, null, 'Vendedor de Gemas de los Arúspices', 'Vendedor de Gemas de los Arúspices', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('259', null, 'Vendeur de gemmmes Aldor', 'Edelsteinhändler der Aldor', null, null, 'Vendedor de Gemas de los Aldor', 'Vendedor de Gemas de los Aldor', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('260', null, 'Banque Aldor de Shattrath', 'Bank der Aldor von Shattrath', null, null, 'Banco de los Aldor de Shattrath', 'Banco de los Aldor de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('261', null, 'Auberge Aldor de Shattrath', 'Gasthaus der Aldor von Shattrath', null, null, 'Posada de los Aldor de Shattrath', 'Posada de los Aldor de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('262', null, 'Maître d\'arène de Shattrath', 'Arenakampfmeister von Shattrath', null, null, 'Maestros de batalla de Arena de Shattrath', 'Maestros de batalla de Arena de Shattrath', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('263', null, 'Exodar, Maîtres de Guerre', 'Kampfmeister der Exodar', null, null, 'El Exodar, maestros de batalla', 'El Exodar, maestros de batalla', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('264', null, 'Exodar, Maître d\'arène', 'Arenakampfmeister der Exodar', null, null, 'El Exodar, maestro de batalla de arena', 'El Exodar, maestro de batalla de arena', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('265', null, 'Maître des Mages de Darnassus', 'Magielehrer von Darnassus', null, null, 'Instructor de magos de Darnassus ', 'Instructor de magos de Darnassus ', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('266', null, 'Maître des Paladins de Darnassus', 'Paladinlehrer von Darnassus', null, null, 'Instructor de paladines de Darnassus', 'Instructor de paladines de Darnassus', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('267', null, 'Temple de la Lune', 'Tempel des Mondes', null, null, 'Templo de la Luna', 'Templo de la Luna', 'Храм Луны');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('268', null, 'Herboristerie de Darnassus', 'Kräuterkundelehrer von Darnassus', null, null, 'Instructor de herboristería de Darnassus', 'Instructor de herboristería de Darnassus', 'Дарнасский учитель травничества');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('269', null, 'Herboriste Pomeroy', 'Kräuterkundige Pomeroy', null, null, 'Herborista Pomarrosa', 'Herborista Pomarrosa', 'Травница Померой');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('270', null, 'Arène des égouts de Dalaran ', 'Arena in der Kanalisation von Dalaran', null, null, 'Arenas de las Cloacas de Dalaran', 'Arenas de las Cloacas de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('271', null, 'Banque des égouts de Dalaran ', 'Bank in der Kanalisation von Dalaran', null, null, 'Banco de las Cloacas de Dalaran', 'Banco de las Cloacas de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('272', null, 'Auberge des égouts de Dalaran ', 'Gasthaus in der Kanalisation von Dalaran', null, null, 'Posada de las Cloacas de Dalaran', 'Posada de las Cloacas de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('273', null, 'Tunnel des égouts de Dalaran ', 'Kanalisationstunnel von Dalaran', null, null, 'Túnel de las Cloacas de Dalaran', 'Túnel de las Cloacas de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('274', null, 'Vendeurs des égouts de Dalaran ', 'Händler in der Kanalisation von Dalaran', null, null, 'Vendedores de las Cloacas de Dalaran', 'Vendedores de las Cloacas de Dalaran', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('275', null, 'Banque des Pitons-du-Tonnerre', 'Bank von Donnerfels', null, null, 'Banco de Cima del Trueno', 'Banco de Cima del Trueno', 'Громовой Утес: банк');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('276', null, 'Perchoir du Coursier du vent', 'Windreiterhorst', null, null, 'Nidal de los Jinetes del Viento', 'Nidal de los Jinetes del Viento', 'Гнездо ветрокрылов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('277', null, 'Centre d\'information civique des Pitons-du-Tonnerre', 'Informationen der Stadtverwaltung von Donnerfels', null, null, 'Información al Ciudadano de Cima del Trueno', 'Información al Ciudadano de Cima del Trueno', 'Громовой Утес: городская информация');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('278', null, 'Auberge des Pitons-du-Tonnerre', 'Gasthaus von Donnerfels', null, null, 'Posada de Cima del Trueno', 'Posada de Cima del Trueno', 'Таверна Громового Утеса');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('279', null, 'Boite à lettre des Pitons-du-Tonnerre', 'Briefkasten von Donnerfels', null, null, 'Buzón de Cima del Trueno', 'Buzón de Cima del Trueno', 'Громовой Утес: почта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('280', null, 'Hôtel des ventes des Pitons-du-Tonnerre', 'Auktionshaus von Donnerfels', null, null, 'Casa de subastas de Cima del Trueno', 'Casa de subastas de Cima del Trueno', 'Громовой Утес: аукционный дом');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('281', null, 'Ansekhwa', 'Ansekhwa', null, null, 'Ansekhwa', 'Ansekhwa', 'Ансеква');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('282', null, 'Bulrug', 'Bulrug', null, null, 'Bulrug', 'Bulrug', 'Балруг');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('283', null, 'Maîtres de Guerre des Pitons-du-Tonnerre', 'Kampfmeister von Donnerfels', null, null, 'Maestros de batalla, Cima del Trueno', 'Maestros de batalla, Cima del Trueno', 'Громовой Утес: военачальники');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('284', null, 'Zeppelin des Pitons-du-Tonnerre', 'Zeppelin von Donnerfels', null, null, 'Zepelín de Cima del Trueno', 'Zepelín de Cima del Trueno', 'Дирижабль Громового Утеса');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('285', null, 'Hall des Anciens', 'Halle der Ältesten', null, null, 'Sala de los Ancestros', 'Sala de los Ancestros', 'Зал Старейшин');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('286', null, 'Hall des chasseurs', 'Jägerhalle', null, null, 'Recinto de los Cazadores', 'Recinto de los Cazadores', 'Зал Охотников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('287', null, 'Le bassin des Visions', 'Teiche der Visionen', null, null, 'Pozas de las Visiones', 'Pozas de las Visiones', 'Пруды Видений');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('288', null, 'Hall des ésprits', 'Halle der Geister', null, null, 'Sala de los Espíritus', 'Sala de los Espíritus', 'Зал Духов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('289', null, 'Alchimie de Bena', 'Benas Alchemie', null, null, 'Bena la Alquimista', 'Bena la Alquimista', 'Лаборатория Бены');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('290', null, 'Forge de Karn', 'Karns Schmiede', null, null, 'Herrería de Karn', 'Herrería de Karn', 'Кузня Карна');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('291', null, 'Cuisine d\'Aska', 'Askas Küche', null, null, 'La Cocina de Aska', 'La Cocina de Aska', 'Кухня Аски');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('292', null, 'Enchanteurs Aube-Glorieuse ', 'Morgenwandlers Verzauberungen', null, null, 'Encantadores Caminalba', 'Encantadores Caminalba', 'Чародеи Утренних Путников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('293', null, 'Soins spirituels', 'Spirituelle Heilung', null, null, 'Curación Espiritual', 'Curación Espiritual', 'Духовное исцеление');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('294', null, 'Appâts & équipement du sommet', 'Gipfelbergs Köder und Ausrüstung', null, null, 'Cebo y Aparejo de la Montaña', 'Cebo y Aparejo de la Montaña', 'Снасти и наживка с горных вершин');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('295', null, 'Herboristerie holistique', 'Ganzheitliche kräuterkunde', null, null, 'Herboristería Holística', 'Herboristería Holística', 'Общее травничество');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('296', null, 'Calligraphe des Pitons-du-Tonnerre', 'Inschriften von Donnerfels', null, null, 'Inscripción de Cima del Trueno', 'Inscripción de Cima del Trueno', 'Начертатель Громового Утеса');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('297', null, 'Armurerie des Pitons-du-Tonnerre', 'Rüstungsschmiede von Donnerfels', null, null, 'Armeros de Cima del Trueno', 'Armeros de Cima del Trueno', 'Громовой Утес: оружейники');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('298', null, 'Géologie de Sabot-de-Pierre', 'Steinhufgeologie', null, null, 'Geólogos Pezuña Pétrea', 'Geólogos Pezuña Pétrea', 'Лавка Геолога');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('299', null, 'Mooranta', 'Mooranta', null, null, 'Mooranta', 'Mooranta', 'Муранта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('300', null, 'Hall des Chasseurs d\'Orgrimmar', 'Jägerhalle von Orgrimmar', null, null, 'Recinto de los Cazadores de Orgrimmar', 'Recinto de los Cazadores de Orgrimmar', 'Зал Охотников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('301', null, 'pavillon de Buissombre', 'Dunkeldornenlodge', null, null, 'Cabaña de Brezo', 'Cabaña de Brezo', 'Пристанище Темнотерна');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('302', null, 'Autel des esprits', 'Geisterlodge', null, null, 'Recinto de los Espíritus', 'Recinto de los Espíritus', 'Обитель Духов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('303', null, 'Forteresse de Thrall', 'Thralls Festung', null, null, 'Fortaleza de Thrall', 'Fortaleza de Thrall', 'Крепость Тралла');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('304', null, 'Confrérie Ombrevive', 'Bruderschaft der Schattenläufer', null, null, 'Hermandad de la Oscuridad', 'Hermandad de la Oscuridad', 'Братство Теней');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('305', null, 'Enclave de Sombrefeu', 'Dunkelfeuerenklave', null, null, 'Enclave Fuego Oscuro', 'Enclave Fuego Oscuro', 'Анклав Темного Пламени');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('306', null, 'Hall des braves', 'Halle der Kriegerhelden', null, null, 'Bastión de los Valientes', 'Bastión de los Valientes', 'Зал Отважных');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('307', null, 'Chez Yelmak. Alchimie et potions', 'Yelmaks Alchemie und Tränke', null, null, 'Alquimia y Pociones de Yelmak', 'Alquimia y Pociones de Yelmak', 'Алхимия и Эликсиры Йелмака');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('308', null, 'L\'Enclume ardente', 'Der brennende Amboss', null, null, 'El Yunque en Llamas', 'El Yunque en Llamas', 'Пылающая наковальня');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('309', null, 'Fosse à feu de Borstan', 'Borstans Feuergrube', null, null, 'Fosa de lava de Borstan', 'Fosa de lava de Borstan', 'Жаровня Борстана');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('310', null, 'Runes de Godan', 'Godans Runenarbeiten', null, null, 'Runas de Godan', 'Runas de Godan', 'Чародейские товары Годана');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('311', null, 'Atelier de Nogg', 'Noggs Meistermaschinen', null, null, 'Taller de Nogg', 'Taller de Nogg', 'Механическая мастерская Ногга');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('312', null, 'La survie du plus fort', 'Der Stärkste überlebt', null, null, 'Larga Vida al Mejor', 'Larga Vida al Mejor', 'Естественный отбор');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('313', null, 'Articles de pêche de Lumak', 'Lumaks Angeln', null, null, 'Pesca con Lumak', 'Pesca con Lumak', 'Рыбное место Лумака');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('314', null, 'Arboretum de Jandi', 'Jandis Arboretum', null, null, 'Arboreto de Jandi', 'Arboreto de Jandi', 'Дендрарий Джанди');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('315', null, 'Mine du Canyon rouge', 'Bergbauunternehmen Rotschlucht', null, null, 'Minería El Cañón Rojo', 'Minería El Cañón Rojo', 'Рудник Ржавого каньона');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('316', null, 'Artisans du cuir kodo', 'Kodolederer', null, null, 'Curtidores de piel de kodo', 'Curtidores de piel de kodo', 'Выделка шкур кодо');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('317', null, 'Les étoffes de Magar', 'Magars Tuchwaren', null, null, 'Géneros Magar', 'Géneros Magar', 'Портняжное ателье Магара');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('318', null, 'Hôtel des ventes de Fossoyeuse', 'Auktionshaus von Unterstadt', null, null, 'Casa de subastas de Entrañas', 'Casa de subastas de Entrañas', 'Подгород: аукционный дом');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('319', null, 'Banque de Fossoyeuse', 'Bank von Unterstadt', null, null, 'Banco de Entrañas', 'Banco de Entrañas', 'Подгород: банк');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('320', null, 'Coiffeur de Fossoyeuse', 'Barbier von Unterstadt', null, null, 'Peluquería de Entrañas', 'Peluquería de Entrañas', 'Подгородский парикмахер');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('321', null, 'Eleveur de chauves-souris de Fossoyeuse', 'Fledermausführer von Unterstadt', null, null, 'Cuidador de murciélagos de Entrañas', 'Cuidador de murciélagos de Entrañas', 'Подгород: дрессировщик нетопырей');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('322', null, 'Maître de Guerre de Fossoyeuse', 'Kampfmeister von unterstadt', null, null, 'Maestros de batalla, Entrañas', 'Maestros de batalla, Entrañas', 'Подгород: военачальники');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('323', null, 'Maître des guildes de Fossoyeuse', 'Gildenmeister von Unterstadt', null, null, 'Maestro de hermandad de Entrañas', 'Maestro de hermandad de Entrañas', 'Подгород: регистрация гильдий');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('324', null, 'Auberge de Fossoyeuse', 'Gasthaus von Unterstadt', null, null, 'Posada de Entrañas', 'Posada de Entrañas', 'Подгородская таверна');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('325', null, 'Serrurier de Fossoyeuse', 'Schlosser von Unterstadt', null, null, 'Cerrajería de Entrañas', 'Cerrajería de Entrañas', 'Подгородский замочник');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('326', null, 'Boite à lettre de Fossoyeuse', 'Briefkasten von Unterstadt', null, null, 'Buzón de Entrañas', 'Buzón de Entrañas', 'Подгород: почта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('327', null, 'Anya Maulray', 'Anya Maulray', null, null, 'Anya Maulray', 'Anya Maulray', 'Аня Молрэ');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('328', null, 'Archibald', 'Archibald', null, null, 'Archibald', 'Archibald', 'Арчибальд');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('329', null, 'Zeppelin de Fossoyeuse', 'Zeppelin von Unterstadt', null, null, 'Zepelín de Entrañas', 'Zepelín de Entrañas', 'Подгород: дирижабль');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('330', null, 'Championne Cyssa Auberose', 'Champion Cyssa Dämmerrose', null, null, 'Campeona Cyssa Rosalba', 'Campeona Cyssa Rosalba', 'Воительница Цисса Роза Рассвета');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('331', null, 'Maîtres des Mages de Fossoyeuse', 'Magierlehrer von Unterstadt', null, null, 'Instructores de magos de Entrañas', 'Instructores de magos de Entrañas', 'Подгород: наставники магов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('332', null, 'Maîtres des Prêtres de Fossoyeuse', 'Priesterlehrer von Unterstadt', null, null, 'Instructores de sacerdotes de Entrañas', 'Instructores de sacerdotes de Entrañas', 'Подгород: наставник жрецов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('333', null, 'Maîtres des Voleurs de Fossoyeuse', 'Schurkenlehrer von Unterstadt', null, null, 'Instructores de pícaros de Entrañas', 'Instructores de pícaros de Entrañas', 'Подгород: наставник разбойников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('334', null, 'Maîtres des Démonistes de Fossoyeuse', 'Hexenmeisterlehrer von Unterstadt', null, null, 'Instructores de brujos de Entrañas', 'Instructores de brujos de Entrañas', 'Подгород: наставники чернокнижников');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('335', null, 'Maîtres des Guerriers de Fossoyeuse', 'Kriegerlehrer von Unterstadt', null, null, 'Instructores de guerreros de Entrañas', 'Instructores de guerreros de Entrañas', 'Подгород: наставник воинов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('336', null, 'L\'Apothicarium', 'Das Apothekarium', null, null, 'El Apothecarium', 'El Apothecarium', 'Район Фармацевтов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('337', null, 'Maître des Forgerons de Fossoyeuse', 'Schmiedekunstlehrer von Unterstadt', null, null, 'Instructor de herrería de Entrañas', 'Instructor de herrería de Entrañas', 'Подгородский учитель кузнечного дела');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('338', null, 'Maître des Cuisiniers de Fossoyeuse', 'Kochkunstlehrer von Unterstadt', null, null, 'Profesor de cocina de Entrañas', 'Profesor de cocina de Entrañas', 'Подгород: Учитель кулинарии');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('339', null, 'Maître des Enchanteurs de Fossoyeuse', 'Verzauberkunstlehrer von Unterstadt', null, null, 'Instructor de encantamiento de Entrañas', 'Instructor de encantamiento de Entrañas', 'Подгородский учитель наложения чар');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('340', null, 'Maître des Ingénieurs de Fossoyeuse', 'Ingenieurskunstlehrer von Unterstadt', null, null, 'Instructor de ingeniería de Entrañas', 'Instructor de ingeniería de Entrañas', 'Подгородский учитель инженерного дела');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('341', null, 'Maître des Sécouristes de Fossoyeuse', 'Lehrer für Erste hilfe von Unterstadt', null, null, 'Instructor de primeros auxilios de Entrañas', 'Instructor de primeros auxilios de Entrañas', 'Подгород: учитель первой помощи');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('342', null, 'Maître des Pêcheurs de Fossoyeuse', 'Angellehrer von Unterstadt', null, null, 'Instructor de pesca de Entrañas', 'Instructor de pesca de Entrañas', 'Подгородский учитель рыбной ловли');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('343', null, 'Maître des Herboristes de Fossoyeuse', 'Kräuterkundelehrer von Unterstadt', null, null, 'Instructor de herboristería de Entrañas', 'Instructor de herboristería de Entrañas', 'Подгородский учитель травничества');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('344', null, 'Maître des Calligraphes de Fossoyeuse', 'Inschriften von Unterstadt', null, null, 'Inscripción de Entrañas', 'Inscripción de Entrañas', 'Подгородский начертатель');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('345', null, 'Maître des Travailleurs du cuir de Fossoyeuse', 'Lederverarbeitungslehrer von Unterstadt', null, null, 'Instructor de peletería de Entrañas', 'Instructor de peletería de Entrañas', 'Подгородский учитель кожевничества');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('346', null, 'Maître des Dépeceurs de Fossoyeuse', 'Kürschnerlehrer von Unterstadt', null, null, 'Instructores de desuello de Entrañas', 'Instructores de desuello de Entrañas', 'Подгородский учитель снятия шкур');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('347', null, 'Maître des Mineurs de Fossoyeuse', 'Bergbaulehrer von Unterstadt', null, null, 'Instructor de minería de Entrañas', 'Instructor de minería de Entrañas', 'Подгородский учитель горного дела');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('348', null, 'Maître des Tailleurs de Fossoyeuse', 'Schneiderlehrer von Unterstadt', null, null, 'Profesor de sastrería de Entrañas', 'Profesor de sastrería de Entrañas', 'Подгородский учитель портняжного дела');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('349', null, 'Lune-d\'argent, Hôtel des ventes', 'Auktionshaus von Silbermond', null, null, 'Ciudad de Lunargenta, casa de subastas', 'Ciudad de Lunargenta, casa de subastas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('350', null, 'Lune-d\'argent, Hôtel des ventes', 'Auktionshaus von Silbermond', null, null, 'Ciudad de Lunargenta, casa de subastas', 'Ciudad de Lunargenta, casa de subastas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('351', null, 'Lune-d\'argent, Banque', 'Bank von Silbermond', null, null, 'Ciudad de Lunargenta, banco', 'Ciudad de Lunargenta, banco', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('352', null, 'Lune-d\'argent, Banque', 'Bank von Silbermond', null, null, 'Ciudad de Lunargenta, banco', 'Ciudad de Lunargenta, banco', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('353', null, 'Lune-d\'argent, Maître de vol', 'Flugmeister von Silbermond', null, null, 'Ciudad de Lunargenta, maestro de vuelo', 'Ciudad de Lunargenta, maestro de vuelo', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('354', null, 'Lune-d\'argent, Guilde', 'Gildenhaus von Silbermond', null, null, 'Ciudad de Lunargenta, casa de la Hermandad', 'Ciudad de Lunargenta, casa de la Hermandad', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('355', null, 'Lune-d\'argent, Auberge', 'Gasthaus von Silbermond', null, null, 'Ciudad de Lunargenta, posada', 'Ciudad de Lunargenta, posada', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('356', null, 'Lune-d\'argent, Auberge', 'Gasthaus von Silbermond', null, null, 'Ciudad de Lunargenta, posada', 'Ciudad de Lunargenta, posada', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('357', null, 'Lune-d\'argent, Boite aux lettres', 'Briefkasten von Silbermond', null, null, 'Ciudad de Lunargenta, buzón de correo', 'Ciudad de Lunargenta, buzón de correo', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('358', null, 'Lune-d\'argent, Maître des écuries', 'Stallmeister von Silbermond', null, null, 'Ciudad de Lunargenta, maestro de establos', 'Ciudad de Lunargenta, maestro de establos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('359', null, 'Lune-d\'argent, Maître des armes', 'Waffenmeister von Silbermond', null, null, 'Ciudad de Lunargenta, maestro de armas', 'Ciudad de Lunargenta, maestro de armas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('360', null, 'Lune-d\'argent, Maître de Guerre', 'Kampfmeister von Silbermond', null, null, 'Ciudad de Lunargenta, maestros de batalla', 'Ciudad de Lunargenta, maestros de batalla', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('361', null, 'Lune-d\'argent, Maître des Druides', 'Druidenlehrer von Silbermond', null, null, 'Ciudad de Lunargenta, instructor de druidas', 'Ciudad de Lunargenta, instructor de druidas', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('362', null, 'Lune-d\'argent, Maître des Chasseurs', 'Jägerlehrer von Silbermond', null, null, 'Ciudad de Lunargenta, instructor de cazadores', 'Ciudad de Lunargenta, instructor de cazadores', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('363', null, 'Lune-d\'argent, Maître des Mages', 'Magielehrer von Silbermond', null, null, 'Ciudad de Lunargenta, instructor de magos', 'Ciudad de Lunargenta, instructor de magos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('364', null, 'Lune-d\'argent, Maître des Paladins', 'Paladinlehrer von Silbermond', null, null, 'Ciudad de Lunargenta, instructor de paladines', 'Ciudad de Lunargenta, instructor de paladines', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('365', null, 'Lune-d\'argent, Maître des Prêtres', 'Priesterlehrer von Silbermond', null, null, 'Ciudad de Lunargenta, instructor de sacerdotes', 'Ciudad de Lunargenta, instructor de sacerdotes', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('366', null, 'Lune-d\'argent, Maître des Voleurs', 'Schurkenlehrer von Silbermond', null, null, 'Ciudad de Lunargenta, instructor de pícaros', 'Ciudad de Lunargenta, instructor de pícaros', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('367', null, 'Lune-d\'argent, Maître des Démonistes', 'Hexenmeisterlehrer von Silbermond', null, null, 'Ciudad de Lunargenta, instructores de brujos', 'Ciudad de Lunargenta, instructores de brujos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('368', null, 'Lune-d\'argent, Alchimiste', 'Alchemie von Silbermond', null, null, 'Ciudad de Lunargenta, alquimia', 'Ciudad de Lunargenta, alquimia', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('369', null, 'Lune-d\'argent, Forgeron', 'Schmiedekunst von Silbermond', null, null, 'Ciudad de Lunargenta, herrería', 'Ciudad de Lunargenta, herrería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('370', null, 'Lune-d\'argent, Cuisinier', 'Kochen in Silbermond', null, null, 'Ciudad de Lunargenta, cocina', 'Ciudad de Lunargenta, cocina', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('371', null, 'Lune-d\'argent, Enchantement', 'Verzauberkunst von Silbermond', null, null, 'Ciudad de Lunargenta, encantamiento', 'Ciudad de Lunargenta, encantamiento', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('372', null, 'Lune-d\'argent, Ingénierie', 'Ingenieurskunst von Silbermond', null, null, 'Ciudad de Lunargenta, ingeniería', 'Ciudad de Lunargenta, ingeniería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('373', null, 'Lune-d\'argent, Secourisme', 'Erste Hilfe von Silbermond', null, null, 'Ciudad de Lunargenta, primeros auxilios', 'Ciudad de Lunargenta, primeros auxilios', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('374', null, 'Lune-d\'argent, Pêche', 'Angeln von Silbermond', null, null, 'Ciudad de Lunargenta, pesca', 'Ciudad de Lunargenta, pesca', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('375', null, 'Lune-d\'argent, Herboristerie', 'Kräuterkunde von Silbermond', null, null, 'Ciudad de Lunargenta, herboristería', 'Ciudad de Lunargenta, herboristería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('376', null, 'Lune-d\'argent, Calligraphie', 'Inschriften von Silbermond', null, null, 'Inscripción de la Ciudad de Lunargenta', 'Inscripción de la Ciudad de Lunargenta', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('377', null, 'Lune-d\'argent, Joaillerie', 'Juwelenschleifen von Silbermond', null, null, 'Ciudad de Lunargenta, joyería', 'Ciudad de Lunargenta, joyería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('378', null, 'Lune-d\'argent, Travail du Cuir', 'Lederverarbeitung von Silbermond', null, null, 'Ciudad de Lunargenta, peletería', 'Ciudad de Lunargenta, peletería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('379', null, 'Lune-d\'argent, Minage', 'Bergbau von Silbermond', null, null, 'Ciudad de Lunargenta, minería', 'Ciudad de Lunargenta, minería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('380', null, 'Lune-d\'argent, Dépeçage', 'Kürschnerei von Silbermond', null, null, 'Ciudad de Lunargenta, desuello', 'Ciudad de Lunargenta, desuello', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('381', null, 'Lune-d\'argent, Couture', 'Schneiderei von Silbermond', null, null, 'Ciudad de Lunargenta, sastrería', 'Ciudad de Lunargenta, sastrería', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('382', null, 'Lune-d\'argent, Puit de Mana', 'Manawebrahmen von Silbermond', null, null, 'Ciudad de Lunargenta, telar de maná', 'Ciudad de Lunargenta, telar de maná', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('383', null, 'Place de l\'Épervier, l\'Aubergiste', 'Gastwirt vom Falkenplatz', null, null, 'Plaza Alalcón, tabernero', 'Plaza Alalcón, tabernero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('384', null, 'Place de l\'Épervier, Maître des écuries', 'Stallmeister vom Falkenplatz', null, null, 'Plaza Alalcón, maestro de establos', 'Plaza Alalcón, maestro de establos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('385', null, 'Place de l\'Épervier, Maître des Chasseurs', 'Jägerlehrer vom Falkenplatz', null, null, 'Plaza Alalcón, instructor de cazadores', 'Plaza Alalcón, instructor de cazadores', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('386', null, 'Place de l\'Épervier, Maître des Mages', 'Magielehrer vom Falkenplatz', null, null, 'Plaza Alalcón, instructor de magos', 'Plaza Alalcón, instructor de magos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('387', null, 'Place de l\'Épervier, Maître des Paladins', 'Paladinlehrer vom Falkenplatz', null, null, 'Plaza Alalcón, instructor de paladines', 'Plaza Alalcón, instructor de paladines', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('388', null, 'Place de l\'Épervier, Maître des Prêtres', 'Priesterlehrer vom Falkenplatz', null, null, 'Plaza Alalcón, instructor de sacerdotes', 'Plaza Alalcón, instructor de sacerdotes', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('389', null, 'Place de l\'Épervier, Maître des Voleurs', 'Schurkenlehrer vom Falkenplatz', null, null, 'Plaza Alalcón, instructor de pícaros', 'Plaza Alalcón, instructor de pícaros', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('390', null, 'Place de l\'Épervier, Maître des Démonistes', 'Hexenmeisterlehrer vom Falkenplatz', null, null, 'Plaza Alalcón, instructor de brujos', 'Plaza Alalcón, instructor de brujos', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('391', null, 'Havre de Saltheril, Alchimiste', 'Alchemist von Saltherils Hafen', null, null, 'Refugio de Saltheril, alquimista', 'Refugio de Saltheril, alquimista', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('392', null, 'La Retraite des pérégrins, Forgeron', 'Schmied der Zuflucht der Weltenwanderer', null, null, 'El Retiro del Errante, herrero', 'El Retiro del Errante, herrero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('393', null, 'la place de l\'Epervier, Cuisinier', 'Koch vom Falkenplatz', null, null, 'Plaza Alalcón, cocinero', 'Plaza Alalcón, cocinero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('394', null, 'Havre de Saltheril, Enchanteur', 'Verzauberer von Saltherils Hafen', null, null, 'Refugio de Saltheril, encantador', 'Refugio de Saltheril, encantador', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('395', null, 'la place de l\'Epervier, Secourisme', 'Lehrer für Erste Hilfe vom Falkenplatz', null, null, 'Plaza Alalcón, instructor de primeros auxilios', 'Plaza Alalcón, instructor de primeros auxilios', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('396', null, 'Havre de Saltheril, Herboriste', 'Kräuterkundiger von Saltherils Hafen', null, null, 'Refugio de Saltheril, herborista', 'Refugio de Saltheril, herborista', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('397', null, 'la place de l\'Epervier, Joaillier', 'Juwelenschleifer vom Falkenplatz', null, null, 'Plaza Alalcón, joyero', 'Plaza Alalcón, joyero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('398', null, 'Bois des Chants éternels, Travailleur du cuir', 'Lederer des Immersangwalds', null, null, 'Bosque Canción Eterna, peletero', 'Bosque Canción Eterna, peletero', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('399', null, 'Bois des Chants éternels, Dépeceur', 'Kürschner des Immersangwalds', null, null, 'Bosque Canción Eterna, desollador', 'Bosque Canción Eterna, desollador', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('400', null, 'Havre de Saltheril, Couturier', 'Schneider von Saltherils Hafen', null, null, 'Refugio de Saltheril, sastre', 'Refugio de Saltheril, sastre', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('401', null, 'Gadjets de Fuseressort', 'Gerätehandel Sprungspindel', null, null, 'Artilugios de Muello', 'Artilugios de Muello', 'Безделушки Пружиннера');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('402', null, 'Yarr Martèlepierre', 'Yarr Hammerstein', null, null, 'Yarr Martillal', 'Yarr Martillal', 'Ярр Камнедроб');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('403', null, 'Auberge de Tranchecolline', 'Gasthaus Klingenhügel', null, null, 'Posada de Cerrotajo', 'Posada de Cerrotajo', 'Таверна Колючего Холма');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('404', null, 'Shoja\'my ', 'Shoja\'my', null, null, 'Shoja\'my', 'Shoja\'my', 'Шоя\'май');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('405', null, 'Thotar', 'Thotar', null, null, 'Thotar', 'Thotar', 'Тотар');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('406', null, 'Un\'Thuwa', 'Un\'Thuwa', null, null, 'Un\'Thuwa', 'Un\'Thuwa', 'Ун\'Тува');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('407', null, 'Tai\'jin', 'Tai\'jin', null, null, 'Tai\'jin', 'Tai\'jin', 'Тай\'джин');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('408', null, 'Kaplak', 'Kaplak', null, null, 'Kaplak', 'Kaplak', 'Каплак');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('409', null, 'Swart', 'Swart', null, null, 'Swart', 'Swart', 'Злобр');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('410', null, 'Dhugru Soif-de-carnage', 'Dhugru Blutgier', null, null, 'Dhugru Ansiagore', 'Dhugru Ansiagore', 'Дхугру Кровожадный');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('411', null, 'Tarshaw Salbalafre', 'Tarshaw Raunarbe', null, null, 'Tarshaw Marcadentada', 'Tarshaw Marcadentada', 'Таршо Рваный Шрам');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('412', null, 'Miao\'zan', 'Miao\'zan', null, null, 'Miao\'zan', 'Miao\'zan', 'Мяо\'зан');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('413', null, 'Dwukk', 'Dwukk', null, null, 'Dwukk', 'Dwukk', 'Двукк');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('414', null, 'Mukdrak', 'Mukdrak', null, null, 'Mukdrak', 'Mukdrak', 'Мукдрак');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('415', null, 'Rawrk', 'Rawrk', null, null, 'Rawrk', 'Rawrk', 'Роурк');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('416', null, 'Lau\'Tiki', 'Lau\'Tiki', null, null, 'Lau\'Tiki', 'Lau\'Tiki', 'Лау\'Тики');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('417', null, 'Mishiki', 'Mishiki', null, null, 'Mishiki', 'Mishiki', 'Мишики');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('418', null, 'Krunn', 'Krunn', null, null, 'Krunn', 'Krunn', 'Крунн');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('419', null, 'Auberge du Sabot-de-Sang', 'Gasthaus der Bluthufe', null, null, 'Posada del Poblado Pezuña de Sangre', 'Posada del Poblado Pezuña de Sangre', 'Таверна в Деревне Кровавого Копыта');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('420', null, 'Seikwa', 'Seikwa', null, null, 'Seikwa', 'Seikwa', 'Сейква');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('421', null, 'Gennia Totem-Runique', 'Gennia Runentotem', null, null, 'Gennia Tótem de Runa', 'Gennia Tótem de Runa', 'Генния Рунический Тотем');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('422', null, 'Yaw Crin-Tranchant', 'Yaw Scharfmähne', null, null, 'Yaw Crinafilada', 'Yaw Crinafilada', 'Йо Колкая Грива');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('423', null, 'Narm Chasse-le-Ciel', 'Narm Himmelsjäger', null, null, 'Narm Cazacielo', 'Narm Cazacielo', 'Нарм Небесный Охотник');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('424', null, 'Krang Sabot-de-Pierre', 'Krang Steinhuf', null, null, 'Krang Pezuña Pétrea', 'Krang Pezuña Pétrea', 'Кранг Каменное Копыто');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('425', null, 'Pyall Sabots-Feutrés', 'Pyall Leisetreter', null, null, 'Pyall Trancosilencio', 'Pyall Trancosilencio', 'Пиалл Тихая Поступь');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('426', null, 'Vira Jeune-Sabot', 'Vira Junghuf', null, null, 'Vira Pezuña Joven', 'Vira Pezuña Joven', 'Вира Нежное Копыто');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('427', null, 'Uthan Eau-Plate', 'Uthan Stillwasser', null, null, 'Uthan Aguaserena', 'Uthan Aguaserena', 'Утан Тихая Заводь');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('428', null, 'Chaw Cuir-Solide', 'Chaw Starkfell', null, null, 'Chaw Pellejofuerte', 'Chaw Pellejofuerte', 'Чоу Толстая Шкура');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('429', null, 'Yonn Entaille-Profonde', 'Yonn Pelzscherer', null, null, 'Yonn Corte Profundo', 'Yonn Corte Profundo', 'Йонн Глубокий Надрез');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('430', null, 'La Taverne du pendu', 'Taverne Zur Galgenschlinge', null, null, 'Mesón La Horca', 'Mesón La Horca', 'Таверна \"Петля висельника\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('431', null, 'La Taverne du pendu', 'Taverne Zur Galgenschlinge', null, null, 'Mesón La Horca', 'Mesón La Horca', 'Таверна \"Петля висельника\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('432', null, 'Morganus', 'Morganus', null, null, 'Morganus', 'Morganus', 'Морганус');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('433', null, 'Cain Chantefeu', 'Cain Feuerlied', null, null, 'Cain Pirosón', 'Cain Pirosón', 'Кейн Песнь Пламени');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('434', null, 'Sombre clerc Beryl', 'Dunkler Kleriker Beryll', null, null, 'Clérigo oscuro Beryl', 'Clérigo oscuro Beryl', 'Темный священник Берил');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('435', null, 'Marion Call', 'Marion Kall', null, null, 'Marion Call', 'Marion Call', 'Марион Зов');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('436', null, 'Rupert Boch', 'Rupert Boch', null, null, 'Rupert Boch', 'Rupert Boch', 'Руперт Бош');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('437', null, 'Austil de Mon', 'Austil de Mon', null, null, 'Austil de Mon', 'Austil de Mon', 'Остил де Мон');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('438', null, 'Carolai Anise', 'Carolai Anise', null, null, 'Carolai Anise', 'Carolai Anise', 'Каролай Аниса');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('439', null, 'Vance Tristefosse', 'Vance Niederglimm', null, null, 'Vance Bajopenumbra', 'Vance Bajopenumbra', 'Ванс Мрачнейший');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('440', null, 'Infirmière Neela', 'Schwester Neela', null, null, 'Enfermera Neela', 'Enfermera Neela', 'Сиделка Нила');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('441', null, 'Clyde Kellen', 'Clyde Kellen', null, null, 'Clyde Kellen', 'Clyde Kellen', 'Клайд Келлен');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('442', null, 'Faruza', 'Faruza', null, null, 'Faruza', 'Faruza', 'Фаруза');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('443', null, 'Shelene Rhobart', 'Shelene Rhobart', null, null, 'Shelene Rhobart', 'Shelene Rhobart', 'Шелена Робарт');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('444', null, 'Rand Rhobart', 'Rand Rhobart', null, null, 'Rand Rhobart', 'Rand Rhobart', 'Рэнд Робарт');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('445', null, 'Bowen Brisboise', 'Bowen Brisboise', null, null, 'Bowen Bribuesa', 'Bowen Bribuesa', 'Боуэн Брисбойс');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('446', null, 'La Taverne du pendu', 'Taverne Zur Galgenschlinge', null, null, 'Mesón La Horca', 'Mesón La Horca', 'Таверна \"Петля висельника\"');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('447', null, 'Morganus', 'Morganus', null, null, '', '', 'Морганус');
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('448', null, 'Souvenirs de la fête des brasseurs', 'Braufest Souvenirs', null, null, '', '', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('449', null, 'Bélier de course de la fête des brasseurs', 'Braufest Ram Racing', null, null, '', '', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('450', null, 'Le club de la Bière du mois, Forgefer', 'Bier des Monats e.V. Eisenschmiede', null, null, '', '', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('451', null, 'Souvenirs de la fête des brasseurs Goblin', 'Goblin Braufest Souvenirs', null, null, '', '', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('452', null, 'Bélier de course de la fête des brasseurs Goblin', 'Bier des Monats e.V. Orgrimmar', null, null, '', '', null);
|
||||
INSERT INTO `locales_points_of_interest` VALUES ('453', null, 'Le club de la Bière du mois, Orgrimmar', null, null, null, '', '', null);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
157385
data/sql/old/db_world/1.x/2016_11_05_05.sql
Normal file
157385
data/sql/old/db_world/1.x/2016_11_05_05.sql
Normal file
File diff suppressed because it is too large
Load Diff
73070
data/sql/old/db_world/1.x/2016_11_06_00.sql
Normal file
73070
data/sql/old/db_world/1.x/2016_11_06_00.sql
Normal file
File diff suppressed because it is too large
Load Diff
73074
data/sql/old/db_world/1.x/2016_11_06_01.sql
Normal file
73074
data/sql/old/db_world/1.x/2016_11_06_01.sql
Normal file
File diff suppressed because one or more lines are too long
25
data/sql/old/db_world/1.x/2016_11_06_02.sql
Normal file
25
data/sql/old/db_world/1.x/2016_11_06_02.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- DB update 2016_11_06_01 -> 2016_11_06_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_06_01 2016_11_06_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1478458446109383200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1478458446109383200');
|
||||
|
||||
DELETE FROM `command` WHERE `name` = 'reload broadcast_text';
|
||||
INSERT INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('reload broadcast_text', 3, 'Syntax: .reload broadcast_text\r\n\r\nReload broadcast_text table.');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
22
data/sql/old/db_world/2.x/2016_11_18_00.sql
Normal file
22
data/sql/old/db_world/2.x/2016_11_18_00.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2016_11_06_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_06_02 2016_11_18_00 bit;
|
||||
|
||||
--
|
||||
-- Do not remove this file when we archive sql under this folder
|
||||
-- it is needed for pending sql importer
|
||||
--
|
||||
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
26
data/sql/old/db_world/2.x/2016_11_19_00.sql
Normal file
26
data/sql/old/db_world/2.x/2016_11_19_00.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
-- DB update 2016_11_18_00 -> 2016_11_19_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2016_11_18_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_18_00 2016_11_19_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1477236823674130000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1477236823674130000');
|
||||
|
||||
UPDATE `quest_template` SET `SpecialFlags` = "0", `RequiredItemId1` = "31811", `RequiredItemCount1` ="1", `Flags` = "0" WHERE `ID` = "10923";
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
29
data/sql/old/db_world/2.x/2016_11_26_00.sql
Normal file
29
data/sql/old/db_world/2.x/2016_11_26_00.sql
Normal file
@@ -0,0 +1,29 @@
|
||||
-- DB update 2016_11_19_00 -> 2016_11_26_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2016_11_19_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_19_00 2016_11_26_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1478948588825091300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1478948588825091300');
|
||||
|
||||
-- Mute for player
|
||||
DELETE FROM trinity_string WHERE entry = 30000;
|
||||
INSERT INTO trinity_string(`entry`,`content_default`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES
|
||||
(30000, 'Speaking is allowed after playing for at least %d. You may use party and guild chat.','Podrás hablar cuando hayas jugado durante al menos %d. Puedes usar el chat de grupo y de hermandad.','Podrás hablar cuando hayas jugado durante al menos %d. Puedes usar el chat de grupo y de hermandad','Вы сможете говорить после %d проведенных минут в игре, но можете использовать чат гильдии и группы.');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
69
data/sql/old/db_world/2.x/2016_11_26_01.sql
Normal file
69
data/sql/old/db_world/2.x/2016_11_26_01.sql
Normal file
@@ -0,0 +1,69 @@
|
||||
-- DB update 2016_11_26_00 -> 2016_11_26_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2016_11_26_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_26_00 2016_11_26_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1479653240477084000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1479653240477084000');
|
||||
|
||||
DROP TABLE IF EXISTS `creature_questitem`;
|
||||
CREATE TABLE `creature_questitem` (
|
||||
`CreatureEntry` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`Idx` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`ItemId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`CreatureEntry`,`Idx`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
DROP TABLE IF EXISTS `gameobject_questitem`;
|
||||
CREATE TABLE `gameobject_questitem` (
|
||||
`GameObjectEntry` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`Idx` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`ItemId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`GameObjectEntry`,`Idx`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT INTO gameobject_questitem (`GameObjectEntry`, `Idx`, `ItemId`)
|
||||
(SELECT gameobject_template.entry, 0, gameobject_template.questItem1 FROM gameobject_template WHERE gameobject_template.questItem1 != 0);
|
||||
INSERT INTO gameobject_questitem (`GameObjectEntry`, `Idx`, `ItemId`)
|
||||
(SELECT gameobject_template.entry, 1, gameobject_template.questItem2 FROM gameobject_template WHERE gameobject_template.questItem2 != 0);
|
||||
INSERT INTO gameobject_questitem (`GameObjectEntry`, `Idx`, `ItemId`)
|
||||
(SELECT gameobject_template.entry, 2, gameobject_template.questItem3 FROM gameobject_template WHERE gameobject_template.questItem3 != 0);
|
||||
INSERT INTO gameobject_questitem (`GameObjectEntry`, `Idx`, `ItemId`)
|
||||
(SELECT gameobject_template.entry, 3, gameobject_template.questItem4 FROM gameobject_template WHERE gameobject_template.questItem4 != 0);
|
||||
INSERT INTO gameobject_questitem (`GameObjectEntry`, `Idx`, `ItemId`)
|
||||
(SELECT gameobject_template.entry, 4, gameobject_template.questItem5 FROM gameobject_template WHERE gameobject_template.questItem5 != 0);
|
||||
INSERT INTO gameobject_questitem (`GameObjectEntry`, `Idx`, `ItemId`)
|
||||
(SELECT gameobject_template.entry, 5, gameobject_template.questItem6 FROM gameobject_template WHERE gameobject_template.questItem6 != 0);
|
||||
|
||||
INSERT INTO creature_questitem (`CreatureEntry`, `Idx`, `ItemId`)
|
||||
(SELECT creature_template.entry, 0, creature_template.questItem1 FROM creature_template WHERE creature_template.questItem1 != 0);
|
||||
INSERT INTO creature_questitem (`CreatureEntry`, `Idx`, `ItemId`)
|
||||
(SELECT creature_template.entry, 1, creature_template.questItem2 FROM creature_template WHERE creature_template.questItem2 != 0);
|
||||
INSERT INTO creature_questitem (`CreatureEntry`, `Idx`, `ItemId`)
|
||||
(SELECT creature_template.entry, 2, creature_template.questItem3 FROM creature_template WHERE creature_template.questItem3 != 0);
|
||||
INSERT INTO creature_questitem (`CreatureEntry`, `Idx`, `ItemId`)
|
||||
(SELECT creature_template.entry, 3, creature_template.questItem4 FROM creature_template WHERE creature_template.questItem4 != 0);
|
||||
INSERT INTO creature_questitem (`CreatureEntry`, `Idx`, `ItemId`)
|
||||
(SELECT creature_template.entry, 4, creature_template.questItem5 FROM creature_template WHERE creature_template.questItem5 != 0);
|
||||
INSERT INTO creature_questitem (`CreatureEntry`, `Idx`, `ItemId`)
|
||||
(SELECT creature_template.entry, 5, creature_template.questItem6 FROM creature_template WHERE creature_template.questItem6 != 0);
|
||||
|
||||
ALTER TABLE `creature_template` DROP `questItem1`, DROP `questItem2`, DROP `questItem3`, DROP `questItem4`, DROP `questItem5`, DROP `questItem6`;
|
||||
ALTER TABLE `gameobject_template` DROP `questItem1`, DROP `questItem2`, DROP `questItem3`, DROP `questItem4`, DROP `questItem5`, DROP `questItem6`;
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
12404
data/sql/old/db_world/2.x/2016_12_02_00.sql
Normal file
12404
data/sql/old/db_world/2.x/2016_12_02_00.sql
Normal file
File diff suppressed because it is too large
Load Diff
26
data/sql/old/db_world/2.x/2017_01_24_00.sql
Normal file
26
data/sql/old/db_world/2.x/2017_01_24_00.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
-- DB update 2016_12_02_00 -> 2017_01_24_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2016_12_02_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_12_02_00 2017_01_24_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1477254708321947900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1477254708321947900');
|
||||
|
||||
UPDATE `creature_text` SET `text` = "$N! I'm watching you!" WHERE `entry` = "11382" AND `groupid` = "2";
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
31
data/sql/old/db_world/2.x/2017_01_24_01.sql
Normal file
31
data/sql/old/db_world/2.x/2017_01_24_01.sql
Normal file
@@ -0,0 +1,31 @@
|
||||
-- DB update 2017_01_24_00 -> 2017_01_24_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_01_24_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_01_24_00 2017_01_24_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1479505563721235300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1479505563721235300');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = "938";
|
||||
|
||||
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
|
||||
(938, 0, 0, 0, 1, 0, 100, 1, 1000, 1000, 0, 0, 11, 1784, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Kurzen Commando - Out of Combat - Cast \'Stealth\''),
|
||||
(938, 0, 1, 0, 0, 0, 100, 0, 2400, 4100, 2400, 4100, 11, 2591, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Kurzen Commando - In Combat - Cast \'Backstab\''),
|
||||
(938, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 11, 7964, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Kurzen Commando - Between 0-15% Health - Cast \'Smoke Bomb\'');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
78
data/sql/old/db_world/2.x/2017_01_24_02.sql
Normal file
78
data/sql/old/db_world/2.x/2017_01_24_02.sql
Normal file
@@ -0,0 +1,78 @@
|
||||
-- DB update 2017_01_24_01 -> 2017_01_24_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_01_24_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_01_24_01 2017_01_24_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1482409122200235830'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1482409122200235830');
|
||||
-- creating `quest_template_addon` table
|
||||
DROP TABLE IF EXISTS `quest_template_addon`;
|
||||
CREATE TABLE IF NOT EXISTS `quest_template_addon` ( -- old names:
|
||||
`ID` mediumint(8) unsigned NOT NULL DEFAULT '0', -- ID
|
||||
`MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', -- MaxLevel
|
||||
`AllowableClasses` int(10) unsigned NOT NULL DEFAULT '0', -- RequiredClasses
|
||||
`SourceSpellID` mediumint(8) unsigned NOT NULL DEFAULT '0', -- SourceSpellId
|
||||
`PrevQuestID` mediumint(8) NOT NULL DEFAULT '0', -- PrevQuestId
|
||||
`NextQuestID` mediumint(8) NOT NULL DEFAULT '0', -- NextQuestId
|
||||
`ExclusiveGroup` mediumint(8) NOT NULL DEFAULT '0', -- ExclusiveGroup
|
||||
`RewardMailTemplateID` mediumint(8) unsigned NOT NULL DEFAULT '0', -- RewardMailTemplateId
|
||||
`RewardMailDelay` int(10) unsigned NOT NULL DEFAULT '0', -- RewardMailDelay
|
||||
`RequiredSkillID` smallint(5) unsigned NOT NULL DEFAULT '0', -- RequiredSkillId
|
||||
`RequiredSkillPoints` smallint(5) unsigned NOT NULL DEFAULT '0', -- RequiredSkillPoints
|
||||
`RequiredMinRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', -- RequiredMinRepFaction
|
||||
`RequiredMaxRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', -- RequiredMaxRepFaction
|
||||
`RequiredMinRepValue` mediumint(8) NOT NULL DEFAULT '0', -- RequiredMinRepValue
|
||||
`RequiredMaxRepValue` mediumint(8) NOT NULL DEFAULT '0', -- RequiredMaxRepValue
|
||||
`ProvidedItemCount` tinyint(3) unsigned NOT NULL DEFAULT '0', -- SourceItemCount
|
||||
`SpecialFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', -- SpecialFlags
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
-- moving data from `quest_template` to `quest_template_addon`
|
||||
INSERT INTO `quest_template_addon`
|
||||
(`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`)
|
||||
(SELECT `ID`, `MaxLevel`, `RequiredClasses`, `SourceSpellId`, `PrevQuestId`, `NextQuestId`, `ExclusiveGroup`, `RewardMailTemplateId`, `RewardMailDelay`, `RequiredSkillId`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `SourceItemCount`, `SpecialFlags` FROM `quest_template`);
|
||||
|
||||
|
||||
-- drop `quest_template` fields
|
||||
ALTER TABLE `quest_template`
|
||||
DROP `MaxLevel`,
|
||||
DROP `RequiredClasses`,
|
||||
DROP `SourceSpellId`,
|
||||
DROP `PrevQuestId`,
|
||||
DROP `NextQuestId`,
|
||||
DROP `ExclusiveGroup`,
|
||||
DROP `RewardMailTemplateId`,
|
||||
DROP `RewardMailDelay`,
|
||||
DROP `RequiredSkillId`,
|
||||
DROP `RequiredSkillPoints`,
|
||||
DROP `RequiredMinRepFaction`,
|
||||
DROP `RequiredMaxRepFaction`,
|
||||
DROP `RequiredMinRepValue`,
|
||||
DROP `RequiredMaxRepValue`,
|
||||
DROP `SourceItemCount`,
|
||||
DROP `SpecialFlags`;
|
||||
|
||||
|
||||
-- alter `quest_template` fields
|
||||
ALTER TABLE `quest_template`
|
||||
CHANGE COLUMN `Method` `QuestType` TINYINT(3) UNSIGNED NOT NULL DEFAULT '2' AFTER `ID`,
|
||||
CHANGE COLUMN `QuestType` `QuestInfoID` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestSortID`;
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
25
data/sql/old/db_world/2.x/2017_01_24_03.sql
Normal file
25
data/sql/old/db_world/2.x/2017_01_24_03.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- DB update 2017_01_24_02 -> 2017_01_24_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_01_24_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_01_24_02 2017_01_24_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1482747332072498900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1482747332072498900');
|
||||
|
||||
DELETE FROM `disables` WHERE `entry` = "532";--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
57
data/sql/old/db_world/2.x/2017_01_24_04.sql
Normal file
57
data/sql/old/db_world/2.x/2017_01_24_04.sql
Normal file
@@ -0,0 +1,57 @@
|
||||
-- DB update 2017_01_24_03 -> 2017_01_24_04
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_01_24_03';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_01_24_03 2017_01_24_04 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1482952611662394924'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1482952611662394924');
|
||||
|
||||
ALTER TABLE `quest_template`
|
||||
CHANGE COLUMN `LimitTime` `TimeAllowed` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `PointOption`,
|
||||
CHANGE COLUMN `RequiredRaces` `RequiredRaces` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `TimeAllowed`,
|
||||
CHANGE COLUMN `NextQuestIdChain` `RewardNextQuest` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `RequiredFactionValue2`,
|
||||
CHANGE COLUMN `RewardXPId` `RewardXPDifficulty` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardNextQuest`,
|
||||
CHANGE COLUMN `RewardOrRequiredMoney` `RewardMoney` INT(11) NOT NULL DEFAULT '0' AFTER `RewardXPDifficulty`,
|
||||
CHANGE COLUMN `RewardMoneyMaxLevel` `RewardBonusMoney` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardMoney`,
|
||||
CHANGE COLUMN `RewardSpell` `RewardDisplaySpell` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardBonusMoney`,
|
||||
CHANGE COLUMN `RewardSpellCast` `RewardSpell` INT(11) NOT NULL DEFAULT '0' AFTER `RewardDisplaySpell`,
|
||||
CHANGE COLUMN `RewardHonorMultiplier` `RewardKillHonor` FLOAT NOT NULL DEFAULT '0' AFTER `RewardHonor`,
|
||||
CHANGE COLUMN `SourceItemId` `StartItem` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardKillHonor`,
|
||||
CHANGE COLUMN `RewardTitle` `RewardTitle` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardChoiceItemQuantity6`,
|
||||
CHANGE COLUMN `RewardTalents` `RewardTalents` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardTitle`,
|
||||
CHANGE COLUMN `RewardArenaPoints` `RewardArenaPoints` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardTalents`;
|
||||
-- split needed to avoid import errors
|
||||
ALTER TABLE `quest_template`
|
||||
CHANGE COLUMN `PointMapId` `POIContinent` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardChoiceItemQuantity6`,
|
||||
CHANGE COLUMN `PointX` `POIx` FLOAT NOT NULL DEFAULT '0' AFTER `POIContinent`,
|
||||
CHANGE COLUMN `PointY` `POIy` FLOAT NOT NULL DEFAULT '0' AFTER `POIx`,
|
||||
CHANGE COLUMN `PointOption` `POIPriority` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `POIy`,
|
||||
CHANGE COLUMN `EndText` `AreaDescription` TEXT NULL AFTER `QuestDescription`;
|
||||
|
||||
ALTER TABLE `quest_template`
|
||||
CHANGE COLUMN `RequiredRaces` `AllowableRaces` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `TimeAllowed`,
|
||||
CHANGE COLUMN `RequiredSourceItemId1` `ItemDrop1` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `RewardAmount4`,
|
||||
CHANGE COLUMN `RequiredSourceItemCount1` `ItemDropQuantity1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemDrop1`,
|
||||
CHANGE COLUMN `RequiredSourceItemId2` `ItemDrop2` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemDropQuantity1`,
|
||||
CHANGE COLUMN `RequiredSourceItemCount2` `ItemDropQuantity2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemDrop2`,
|
||||
CHANGE COLUMN `RequiredSourceItemId3` `ItemDrop3` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemDropQuantity2`,
|
||||
CHANGE COLUMN `RequiredSourceItemCount3` `ItemDropQuantity3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemDrop3`,
|
||||
CHANGE COLUMN `RequiredSourceItemId4` `ItemDrop4` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemDropQuantity3`,
|
||||
CHANGE COLUMN `RequiredSourceItemCount4` `ItemDropQuantity4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemDrop4`;
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
35
data/sql/old/db_world/2.x/2017_01_24_05.sql
Normal file
35
data/sql/old/db_world/2.x/2017_01_24_05.sql
Normal file
@@ -0,0 +1,35 @@
|
||||
-- DB update 2017_01_24_04 -> 2017_01_24_05
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_01_24_04';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_01_24_04 2017_01_24_05 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1483918476110152000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1483918476110152000');
|
||||
|
||||
DELETE FROM `disables` WHERE `entry` = "532";
|
||||
DELETE FROM `creature` WHERE `guid` = "135921";
|
||||
DELETE FROM `creature` WHERE `ID` = "17644";
|
||||
|
||||
UPDATE `creature_template` SET `ScriptName` = "prince_axes" WHERE `entry` = "17650";
|
||||
|
||||
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (30843, 41624, 0, 'Prince Enfeelble');
|
||||
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
|
||||
(135921, 17645, 532, 1, 1, 11686, 0, -10935.6, -2043.06, 324.012, 2.17745, 604800, 0, 0, 42, 0, 0, 0, 0, 0);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
88
data/sql/old/db_world/2.x/2017_01_24_06.sql
Normal file
88
data/sql/old/db_world/2.x/2017_01_24_06.sql
Normal file
@@ -0,0 +1,88 @@
|
||||
-- DB update 2017_01_24_05 -> 2017_01_24_06
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_01_24_05';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_01_24_05 2017_01_24_06 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485095191251265000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485095191251265000');
|
||||
|
||||
DELETE FROM `creature_template` WHERE `entry` = "34125";
|
||||
|
||||
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(34125, 0, 0, 0, 0, 0, 28918, 0, 0, 0, 'Stabled Campaign Warhorse', '', 'vehichleCursor', 0, 80, 80, 2, 35, 16777216, 1, 1.38571, 1, 1, 422, 586, 0, 642, 7.5, 2000, 2000, 1, 2, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 5.95238, 1, 1, 0, 140, 1, 0, 0, '', 12340);
|
||||
|
||||
UPDATE `creature_template` SET `Health_mod` = "2.4" WHERE `entry` = "33438";
|
||||
UPDATE `creature_template` SET `Health_mod` = "2.6" WHERE `entry` = "33429";
|
||||
|
||||
|
||||
SET @entry :=33519;
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@entry;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@entry;
|
||||
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
|
||||
(@entry,0,0,0,27,0,100,0,0,0,0,0,53,0,@entry,0,13663,0,0,1,0,0,0,0,0,0,0,'Black Knight''s Gryphon - On passenger - Start WP movement'),
|
||||
(@entry,0,1,0,40,0,100,0,40,@entry,0,0,33,33519,0,0,0,0,0,7,0,0,0,0,0,0,0,'Black Knight''s Gryphon - On WP 40 - Quest Credit'),
|
||||
(@entry,0,2,0,40,0,100,0,43,@entry,0,0,11,50630,0,0,0,0,0,7,0,0,0,0,0,0,0,'Black Knight''s Gryphon - On WP 43 - Dismount Spell'),
|
||||
(@entry,0,3,0,40,0,100,0,44,@entry,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Black Knight''s Gryphon - On WP 44 - Despawn');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=33519;
|
||||
INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES
|
||||
(33519, 1,8521.271,569.5960,552.8375,'Black Knight''s Gryphon'),
|
||||
(33519, 2,8517.864,579.1095,553.2125,'Black Knight''s Gryphon'),
|
||||
(33519, 3,8513.146,594.6724,551.2125,'Black Knight''s Gryphon'),
|
||||
(33519, 4,8505.263,606.5569,550.4177,'Black Knight''s Gryphon'),
|
||||
(33519, 5,8503.017,628.4188,547.4177,'Black Knight''s Gryphon'),
|
||||
(33519, 6,8480.271,652.7083,547.4177,'Black Knight''s Gryphon'),
|
||||
(33519, 7,8459.121,686.1427,547.4177,'Black Knight''s Gryphon'),
|
||||
(33519, 8,8436.802,713.8687,547.3428,'Black Knight''s Gryphon'),
|
||||
(33519, 9,8405.380,740.0045,547.4177,'Black Knight''s Gryphon'),
|
||||
(33519,10,8386.139,770.6009,547.5881,'Black Knight''s Gryphon'),
|
||||
(33519,11,8374.297,802.2525,547.9304,'Black Knight''s Gryphon'),
|
||||
(33519,12,8374.271,847.0363,548.0427,'Black Knight''s Gryphon'),
|
||||
(33519,13,8385.988,868.9881,548.0491,'Black Knight''s Gryphon'),
|
||||
(33519,14,8413.027,867.8573,547.2991,'Black Knight''s Gryphon'),
|
||||
(33519,15,8452.552,869.0339,547.2991,'Black Knight''s Gryphon'),
|
||||
(33519,16,8473.058,875.2012,547.2955,'Black Knight''s Gryphon'),
|
||||
(33519,17,8472.278,912.3134,547.4169,'Black Knight''s Gryphon'),
|
||||
(33519,18,8479.666,954.1650,547.3298,'Black Knight''s Gryphon'),
|
||||
(33519,19,8477.349,1001.368,547.3372,'Black Knight''s Gryphon'),
|
||||
(33519,20,8484.538,1025.797,547.4622,'Black Knight''s Gryphon'),
|
||||
(33519,21,8525.363,1029.284,547.4177,'Black Knight''s Gryphon'),
|
||||
(33519,22,8532.808,1052.904,548.1677,'Black Knight''s Gryphon'),
|
||||
(33519,23,8537.356,1077.927,554.5791,'Black Knight''s Gryphon'),
|
||||
(33519,24,8540.528,1083.379,569.6827,'Black Knight''s Gryphon'),
|
||||
(33519,25,8563.641,1140.965,569.6827,'Black Knight''s Gryphon'),
|
||||
(33519,26,8594.897,1205.458,569.6827,'Black Knight''s Gryphon'),
|
||||
(33519,27,8617.104,1257.399,566.1833,'Black Knight''s Gryphon'),
|
||||
(33519,28,8648.496,1329.349,558.0187,'Black Knight''s Gryphon'),
|
||||
(33519,29,8667.723,1388.411,546.1880,'Black Knight''s Gryphon'),
|
||||
(33519,30,8699.145,1474.898,528.2197,'Black Knight''s Gryphon'),
|
||||
(33519,31,8726.869,1546.006,501.7741,'Black Knight''s Gryphon'),
|
||||
(33519,32,8739.058,1592.157,478.5511,'Black Knight''s Gryphon'),
|
||||
(33519,33,8750.799,1636.771,455.0797,'Black Knight''s Gryphon'),
|
||||
(33519,34,8760.006,1669.482,423.2208,'Black Knight''s Gryphon'),
|
||||
(33519,35,8783.310,1701.852,375.8872,'Black Knight''s Gryphon'),
|
||||
(33519,36,8817.336,1735.731,343.3323,'Black Knight''s Gryphon'),
|
||||
(33519,37,8882.320,1789.754,301.5807,'Black Knight''s Gryphon'),
|
||||
(33519,38,8958.597,1841.807,259.9141,'Black Knight''s Gryphon'),
|
||||
(33519,39,9045.891,1908.076,233.4143,'Black Knight''s Gryphon'),
|
||||
(33519,40,9107.177,1964.594,215.9704,'Black Knight''s Gryphon'),
|
||||
(33519,41,9134.763,2036.925,175.1925,'Black Knight''s Gryphon'),
|
||||
(33519,42,9128.608,2089.091,141.3593,'Black Knight''s Gryphon'),
|
||||
(33519,43,9093.364,2128.384,99.38685,'Black Knight''s Gryphon'),
|
||||
(33519,44,9050.709,2123.656,60.24802,'Black Knight''s Gryphon');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
25
data/sql/old/db_world/2.x/2017_02_03_00.sql
Normal file
25
data/sql/old/db_world/2.x/2017_02_03_00.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- DB update 2017_01_24_06 -> 2017_02_03_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_01_24_06';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_01_24_06 2017_02_03_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485367877592394862'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485367877592394862');
|
||||
UPDATE `creature` SET `MovementType` = 1, `spawndist` = 10 WHERE `guid` IN (1976006, 1976007, 1976008, 1976009, 1976010, 1976011, 1976012);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
27
data/sql/old/db_world/2.x/2017_02_03_01.sql
Normal file
27
data/sql/old/db_world/2.x/2017_02_03_01.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- DB update 2017_02_03_00 -> 2017_02_03_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_00 2017_02_03_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485367936523741798'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485367936523741798');
|
||||
DELETE FROM `disables` WHERE `entry`= 45425;
|
||||
INSERT INTO `disables` (`sourceType`,`entry`,`flags`,`params_0`,`params_1`,`comment`) VALUES
|
||||
(0, 45425, 64, '', '', 'Ignore LOS for Shoot (Dummy)');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
35
data/sql/old/db_world/2.x/2017_02_03_02.sql
Normal file
35
data/sql/old/db_world/2.x/2017_02_03_02.sql
Normal file
@@ -0,0 +1,35 @@
|
||||
-- DB update 2017_02_03_01 -> 2017_02_03_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_01 2017_02_03_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485367955664959270'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485367955664959270');
|
||||
-- [Quest][WotlK] The Last of Her Kind
|
||||
-- Harnessed Icemaw Matriarch SAI
|
||||
SET @ENTRY := 30468;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=4;
|
||||
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
|
||||
(@ENTRY,0,4,0,28,0,100,0,0,0,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Harnessed Icemaw Matriarch - On Passenger Removed - Despawn Instant");
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=29563 AND `SourceEntry`=56795;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(18, 29563, 56795, 0, 0, 9, 0, 12983, 0, 0, 0, 0, 0, '', 'Required quest \'The Last of Her Kind\' active for spellclick');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
83
data/sql/old/db_world/2.x/2017_02_03_03.sql
Normal file
83
data/sql/old/db_world/2.x/2017_02_03_03.sql
Normal file
@@ -0,0 +1,83 @@
|
||||
-- DB update 2017_02_03_02 -> 2017_02_03_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_02 2017_02_03_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485367987525031467'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485367987525031467');
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485365422169494530');
|
||||
-- Civilian Recruit modelid from 3422 to 24821
|
||||
UPDATE `creature` SET `modelid` = 24821 WHERE `guid` IN (117788, 117798);
|
||||
|
||||
-- Civilian Recruit Scripts in Building
|
||||
DELETE FROM `creature_addon` WHERE `guid`=117789;
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
|
||||
(117789, 0, 0, 3, 0, 0, NULL);
|
||||
|
||||
-- Civilian Recruit SAI
|
||||
SET @GUID := -117794;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=25317;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,8000,8000,12000,12000,5,36,0,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - Out of Combat - Play Emote 36"),
|
||||
(@GUID,0,1,0,1,0,100,0,35000,40000,35000,40000,80,11779400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 11779400;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - On Script - Say Line 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,10,117790,25317,0,0,0,0,0,"Civilian Recruit - On Script - Say Line 2"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,1,3,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - On Script - Say Line 3");
|
||||
|
||||
-- Civilian Recruit SAI
|
||||
SET @GUID := -117788;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=25317;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,8000,8000,12000,12000,5,36,0,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - Out of Combat - Play Emote 36"),
|
||||
(@GUID,0,1,0,1,0,100,0,35000,40000,35000,40000,80,11778800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 11778800;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - On Script - Say Line 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,10,117789,25317,0,0,0,0,0,"Civilian Recruit - On Script - Say Line 2"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,1,3,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Civilian Recruit - On Script - Say Line 3");
|
||||
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=25317 AND `groupid` >=1;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
-- First text
|
||||
(25317, 1, 0, 'This is harder than it looks.', 12, 7, 100, 0, 0, 0, 26488, 'Civilian Recruit'),
|
||||
(25317, 1, 1, 'Did that seem okay?', 12, 7, 100, 0, 0, 0, 26487, 'Civilian Recruit'),
|
||||
(25317, 1, 2, 'My arm is getting sore.', 12, 7, 100, 0, 0, 0, 26491, 'Civilian Recruit'),
|
||||
(25317, 1, 3, 'Hmm....', 12, 7, 100, 0, 0, 0, 26492, 'Civilian Recruit'),
|
||||
(25317, 1, 4, 'I think I\'m starting to get the hang of this.', 12, 7, 100, 0, 0, 0, 26490, 'Civilian Recruit'),
|
||||
(25317, 1, 5, 'This isn\'t easy.', 12, 7, 100, 0, 0, 0, 26489, 'Civilian Recruit'),
|
||||
-- reaction
|
||||
(25317, 2, 0, 'You aren\'t going to let me sleep are you?', 12, 7, 100, 0, 0, 0, 26497, 'Civilian Recruit'),
|
||||
(25317, 2, 1, 'Are you going to be doing this for much longer?', 12, 7, 100, 0, 0, 0, 26502, 'Civilian Recruit'),
|
||||
(25317, 2, 2, 'Could you try to be a little quieter?', 12, 7, 100, 0, 0, 0, 26500, 'Civilian Recruit'),
|
||||
-- reaction 2
|
||||
(25317, 3, 0, 'I just don\'t want to let anyone down.', 12, 7, 100, 0, 0, 0, 26494, 'Civilian Recruit'),
|
||||
(25317, 3, 1, 'I need to do something to keep myself busy.', 12, 7, 100, 0, 0, 0, 26495, 'Civilian Recruit'),
|
||||
(25317, 3, 2, 'I\'m just nervous. Sorry.', 12, 7, 100, 0, 0, 0, 26493, 'Civilian Recruit');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
155
data/sql/old/db_world/2.x/2017_02_03_04.sql
Normal file
155
data/sql/old/db_world/2.x/2017_02_03_04.sql
Normal file
@@ -0,0 +1,155 @@
|
||||
-- DB update 2017_02_03_03 -> 2017_02_03_04
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_03';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_03 2017_02_03_04 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485368761589638156'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485368761589638156');
|
||||
-- Bailey + Bellinger Event
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (114937, 114958);
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=114937;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(114937, 114937, 0, 0, 4, 0, 0),
|
||||
(114937, 114958, 2, 270, 4, 0, 0);
|
||||
|
||||
-- Bailey SAI
|
||||
SET @ENTRY := 29643;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,0,1000,1000,900000,900000,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - Out of Combat - Run Script"),
|
||||
(@ENTRY,0,1,0,40,0,100,0,4,29643,0,0,80,@ENTRY*100+01,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Waypoint 4 Reached - Run Script"),
|
||||
(@ENTRY,0,2,0,40,0,100,0,8,29643,0,0,80,@ENTRY*100+02,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Waypoint 8 Reached - Run Script"),
|
||||
(@ENTRY,0,3,0,40,0,100,0,15,29643,0,0,80,@ENTRY*100+03,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Waypoint 15 Reached - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2964300;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,1,0,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,6000,6000,0,0,1,0,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 0"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 1"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,6000,6000,0,0,1,1,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 1"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 2"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,6000,6000,0,0,1,2,0,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 2"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Set Orientation Closest Creature 'Bellinger'"),
|
||||
(@ENTRY,9,7,0,0,0,100,0,6000,6000,0,0,1,3,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 3"),
|
||||
(@ENTRY,9,8,0,0,0,100,0,3000,3000,0,0,5,60,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Play Emote 60"),
|
||||
(@ENTRY,9,9,0,0,0,100,0,0,0,0,0,86,54899,0,10,114958,29644,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Cross Cast 'Knockback 15'"),
|
||||
(@ENTRY,9,10,0,0,0,100,0,5000,5000,0,0,1,3,5000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 3"),
|
||||
(@ENTRY,9,11,0,0,0,100,0,0,0,0,0,45,4,4,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Set Data 4 4"),
|
||||
(@ENTRY,9,12,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.58825,"Bailey - On Script - Set Orientation 1.58825"),
|
||||
(@ENTRY,9,13,0,0,0,100,0,3000,3000,0,0,1,4,3000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 4"),
|
||||
(@ENTRY,9,14,0,0,0,100,0,5000,5000,0,0,45,1,1,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Set Data 1 1"),
|
||||
(@ENTRY,9,15,0,0,0,100,0,300000,300000,0,0,1,5,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 5"), -- 5min
|
||||
(@ENTRY,9,16,0,0,0,100,0,6000,6000,0,0,1,4,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 4"),
|
||||
(@ENTRY,9,17,0,0,0,100,0,6000,6000,0,0,1,6,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 6"),
|
||||
(@ENTRY,9,18,0,0,0,100,0,6000,6000,0,0,1,7,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 7"),
|
||||
(@ENTRY,9,19,0,0,0,100,0,6000,6000,0,0,1,8,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 8"),
|
||||
(@ENTRY,9,20,0,0,0,100,0,6000,6000,0,0,1,5,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 5"),
|
||||
(@ENTRY,9,21,0,0,0,100,0,6000,6000,0,0,1,6,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 6"),
|
||||
(@ENTRY,9,22,0,0,0,100,0,300000,300000,0,0,53,0,29643,0,0,0,1,1,0,0,0,0,0,0,0,"Bailey - On Script - Start Waypoint"); -- 5min 300000
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2964301;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,13000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.085985,"Bailey - On Script - Set Orientation 2,085985"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,45,2,2,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Set Data 2 2"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,1000,1000,0,0,1,7,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 7"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,6000,6000,0,0,1,9,5000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 9");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2964302;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,33000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.50084,"Bailey - On Script - Set Orientation 2.50084"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,45,3,3,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Set Data 3 3"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,1,8,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 8"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,6000,6000,0,0,1,10,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 10"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,6000,6000,0,0,1,9,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 9"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,6000,6000,0,0,1,11,6000,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Say Line 11"),
|
||||
(@ENTRY,9,7,0,0,0,100,0,6000,6000,0,0,1,10,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Say Line 10");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2964303;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,4000,4000,0,0,45,5,5,0,0,0,0,10,114958,29644,0,0,0,0,0,"Bailey - On Script - Set Data 5 5"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bailey - On Script - Set Active Off");
|
||||
|
||||
-- Bellinger SAI
|
||||
SET @ENTRY := 29644;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,38,0,100,0,1,1,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.50098,"Bellinger - On Data Set 1 1 - Set Orientation 1.50098"),
|
||||
(@ENTRY,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,2.08598,"Bellinger - On Data Set 2 2 - Set Orientation 2.08598"),
|
||||
(@ENTRY,0,2,0,38,0,100,0,3,3,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.50084,"Bellinger - On Data Set 3 3 - Set Orientation 2.50084"),
|
||||
(@ENTRY,0,3,0,38,0,100,0,4,4,0,0,69,0,0,0,0,0,0,8,0,0,0,6034.820,-750.8344,369.8008,1.4146,"Bellinger - On Data Set 4 4 - Move To Position"),
|
||||
(@ENTRY,0,4,0,38,0,100,0,5,5,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.269333,"Bellinger - On Data Set 3 3 - Set Orientation 1.269333");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (29643, 29644);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
-- Bailey
|
||||
(29643, 0, 0, 'This doesn''t look pretty, lad.', 12, 0, 100, 1, 0, 0, 30286, 'Bailey'),
|
||||
(29643, 1, 0, 'That right? Well why don''t you go prance your merry little self over and grab them, eh?', 12, 0, 100, 6, 0, 0, 30289, 'Bailey'),
|
||||
(29643, 2, 0, 'That''s strange... for a moment there, I could have swore you called me short.', 12, 0, 100, 1, 0, 0, 30288, 'Bailey'),
|
||||
(29643, 3, 0, 'Toss me?! Okay, that''s it punk.', 12, 0, 100, 5, 0, 0, 30290, 'Bailey'),
|
||||
(29643, 4, 0, 'Keep it to yourself.', 12, 0, 100, 1, 0, 0, 30291, 'Bailey'),
|
||||
(29643, 5, 0, 'You better hope they don''t survive it, lad.', 12, 0, 100, 1, 0, 0, 30292, 'Bailey'),
|
||||
(29643, 6, 0, 'Cause I''m just going to watch and laugh as they toss you in.', 12, 0, 100, 1, 0, 0, 30293, 'Bailey'),
|
||||
(29643, 7, 0, 'There''s got to be a way in somewhere.', 12, 0, 100, 1, 0, 0, 30294, 'Bailey'),
|
||||
(29643, 8, 0, 'How''d the goblin leave his tools there then?', 12, 0, 100, 1, 0, 0, 30295, 'Bailey'),
|
||||
(29643, 9, 0, 'That''s it, lad! It looks totally safe. Go for it, I''ll be right behind ya!', 12, 0, 100, 5, 0, 0, 30296, 'Bailey'),
|
||||
(29643, 10, 0, 'Pansy.', 12, 0, 100, 5, 0, 0, 30312, 'Bailey'),
|
||||
-- Bellinger
|
||||
(29644, 0, 0, 'I don''t know, Bailey... it''s not so bad. We could throw a rock at the tools from here.', 12, 0, 100, 1, 0, 0, 30287, 'Bellinger'),
|
||||
(29644, 1, 0, 'Well... I was just thinking... you''re a bit smaller, so you''re less likely to set off any of those mines.', 12, 0, 100, 1, 0, 0, 30297, 'Bellinger'),
|
||||
(29644, 2, 0, 'No, no, no! Not short... it''s just... well... maybe I could toss you across most of it?', 12, 0, 100, 1, 0, 0, 30298, 'Bellinger'),
|
||||
(29644, 3, 0, 'Ahhh!', 12, 0, 100, 0, 0, 0, 30306, 'Bellinger'),
|
||||
(29644, 4, 0, 'That was close! You scared me.', 12, 0, 100, 5, 0, 0, 30311, 'Bellinger'),
|
||||
(29644, 5, 0, 'I''ve got an idea, Bailey...', 12, 0, 100, 5, 0, 0, 30299, 'Bellinger'),
|
||||
(29644, 6, 0, 'No, no - this might work!', 12, 0, 100, 5, 0, 0, 30300, 'Bellinger'),
|
||||
(29644, 7, 0, 'There''s a path right there... only a few mines at the end in between us and the tools.', 12, 0, 100, 1, 0, 0, 30301, 'Bellinger'),
|
||||
(29644, 8, 0, 'We wait for the next adventurer to come through and we tell him that''s the way to go... then after they set off the mines, we just walk in and grab the tools!', 12, 0, 100, 1, 0, 0, 30302, 'Bellinger'),
|
||||
(29644, 9, 0, 'It really doesn''t look like it, Bailey.', 12, 0, 100, 1, 0, 0, 30303, 'Bellinger'),
|
||||
(29644, 10, 0, 'Oh... good point. How about right there? That looks clear... kind of.', 12, 0, 100, 1, 0, 0, 30304, 'Bellinger'),
|
||||
(29644, 11, 0, 'Uh... that''s okay. It still kind of hurts from last time.', 12, 0, 100, 1, 0, 0, 30305, 'Bellinger');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=29643;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(29643, 1, 6043.27, -752.358, 371.289, 'Bailey'),
|
||||
(29643, 2, 6057.13, -750.684, 374.297, 'Bailey'),
|
||||
(29643, 3, 6075.11, -746.512, 378.785, 'Bailey'),
|
||||
(29643, 4, 6074.88, -746.098, 378.744, 'Bailey'),
|
||||
(29643, 5, 6082.66, -744.527, 380.612, 'Bailey'),
|
||||
(29643, 6, 6094.52, -739.821, 383.156, 'Bailey'),
|
||||
(29643, 7, 6108.06, -728.91, 385.165, 'Bailey'),
|
||||
(29643, 8, 6106.12, -727.415, 384.716, 'Bailey'),
|
||||
(29643, 9, 6103.38, -731.758, 384.439, 'Bailey'),
|
||||
(29643, 10, 6094.78, -740.08, 383.232, 'Bailey'),
|
||||
(29643, 11, 6081.35, -743.988, 380.304, 'Bailey'),
|
||||
(29643, 12, 6064.46, -748.543, 376.139, 'Bailey'),
|
||||
(29643, 13, 6047.42, -752.5, 372.131, 'Bailey'),
|
||||
(29643, 14, 6036.15, -753.071, 369.981, 'Bailey'),
|
||||
(29643, 15, 6036.69, -751.232, 370.083, 'Bailey');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
136
data/sql/old/db_world/2.x/2017_02_03_05.sql
Normal file
136
data/sql/old/db_world/2.x/2017_02_03_05.sql
Normal file
@@ -0,0 +1,136 @@
|
||||
-- DB update 2017_02_03_04 -> 2017_02_03_05
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_04';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_04 2017_02_03_05 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485370364401596254'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485370364401596254');
|
||||
-- add fake death emote for K3 Snow Runner
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0, `dynamicflags`=32 WHERE `guid` IN (105491);
|
||||
UPDATE `creature_addon` SET `bytes1`=7, `auras`='29266' WHERE `guid`=105491;
|
||||
|
||||
-- Cast Emote Snowblind Devotee
|
||||
-- Snowblind Devotee SAI
|
||||
SET @GUID := -152070;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29407;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,2000,3000,2000,3000,5,51,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Out of Combat - Play Emote 51"),
|
||||
(@GUID,0,1,0,2,0,100,0,0,30,120000,130000,11,56410,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Between 0-30% Health - Cast 'Blind Faith'");
|
||||
|
||||
-- Snowblind Devotee SAI
|
||||
SET @GUID := -117307;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29407;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,2000,3000,2000,3000,5,51,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Out of Combat - Play Emote 51"),
|
||||
(@GUID,0,1,0,2,0,100,0,0,30,120000,130000,11,56410,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Between 0-30% Health - Cast 'Blind Faith'");
|
||||
|
||||
-- Snowblind Devotee SAI
|
||||
SET @GUID := -117305;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29407;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,2000,3000,2000,3000,5,51,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Out of Combat - Play Emote 51"),
|
||||
(@GUID,0,1,0,2,0,100,0,0,30,120000,130000,11,56410,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Between 0-30% Health - Cast 'Blind Faith'");
|
||||
|
||||
-- Snowblind Devotee SAI
|
||||
SET @GUID := -117306;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29407;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,2000,3000,2000,3000,5,51,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Out of Combat - Play Emote 51"),
|
||||
(@GUID,0,1,0,2,0,100,0,0,30,120000,130000,11,56410,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Between 0-30% Health - Cast 'Blind Faith'");
|
||||
|
||||
-- Snowblind Devotee SAI
|
||||
SET @GUID := -117309;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29407;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,2000,3000,2000,3000,5,51,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Out of Combat - Play Emote 51"),
|
||||
(@GUID,0,1,0,2,0,100,0,0,30,120000,130000,11,56410,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Between 0-30% Health - Cast 'Blind Faith'");
|
||||
|
||||
-- Snowblind Devotee SAI
|
||||
SET @GUID := -152076;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29407;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,2000,3000,2000,3000,5,51,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Out of Combat - Play Emote 51"),
|
||||
(@GUID,0,1,0,2,0,100,0,0,30,120000,130000,11,56410,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Between 0-30% Health - Cast 'Blind Faith'");
|
||||
|
||||
-- Snowblind Devotee SAI
|
||||
SET @GUID := -152071;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29407;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,2000,3000,2000,3000,5,51,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Out of Combat - Play Emote 51"),
|
||||
(@GUID,0,1,0,2,0,100,0,0,30,120000,130000,11,56410,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowblind Devotee - Between 0-30% Health - Cast 'Blind Faith'");
|
||||
|
||||
SET @MAXGUID := 935;
|
||||
SET @SCRIPTID := 11730800;
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (@SCRIPTID+0);
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 16, 1, 51, 0, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 117308;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`, `orientation`) VALUES
|
||||
(@PATH, 1, 6293.67, -1372.49, 425.351, 0, 0, 0),
|
||||
(@PATH, 2, 6292.79, -1379.43, 425.474, 0, 0, 0),
|
||||
(@PATH, 3, 6292.56, -1389.92, 425.328, 0, 0, 0),
|
||||
(@PATH, 4, 6291.29, -1402.94, 425.217, 0, 0, 0),
|
||||
(@PATH, 5, 6280.42, -1410.52, 425.174, 0, 0, 0),
|
||||
(@PATH, 6, 6276.46, -1426.88, 425.625, 0, 0, 0),
|
||||
(@PATH, 7, 6287.83, -1430.52, 426.185, 0, 0, 0),
|
||||
(@PATH, 8, 6299.13, -1428.12, 426.536, 0, 0, 0),
|
||||
(@PATH, 9, 6300.72, -1411.98, 425.887, 0, 0, 0),
|
||||
(@PATH, 10, 6298.78, -1404.25, 425.477, 0, 0, 0),
|
||||
(@PATH, 11, 6294.47, -1397.44, 425.235, 0, 0, 0),
|
||||
(@PATH, 12, 6293.67, -1372.49, 425.351, 19000, @SCRIPTID, 0);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` IN (@SCRIPTID);
|
||||
|
||||
-- path event for one nowblind Devotee
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (117310);
|
||||
|
||||
SET @MAXGUID := 936;
|
||||
SET @SCRIPTID := 11730800;
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (@SCRIPTID+0);
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 1, 1, 36, 0, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 117310;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`, `orientation`, `move_type`) VALUES
|
||||
(@PATH, 1, 6310.51, -1764.65, 457.506, 3000, @SCRIPTID, 0.106101, 1),
|
||||
(@PATH, 2, 6312.33, -1761.09, 457.204, 3000, @SCRIPTID, 5.38790, 1),
|
||||
(@PATH, 3, 6316.17, -1760.95, 457.158, 3000, @SCRIPTID, 4.253009, 1),
|
||||
(@PATH, 4, 6314.01, -1761.02, 457.186, 0, 0, 0, 1),
|
||||
(@PATH, 5, 6310.96, -1762.02, 457.424, 0, 0, 0, 1);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` IN (@SCRIPTID);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
30
data/sql/old/db_world/2.x/2017_02_03_06.sql
Normal file
30
data/sql/old/db_world/2.x/2017_02_03_06.sql
Normal file
@@ -0,0 +1,30 @@
|
||||
-- DB update 2017_02_03_05 -> 2017_02_03_06
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_05';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_05 2017_02_03_06 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485372721456090106'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485372721456090106');
|
||||
-- Torseg the Exiled SAI
|
||||
SET @ENTRY := 29350;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`>=2;
|
||||
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
|
||||
(@ENTRY,0,2,0,25,0,100,0,0,0,0,0,90,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torseg the Exiled - On Reset - Set Flag Standstate Sleep"),
|
||||
(@ENTRY,0,3,0,4,0,100,0,0,0,0,0,91,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torseg the Exiled - On Aggro - Remove Flag Standstate Sleep");
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
64
data/sql/old/db_world/2.x/2017_02_03_07.sql
Normal file
64
data/sql/old/db_world/2.x/2017_02_03_07.sql
Normal file
@@ -0,0 +1,64 @@
|
||||
-- DB update 2017_02_03_06 -> 2017_02_03_07
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_06';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_06 2017_02_03_07 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485380024518159887'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485380024518159887');
|
||||
-- Reduce respawntime for landmine
|
||||
UPDATE `gameobject` SET `spawntimesecs`=10 WHERE `id`=191502;
|
||||
|
||||
-- add fake death emote for Savage Hill Scavengers
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0, `unit_flags`=`unit_flags`|536870912|33554432|32770, `dynamicflags`=32 WHERE `guid` IN (116957, 116956, 116958, 116959);
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (116957, 116956, 116958, 116959);
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
|
||||
(116957,0,0,7,1,0, '29266'),
|
||||
(116956,0,0,7,1,0, '29266'),
|
||||
(116958,0,0,7,1,0, '29266'),
|
||||
(116959,0,0,7,1,0, '29266');
|
||||
|
||||
-- add textevent for Janks
|
||||
-- Janks SAI
|
||||
SET @ENTRY := 29429;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,90,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Reset - Set Flag Standstate Sit Down"),
|
||||
(@ENTRY,0,1,0,10,0,100,0,1,10,55000,55000,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - Within 0-10 Range Out of Combat LoS - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2942900;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Set Active On"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Remove Flag Standstate Sit Down"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,5000,5000,0,0,1,1,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Say Line 1"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,5000,5000,0,0,1,2,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Say Line 2"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,5000,5000,0,0,1,3,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Say Line 3"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,3000,3000,0,0,90,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Set Flag Standstate Sit Down"),
|
||||
(@ENTRY,9,7,0,0,0,100,0,0,0,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Janks - On Script - Set Active Off");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=29429;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(29429, 0, 0, 'Is it true?! Has someone finally come to get me out of this place?', 12, 0, 100, 0, 0, 0, 30198, 'Janks'),
|
||||
(29429, 1, 0, 'No... no... that''s not it, is it? That heartless lout probably sent you after the tools, didn''t he?', 12, 0, 100, 0, 0, 0, 30199, 'Janks'),
|
||||
(29429, 2, 0, 'Well... I guess I''ll just keep an eye on the turrets... or something.', 12, 0, 100, 0, 0, 0, 30200, 'Janks'),
|
||||
(29429, 3, 0, '%s sighs.', 16, 0, 100, 0, 0, 0, 30201, 'Janks');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
51
data/sql/old/db_world/2.x/2017_02_03_08.sql
Normal file
51
data/sql/old/db_world/2.x/2017_02_03_08.sql
Normal file
@@ -0,0 +1,51 @@
|
||||
-- DB update 2017_02_03_07 -> 2017_02_03_08
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_07';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_07 2017_02_03_08 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485380723419936376'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485380723419936376');
|
||||
-- Initiate Park
|
||||
SET @NPC := 111475;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, 3621.02, 5897.4, 174.577, 2.35131, 0),
|
||||
(@PATH, 2, 3619.69, 5898.14, 174.577, 2.92465, 16000),
|
||||
(@PATH, 3, 3619.09, 5890.59, 174.577, 3.63152, 0),
|
||||
(@PATH, 4, 3618.11, 5890.39, 174.577, 2.89325, 16000);
|
||||
|
||||
-- Initiate Park SAI
|
||||
SET @ENTRY := 27302;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,34,0,100,0,2,1,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Park - On Reached Point 1 - Run Script"),
|
||||
(@ENTRY,0,1,0,34,0,100,0,2,3,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Park - On Reached Point 3 - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2730200;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,3000,3000,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Set Emote State 69"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,10000,10000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Set Emote State 0");
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
122
data/sql/old/db_world/2.x/2017_02_03_09.sql
Normal file
122
data/sql/old/db_world/2.x/2017_02_03_09.sql
Normal file
@@ -0,0 +1,122 @@
|
||||
-- DB update 2017_02_03_08 -> 2017_02_03_09
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_08';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_08 2017_02_03_09 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485381009640442878'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485381009640442878');
|
||||
-- Initiate Vernon SAI
|
||||
SET @ENTRY := 27300;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,1,38,0,100,0,1,1,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Vernon - On Data Set 1 1 - Set Rooted On"),
|
||||
(@ENTRY,0,1,0,61,0,100,0,1,1,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Vernon - On Data Set 1 1 - Set Emote State 0"),
|
||||
(@ENTRY,0,2,0,38,0,100,0,2,2,0,0,66,0,0,0,0,0,0,10,111281,27299,0,0,0,0,0,"Initiate Vernon - On Data Set 2 2 - Set Orientation Closest Creature 'Initiate Greer'"),
|
||||
(@ENTRY,0,3,0,38,0,100,0,3,3,0,0,11,48254,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Vernon - On Data Set 3 3 - Cast 'Prototype Neural Needle Impact'"),
|
||||
(@ENTRY,0,4,0,38,0,100,0,4,4,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Vernon - On Data Set 4 4 - Set Rooted Off");
|
||||
|
||||
SET @MAXGUID := 915;
|
||||
SET @SCRIPTID := 11130700;
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (@SCRIPTID+0);
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 2, 1, 69, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+0, 17, 1, 0, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 111307;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`, `orientation`) VALUES
|
||||
(@PATH, 1, 3647.87, 5909.61, 174.578, 21000, @SCRIPTID, 1.26067),
|
||||
(@PATH, 2, 3640.9, 5911.28, 174.579, 21000, @SCRIPTID, 1.26067);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` IN (@SCRIPTID);
|
||||
|
||||
-- Initiate Greer SAI
|
||||
SET @ENTRY := 27299;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,27299,1,0,0,1,1,0,0,0,0,0,0,0,"Initiate Greer - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,3,40,0,100,0,5,27299,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Waypoint 5 Reached - Run Script"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,5,27299,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.76692,"Initiate Greer - On Waypoint 5 Reached - Set Orientation 2,76692"),
|
||||
(@ENTRY,0,4,5,40,0,100,0,11,27299,0,0,80,@ENTRY*100+01,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Waypoint 11 Reached - Run Script"),
|
||||
(@ENTRY,0,5,0,61,0,100,0,11,27299,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.84897,"Initiate Greer - On Waypoint 11 Reached - Set Orientation 5,84897");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2729900;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,55000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Active On"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,17,133,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Emote State 133"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,10000,10000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Emote State 0"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,3000,3000,0,0,1,0,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Say Line 0"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,5000,5000,0,0,45,3,3,0,0,0,0,10,111307,27300,0,0,0,0,0,"Initiate Greer - On Script - Set Data 3 3"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,1000,1000,0,0,45,1,1,0,0,0,0,10,111307,27300,0,0,0,0,0,"Initiate Greer - On Script - Set Data 1 1"),
|
||||
(@ENTRY,9,7,0,0,0,100,0,6000,6000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Say Line 1"),
|
||||
(@ENTRY,9,8,0,0,0,100,0,4000,4000,0,0,45,2,2,0,0,0,0,10,111307,27300,0,0,0,0,0,"Initiate Greer - On Script - Set Data 2 2"),
|
||||
(@ENTRY,9,9,0,0,0,100,0,2000,2000,0,0,1,0,6000,0,0,0,0,10,111307,27300,0,0,0,0,0,"Initiate Greer - On Script - Say Line 0"),
|
||||
(@ENTRY,9,10,0,0,0,100,0,14000,14000,0,0,1,2,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Say Line 2"),
|
||||
(@ENTRY,9,11,0,0,0,100,0,0,0,0,0,45,4,4,0,0,0,0,10,111307,27300,0,0,0,0,0,"Initiate Greer - On Script - Set Data 4 4"),
|
||||
(@ENTRY,9,12,0,0,0,100,0,2000,2000,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Active Off");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2729901;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,70000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Active On"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,17,133,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Emote State 133"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,64000,64000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Emote State 0"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Initiate Greer - On Script - Set Active Off");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (27299, 27300);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(27299, 0, 0, 'Tell me if this hurts.', 12, 0, 100, 0, 0, 0, 26296, 'Initiate Greer'),
|
||||
(27299, 0, 1, 'Let''s try this one out...', 12, 0, 100, 0, 0, 0, 26298, 'Initiate Greer'),
|
||||
(27299, 0, 2, 'I think I''ve got it this time..', 12, 0, 100, 0, 0, 0, 26297, 'Initiate Greer'),
|
||||
(27299, 1, 0, 'How''d that feel?', 12, 0, 100, 0, 0, 0, 26299, 'Initiate Greer'),
|
||||
(27299, 1, 1, 'Was that potent enough?', 12, 0, 100, 0, 0, 0, 26302, 'Initiate Greer'),
|
||||
(27299, 1, 2, 'Do you think that will get some answers?', 12, 0, 100, 0, 0, 0, 26300, 'Initiate Greer'),
|
||||
(27299, 2, 0, 'Hmm...', 12, 0, 100, 0, 0, 0, 26304, 'Initiate Greer'),
|
||||
(27299, 2, 1, 'True, our enemies would show us no mercy.', 12, 0, 100, 0, 0, 0, 26320, 'Initiate Greer'),
|
||||
(27299, 2, 2, 'True, but how far should we push? At what point are we no better than our enemies?', 12, 0, 100, 0, 0, 0, 26319, 'Initiate Greer'),
|
||||
(27300, 0, 0, 'You need more bite. Do not show our enemies any mercy.', 12, 0, 100, 0, 0, 0, 26305, 'Initiate Vernon'),
|
||||
(27300, 0, 1, 'The more pain we can inflict, the quicker we can get our answers.', 12, 0, 100, 0, 0, 0, 26306, 'Initiate Vernon');
|
||||
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid`=111281;
|
||||
DELETE FROM `waypoints` WHERE `entry`=27299;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(27299, 1, 3640.38, 5908, 174.576, 'Initiate Greer'),
|
||||
(27299, 2, 3642.54, 5905.63, 174.572, 'Initiate Greer'),
|
||||
(27299, 3, 3645.93, 5904.91, 174.571, 'Initiate Greer'),
|
||||
(27299, 4, 3647.52, 5906.78, 174.576, 'Initiate Greer'),
|
||||
(27299, 5, 3646.7, 5907.29, 174.578, 'Initiate Greer'),
|
||||
(27299, 6, 3647.49, 5906.69, 174.578, 'Initiate Greer'),
|
||||
(27299, 7, 3646.49, 5905.07, 174.576, 'Initiate Greer'),
|
||||
(27299, 8, 3643.7, 5905.04, 174.568, 'Initiate Greer'),
|
||||
(27299, 9, 3641.21, 5906.38, 174.577, 'Initiate Greer'),
|
||||
(27299, 10, 3640.11, 5908.16, 174.577, 'Initiate Greer'),
|
||||
(27299, 11, 3641.55, 5908.3, 174.577, 'Initiate Greer');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
59
data/sql/old/db_world/2.x/2017_02_03_10.sql
Normal file
59
data/sql/old/db_world/2.x/2017_02_03_10.sql
Normal file
@@ -0,0 +1,59 @@
|
||||
-- DB update 2017_02_03_09 -> 2017_02_03_10
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_09';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_09 2017_02_03_10 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485381169908880329'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485381169908880329');
|
||||
-- Apprentice Trotter -- http://www.wowhead.com/npc=27301
|
||||
-- Apprentice Trotter SAI
|
||||
SET @ENTRY := 27301;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,27301,1,0,0,1,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,3,40,0,100,0,3,27301,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Waypoint 3 Reached - Run Script"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,3,27301,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.20907,"Apprentice Trotter - On Waypoint 3 Reached - Set Orientation 5,20907"),
|
||||
(@ENTRY,0,4,5,40,0,100,0,5,27301,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Waypoint 5 Reached - Run Script"),
|
||||
(@ENTRY,0,5,0,61,0,100,0,5,27301,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,6.1162,"Apprentice Trotter - On Waypoint 5 Reached - Set Orientation 6,1162"),
|
||||
(@ENTRY,0,6,7,40,0,100,0,8,27301,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Waypoint 8 Reached - Run Script"),
|
||||
(@ENTRY,0,7,0,61,0,100,0,8,27301,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,6.10835,"Apprentice Trotter - On Waypoint 8 Reached - Set Orientation 6,10835");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2730100;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,16000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,17,133,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Script - Set Emote State 133"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,8000,8000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Trotter - On Script - Set Emote State 0");
|
||||
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid`=111400;
|
||||
DELETE FROM `waypoints` WHERE `entry`=27301;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(27301, 1, 3655.39, 5880.89, 174.576, 'Apprentice Trotter'),
|
||||
(27301, 2, 3648.21, 5875.72, 174.554, 'Apprentice Trotter'),
|
||||
(27301, 3, 3649.17, 5874.43, 174.578, 'Apprentice Trotter'),
|
||||
(27301, 4, 3656.08, 5881.3, 174.577, 'Apprentice Trotter'),
|
||||
(27301, 5, 3659.29, 5880.93, 174.577, 'Apprentice Trotter'),
|
||||
(27301, 6, 3658.57, 5882.95, 174.577, 'Apprentice Trotter'),
|
||||
(27301, 7, 3659.6, 5887.87, 174.577, 'Apprentice Trotter'),
|
||||
(27301, 8, 3661.47, 5888.53, 174.577, 'Apprentice Trotter'),
|
||||
(27301, 9, 3659.61, 5887.48, 174.576, 'Apprentice Trotter');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
52
data/sql/old/db_world/2.x/2017_02_03_11.sql
Normal file
52
data/sql/old/db_world/2.x/2017_02_03_11.sql
Normal file
@@ -0,0 +1,52 @@
|
||||
-- DB update 2017_02_03_10 -> 2017_02_03_11
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_10';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_10 2017_02_03_11 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485381323407860747'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485381323407860747');
|
||||
-- Librarian Hamilton -- http://www.wowhead.com/npc=27141/librarian-hamilton
|
||||
-- Librarian Hamilton SAI
|
||||
SET @ENTRY := 27141;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,27141,1,0,0,1,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,0,40,0,100,0,1,27141,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Waypoint 1 Reached - Pause Waypoint"),
|
||||
(@ENTRY,0,3,0,40,0,100,0,2,27141,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Waypoint 2 Reached - Run Script"),
|
||||
(@ENTRY,0,4,0,40,0,100,0,3,27141,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Waypoint 3 Reached - Pause Waypoint"),
|
||||
(@ENTRY,0,5,6,40,0,100,0,4,27141,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Waypoint 4 Reached - Run Script"),
|
||||
(@ENTRY,0,6,0,61,0,100,0,4,27141,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.15815,"Librarian Hamilton - On Waypoint 4 Reached - Set Orientation 3,15815");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2714100;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,17000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Script - Set Flag Standstate Kneel"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,11000,11000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Librarian Hamilton - On Script - Remove Flag Standstate Kneel");
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=27141;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(27141, 1, 3595.1, 5959.01, 136.328, 'Librarian Hamilton'),
|
||||
(27141, 2, 3590.25, 5953.57, 136.203, 'Librarian Hamilton'),
|
||||
(27141, 3, 3595.1, 5959.01, 136.328, 'Librarian Hamilton'),
|
||||
(27141, 4, 3593.01, 5963.17, 136.328, 'Librarian Hamilton');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
65
data/sql/old/db_world/2.x/2017_02_03_12.sql
Normal file
65
data/sql/old/db_world/2.x/2017_02_03_12.sql
Normal file
@@ -0,0 +1,65 @@
|
||||
-- DB update 2017_02_03_11 -> 2017_02_03_12
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_11';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_11 2017_02_03_12 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485381491399791033'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485381491399791033');
|
||||
-- Karen I Don't Caribou the Culler SAI
|
||||
SET @ENTRY := 25803;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,8000,10000,10000,15000,11,42724,0,0,0,0,0,2,0,0,0,0,0,0,0,"Karen I Don't Caribou the Culler - In Combat - Cast 'Cleave'"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,4000,4000,15000,21000,11,48280,0,0,0,0,0,1,0,0,0,0,0,0,0,"Karen I Don't Caribou the Culler - In Combat - Cast 'Whirlwind'"),
|
||||
(@ENTRY,0,2,0,9,0,100,0,8,25,10000,10000,11,27577,0,0,0,0,0,2,0,0,0,0,0,0,0,"Karen I Don't Caribou the Culler - Within 8-25 Range - Cast 'Intercept'"),
|
||||
(@ENTRY,0,3,0,25,0,100,0,0,0,0,0,53,0,25803,1,0,0,2,1,0,0,0,0,0,0,0,"Karen I Don't Caribou the Culler - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,4,5,40,0,100,0,15,25803,0,0,54,26000,0,0,0,0,0,0,0,0,0,0,0,0,0,"Karen I Don't Caribou the Culler - On Waypoint 15 Reached - Pause Waypoint"),
|
||||
(@ENTRY,0,5,6,61,0,100,0,15,25803,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.698295,"Karen I Don't Caribou the Culler - On Waypoint 15 Reached - Set Orientation 0.698295"),
|
||||
(@ENTRY,0,6,0,61,0,100,0,15,25803,0,0,11,46147,0,0,0,0,0,1,0,0,0,0,0,0,0,"Karen I Don't Caribou the Culler - On Waypoint 15 Reached - Cast 'Karen Eats'");
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=25803;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(25803, 1, 2732.85, 5267, 70.526, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 2, 2726.15, 5264.63, 71.5126, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 3, 2721.45, 5267.05, 71.632, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 4, 2721.44, 5276.07, 70.8437, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 5, 2729.39, 5276.17, 71.4764, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 6, 2732.85, 5267, 70.526, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 7, 2726.15, 5264.63, 71.5126, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 8, 2721.45, 5267.05, 71.632, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 9, 2721.44, 5276.07, 70.8437, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 10, 2729.39, 5276.17, 71.4764, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 11, 2732.85, 5267, 70.526, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 12, 2726.15, 5264.63, 71.5126, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 13, 2721.45, 5267.05, 71.632, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 14, 2721.44, 5276.07, 70.8437, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 15, 2728.34, 5281.66, 71.0141, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 16, 2729.39, 5276.17, 71.4764, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 17, 2732.85, 5267, 70.526, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 18, 2726.15, 5264.63, 71.5126, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 19, 2721.45, 5267.05, 71.632, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 20, 2721.44, 5276.07, 70.8437, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 21, 2729.39, 5276.17, 71.4764, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 22, 2732.85, 5267, 70.526, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 23, 2726.15, 5264.63, 71.5126, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 24, 2721.45, 5267.05, 71.632, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 25, 2721.44, 5276.07, 70.8437, 'Karen I Don''t Caribou the Cullerr'),
|
||||
(25803, 26, 2729.39, 5276.17, 71.4764, 'Karen I Don''t Caribou the Cullerr');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
149
data/sql/old/db_world/2.x/2017_02_03_13.sql
Normal file
149
data/sql/old/db_world/2.x/2017_02_03_13.sql
Normal file
@@ -0,0 +1,149 @@
|
||||
-- DB update 2017_02_03_12 -> 2017_02_03_13
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_12';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_12 2017_02_03_13 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485381659665860694'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485381659665860694');
|
||||
-- Armorer Orkuruk --
|
||||
UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=125542;
|
||||
DELETE FROM `waypoint_data` WHERE `id`=1255420;
|
||||
UPDATE `creature` SET `MovementType`=0 WHERE `guid`=125542;
|
||||
|
||||
-- Armorer Orkuruk SAI
|
||||
SET @ENTRY := 25274;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,25274,1,0,0,0,1,0,0,0,0,0,0,0,"Armorer Orkuruk - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Armorer Orkuruk - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,3,40,0,100,0,17,25274,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Armorer Orkuruk - On Waypoint 17 Reached - Run Script"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,17,25274,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.38169,"Armorer Orkuruk - On Waypoint 17 Reached - Set Orientation 3,38169"),
|
||||
(@ENTRY,0,4,5,40,0,100,0,71,25274,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Armorer Orkuruk - On Waypoint 71 Reached - Run Script"),
|
||||
(@ENTRY,0,5,0,61,0,100,0,71,25274,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.88465,"Armorer Orkuruk - On Waypoint 71 Reached - Set Orientation 2,88465");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2527400;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,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,"Armorer Orkuruk - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,5,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Armorer Orkuruk - On Script - Play Emote 5"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,1,0,10000,0,0,0,0,1,0,0,0,0,0,0,0,"Armorer Orkuruk - On Script - Say Line 0");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=25274;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(25274, 0, 0, 'Keep ''em hot you big dummy!', 12, 1, 100, 0, 0, 0, 25133, 'Armorer Orkuruk'),
|
||||
(25274, 0, 1, 'Those weapons ain''t gonna build themselves! Faster!', 12, 1, 100, 0, 0, 0, 25134, 'Armorer Orkuruk'),
|
||||
(25274, 0, 2, 'You call that a hammer strike? What kind of amateurs am I workin'' with here?', 12, 1, 100, 0, 0, 0, 25135, 'Armorer Orkuruk'),
|
||||
(25274, 0, 3, 'You keep that garbage up and I''ll ship you back to your momma in a box with a note strapped to your chest that reads: FAILURE.', 12, 1, 100, 0, 0, 0, 25136, 'Armorer Orkuruk'),
|
||||
(25274, 0, 4, 'And WHAT are our soldiers supposed to do with that shoddy piece of junk?', 12, 1, 100, 0, 0, 0, 25137, 'Armorer Orkuruk'),
|
||||
(25274, 0, 5, 'You''re an embarassment to this entire operation! Pack up your stuff and get out!', 12, 1, 100, 0, 0, 0, 25138, 'Armorer Orkuruk');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=25274;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(25274, 1, 2761.85, 6187.82, 83.448, 'Armorer Orkuruk'),
|
||||
(25274, 2, 2763.1, 6203.83, 83.4409, 'Armorer Orkuruk'),
|
||||
(25274, 3, 2765.37, 6209.65, 83.4451, 'Armorer Orkuruk'),
|
||||
(25274, 4, 2772.92, 6217.22, 83.4475, 'Armorer Orkuruk'),
|
||||
(25274, 5, 2766.39, 6211.48, 83.437, 'Armorer Orkuruk'),
|
||||
(25274, 6, 2762.96, 6202.62, 83.4409, 'Armorer Orkuruk'),
|
||||
(25274, 7, 2762.31, 6187.53, 83.4546, 'Armorer Orkuruk'),
|
||||
(25274, 8, 2765.22, 6178.21, 83.4565, 'Armorer Orkuruk'),
|
||||
(25274, 9, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 10, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 11, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 12, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 13, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 14, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 15, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 16, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 17, 2764.09, 6182.25, 83.4576, 'Armorer Orkuruk'),
|
||||
(25274, 18, 2762.03, 6188.66, 83.4549, 'Armorer Orkuruk'),
|
||||
(25274, 19, 2763.21, 6203.82, 83.4422, 'Armorer Orkuruk'),
|
||||
(25274, 20, 2766.87, 6211.5, 83.4422, 'Armorer Orkuruk'),
|
||||
(25274, 21, 2773.88, 6218.09, 83.4497, 'Armorer Orkuruk'),
|
||||
(25274, 22, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 23, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 24, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 25, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 26, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 27, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 28, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 29, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 30, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 31, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 32, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 33, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 34, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 35, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 36, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 37, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 38, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 39, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 40, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 41, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 42, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 43, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 44, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 45, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 46, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 47, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 48, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 49, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 50, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 51, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 52, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 53, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 54, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 55, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 56, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 57, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 58, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 59, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 60, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 61, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 62, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 63, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 64, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 65, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 66, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 67, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 68, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 69, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 70, 2766.07, 6210.93, 83.4391, 'Armorer Orkuruk'),
|
||||
(25274, 71, 2762.53, 6207.16, 83.4206, 'Armorer Orkuruk'),
|
||||
(25274, 72, 2762.16, 6187.79, 83.4531, 'Armorer Orkuruk'),
|
||||
(25274, 73, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk'),
|
||||
(25274, 74, 2761.85, 6187.82, 83.448, 'Armorer Orkuruk'),
|
||||
(25274, 75, 2763.1, 6203.83, 83.4409, 'Armorer Orkuruk'),
|
||||
(25274, 76, 2765.37, 6209.65, 83.4451, 'Armorer Orkuruk'),
|
||||
(25274, 77, 2772.92, 6217.22, 83.4475, 'Armorer Orkuruk'),
|
||||
(25274, 78, 2766.39, 6211.48, 83.437, 'Armorer Orkuruk'),
|
||||
(25274, 79, 2762.96, 6202.62, 83.4409, 'Armorer Orkuruk'),
|
||||
(25274, 80, 2762.31, 6187.53, 83.4546, 'Armorer Orkuruk'),
|
||||
(25274, 81, 2765.22, 6178.21, 83.4565, 'Armorer Orkuruk'),
|
||||
(25274, 82, 2762.24, 6188.36, 83.4575, 'Armorer Orkuruk'),
|
||||
(25274, 83, 2763.33, 6204.33, 83.4432, 'Armorer Orkuruk'),
|
||||
(25274, 84, 2766.61, 6211.59, 83.4381, 'Armorer Orkuruk'),
|
||||
(25274, 85, 2773.5, 6217.87, 83.4484, 'Armorer Orkuruk'),
|
||||
(25274, 86, 2765.7, 6210.09, 83.4438, 'Armorer Orkuruk'),
|
||||
(25274, 87, 2762.77, 6202.1, 83.4395, 'Armorer Orkuruk'),
|
||||
(25274, 88, 2762.54, 6187.41, 83.4578, 'Armorer Orkuruk'),
|
||||
(25274, 89, 2765.46, 6178.01, 83.4598, 'Armorer Orkuruk');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
84
data/sql/old/db_world/2.x/2017_02_03_14.sql
Normal file
84
data/sql/old/db_world/2.x/2017_02_03_14.sql
Normal file
@@ -0,0 +1,84 @@
|
||||
-- DB update 2017_02_03_13 -> 2017_02_03_14
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_13';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_13 2017_02_03_14 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485384033201060550'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485384033201060550');
|
||||
-- Warden Nork Bloodfrenzy SAI
|
||||
SET @ENTRY := 25379;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=4;
|
||||
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
|
||||
(@ENTRY,0,4,0,1,0,100,0,10000,10000,470000,470000,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2537900;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Set Active On"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,1,1,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 1"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,1,0,10000,0,0,0,0,10,125421,25426,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,8000,8000,0,0,5,11,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Play Emote 11"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,2000,2000,0,0,1,2,1000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 2"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,1000,1000,0,0,1,3,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 3"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,5000,5000,0,0,1,1,6000,0,0,0,0,10,125421,25426,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 1"),
|
||||
(@ENTRY,9,7,0,0,0,100,0,6000,6000,0,0,1,4,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 4"),
|
||||
(@ENTRY,9,8,0,0,0,100,0,3000,3000,0,0,1,5,10000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 5"),
|
||||
(@ENTRY,9,9,0,0,0,100,0,5000,5000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,10,0,0,0,100,0,5000,5000,0,0,1,2,8000,0,0,0,0,10,125421,25426,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 2"),
|
||||
(@ENTRY,9,11,0,0,0,100,0,8000,8000,0,0,1,6,9000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 6"),
|
||||
(@ENTRY,9,12,0,0,0,100,0,5000,5000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,13,0,0,0,100,0,4000,4000,0,0,1,7,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 7"),
|
||||
(@ENTRY,9,14,0,0,0,100,0,5000,5000,0,0,1,8,7000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 8"),
|
||||
(@ENTRY,9,15,0,0,0,100,0,7000,7000,0,0,1,3,3000,0,0,0,0,10,125421,25426,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 3"),
|
||||
(@ENTRY,9,16,0,0,0,100,0,3000,3000,0,0,1,4,5000,0,0,0,0,10,125421,25426,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 4"),
|
||||
(@ENTRY,9,17,0,0,0,100,0,5000,5000,0,0,1,5,3000,0,0,0,0,10,125421,25426,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 5"),
|
||||
(@ENTRY,9,18,0,0,0,100,0,3000,3000,0,0,1,6,5000,0,0,0,0,10,125421,25426,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 6"),
|
||||
(@ENTRY,9,19,0,0,0,100,0,5000,5000,0,0,1,9,2000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 9"),
|
||||
(@ENTRY,9,20,0,0,0,100,0,2000,2000,0,0,1,10,7000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 10"),
|
||||
(@ENTRY,9,21,0,0,0,100,0,4000,4000,0,0,5,15,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Play Emote 15"),
|
||||
(@ENTRY,9,22,0,0,0,100,0,3000,3000,0,0,1,11,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Say Line 11"),
|
||||
(@ENTRY,9,23,0,0,0,100,0,3000,3000,0,0,5,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Play Emote 5"),
|
||||
(@ENTRY,9,24,0,0,0,100,0,2000,2000,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warden Nork Bloodfrenzy - On Script - Set Active Off");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=25379 AND `groupid` >=1;
|
||||
DELETE FROM `creature_text` WHERE `entry`=25426;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
-- Warden Nork Bloodfrenzy
|
||||
(25379, 1, 0, 'Look at \'em, Ug. You know what those are?', 12, 1, 100, 25, 0, 0, 24631, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 2, 0, 'Those...', 12, 1, 100, 25, 0, 0, 24633, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 3, 0, 'Those are cowards.', 12, 1, 100, 1, 0, 0, 24634, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 4, 0, '%s shakes his head.', 16, 1, 100, 274, 0, 0, 24636, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 5, 0, 'No, blood of my blood, they are soldiers of the Alliance. Our sworn enemies.', 12, 1, 100, 1, 0, 0, 24637, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 6, 0, 'They are here because they do not wish to defend their homes... their families...', 12, 1, 100, 1, 0, 0, 24639, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 7, 0, 'They have given up and surrendered - willingly - to us.', 12, 1, 100, 1, 0, 0, 24640, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 8, 0, 'Ug\'thor, they are afraid to die.', 12, 1, 100, 1, 0, 0, 24641, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 9, 0, '%s laughs.', 16, 1, 100, 11, 0, 0, 24646, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 10, 0, 'That\'s right, Ug. Victory or death!', 12, 1, 100, 273, 0, 0, 24647, 'Warden Nork Bloodfrenzy'),
|
||||
(25379, 11, 0, '[In Broken Common] Hear boy, cowards? Boy die! Boy die for freedom!', 12, 0, 100, 273, 0, 0, 24648, 'Warden Nork Bloodfrenzy'),
|
||||
-- Ug''thor Bloodfrenzy
|
||||
(25426, 0, 0, 'No, popo. They look kind of like the pigs. Are they pigs?', 12, 1, 100, 1, 0, 0, 24632, 'Ug''thor Bloodfrenzy'),
|
||||
(25426, 1, 0, 'Are they cowardly pigs, popo?', 12, 1, 100, 1, 0, 0, 24635, 'Ug''thor Bloodfrenzy'),
|
||||
(25426, 2, 0, 'But popo, what are they afraid of? Why are they here?', 12, 1, 100, 1, 0, 0, 24638, 'Ug''thor Bloodfrenzy'),
|
||||
(25426, 3, 0, '%s scratches his head.', 16, 1, 100, 0, 0, 0, 24642, 'Ug''thor Bloodfrenzy'),
|
||||
(25426, 4, 0, 'I... I don\'t understand, popo.', 12, 1, 100, 1, 0, 0, 24643, 'Ug''thor Bloodfrenzy'),
|
||||
(25426, 5, 0, '%s puffs out his chest and stands on his tip-toes.', 16, 1, 100, 0, 0, 0, 24644, 'Ug''thor Bloodfrenzy'),
|
||||
(25426, 6, 0, 'Lok\'tar ogar, popo!', 12, 1, 100, 1, 0, 0, 24645, 'Ug''thor Bloodfrenzy');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
190
data/sql/old/db_world/2.x/2017_02_03_15.sql
Normal file
190
data/sql/old/db_world/2.x/2017_02_03_15.sql
Normal file
@@ -0,0 +1,190 @@
|
||||
-- DB update 2017_02_03_14 -> 2017_02_03_15
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_14';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_14 2017_02_03_15 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485387833989282858'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485387833989282858');
|
||||
DELETE FROM `creature_addon` WHERE `guid`=13964;
|
||||
UPDATE `creature` SET `MovementType`=0 WHERE `guid`=13964;
|
||||
DELETE FROM `waypoint_data` WHERE `id`=139640;
|
||||
|
||||
-- Mogg SAI
|
||||
SET @ENTRY := 14908;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,14908,1,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,40,0,100,0,5,14908,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Waypoint 5 Reached - Run Script"),
|
||||
(@ENTRY,0,2,0,40,0,100,0,6,14908,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Waypoint 6 Reached - Run Script"),
|
||||
(@ENTRY,0,3,0,40,0,100,0,7,14908,0,0,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Waypoint 7 Reached - Run Script"),
|
||||
(@ENTRY,0,4,0,40,0,100,0,17,14908,0,0,80,@ENTRY*100+03,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Waypoint 17 Reached - Run Script"),
|
||||
(@ENTRY,0,5,0,40,0,100,0,27,14908,0,0,80,@ENTRY*100+04,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Waypoint 27 Reached - Run Script"),
|
||||
(@ENTRY,0,6,0,40,0,100,0,28,14908,0,0,80,@ENTRY*100+05,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Waypoint 28 Reached - Run Script"),
|
||||
(@ENTRY,0,7,8,40,0,100,0,29,14908,0,0,80,@ENTRY*100+06,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Waypoint 29 Reached - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490800;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,8000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,89,5,0,0,0,0,0,19,14909,50,0,0,0,0,0,"Mogg - On Script - Start Random Movement"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,1,0,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,1,1,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Say Line 1");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490801;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,6000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,1,2,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Say Line 2"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Set Run On");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490802;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,5000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,1,3,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Say Line 3");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490803;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,6000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,5000,5000,0,0,1,5,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Say Line 5");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490804;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,6000,0,0,0,0,0,10,0,0,0,0,0,0,0,"Mogg - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Set Run Off"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,1,6,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Say Line 6");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490805;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,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,"Mogg - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,14909,50,0,0,0,0,0,"Mogg - On Script - Set Data 1 1"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,8000,8000,0,0,1,7,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Mogg - On Script - Say Line 7");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490806;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,80000,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,1,8,5000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 8"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,45,2,2,0,0,0,0,19,14909,50,0,0,0,0,0,"On Script - Set Data 2 2");
|
||||
|
||||
-- Pooka SAI
|
||||
SET @ENTRY := 14909;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,38,0,100,0,1,1,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Data Set 1 1 - Run Script"),
|
||||
(@ENTRY,0,1,2,38,0,100,0,2,2,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Data Set 2 2 - Set Run Off"),
|
||||
(@ENTRY,0,2,3,61,0,100,0,2,2,0,0,53,0,14909,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Data Set 2 2 - Start Waypoint"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,2,2,0,0,1,1,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Data Set 2 2 - Say Line 1"),
|
||||
(@ENTRY,0,4,0,40,0,100,0,6,14909,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Waypoint 6 Reached - Run Script"),
|
||||
(@ENTRY,0,5,0,40,0,100,0,12,14909,0,0,89,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Waypoint 12 Reached - Start Random Movement");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490900;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,89,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Script - Start Random Movement"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,1021.28,-2233.42,93.33,5.05,"Pooka - On Script - Move To Position"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Script - Set Run Off"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,1013.24,-2221.47,92.9837,2.5,"Pooka - On Script - Move To Position"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,5000,5000,0,0,69,0,0,0,0,0,0,8,0,0,0,1017.95,-2224.33,93.08,4.7,"Pooka - On Script - Move To Position"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,3000,3000,0,0,89,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pooka - On Script - Start Random Movement");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1490901;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,5000,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,5,18,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 18"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,5,18,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 18");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (14908, 14909);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(14908, 0, 0, 'I am going to practice and become a warrior like my father!', 12, 0, 100, 1, 0, 0, 10293, 'Mogg'),
|
||||
(14908, 1, 0, 'Now to find an unsuspecting Harpy!', 12, 0, 100, 1, 0, 0, 10294, 'Mogg'),
|
||||
(14908, 2, 0, 'There''s one! For the Horde!', 12, 0, 100, 1, 0, 0, 10295, 'Mogg'),
|
||||
(14908, 3, 0, 'Take that you mangy Harpy! Hyaa!', 12, 0, 100, 1, 0, 0, 10296, 'Mogg'),
|
||||
(14908, 4, 0, 'You can''t get away from a warrior of the Horde! Take that! And that!', 12, 0, 100, 1, 0, 0, 10297, 'Mogg'),
|
||||
(14908, 5, 0, 'Now go back home where you belong!', 12, 0, 100, 1, 0, 0, 10298, 'Mogg'),
|
||||
(14908, 6, 0, 'Aaahhh... Another glorious victory for The Horde!', 12, 0, 100, 1, 0, 0, 10299, 'Mogg'),
|
||||
(14908, 7, 0, 'Yes right away momma!', 12, 0, 100, 1, 0, 0, 10301, 'Mogg'),
|
||||
(14908, 8, 0, 'When is poppa coming back from the fights in Warsong? It has been so long...', 12, 0, 100, 1, 0, 0, 10303, 'Mogg'),
|
||||
|
||||
(14909, 0, 0, 'Mogg, get inside. It is not safe out there while your father is gone.', 12, 0, 100, 1, 0, 0, 10300, 'Pooka'),
|
||||
(14909, 1, 0, 'Soon child... Very soon.', 12, 0, 100, 1, 0, 0, 10304, 'Pooka');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=14908;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(14908,1,1022.24,-2235.11,93.3114, 'Mogg'),
|
||||
(14908,2,1023.37,-2238.18,92.3744, 'Mogg'),
|
||||
(14908,3,1024.2,-2243.96,92.4697, 'Mogg'),
|
||||
(14908,4,1022.05,-2244.86,92.3385, 'Mogg'),
|
||||
(14908,5,1020.21,-2242.92,92.2321, 'Mogg'),
|
||||
(14908,6,1034.19,-2250.56,92.8656, 'Mogg'),
|
||||
(14908,7,1033.85,-2258.61,93.6338, 'Mogg'),
|
||||
(14908,8,1037.68,-2262.02,93.8145, 'Mogg'),
|
||||
(14908,9,1036.96,-2269.7,93.7554, 'Mogg'),
|
||||
(14908,10,1042,-2273.46,93.6932, 'Mogg'),
|
||||
(14908,11,1042.7,-2275.52,93.5781, 'Mogg'),
|
||||
(14908,12,1046.52,-2274.46,93.6045, 'Mogg'),
|
||||
(14908,13,1050.26,-2270.44,93.4986, 'Mogg'),
|
||||
(14908,14,1049.74,-2266.86,93.3475, 'Mogg'),
|
||||
(14908,15,1048.05,-2263.53,93.2249, 'Mogg'),
|
||||
(14908,16,1041.05,-2258.77,93.4525, 'Mogg'),
|
||||
(14908,17,1039.14,-2253.68,92.9611, 'Mogg'),
|
||||
(14908,18,1032.8,-2253.55,93.3633, 'Mogg'),
|
||||
(14908,19,1025.83,-2258.54,93.1641, 'Mogg'),
|
||||
(14908,20,1021.94,-2266.24,92.8306, 'Mogg'),
|
||||
(14908,21,1022.81,-2272.14,92.6617, 'Mogg'),
|
||||
(14908,22,1027.02,-2277.89,92.6709, 'Mogg'),
|
||||
(14908,23,1036.56,-2280.12,93.1197, 'Mogg'),
|
||||
(14908,24,1046.66,-2275.73,93.5356, 'Mogg'),
|
||||
(14908,25,1049.61,-2269.77,93.5509, 'Mogg'),
|
||||
(14908,26,1045.76,-2261.03,93.2522, 'Mogg'),
|
||||
(14908,27,1038.3,-2254.31,93.1039, 'Mogg'),
|
||||
(14908,28,1028.89,-2245.04,92.4171, 'Mogg'),
|
||||
(14908,29,1016.87,-2225.77,93.1025, 'Mogg');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=14909;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(14909, 1, 1025.19, -2239.77, 92.4462, 'Pooka'),
|
||||
(14909, 2, 1032.77, -2242.09, 92.1655, 'Pooka'),
|
||||
(14909, 3, 1040.45, -2241.81, 91.9457, 'Pooka'),
|
||||
(14909, 4, 1040.65, -2233.18, 91.735, 'Pooka'),
|
||||
(14909, 5, 1037.72, -2227.49, 91.8037, 'Pooka'),
|
||||
(14909, 6, 1035.65, -2224.96, 91.9576, 'Pooka'), -- cry
|
||||
(14909, 7, 1039.38, -2231.71, 91.7299, 'Pooka'),
|
||||
(14909, 8, 1041.05, -2240.78, 91.9556, 'Pooka'),
|
||||
(14909, 9, 1031.51, -2241.51, 92.1757, 'Pooka'),
|
||||
(14909, 10, 1025.37, -2240.84, 92.4583, 'Pooka'),
|
||||
(14909, 11, 1020.98, -2232.5, 93.3069, 'Pooka'),
|
||||
(14909, 12, 1014.45, -2225.92, 93.0579, 'Pooka'); -- move rndm
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
115
data/sql/old/db_world/2.x/2017_02_03_16.sql
Normal file
115
data/sql/old/db_world/2.x/2017_02_03_16.sql
Normal file
@@ -0,0 +1,115 @@
|
||||
-- DB update 2017_02_03_15 -> 2017_02_03_16
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_15';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_15 2017_02_03_16 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431016613888200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431016613888200');
|
||||
-- Jimmy the Stable Boy
|
||||
UPDATE `creature` SET `position_x`=2260.2114, `position_y`=5205.3139, `position_z`=11.4189, `orientation`=5.8917 WHERE `guid`=117744;
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0, `position_x`=2255.84643, `position_y`=5207.1347, `position_z`=11.2519, `orientation`=5.8878 WHERE `guid`=117793;
|
||||
|
||||
-- Jimmy the Stable Boy SAI
|
||||
SET @ENTRY := 27364;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,34,0,100,0,2,1,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jimmy the Stable Boy - On Reached Point 1 - Run Script"),
|
||||
(@ENTRY,0,1,0,34,0,100,0,2,9,0,0,80,@ENTRY*100+01,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jimmy the Stable Boy - On Reached Point 9 - Run Script"),
|
||||
(@ENTRY,0,2,0,34,0,100,0,2,23,0,0,1,4,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Jimmy the Stable Boy - On Reached Point 23 - Say Line 4"),
|
||||
(@ENTRY,0,3,0,34,0,100,0,2,27,0,0,28,48478,0,0,0,0,0,10,117793,27365,0,0,0,0,0,"Jimmy the Stable Boy - On Reached Point 27 - Remove Aura 'Transform - Stabled Pet Appearance'");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2736400;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,0,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Jimmy the Stable Boy - On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,6000,6000,0,0,1,0,6000,0,0,0,0,10,107742,27010,0,0,0,0,0,"Jimmy the Stable Boy - On Script - Say Line 0"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,75,48478,0,0,0,0,0,10,117793,27365,0,0,0,0,0,"Jimmy the Stable Boy - On Script - Add Aura 'Transform - Stabled Pet Appearance'"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,6000,6000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Jimmy the Stable Boy - On Script - Say Line 1");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2736401;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Jimmy the Stable Boy - On Script - Say Line 2"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,6000,6000,0,0,1,3,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Jimmy the Stable Boy - On Script - Say Line 3");
|
||||
|
||||
DELETE FROM `waypoint_data` WHERE `id`=1177440;
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
|
||||
(1177440, 1, 2260.21, 5205.31, 11.4189, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 2, 2260.21, 5205.31, 11.4189, 0, 20000, 0, 0, 100, 0),
|
||||
(1177440, 3, 2258.42, 5206.38, 11.3041, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 4, 2260.78, 5212.97, 11.2323, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 5, 2265.26, 5222.43, 11.285, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 6, 2275.49, 5231.85, 11.3558, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 7, 2284.1, 5249.56, 11.2543, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 8, 2285.7, 5265.13, 11.3355, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 9, 2285.82, 5269.38, 11.3778, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 10, 2288.5, 5271.9, 11.4001, 0, 15000, 0, 0, 100, 0),
|
||||
(1177440, 11, 2282.43, 5249.42, 11.2138, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 12, 2275.66, 5250.47, 11.2624, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 13, 2265.76, 5253.98, 7.16312, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 14, 2252.91, 5259.53, 10.2728, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 15, 2246.47, 5262.26, 11.7963, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 16, 2236.65, 5265.97, 9.08925, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 17, 2226.8, 5269.61, 7.16322, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 18, 2209.85, 5275.66, 10.8121, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 19, 2208.18, 5268.86, 10.7009, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 20, 2203.12, 5252.14, 10.5775, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 21, 2192.52, 5236.56, 10.5738, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 22, 2176.46, 5233.64, 11.5804, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 23, 2160.99, 5234.54, 17.9753, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 24, 2137.26, 5245.75, 19.4465, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 25, 2111.31, 5256.28, 19.4465, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 26, 2087.92, 5269.58, 19.4465, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 27, 2087.94, 5290.85, 19.4495, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 28, 2092.85, 5313.56, 19.4495, 0, 5000, 0, 0, 100, 0),
|
||||
(1177440, 29, 2091.17, 5300.7, 19.4495, 0, 22000, 0, 0, 100, 0),
|
||||
(1177440, 30, 2086.89, 5273.04, 19.4482, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 31, 2108.96, 5257.42, 19.4467, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 32, 2138.17, 5245.65, 19.4467, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 33, 2157.61, 5237.7, 19.0772, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 34, 2177, 5234.21, 11.426, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 35, 2194.04, 5236.1, 10.5729, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 36, 2202.59, 5250.43, 10.5729, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 37, 2210.88, 5273.46, 10.814, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 38, 2228.14, 5268.23, 7.1635, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 39, 2245.5, 5263.03, 11.7909, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 40, 2264.42, 5255.25, 7.16331, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 41, 2281.83, 5245.22, 11.317, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 42, 2280.49, 5237.07, 11.4029, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 43, 2269.62, 5227.42, 11.2536, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 44, 2261.16, 5215.02, 11.2106, 0, 0, 0, 0, 100, 0),
|
||||
(1177440, 45, 2256.64, 5205.68, 11.2277, 0, 0, 0, 0, 100, 0);
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (1080, 1081);
|
||||
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=117744;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(117744, 117744, 0, 0, 7, 0, 0),
|
||||
(117744, 117793, 7, 359, 7, 0, 0);
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (27010, 27364);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(27010, 0, 0, 'All these folks are keeping me busy. Take this horse over to your stables.', 12, 7, 100, 396, 0, 0, 26522, 'Celidh Aletracker to Jimmy the Stable Boy'),
|
||||
(27364, 0, 0, 'Hey Celidh! Do you have any pets you want me to take over to the stable?', 12, 7, 100, 0, 0, 0, 26428, 'Jimmy the Stable Boy'),
|
||||
(27364, 1, 0, 'Let''s go boy.', 12, 7, 100, 0, 0, 0, 26432, 'Jimmy the Stable Boy'),
|
||||
(27364, 2, 0, 'If I were king, I''d have a horse like you. I''d make sure you didn''t get lost, and I bet you''d make sure I never got lost.', 12, 7, 100, 0, 0, 0, 26478, 'Jimmy the Stable Boy'),
|
||||
(27364, 3, 0, 'We''d be best friends. I bet me and Anduin would also be best friends, too. Friends are important. ', 12, 7, 100, 0, 0, 0, 26479, 'Jimmy the Stable Boy'),
|
||||
(27364, 4, 0, 'I''ll take you to some other horses. You probably miss being around other horses. They can be your friend too.', 12, 7, 100, 0, 0, 0, 26486, 'Jimmy the Stable Boy');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
149
data/sql/old/db_world/2.x/2017_02_03_17.sql
Normal file
149
data/sql/old/db_world/2.x/2017_02_03_17.sql
Normal file
@@ -0,0 +1,149 @@
|
||||
-- DB update 2017_02_03_16 -> 2017_02_03_17
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_16';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_16 2017_02_03_17 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431085279815600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431085279815600');
|
||||
-- Hammerfall - Arathi Highland
|
||||
-- Hammerfall Guardian SAI
|
||||
SET @GUID := -11212;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2621;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,0,0,10000,10000,80,1121200,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hammerfall Guardian - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1121200;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,10,11235,2621,0,0,0,0,0,"Hammerfall Guardian - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hammerfall Guardian - On Script - Play Emote 1");
|
||||
|
||||
-- ==================================================================
|
||||
-- Horde Guard - Barrens
|
||||
-- Horde Guard SAI
|
||||
SET @GUID := -19403;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=3501;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,0,0,10000,10000,80,1940300,0,0,0,0,0,1,0,0,0,0,0,0,0,"Horde Guard - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1940300;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,10,19428,3501,0,0,0,0,0,"Horde Guard - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Horde Guard - On Script - Play Emote 1");
|
||||
|
||||
-- ==================================================================
|
||||
-- Peon - Barrens
|
||||
-- Peon SAI
|
||||
SET @GUID := -13751;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14901;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,0,0,10000,10000,80,1375100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Peon - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1375100;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,10,13772,14901,0,0,0,0,0,"Peon - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Peon - On Script - Play Emote 1");
|
||||
|
||||
-- Peon Emotestate script
|
||||
SET @MAXGUID := 933;
|
||||
SET @SCRIPTID := 1377500;
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (@SCRIPTID+0);
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 3, 1, 69, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+0, 235, 1, 0, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 13775;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, -629.313, -3161, 92.3242, 3.79019, 0, 0, 0),
|
||||
(@PATH, 2, -624.911, -3156.44, 91.7832, 0.483361, 0, 0, 0),
|
||||
(@PATH, 3, -617.56, -3155.6, 91.7512, 0.161653, 0, 0, 0),
|
||||
(@PATH, 4, -617.56, -3155.6, 91.7512, 0.161653, 240000, 0, @SCRIPTID),
|
||||
(@PATH, 5, -625.854, -3158.22, 91.9782, 3.5153, 0, 0, 0),
|
||||
(@PATH, 6, -629.313, -3161, 92.3242, 3.79019, 20000, 0, 0);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` IN (@SCRIPTID);
|
||||
|
||||
-- ==================================================================
|
||||
-- Westfall Woodworker - Sentinell Hill - Westfall
|
||||
DELETE FROM `creature_addon` WHERE guid IN (44303,45472,45521,89860);
|
||||
SET @SCTIPT_ID = 4430300;
|
||||
SET @MAXGUID := 930;
|
||||
DELETE FROM `waypoint_scripts` WHERE id BETWEEN @SCTIPT_ID+0 AND @SCTIPT_ID+1;
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCTIPT_ID+0, 3, 1, 69, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCTIPT_ID+0, 87, 1, 0, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCTIPT_ID+1, 3, 1, 16, 0, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 44303;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`) VALUES
|
||||
(@PATH, 1, -10662.1, 1130.83, 34.1967, 15000, 0) ,
|
||||
(@PATH, 2, -10662.1, 1130.83, 34.1967, 90000, @SCTIPT_ID+0),
|
||||
(@PATH, 3, -10661.3, 1113.16, 34.1967, 90000, @SCTIPT_ID+0);
|
||||
|
||||
SET @NPC := 45472;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`) VALUES
|
||||
(@PATH, 1, -10650.8, 1128.61, 34.1978, 90000, @SCTIPT_ID+0),
|
||||
(@PATH, 2, -10650.8, 1128.61, 34.1978, 10000, 0),
|
||||
(@PATH, 3, -10658.8, 1134.62, 34.1967, 90000, @SCTIPT_ID+0);
|
||||
|
||||
SET @NPC := 45521;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`) VALUES
|
||||
(@PATH, 1, -10650.1, 1115.028, 35.611, 6000, @SCTIPT_ID+1),
|
||||
(@PATH, 2, -10646.4, 1113.332, 35.6268, 90000, @SCTIPT_ID+0);
|
||||
|
||||
SET @NPC := 89860;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`) VALUES
|
||||
(@PATH, 1, -10656.2, 1126.87, 34.1967, 90000, @SCTIPT_ID+0),
|
||||
(@PATH, 2, -10667.4, 1121.39, 34.1967, 90000, @SCTIPT_ID+0);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` BETWEEN @SCTIPT_ID+0 AND @SCTIPT_ID+1;--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
108
data/sql/old/db_world/2.x/2017_02_03_18.sql
Normal file
108
data/sql/old/db_world/2.x/2017_02_03_18.sql
Normal file
@@ -0,0 +1,108 @@
|
||||
-- DB update 2017_02_03_17 -> 2017_02_03_18
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_17';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_17 2017_02_03_18 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431395889581500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431395889581500');
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0, `unit_flags`=`unit_flags`|536870912|32770, `dynamicflags`=32 WHERE `guid`=116778;
|
||||
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (113320, 116778);
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
|
||||
(113320,0,0,0,1,233, ''),
|
||||
(116778,0,0,7,1,0, '29266');
|
||||
|
||||
-- Ironwool Mammoth, Part 2, patrolling event
|
||||
DELETE FROM `creature` WHERE `guid` IN (116895, 116892, 116894, 116891);
|
||||
UPDATE `creature` SET `spawndist`=0, `MovementType`=0, `position_x`=6459.656738, `position_y`=-1248.93371, `position_z`=459.40695, `orientation`=2.7473 WHERE `guid` IN (116907, 116911, 116910, 116908, 116909);
|
||||
UPDATE `creature` SET `position_x`=6479.30419, `position_y`=-1257.4559, `position_z`= 468.8983, `orientation`=5.98313 WHERE `guid`=116908;
|
||||
UPDATE `creature_template` SET `speed_run`=1.5 WHERE `entry`=29402;
|
||||
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=116908;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(116908, 116908, 0, 0, 2, 0, 0),
|
||||
(116908, 116907, 8, 30, 2, 0, 0),
|
||||
(116908, 116911, 8, 60, 2, 0, 0),
|
||||
(116908, 116910, 8, 300, 2, 0, 0),
|
||||
(116908, 116909, 8, 330, 2, 0, 0);
|
||||
|
||||
SET @NPC := 116908;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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, 6435.16, -1239.87, 447.581, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 2, 6396.64, -1223.13, 430.318, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 3, 6380.58, -1209.6, 426.213, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 4, 6368.91, -1176.6, 427.008, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 5, 6358.24, -1131.07, 423.253, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 6, 6336.66, -1037.79, 416.366, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 7, 6328.1, -1003.7, 415.253, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 8, 6317.85, -975.257, 409.725, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 9, 6291.93, -925.632, 409.592, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 10, 6268.17, -896.997, 407.157, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 11, 6232.51, -856.589, 405.761, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 12, 6205.65, -821.214, 401.573, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 13, 6197.91, -784.789, 402.398, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 14, 6172.17, -737.765, 398.054, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 15, 6173.12, -682.006, 398.173, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 16, 6178.15, -638.913, 405.172, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 17, 6181.84, -609.178, 407.013, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 18, 6158.61, -566.177, 402.071, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 19, 6124.7, -514.61, 396.071, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 20, 6113.01, -498.197, 395.71, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 21, 6078.05, -503.076, 381.885, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 22, 6039.49, -514.377, 364.875, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 23, 6004.76, -523.171, 347.563, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 24, 5976.67, -507.53, 336.84, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 25, 5941.96, -495.75, 317.882, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 26, 5925.45, -490.855, 308.241, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 27, 5905.03, -485.92, 297.25, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 28, 5886.99, -480.799, 286.995, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 29, 5849.22, -468.861, 267.261, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 30, 5815.16, -457.732, 251.466, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 31, 5777.5, -444.971, 234.154, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 32, 5796.25, -451.588, 242.775, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 33, 5813.78, -456.937, 250.769, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 34, 5829.77, -461.747, 257.881, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 35, 5866.75, -475.495, 275.778, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 36, 5935.89, -493.427, 314.012, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 37, 5977.02, -505.339, 336.79, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 38, 6022.89, -509.131, 356.888, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 39, 6076.86, -503.914, 381.206, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 40, 6105.04, -501.556, 392.878, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 41, 6129.72, -536.563, 393.466, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 42, 6162.83, -582.65, 402.332, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 43, 6179.94, -607.92, 406.712, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 44, 6181.06, -671.131, 402.657, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 45, 6169.77, -717.892, 397.477, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 46, 6187.36, -766.508, 401.148, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 47, 6221.8, -832.298, 404.688, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 48, 6258.85, -887.193, 406.175, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 49, 6306.02, -941.727, 410.591, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 50, 6329.22, -995.427, 414.636, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 51, 6341.63, -1093.04, 416.601, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 52, 6351.8, -1161.35, 426.35, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 53, 6390.75, -1220.95, 428.485, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 54, 6438.53, -1244.41, 449.509, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 55, 6473.51, -1253.46, 465.931, 0, 0, 0, 0, 100, 0);
|
||||
|
||||
UPDATE `waypoint_data` SET `move_type`=1 WHERE `id`=@PATH;--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
141
data/sql/old/db_world/2.x/2017_02_03_19.sql
Normal file
141
data/sql/old/db_world/2.x/2017_02_03_19.sql
Normal file
@@ -0,0 +1,141 @@
|
||||
-- DB update 2017_02_03_18 -> 2017_02_03_19
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_18';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_18 2017_02_03_19 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431484557653000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431484557653000');
|
||||
-- Sentinell Hill - Westfall
|
||||
-- Lumberjack
|
||||
|
||||
UPDATE `creature` SET spawndist = 0, MovementType = 2 WHERE guid IN (44296,45524,89861);
|
||||
UPDATE `creature_addon` SET `emote`=0 WHERE `guid`=89861;
|
||||
UPDATE `creature_addon` SET `emote`=0 WHERE `guid`=44296;
|
||||
UPDATE `creature_addon` SET `emote`=234 WHERE `guid`=45477;
|
||||
|
||||
SET @MAXGUID := 923;
|
||||
SET @SCRIPTID := 4429600;
|
||||
DELETE FROM `waypoint_scripts` WHERE id BETWEEN @Script AND @Script+3;
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 3, 32, 308, 0, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+1, 3, 1, 234, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+1, 97, 1, 0, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+1, 100, 32, 89, 0, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+2, 2, 32, 89, 0, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+3, 3, 1, 234, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+3, 97, 1, 0, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 44296;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `action`) VALUES
|
||||
(@PATH, 1, -10612.1, 1181.01, 34.5176, 5.11381, 5000, @SCRIPTID+2),
|
||||
(@PATH, 2, -10614.8, 1180.44, 34.0654, 3.56192, 0, 0),
|
||||
(@PATH, 3, -10625.5, 1172.63, 34.2415, 3.88393, 0, 0),
|
||||
(@PATH, 4, -10636.7, 1159.96, 33.615, 3.9664, 0, 0),
|
||||
(@PATH, 5, -10643.8, 1154.6, 33.3617, 3.49516, 0, 0),
|
||||
(@PATH, 6, -10651, 1152.99, 33.4886, 3.77555, 0, 0),
|
||||
(@PATH, 7, -10653.1, 1148.23, 33.7335, 4.94657, 0, 0),
|
||||
(@PATH, 8, -10649.3, 1141.3, 33.7097, 4.53648, 0, 0),
|
||||
(@PATH, 9, -10651.8, 1136.93, 34.2028, 3.85711, 0, 0),
|
||||
(@PATH, 10, -10660.2, 1128.05, 34.197, 4.53255, 0, 0),
|
||||
(@PATH, 11, -10660, 1124.38, 34.197, 5.25119, 0, 0),
|
||||
(@PATH, 12, -10657.3, 1121.95, 34.197, 5.90698, 0, 0),
|
||||
(@PATH, 13, -10654, 1120.34, 35.6411, 5.72634, 0, 0),
|
||||
(@PATH, 14, -10650.7, 1118.12, 35.6286, 5.67922, 6000, @SCRIPTID+0),
|
||||
(@PATH, 15, -10653.9, 1120.45, 35.6388, 2.69648, 0, 0),
|
||||
(@PATH, 16, -10657.1, 1122.31, 34.1967, 2.65721, 0, 0),
|
||||
(@PATH, 17, -10660.2, 1127.8, 34.1967, 1.20579, 0, 0),
|
||||
(@PATH, 18, -10657.3, 1132.13, 34.1967, 0.718843, 0, 0),
|
||||
(@PATH, 19, -10649.3, 1139.81, 33.7333, 1.45555, 0, 0),
|
||||
(@PATH, 20, -10650.1, 1143.1, 33.7355, 2.14591, 0, 0),
|
||||
(@PATH, 21, -10653, 1148.6, 33.737, 1.65425, 0, 0),
|
||||
(@PATH, 22, -10651.6, 1152.36, 33.527, 0.97881, 0, 0),
|
||||
(@PATH, 23, -10648.3, 1153.99, 33.4183, 0.24996, 0, 0),
|
||||
(@PATH, 24, -10643.1, 1154.56, 33.3588, 0.440811, 0, 0),
|
||||
(@PATH, 25, -10633.7, 1162.3, 34.1228, 0.952139, 0, 0),
|
||||
(@PATH, 26, -10625.3, 1172.88, 34.2107, 0.930148, 0, 0),
|
||||
(@PATH, 27, -10616.4, 1182.21, 33.7023, 0.34267, 0, 0),
|
||||
(@PATH, 28, -10612.1, 1181.01, 34.5176, 5.11381, 97000, @SCRIPTID+3);
|
||||
|
||||
|
||||
SET @NPC := 45524;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `orientation`, `action`) VALUES
|
||||
(@PATH, 1, -10628.2, 1125.08, 33.7849, 1.81801, 0, 0),
|
||||
(@PATH, 2, -10631.9, 1139.7, 33.7312, 1.72611, 0, 0),
|
||||
(@PATH, 3, -10629.8, 1152.02, 34.0399, 0.853538, 0, 0),
|
||||
(@PATH, 4, -10624.8, 1156.86, 34.5346, 0.460053, 0, 0),
|
||||
(@PATH, 5, -10597.5, 1160.64, 38.4133, 0.0390802, 103000, @SCRIPTID+1),
|
||||
(@PATH, 6, -10616, 1156.68, 35.1913, 3.432, 0, 0),
|
||||
(@PATH, 7, -10624.7, 1153.97, 34.3801, 3.68176, 0, 0),
|
||||
(@PATH, 8, -10631.2, 1139.29, 33.7428, 4.53705, 0, 0),
|
||||
(@PATH, 9, -10627.9, 1123.15, 33.7433, 4.92032, 0, 0),
|
||||
(@PATH, 10, -10623.6, 1106.81, 33.839, 4.71298, 0, 0),
|
||||
(@PATH, 11, -10624.1, 1100.77, 33.7959, 4.37573, 0, 0),
|
||||
(@PATH, 12, -10626.3, 1098.61, 33.7164, 3.34293, 0, 0),
|
||||
(@PATH, 13, -10630.2, 1098.87, 33.7023, 2.58109, 0, 0),
|
||||
(@PATH, 14, -10636.6, 1103.93, 34.3049, 2.47899, 0, 0),
|
||||
(@PATH, 15, -10638.7, 1105.6, 35.6183, 2.72796, 0, 0),
|
||||
(@PATH, 16, -10644.3, 1107.04, 35.6515, 3.07197, 6000, @SCRIPTID+0),
|
||||
(@PATH, 17, -10641.1, 1107.4, 35.6302, 5.73997, 0, 0),
|
||||
(@PATH, 18, -10638.3, 1105.68, 35.6181, 5.5931, 0, 0),
|
||||
(@PATH, 19, -10636.5, 1104.16, 34.3292, 5.5931, 0, 0),
|
||||
(@PATH, 20, -10630.1, 1098.96, 33.7028, 5.92454, 0, 0),
|
||||
(@PATH, 21, -10626.7, 1098.35, 33.7094, 0.0984525, 0, 0),
|
||||
(@PATH, 22, -10624.6, 1100.14, 33.774, 0.868928, 0, 0),
|
||||
(@PATH, 23, -10623.7, 1101.87, 33.8117, 1.58364, 0, 0),
|
||||
(@PATH, 24, -10624, 1107.23, 33.8072, 1.68574, 0, 0);
|
||||
|
||||
SET @NPC := 89861;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `orientation`, `action`) VALUES
|
||||
(@PATH, 1, -10584.8, 1144.22, 40.2218, 3.85718, 103000, @SCRIPTID+1),
|
||||
(@PATH, 2, -10582.4, 1140.78, 39.6677, 4.94343, 0, 0),
|
||||
(@PATH, 3, -10583.4, 1137.05, 39.0197, 4.28134, 0, 0),
|
||||
(@PATH, 4, -10599.1, 1117.84, 37.7277, 3.9986, 0, 0),
|
||||
(@PATH, 5, -10611.2, 1105.3, 35.982, 3.79833, 0, 0),
|
||||
(@PATH, 6, -10623.2, 1098.3, 33.8558, 3.27368, 0, 0),
|
||||
(@PATH, 7, -10628.8, 1097.99, 33.7034, 2.77888, 0, 0),
|
||||
(@PATH, 8, -10633.6, 1099.99, 34.1616, 2.51027, 0, 0),
|
||||
(@PATH, 9, -10637.4, 1102.69, 34.1628, 2.53776, 0, 0),
|
||||
(@PATH, 10, -10639.6, 1104.22, 35.6187, 2.53776, 0, 0),
|
||||
(@PATH, 11, -10644.4, 1106.43, 35.651, 2.84799, 6000, @SCRIPTID+0),
|
||||
(@PATH, 12, -10639.6, 1104.32, 35.6182, 5.79324, 0, 0),
|
||||
(@PATH, 13, -10636.9, 1102.73, 34.2156, 5.75004, 0, 0),
|
||||
(@PATH, 14, -10628.3, 1098.14, 33.7034, 6.14745, 0, 0),
|
||||
(@PATH, 15, -10617.2, 1100.93, 34.7838, 0.495724, 0, 0),
|
||||
(@PATH, 16, -10610.1, 1106.28, 36.1837, 0.739197, 0, 0),
|
||||
(@PATH, 17, -10597.7, 1119.31, 37.9428, 0.845226, 0, 0),
|
||||
(@PATH, 18, -10582.2, 1138.37, 39.1972, 1.1154, 0, 0),
|
||||
(@PATH, 19, -10582.3, 1141.47, 39.7775, 1.75786, 0, 0),
|
||||
(@PATH, 20, -10583.1, 1143.39, 40.0436, 2.16391, 0, 0);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` BETWEEN @SCRIPTID+0 AND @SCRIPTID+3;--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
171
data/sql/old/db_world/2.x/2017_02_03_20.sql
Normal file
171
data/sql/old/db_world/2.x/2017_02_03_20.sql
Normal file
@@ -0,0 +1,171 @@
|
||||
-- DB update 2017_02_03_19 -> 2017_02_03_20
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_19';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_19 2017_02_03_20 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431717555979800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431717555979800');
|
||||
-- SCRIPT 1
|
||||
SET @MAXGUID := 919;
|
||||
SET @SCRIPTID := 8014900;
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (@SCRIPTID+0);
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 1, 35, 1, 5, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+0, 20, 35, 2, 0, 801490, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 80149;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, -9008.89, -320.603, 75.8279, 2.8812, 1000, 1, 0),
|
||||
(@PATH, 2, -8981.22, -335.138, 73.3474, 5.82645, 0, 1, 0),
|
||||
(@PATH, 3, -8946.51, -338.891, 71.1134, 5.82409, 0, 1, 0),
|
||||
(@PATH, 4, -8912.77, -352.085, 72.5823, 5.88143, 0, 1, 0),
|
||||
(@PATH, 5, -8881.49, -355.84, 73.1462, 6.17595, 0, 1, 0),
|
||||
(@PATH, 6, -8910.65, -346.602, 71.1023, 2.81837, 0, 0, 0),
|
||||
(@PATH, 7, -8883.13, -352.739, 72.9499, 2.75397, 0, 0, 0),
|
||||
(@PATH, 8, -8911.38, -347.166, 71.3269, 2.95582, 0, 0, 0),
|
||||
(@PATH, 9, -8947.63, -337.566, 70.9275, 2.87728, 0, 0, 0),
|
||||
(@PATH, 10, -9008.89, -320.603, 75.8279, 2.8812, 25000, 0, @SCRIPTID);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` IN (@SCRIPTID);
|
||||
|
||||
-- SCRIPT 2
|
||||
-- Defias Thug SAI
|
||||
SET @GUID := -80152;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=38;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,0,0,10000,10000,80,8015200,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - Out of Combat - Run Script"),
|
||||
(@GUID,0,1,0,4,0,30,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Aggro - Say Line 0 (No Repeat)");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 8015200;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,10,80151,38,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1");
|
||||
|
||||
-- SCRIPT 3
|
||||
SET @NPC := 80171;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, -9120.29, -275.579, 72.9006, 1.03043, 2000, 1),
|
||||
(@PATH, 2, -9112.23, -263.542, 74.4268, 1.06342, 3000, 0),
|
||||
(@PATH, 3, -9110.18, -259.698, 74.7637, 3.91441, 0, 1),
|
||||
(@PATH, 4, -9120.29, -269.848, 73.5204, 3.94322, 4000, 0);
|
||||
|
||||
-- SCRIPT 4
|
||||
SET @NPC := 80181;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, -9131.36, -306.832, 73.5301, 4.49767, 0, 1),
|
||||
(@PATH, 2, -9132.83, -313.89, 73.306, 4.49767, 4000, 1),
|
||||
(@PATH, 3, -9124.91, -379.208, 73.2856, 4.81183, 3000, 0),
|
||||
(@PATH, 4, -9125.01, -372.703, 73.5785, 1.77234, 0, 1),
|
||||
(@PATH, 5, -9138.42, -339.389, 72.5674, 1.2202, 0, 1),
|
||||
(@PATH, 6, -9123.32, -311.799, 72.985, 1.2202, 4000, 0);
|
||||
|
||||
-- SCRIPT 5
|
||||
-- Defias Thug SAI
|
||||
SET @GUID := -80184;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=38;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,0,0,8000,8000,80,8018400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - Out of Combat - Run Script"),
|
||||
(@GUID,0,1,0,4,0,30,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Aggro - Say Line 0 (No Repeat)");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 8018400;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,10,80185,38,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1");
|
||||
|
||||
-- SCRIPT 6
|
||||
-- Defias Thug SAI
|
||||
SET @GUID := -80188;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=38;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,0,0,8000,8000,80,8018800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - Out of Combat - Run Script"),
|
||||
(@GUID,0,1,0,4,0,30,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Aggro - Say Line 0 (No Repeat)");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 8018800;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,10,80189,38,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1");
|
||||
|
||||
-- SCRIPT 7
|
||||
-- Defias Thug SAI
|
||||
SET @GUID := -80201;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=38;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,1,0,100,0,0,0,8000,8000,80,8020100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - Out of Combat - Run Script"),
|
||||
(@GUID,0,1,0,4,0,30,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Aggro - Say Line 0 (No Repeat)");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 8020100;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,10,80200,38,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Thug - On Script - Play Emote 1");
|
||||
|
||||
-- SCRIPT 8
|
||||
SET @MAXGUID := 921;
|
||||
SET @SCRIPTID := 8025100;
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (@SCRIPTID+0);
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 1, 35, 1, 5, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+0, 20, 35, 2, 0, 802510, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 80251;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, -8878.29, -410.994, 65.6802, 4.63836, 1000, 1, 0),
|
||||
(@PATH, 2, -8880.02, -399.363, 66.0983, 2.83464, 0, 1, 0),
|
||||
(@PATH, 3, -8898.18, -391.582, 68.6285, 3.16417, 0, 1, 0),
|
||||
(@PATH, 4, -8914.49, -391.059, 69.3006, 2.22326, 0, 1, 0),
|
||||
(@PATH, 5, -8928.27, -375.636, 71.218, 3.22857, 0, 1, 0),
|
||||
(@PATH, 6, -8958.87, -373.826, 72.3354, 3.34245, 5000, 1, 0),
|
||||
(@PATH, 7, -8921.43, -376.858, 71.1848, 0.534655, 0, 1, 0),
|
||||
(@PATH, 8, -8909.08, -366.763, 72.135, 6.05679, 0, 1, 0),
|
||||
(@PATH, 9, -8870.04, -371.407, 71.997, 4.63836, 0, 1, 0),
|
||||
(@PATH, 10, -8878.29, -410.994, 65.6802, 4.63836, 0, 1, 0),
|
||||
(@PATH, 11, -8878.29, -410.994, 65.6802, 4.63836, 25000, 1, @SCRIPTID);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` IN (@SCRIPTID);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
165
data/sql/old/db_world/2.x/2017_02_03_21.sql
Normal file
165
data/sql/old/db_world/2.x/2017_02_03_21.sql
Normal file
@@ -0,0 +1,165 @@
|
||||
-- DB update 2017_02_03_20 -> 2017_02_03_21
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_20';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_20 2017_02_03_21 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431827424263900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431827424263900');
|
||||
-- Zalduun <Priest Trainer>
|
||||
SET @NPC := 57213;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, -4113.68, -13762, 73.5694, 5.80705, 0),
|
||||
(@PATH, 2, -4110.51, -13765.2, 73.6102, 5.19209, 0),
|
||||
(@PATH, 3, -4107.71, -13772.5, 74.6982, 5.80705, 0),
|
||||
(@PATH, 4, -4102.51, -13772.3, 74.7185, 0.511104, 0),
|
||||
(@PATH, 5, -4099.89, -13768, 74.7256, 1.36954, 0),
|
||||
(@PATH, 6, -4102.44, -13763.8, 74.5717, 2.63796, 0),
|
||||
(@PATH, 7, -4125.6, -13762, 74.1406, 3.4807, 0),
|
||||
(@PATH, 8, -4129.88, -13764.2, 74.5865, 3.28513, 0),
|
||||
(@PATH, 9, -4135.57, -13762.7, 74.657, 2.14081, 0),
|
||||
(@PATH, 10, -4137.16, -13760, 74.6108, 1.35698, 0),
|
||||
(@PATH, 11, -4135.66, -13756.6, 74.5907, 0.545662, 0),
|
||||
(@PATH, 12, -4131.3, -13754.6, 74.6109, 6.14319, 0),
|
||||
(@PATH, 13, -4127.9, -13756.6, 74.2825, 5.30675, 0),
|
||||
(@PATH, 14, -4127.08, -13760.8, 74.2562, 5.74265, 0),
|
||||
(@PATH, 15, -4121.58, -13761.4, 73.5881, 0.0354084, 0),
|
||||
(@PATH, 16, -4113.68, -13762, 73.5694, 5.80705, 0),
|
||||
(@PATH, 17, -4110.51, -13765.2, 73.6102, 5.19209, 0),
|
||||
(@PATH, 18, -4107.71, -13772.5, 74.6982, 5.80705, 0),
|
||||
(@PATH, 19, -4102.51, -13772.3, 74.7185, 0.511104, 0),
|
||||
(@PATH, 20, -4099.89, -13768, 74.7256, 1.36954, 0),
|
||||
(@PATH, 21, -4102.44, -13763.8, 74.5717, 2.63796, 12000),
|
||||
(@PATH, 22, -4125.6, -13762, 74.1406, 3.4807, 0),
|
||||
(@PATH, 23, -4129.88, -13764.2, 74.5865, 3.28513, 0),
|
||||
(@PATH, 24, -4135.57, -13762.7, 74.657, 2.14081, 0),
|
||||
(@PATH, 25, -4137.16, -13760, 74.6108, 1.35698, 0),
|
||||
(@PATH, 26, -4135.66, -13756.6, 74.5907, 0.545662, 0),
|
||||
(@PATH, 27, -4131.3, -13754.6, 74.6109, 6.14319, 0),
|
||||
(@PATH, 28, -4127.9, -13756.6, 74.2825, 5.30675, 0),
|
||||
(@PATH, 29, -4127.08, -13760.8, 74.2562, 5.74265, 0),
|
||||
(@PATH, 30, -4121.58, -13761.4, 73.5881, 0.0354084, 0),
|
||||
(@PATH, 31, -4113.68, -13762, 73.5694, 5.80705, 0),
|
||||
(@PATH, 32, -4110.51, -13765.2, 73.6102, 5.19209, 0),
|
||||
(@PATH, 33, -4107.71, -13772.5, 74.6982, 5.80705, 0),
|
||||
(@PATH, 34, -4102.51, -13772.3, 74.7185, 0.511104, 0),
|
||||
(@PATH, 35, -4099.89, -13768, 74.7256, 1.36954, 0),
|
||||
(@PATH, 36, -4102.44, -13763.8, 74.5717, 2.63796, 0),
|
||||
(@PATH, 37, -4125.6, -13762, 74.1406, 3.4807, 0),
|
||||
(@PATH, 38, -4129.88, -13764.2, 74.5865, 3.28513, 0),
|
||||
(@PATH, 39, -4135.57, -13762.7, 74.657, 2.14081, 0),
|
||||
(@PATH, 40, -4137.16, -13760, 74.6108, 1.35698, 0),
|
||||
(@PATH, 41, -4135.66, -13756.6, 74.5907, 0.545662, 0),
|
||||
(@PATH, 42, -4131.3, -13754.6, 74.6109, 6.14319, 0),
|
||||
(@PATH, 43, -4127.9, -13756.6, 74.2825, 5.30675, 0),
|
||||
(@PATH, 44, -4127.08, -13760.8, 74.2562, 5.74265, 0),
|
||||
(@PATH, 45, -4121.58, -13761.4, 73.5881, 0.0354084, 0),
|
||||
(@PATH, 46, -4113.68, -13762, 73.5694, 5.80705, 0),
|
||||
(@PATH, 47, -4110.51, -13765.2, 73.6102, 5.19209, 0),
|
||||
(@PATH, 48, -4107.71, -13772.5, 74.6982, 5.80705, 0),
|
||||
(@PATH, 49, -4102.51, -13772.3, 74.7185, 0.511104, 0),
|
||||
(@PATH, 50, -4099.89, -13768, 74.7256, 1.36954, 0),
|
||||
(@PATH, 51, -4102.44, -13763.8, 74.5717, 2.63796, 0),
|
||||
(@PATH, 52, -4125.6, -13762, 74.1406, 3.4807, 0),
|
||||
(@PATH, 53, -4129.88, -13764.2, 74.5865, 3.28513, 0),
|
||||
(@PATH, 54, -4135.57, -13762.7, 74.657, 2.14081, 0),
|
||||
(@PATH, 55, -4137.16, -13760, 74.6108, 1.35698, 0),
|
||||
(@PATH, 56, -4135.66, -13756.6, 74.5907, 0.545662, 0),
|
||||
(@PATH, 57, -4131.3, -13754.6, 74.6109, 6.14319, 0),
|
||||
(@PATH, 58, -4127.9, -13756.6, 74.2825, 5.30675, 0),
|
||||
(@PATH, 59, -4127.08, -13760.8, 74.2562, 5.74265, 0),
|
||||
(@PATH, 60, -4121.58, -13761.4, 73.5881, 0.0354084, 0),
|
||||
(@PATH, 61, -4113.68, -13762, 73.5694, 5.80705, 0),
|
||||
(@PATH, 62, -4110.51, -13765.2, 73.6102, 5.19209, 0),
|
||||
(@PATH, 63, -4107.71, -13772.5, 74.6982, 5.80705, 0),
|
||||
(@PATH, 64, -4102.51, -13772.3, 74.7185, 0.511104, 0),
|
||||
(@PATH, 65, -4099.89, -13768, 74.7256, 1.36954, 0),
|
||||
(@PATH, 66, -4102.44, -13763.8, 74.5717, 2.63796, 0),
|
||||
(@PATH, 67, -4125.6, -13762, 74.1406, 3.4807, 0),
|
||||
(@PATH, 68, -4129.88, -13764.2, 74.5865, 3.28513, 12000),
|
||||
(@PATH, 69, -4135.57, -13762.7, 74.657, 2.14081, 0),
|
||||
(@PATH, 70, -4137.16, -13760, 74.6108, 1.35698, 0),
|
||||
(@PATH, 71, -4135.66, -13756.6, 74.5907, 0.545662, 0),
|
||||
(@PATH, 72, -4131.3, -13754.6, 74.6109, 6.14319, 0),
|
||||
(@PATH, 73, -4127.9, -13756.6, 74.2825, 5.30675, 0),
|
||||
(@PATH, 74, -4127.08, -13760.8, 74.2562, 5.74265, 0),
|
||||
(@PATH, 75, -4121.58, -13761.4, 73.5881, 0.0354084, 0),
|
||||
(@PATH, 76, -4113.68, -13762, 73.5694, 5.80705, 0),
|
||||
(@PATH, 77, -4110.51, -13765.2, 73.6102, 5.19209, 0),
|
||||
(@PATH, 78, -4107.71, -13772.5, 74.6982, 5.80705, 0),
|
||||
(@PATH, 79, -4102.51, -13772.3, 74.7185, 0.511104, 0),
|
||||
(@PATH, 80, -4099.89, -13768, 74.7256, 1.36954, 0),
|
||||
(@PATH, 81, -4102.44, -13763.8, 74.5717, 2.63796, 0),
|
||||
(@PATH, 82, -4125.6, -13762, 74.1406, 3.4807, 0),
|
||||
(@PATH, 83, -4129.88, -13764.2, 74.5865, 3.28513, 0),
|
||||
(@PATH, 84, -4135.57, -13762.7, 74.657, 2.14081, 0),
|
||||
(@PATH, 85, -4137.16, -13760, 74.6108, 1.35698, 0),
|
||||
(@PATH, 86, -4135.66, -13756.6, 74.5907, 0.545662, 0),
|
||||
(@PATH, 87, -4131.3, -13754.6, 74.6109, 6.14319, 0),
|
||||
(@PATH, 88, -4127.9, -13756.6, 74.2825, 5.30675, 0),
|
||||
(@PATH, 89, -4127.08, -13760.8, 74.2562, 5.74265, 0),
|
||||
(@PATH, 90, -4121.58, -13761.4, 73.5881, 0.0354084, 0),
|
||||
(@PATH, 91, -4113.68, -13762, 73.5694, 5.80705, 0),
|
||||
(@PATH, 92, -4110.51, -13765.2, 73.6102, 5.19209, 0),
|
||||
(@PATH, 93, -4107.71, -13772.5, 74.6982, 5.80705, 0),
|
||||
(@PATH, 94, -4102.51, -13772.3, 74.7185, 0.511104, 0),
|
||||
(@PATH, 95, -4099.89, -13768, 74.7256, 1.36954, 0),
|
||||
(@PATH, 96, -4102.44, -13763.8, 74.5717, 2.63796, 0),
|
||||
(@PATH, 97, -4125.6, -13762, 74.1406, 3.4807, 0),
|
||||
(@PATH, 98, -4129.88, -13764.2, 74.5865, 3.28513, 0),
|
||||
(@PATH, 99, -4135.57, -13762.7, 74.657, 2.14081, 0),
|
||||
(@PATH, 100, -4137.16, -13760, 74.6108, 1.35698, 0),
|
||||
(@PATH, 101, -4135.66, -13756.6, 74.5907, 0.545662, 0),
|
||||
(@PATH, 102, -4131.3, -13754.6, 74.6109, 6.14319, 0),
|
||||
(@PATH, 103, -4127.9, -13756.6, 74.2825, 5.30675, 0),
|
||||
(@PATH, 104, -4127.08, -13760.8, 74.2562, 5.74265, 0),
|
||||
(@PATH, 105, -4121.58, -13761.4, 73.5881, 0.0354084, 0);
|
||||
|
||||
-- Zalduun SAI
|
||||
SET @ENTRY := 16502;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,74,0,100,0,0,40,120000,120000,11,29170,0,0,0,0,0,9,0,0,0,0,0,0,0,"Zalduun - On Friendly Between 0-40% Health - Cast 'Lesser Heal'"),
|
||||
(@ENTRY,0,1,0,34,0,100,0,2,20,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zalduun - On Reached Point 20 - Run Script"),
|
||||
(@ENTRY,0,2,0,34,0,100,0,2,67,0,0,80,@ENTRY*100+01,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zalduun - On Reached Point 67 - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1650200;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Zalduun - On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.31173,"Zalduun - On Script - Set Orientation 4.31173"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,11,29170,0,0,0,0,0,10,59238,16971,0,0,0,0,0,"Zalduun - On Script - Cast 'Lesser Heal'");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1650201;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Zalduun - On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.157151,"Zalduun - On Script - Set Orientation 0.157151"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,11,29170,0,0,0,0,0,10,59240,16971,0,0,0,0,0,"Zalduun - On Script - Cast 'Lesser Heal'");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=16502;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(16502, 0, 0, 'Oh no! I\'m losing this one!', 12, 7, 100, 0, 0, 0, 13113, 'Zalduun');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
79
data/sql/old/db_world/2.x/2017_02_03_22.sql
Normal file
79
data/sql/old/db_world/2.x/2017_02_03_22.sql
Normal file
@@ -0,0 +1,79 @@
|
||||
-- DB update 2017_02_03_21 -> 2017_02_03_22
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_21';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_21 2017_02_03_22 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431926939955800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431926939955800');
|
||||
-- Gothik the Harvester Entry 2 event
|
||||
-- Scarlet Deserter
|
||||
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `guid` IN (130402,130403,130404,130405);
|
||||
UPDATE `creature` SET `position_x` = 2817.77, `position_y` = -5453.906, `position_z` = 159.4021, `orientation` = 1.937315 WHERE `guid` = 130405;
|
||||
|
||||
-- Scarlet Deserter SAI
|
||||
SET @GUID := -130405;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=29193;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,25,0,100,0,0,0,0,0,60,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Deserter - On Reset - Set Fly On");
|
||||
|
||||
-- Gothik the Harvester SAI
|
||||
SET @ENTRY := 29112;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,0,2000,2000,640000,640000,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2911200;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Set Active On"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,1,0,4000,0,0,0,0,10,130405,29193,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 0"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,1,0,30000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,63000,63000,0,0,1,1,4000,0,0,0,0,10,130405,29193,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 1"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,4000,4000,0,0,1,1,30000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 1"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,73000,73000,0,0,1,2,4000,0,0,0,0,10,130405,29193,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 2"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,4000,4000,0,0,1,2,30000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 2"),
|
||||
(@ENTRY,9,7,0,0,0,100,0,68000,68000,0,0,1,3,4000,0,0,0,0,10,130405,29193,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 3"),
|
||||
(@ENTRY,9,8,0,0,0,100,0,4000,4000,0,0,1,3,30000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 3"),
|
||||
(@ENTRY,9,9,0,0,0,100,0,78000,78000,0,0,1,4,4000,0,0,0,0,10,130405,29193,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 4"),
|
||||
(@ENTRY,9,10,0,0,0,100,0,4000,4000,0,0,1,4,30000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 4"),
|
||||
(@ENTRY,9,11,0,0,0,100,0,73000,73000,0,0,1,5,4000,0,0,0,0,10,130405,29193,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 5"),
|
||||
(@ENTRY,9,12,0,0,0,100,0,4000,4000,0,0,1,5,30000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 5"),
|
||||
(@ENTRY,9,13,0,0,0,100,0,53000,53000,0,0,1,6,30000,0,0,0,0,10,130405,29193,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 6"),
|
||||
(@ENTRY,9,14,0,0,0,100,0,0,0,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Set Active Off");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (29193, 29112);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
-- Scarlet Deserter
|
||||
(29193, 0, 0, 'You\'re a monster!', 12, 0, 100, 0, 0, 0, 29644, 'Scarlet Deserter'),
|
||||
(29193, 1, 0, 'Please! Spare me! I...', 12, 0, 100, 0, 0, 0, 29645, 'Scarlet Deserter'),
|
||||
(29193, 2, 0, 'Wi... Will it hurt?', 12, 0, 100, 0, 0, 0, 29641, 'Scarlet Deserter'),
|
||||
(29193, 3, 0, 'It tingles...', 12, 0, 100, 0, 0, 0, 29642, 'Scarlet Deserter'),
|
||||
(29193, 4, 0, 'Why don\'t you Just Kill me Already', 12, 0, 100, 0, 0, 0, 0, 'Scarlet Deserter'),
|
||||
(29193, 5, 0, 'Is it too late to change my mind? How about you just kill me instead?', 12, 0, 100, 0, 0, 0, 29643, 'Scarlet Deserter'),
|
||||
(29193, 6, 0, 'The horror! THE HORROR!', 12, 0, 100, 0, 0, 0, 29646, 'Scarlet Deserter'),
|
||||
-- Gothik the Harvester
|
||||
(29112, 0, 0, 'Flattery will get you nowhere.', 12, 0, 100, 1, 0, 0, 29650, 'Gothik the Harvester'),
|
||||
(29112, 1, 0, 'Don\'t be ridiculous. Where would you even go if I did spare you? We just finished eradicating your civilization, remember?', 12, 0, 100, 1, 0, 0, 29651, 'Gothik the Harvester'),
|
||||
(29112, 2, 0, 'Oh yes. Immensely. The pain will propably render you unconcious - hence the vat of slime you\'re floating in!', 12, 0, 100, 1, 0, 0, 0, 'Gothik the Harvester'),
|
||||
(29112, 3, 0, 'That\'s how you know it\'s working.', 12, 0, 100, 1, 0, 0, 29648, 'Gothik the Harvester'),
|
||||
(29112, 4, 0, 'You idiot! That\'s What I\'m Doing Right Now!', 12, 0, 100, 5, 0, 0, 0, 'Gothik the Harvester'),
|
||||
(29112, 5, 0, 'I AM going to kill you. What\'s the rush?', 12, 0, 100, 6, 0, 0, 29649, 'Gothik the Harvester');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
191
data/sql/old/db_world/2.x/2017_02_03_23.sql
Normal file
191
data/sql/old/db_world/2.x/2017_02_03_23.sql
Normal file
@@ -0,0 +1,191 @@
|
||||
-- DB update 2017_02_03_22 -> 2017_02_03_23
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_22';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_22 2017_02_03_23 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485431991613655000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485431991613655000');
|
||||
-- Gothik the Harvester
|
||||
UPDATE `creature_template` SET `Speed_Walk` = 1.6, `Speed_Run` = 1.714286 WHERE `entry` = 28890;
|
||||
UPDATE `creature` SET `position_x` = 2107.563721, `position_y` = -5742.198730, `position_z` = 99.855499, `orientation` = 1.374185 WHERE `guid` = 130121;
|
||||
SET @NPC := 130121;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, 2109.85, -5727.25, 100.257, 0.413397, 0),
|
||||
(@PATH, 2, 2156.03, -5712.91, 102.291, 6.15937, 0),
|
||||
(@PATH, 3, 2177.85, -5738.68, 101.921, 5.56012, 0),
|
||||
(@PATH, 4, 2188.7, -5759.94, 101.649, 5.14936, 10000),
|
||||
(@PATH, 5, 2225.29, -5781.82, 101.775, 5.67557, 0),
|
||||
(@PATH, 6, 2252.21, -5806.7, 100.959, 5.36848, 0),
|
||||
(@PATH, 7, 2265.43, -5827.23, 100.945, 5.03548, 0),
|
||||
(@PATH, 8, 2267.51, -5839.93, 100.944, 5.03941, 0),
|
||||
(@PATH, 9, 2284.81, -5845.79, 100.935, 5.98189, 10000),
|
||||
(@PATH, 10, 2259.68, -5866.16, 101.605, 3.82989, 0),
|
||||
(@PATH, 11, 2241.44, -5886.94, 100.764, 4.04195, 0),
|
||||
(@PATH, 12, 2228.81, -5899.27, 100.89, 3.64925, 0),
|
||||
(@PATH, 13, 2201.1, -5902.2, 100.88, 3.12696, 0),
|
||||
(@PATH, 14, 2179.59, -5890.74, 101.109, 2.15307, 0),
|
||||
(@PATH, 15, 2181.51, -5888.24, 100.93, 0.693798, 10000),
|
||||
(@PATH, 16, 2165.13, -5866.72, 101.331, 2.28265, 0),
|
||||
(@PATH, 17, 2143.17, -5825.25, 101.125, 1.94886, 0),
|
||||
(@PATH, 18, 2130.2, -5789.78, 98.9462, 1.48547, 10000),
|
||||
(@PATH, 19, 2115.31, -5769.12, 98.1968, 1.93551, 0),
|
||||
(@PATH, 20, 2107.57, -5742.3, 99.8496, 1.70931, 0);
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=28890;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(28890, 0, 0, 'Rise, minion. Rise and fly for the Scourge!', 12, 0, 100, 5, 0, 0, 29045, 'Gothik the Harvester'),
|
||||
(28890, 0, 1, 'You will fly again, beast...', 12, 0, 100, 5, 0, 0, 29043, 'Gothik the Harvester'),
|
||||
(28890, 1, 0, 'Surprise, surprise! Another ghoul!', 12, 0, 100, 5, 0, 0, 29038, 'Gothik the Harvester'),
|
||||
(28890, 1, 1, 'Is Gothik the Harvester going to have to choke a geist?', 12, 0, 100, 5, 0, 0, 29037, 'Gothik the Harvester'),
|
||||
(28890, 2, 0, 'Death is the only escape!', 12, 0, 100, 5, 0, 0, 29039, 'Gothik the Harvester');
|
||||
|
||||
-- Gothik the Harvester SAI
|
||||
SET @ENTRY := 28890;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,34,0,100,0,2,3,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Reached Point 3 - Run Script"),
|
||||
(@ENTRY,0,1,0,34,0,100,0,2,8,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Reached Point 8 - Run Script"),
|
||||
(@ENTRY,0,2,0,34,0,100,0,2,14,0,0,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Reached Point 14 - Run Script"),
|
||||
(@ENTRY,0,3,0,34,0,100,0,2,17,0,0,80,@ENTRY*100+03,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Reached Point 17 - Run Script"),
|
||||
(@ENTRY,0,4,0,25,0,100,1,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Reset - Set Active On (No Repeat)");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2889000;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,0,6000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,11,52685,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Cast 'Scourge Gryphon'"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,41,1,0,0,0,0,0,19,28893,10,0,0,0,0,0,"Gothik the Harvester - On Script - Despawn Instant"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,45,1,1,0,0,0,0,19,28906,20,0,0,0,0,0,"On Script - Set Data 1 1");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2889001;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,0,6000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,11,52685,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Cast 'Scourge Gryphon'"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,41,1,0,0,0,0,0,19,28893,10,0,0,0,0,0,"Gothik the Harvester - On Script - Despawn Instant"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,45,2,2,0,0,0,0,19,28906,20,0,0,0,0,0,"On Script - Set Data 2 2");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2889002;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,11,52683,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Cast 'Scarlet Ghoul'"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,41,1,0,0,0,0,0,19,28896,10,0,0,0,0,0,"Gothik the Harvester - On Script - Despawn Instant"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,45,1,1,0,0,0,0,19,28897,20,0,0,0,0,0,"Gothik the Harvester - On Script - Set Data 1 1");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2889003;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,11,52683,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Cast 'Scarlet Ghoul'"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,41,0,0,0,0,0,0,19,28898,10,0,0,0,0,0,"Gothik the Harvester - On Script - Despawn Instant"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,11,52672,0,0,0,0,0,10,130312,28905,0,0,0,0,0,"Gothik the Harvester - On Script - Cast 'Ghoulplosion'"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,1,2,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Gothik the Harvester - On Script - Say Line 2"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,3000,3000,0,0,45,1,1,0,0,0,0,19,28897,20,0,0,0,0,0,"Gothik the Harvester - On Script - Set Data 1 1");
|
||||
|
||||
|
||||
-- Scourge Gryphon
|
||||
UPDATE `creature_template` SET `MovementType` = 0, `InhabitType` = 4, `Speed_Walk` = 2.4, `Speed_Run` = 2.57143 WHERE `entry` = 28906;
|
||||
|
||||
-- Scarlet Gryphon SAI
|
||||
SET @ENTRY := 28893;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,8,0,100,0,52685,0,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Gryphon - On Spellhit 'Scourge Gryphon' - Despawn Instant");
|
||||
|
||||
-- Scourge Gryphon SAI
|
||||
SET @ENTRY := 28906;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,1,38,0,100,0,1,1,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Gryphon - On Data Set 1 1 - Set Active On"),
|
||||
(@ENTRY,0,1,0,61,0,100,0,1,1,0,0,69,1,0,0,0,0,0,8,0,0,0,1781.18,-5818.34,114.383,0,"Scourge Gryphon - On Data Set 1 1 - Move To Position"),
|
||||
(@ENTRY,0,2,0,34,0,100,0,8,1,0,0,49,0,0,0,0,0,0,19,28610,100,0,0,0,0,0,"Scourge Gryphon - On Reached Point 1 - Start Attacking"),
|
||||
(@ENTRY,0,3,4,38,0,100,0,2,2,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Gryphon - On Data Set 2 2 - Set Active On"),
|
||||
(@ENTRY,0,4,0,61,0,100,0,2,2,0,0,69,2,0,0,0,0,0,8,0,0,0,1818.18,-5930.02,113.669,0,"Scourge Gryphon - On Data Set 2 2 - Move To Position"),
|
||||
(@ENTRY,0,5,0,34,0,100,0,8,2,0,0,49,0,0,0,0,0,0,19,28610,100,0,0,0,0,0,"Scourge Gryphon - On Reached Point 2 - Start Attacking"),
|
||||
(@ENTRY,0,6,0,63,0,100,0,0,0,0,0,41,300000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Gryphon - On Just Created - Despawn In 300000 ms");
|
||||
|
||||
-- Scarlet Infantryman SAI
|
||||
SET @ENTRY := 28896;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,8,0,100,0,52683,0,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Infantryman - On Spellhit 'Scarlet Ghoul' - Despawn Instant");
|
||||
|
||||
-- Scarlet Captain SAI
|
||||
SET @ENTRY := 28898;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,8,0,100,0,52683,0,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Captain - On Spellhit 'Scarlet Ghoul' - Despawn Instant");
|
||||
|
||||
-- Scarlet Ghoul SAI
|
||||
SET @ENTRY := 28897;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,1,38,0,100,0,1,1,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Ghoul - On Data Set 1 1 - Set Active On"),
|
||||
(@ENTRY,0,1,0,61,0,100,0,1,1,0,0,53,1,28897,0,0,0,2,8,0,0,0,1783.51,-5818.18,113.877,3.19587,"Scarlet Ghoul - On Data Set 1 1 - Start Waypoint"),
|
||||
(@ENTRY,0,2,3,63,0,100,0,0,0,0,0,41,300000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Ghoul - On Just Created - Despawn In 300000 ms"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,0,0,0,0,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Ghoul - On Just Created - Say Line 0");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=28897;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(28897, 0, 0, 'So hungry...', 12, 0, 100, 0, 0, 0, 28955, 'Scarlet Ghoul'),
|
||||
(28897, 0, 1, 'Must feed...', 12, 0, 100, 0, 0, 0, 28956, 'Scarlet Ghoul'),
|
||||
(28897, 0, 2, 'Smell flesh... close...', 12, 0, 100, 0, 0, 0, 28958, 'Scarlet Ghoul');
|
||||
|
||||
UPDATE `creature_template` SET `MovementType` = 0, `InhabitType` = 3 WHERE `entry` = 28897;
|
||||
DELETE FROM `waypoints` WHERE `entry`=28897;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(28897, 1, 2143.13, -5845.46, 101.335, 'Scarlet Ghoul'),
|
||||
(28897, 2, 2112.23, -5869.67, 102.671, 'Scarlet Ghoul'),
|
||||
(28897, 3, 2075.06, -5888.31, 104.169, 'Scarlet Ghoul'),
|
||||
(28897, 4, 2047.48, -5901.68, 105.289, 'Scarlet Ghoul'),
|
||||
(28897, 5, 2017.32, -5907.23, 104.617, 'Scarlet Ghoul'),
|
||||
(28897, 6, 1962.61, -5905.59, 102.366, 'Scarlet Ghoul'),
|
||||
(28897, 7, 1925.94, -5911, 101.514, 'Scarlet Ghoul'),
|
||||
(28897, 8, 1884.37, -5910.29, 103.345, 'Scarlet Ghoul'),
|
||||
(28897, 9, 1858.9, -5916.94, 104.525, 'Scarlet Ghoul'),
|
||||
(28897, 10, 1840.21, -5923.29, 107.843, 'Scarlet Ghoul'),
|
||||
(28897, 11, 1819.53, -5930.31, 113.439, 'Scarlet Ghoul'),
|
||||
(28897, 12, 1800.91, -5936.87, 115.947, 'Scarlet Ghoul');
|
||||
|
||||
UPDATE `creature` SET `spawntimesecs`=30 WHERE `id` IN (28893, 28896, 28898);
|
||||
UPDATE `creature` SET `spawntimesecs`=30 WHERE `guid`=130312;
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry` IN (52685, 52683);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(13, 1, 52685, 0, 0, 31, 0, 3, 28893, 0, 0, 0, 0, '', 'Scourge Gryphon only targets Scarlet Gryphon'),
|
||||
(13, 1, 52683, 0, 0, 31, 0, 3, 28896, 0, 0, 0, 0, '', 'Scarlet Ghoul only targets Scarlet Infantryman'),
|
||||
(13, 1, 52683, 0, 1, 31, 0, 3, 28898, 0, 0, 0, 0, '', 'Scarlet Ghoul only targets Scarlet Captain'),
|
||||
(13, 1, 52683, 0, 2, 31, 0, 3, 28892, 0, 0, 0, 0, '', 'Scarlet Ghoul only targets Scarlet Peasant'),
|
||||
(13, 1, 52683, 0, 3, 31, 0, 3, 28897, 0, 0, 0, 0, '', 'Scarlet Ghoul only targets Scarlet Ghoul'),
|
||||
(13, 1, 52683, 0, 4, 31, 0, 3, 28886, 0, 0, 0, 0, '', 'Scarlet Ghoul only targets Scarlet Fleet Defender');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
114
data/sql/old/db_world/2.x/2017_02_03_24.sql
Normal file
114
data/sql/old/db_world/2.x/2017_02_03_24.sql
Normal file
@@ -0,0 +1,114 @@
|
||||
-- DB update 2017_02_03_23 -> 2017_02_03_24
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_23';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_23 2017_02_03_24 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432088863217300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432088863217300');
|
||||
-- Lord Thorval - Rework Textevent
|
||||
SET @NPC := 128506;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`) VALUES
|
||||
(@PATH, 1, 2527.73, -5549.21, 377.036, 3.735, 30000),
|
||||
(@PATH, 2, 2524.61, -5545.03, 377.027, 2.21325, 0),
|
||||
(@PATH, 3, 2524.61, -5545.03, 377.027, 4.06051, 15000),
|
||||
(@PATH, 4, 2530.44, -5554.25, 377.056, 5.26204, 0),
|
||||
(@PATH, 5, 2530.44, -5554.25, 377.056, 3.50275, 15000),
|
||||
(@PATH, 6, 2524.61, -5545.03, 377.027, 2.21325, 0),
|
||||
(@PATH, 7, 2524.61, -5545.03, 377.027, 4.06051, 15000),
|
||||
(@PATH, 8, 2530.44, -5554.25, 377.056, 5.26204, 1000),
|
||||
(@PATH, 9, 2524.61, -5545.03, 377.027, 2.21325, 1000),
|
||||
(@PATH, 10, 2530.44, -5554.25, 377.056, 5.26204, 1000),
|
||||
(@PATH, 11, 2524.61, -5545.03, 377.027, 2.21325, 0),
|
||||
(@PATH, 12, 2524.61, -5545.03, 377.027, 4.06051, 15000),
|
||||
(@PATH, 13, 2527.73, -5549.21, 377.036, 2.18866, 0),
|
||||
(@PATH, 14, 2527.73, -5549.21, 377.036, 3.735, 330000);
|
||||
|
||||
-- Lord Thorval SAI
|
||||
SET @ENTRY := 28472;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,34,0,100,0,2,2,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Reached Point 2 - Run Script"),
|
||||
(@ENTRY,0,1,0,34,0,100,0,2,4,0,0,80,@ENTRY*100+01,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Reached Point 4 - Run Script"),
|
||||
(@ENTRY,0,2,0,34,0,100,0,2,6,0,0,80,@ENTRY*100+02,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Reached Point 6 - Run Script"),
|
||||
(@ENTRY,0,3,0,34,0,100,0,2,7,0,0,80,@ENTRY*100+03,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Reached Point 7 - Run Script"),
|
||||
(@ENTRY,0,4,0,34,0,100,0,2,8,0,0,80,@ENTRY*100+04,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Reached Point 8 - Run Script"),
|
||||
(@ENTRY,0,5,0,34,0,100,0,2,9,0,0,80,@ENTRY*100+05,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Reached Point 9 - Run Script"),
|
||||
(@ENTRY,0,6,0,34,0,100,0,2,11,0,0,80,@ENTRY*100+06,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Reached Point 11 - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2847200;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 0");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2847201;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,1,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 1"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,9000,9000,0,0,1,2,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 2");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2847202;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,3,9000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 3"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,9000,9000,0,0,1,4,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 4");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2847203;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,5,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 5");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2847204;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,6,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 6");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2847205;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,7,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 7");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2847206;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,8,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Thorval - On Script - Say Line 8");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=@ENTRY;
|
||||
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextId`) VALUES
|
||||
(@ENTRY, 0, 0, 'As disciples of blood, you strive to master the very lifeforce of your enemies.', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29867),
|
||||
(@ENTRY, 1, 0, 'Be it by blade or incantation, blood feeds our attacks and weakens our foes.', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29868),
|
||||
(@ENTRY, 2, 0, 'True masters learn to make blood serve more than just their strength in battle.', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29869),
|
||||
(@ENTRY, 3, 0, 'Stripping energy from our foes, both fighting and fallen, allows us to persevere where lesser beigns falls exhausted.', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29870),
|
||||
(@ENTRY, 4, 0, 'And every foe that falls, energy sapped and stolen, only further fuels our assault.', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29871),
|
||||
(@ENTRY, 5, 0, 'As masters of blood, we know battle without end...', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29872),
|
||||
(@ENTRY, 6, 0, 'We know hunger never to be quenched...', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29873),
|
||||
(@ENTRY, 7, 0, 'We know power never to be overcome...', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29874),
|
||||
(@ENTRY, 8, 0, 'As masters of blood, we are masters of life and death itself. Agains us, even hope falls drained and lifeless.', 12, 0, 100, 1, 0, 0, 'Lord Thorval', 29875);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
65
data/sql/old/db_world/2.x/2017_02_03_25.sql
Normal file
65
data/sql/old/db_world/2.x/2017_02_03_25.sql
Normal file
@@ -0,0 +1,65 @@
|
||||
-- DB update 2017_02_03_24 -> 2017_02_03_25
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_24';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_24 2017_02_03_25 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432195025289400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432195025289400');
|
||||
-- Fruits of Our Labor - http://wotlk.openwow.com/quest=11904
|
||||
-- Cart Release SAI
|
||||
SET @ENTRY := 188104;
|
||||
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
|
||||
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
|
||||
(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,45,1,1,0,0,0,0,19,25986,20,0,0,0,0,0,"Cart Release - On Gameobject State Changed - Set Data 1 1");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=25986;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(25986, 0, 0, 'The Ore Cart squeaks against the rails as it is released.', 16, 0, 100, 0, 0, 0, 25416, 'Ore Cart');
|
||||
|
||||
UPDATE `creature` SET `spawntimesecs`=1 WHERE `guid`=132773;
|
||||
|
||||
-- Ore Cart SAI
|
||||
SET @ENTRY := 25986;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,1,38,0,100,1,1,1,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ore Cart - On Data Set 1 1 - Set Active On (No Repeat)"),
|
||||
(@ENTRY,0,1,3,61,0,100,0,1,1,0,0,53,0,25986,0,0,0,0,1,0,0,0,0,0,0,0,"Ore Cart - On Data Set 1 1 - Start Waypoint (No Repeat)"),
|
||||
(@ENTRY,0,2,4,40,0,100,0,15,25986,0,0,41,100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ore Cart - On Waypoint 15 Reached - Despawn In 100 ms"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,1,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ore Cart - On Data Set 1 1 - Say Line 0 (No Repeat)"),
|
||||
(@ENTRY,0,4,0,61,0,100,0,15,25986,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ore Cart - On Waypoint 15 Reached - Set Active Off");
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=25986;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(25986,1,2797.49,5277.37,22.0435, 'Ore Cart'),
|
||||
(25986,2,2794.32,5281.92,22.4205, 'Ore Cart'),
|
||||
(25986,3,2790.66,5285.51,21.9443, 'Ore Cart'),
|
||||
(25986,4,2783.22,5291.11,22.7502, 'Ore Cart'),
|
||||
(25986,5,2776.37,5297,24.6788, 'Ore Cart'),
|
||||
(25986,6,2772.41,5299.31,25.5129, 'Ore Cart'),
|
||||
(25986,7,2767.82,5300.13,26.1103, 'Ore Cart'),
|
||||
(25986,8,2764.16,5299.4,26.2145, 'Ore Cart'),
|
||||
(25986,9,2760.57,5297.91,26.187, 'Ore Cart'),
|
||||
(25986,10,2757.37,5295.31,25.8549, 'Ore Cart'),
|
||||
(25986,11,2755.49,5291.84,25.142, 'Ore Cart'),
|
||||
(25986,12,2752.95,5288.89,24.7977, 'Ore Cart'),
|
||||
(25986,13,2748.91,5286.94,24.7359, 'Ore Cart'),
|
||||
(25986,14,2746.13,5285.9,24.8515, 'Ore Cart'),
|
||||
(25986,15,2733.06,5284.92,27.2962, 'Ore Cart');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
59
data/sql/old/db_world/2.x/2017_02_03_26.sql
Normal file
59
data/sql/old/db_world/2.x/2017_02_03_26.sql
Normal file
@@ -0,0 +1,59 @@
|
||||
-- DB update 2017_02_03_25 -> 2017_02_03_26
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_25';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_25 2017_02_03_26 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432556104942000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432556104942000');
|
||||
-- Mordenai -- http://wotlk.openwow.com/npc=22113
|
||||
-- Mordenai SAI
|
||||
SET @ENTRY := 22113;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,22113,1,0,0,2,1,0,0,0,0,0,0,0,"Mordenai - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mordenai - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,3,40,0,100,0,1,22113,0,0,54,12000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mordenai - On Waypoint 1 Reached - Pause Waypoint"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,1,22113,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.59702,"Mordenai - On Waypoint 1 Reached - Set Orientation 4.59702"),
|
||||
(@ENTRY,0,4,0,40,0,100,0,2,22113,0,0,49,0,0,0,0,0,0,19,21478,80,0,0,0,0,0,"Mordenai - On Waypoint 2 Reached - Start Attacking"),
|
||||
(@ENTRY,0,5,0,40,0,100,0,12,22113,0,0,49,0,0,0,0,0,0,19,21478,80,0,0,0,0,0,"Mordenai - On Waypoint 12 Reached - Start Attacking"),
|
||||
(@ENTRY,0,6,0,0,0,100,0,0,0,2300,3900,11,41440,64,0,0,0,0,2,0,0,0,0,0,0,0,"Mordenai - In Combat - Cast 'Shoot'"),
|
||||
(@ENTRY,0,7,0,0,0,100,0,6000,9000,27000,28000,11,41448,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mordenai - In Combat - Cast 'Multi-Shot'"),
|
||||
(@ENTRY,0,8,0,0,0,100,0,5000,5000,18000,18000,11,38370,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mordenai - In Combat - Cast 'Aimed Shot'");
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=22113;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(22113, 1, -4100.05, 969.276, 24.9571, 'Mordenai'),
|
||||
(22113, 2, -4104.06, 931.187, 18.8469, 'Mordenai'),
|
||||
(22113, 3, -4105.65, 911.224, 16.1353, 'Mordenai'),
|
||||
(22113, 4, -4106.05, 889.833, 14.4649, 'Mordenai'),
|
||||
(22113, 5, -4118.47, 857.928, 8.29486, 'Mordenai'),
|
||||
(22113, 6, -4122.4, 839.518, 10.4151, 'Mordenai'),
|
||||
(22113, 7, -4143.45, 803.2, 9.22043, 'Mordenai'),
|
||||
(22113, 8, -4150.96, 769.769, 6.31908, 'Mordenai'),
|
||||
(22113, 9, -4153.1, 760.191, 3.47747, 'Mordenai'),
|
||||
(22113, 10, -4155.08, 747.368, 1.8985, 'Mordenai'),
|
||||
(22113, 11, -4151.37, 769.929, 6.42453, 'Mordenai'),
|
||||
(22113, 12, -4132.84, 797.355, 8.16607, 'Mordenai'),
|
||||
(22113, 13, -4137.32, 823.672, 9.68296, 'Mordenai'),
|
||||
(22113, 14, -4119.16, 842.164, 9.89524, 'Mordenai'),
|
||||
(22113, 15, -4115.26, 851.276, 7.68533, 'Mordenai'),
|
||||
(22113, 16, -4109.66, 883.088, 13.8876, 'Mordenai'),
|
||||
(22113, 17, -4110.74, 914.769, 17.723, 'Mordenai'),
|
||||
(22113, 18, -4106.89, 948.026, 23.0078, 'Mordenai');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
51
data/sql/old/db_world/2.x/2017_02_03_27.sql
Normal file
51
data/sql/old/db_world/2.x/2017_02_03_27.sql
Normal file
@@ -0,0 +1,51 @@
|
||||
-- DB update 2017_02_03_26 -> 2017_02_03_27
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_26';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_26 2017_02_03_27 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432620657634200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432620657634200');
|
||||
-- Chancellor Bloodleaf -- http://wotlk.openwow.com/npc=22012
|
||||
-- Chancellor Bloodleaf SAI
|
||||
SET @ENTRY := 22012;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,0,15000,15000,130000,130000,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Chancellor Bloodleaf - Out of Combat - Run Script"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,5000,6000,5000,6000,11,34517,0,0,0,0,0,1,0,0,0,0,0,0,0,"Chancellor Bloodleaf - In Combat - Cast 'Arcane Explosion'");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2201200;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,0,8000,0,0,0,0,1,0,0,0,0,0,0,0,"Chancellor Bloodleaf - On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Chancellor Bloodleaf - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,9000,9000,0,0,1,0,6000,0,0,0,0,10,77086,22011,0,0,0,0,0,"Chancellor Bloodleaf - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,6000,6000,0,0,1,1,7000,0,0,0,0,1,0,0,0,0,0,0,0,"Chancellor Bloodleaf - On Script - Say Line 1"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,1000,1000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Chancellor Bloodleaf - On Script - Play Emote 1"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Chancellor Bloodleaf - On Script - Say Line 2");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (22011, 22012);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
-- Corok the Mighty
|
||||
(22011, 0, 0, 'And... if we do not?', 12, 0, 100, 0, 0, 0, 19695, 'Corok the Mighty'),
|
||||
-- Chancellor Bloodleaf
|
||||
(22012, 0, 0, 'Lend us the strength of the giants of Shadowmoon, Corok. The master is a just ruler. He will be sure to take care of those that assisted in subduing the dissidents of this world.', 12, 0, 100, 0, 0, 0, 19693, 'Chancellor Bloodleaf'),
|
||||
(22012, 1, 0, 'Then you become enemies of my lord, Illidan. Enemies of Illidan are destroyed. Are your giants able to withstand an attack from the forces of Eclipse Point?', 12, 0, 100, 0, 0, 0, 19696, 'Chancellor Bloodleaf'),
|
||||
(22012, 2, 0, 'No... I did not think so...', 12, 0, 100, 0, 0, 0, 19697, 'Chancellor Bloodleaf');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
57
data/sql/old/db_world/2.x/2017_02_03_28.sql
Normal file
57
data/sql/old/db_world/2.x/2017_02_03_28.sql
Normal file
@@ -0,0 +1,57 @@
|
||||
-- DB update 2017_02_03_27 -> 2017_02_03_28
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_27';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_27 2017_02_03_28 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432691232670900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432691232670900');
|
||||
-- Painmistress Gabrissa -- http://wotlk.openwow.com/npc=21309
|
||||
-- Painmistress Gabrissa SAI
|
||||
SET @ENTRY := 21309;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,5000,7000,20000,25000,11,38048,0,0,0,0,0,2,0,0,0,0,0,0,0,"Painmistress Gabrissa - In Combat - Cast 'Curse of Pain'"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,6000,7000,17000,20000,11,38169,0,0,0,0,0,2,0,0,0,0,0,0,0,"Painmistress Gabrissa - In Combat - Cast 'Subservience'"),
|
||||
(@ENTRY,0,2,0,25,0,100,0,0,0,0,0,53,0,21309,1,0,0,2,0,0,0,0,0,0,0,0,"Painmistress Gabrissa - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,3,0,40,0,100,0,5,21309,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Painmistress Gabrissa - On Waypoint 5 Reached - Run Script"),
|
||||
(@ENTRY,0,4,5,40,0,100,0,9,21309,0,0,54,20000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Painmistress Gabrissa - On Waypoint 9 Reached - Pause Waypoint"),
|
||||
(@ENTRY,0,5,0,61,0,100,0,9,21309,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.37533,"Painmistress Gabrissa - On Waypoint 9 Reached - Set Orientation 3.37533"),
|
||||
(@ENTRY,0,6,0,4,0,100,0,0,0,0,0,49,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Painmistress Gabrissa - On Aggro - Start Attacking");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2130900;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,6000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Painmistress Gabrissa - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.60702,"Painmistress Gabrissa - On Script - Set Orientation 3,60702"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,11,36578,0,0,0,0,0,10,74619,21310,0,0,0,0,0,"Painmistress Gabrissa - On Script - Cast 'Fool's Fortune'"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,92,0,36578,1,0,0,0,1,0,0,0,0,0,0,0,"Painmistress Gabrissa - On Script - Interrupt Spell 'Fool's Fortune'");
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=21309;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(21309, 1, -3697.1, 2669.77, 107.186, 'Painmistress Gabrissa'),
|
||||
(21309, 2, -3697.68, 2673.34, 108.569, 'Painmistress Gabrissa'),
|
||||
(21309, 3, -3692.22, 2678.74, 108.66, 'Painmistress Gabrissa'),
|
||||
(21309, 4, -3690.04, 2682.79, 108.752, 'Painmistress Gabrissa'),
|
||||
(21309, 5, -3692.89, 2684.18, 108.485, 'Painmistress Gabrissa'),
|
||||
(21309, 6, -3690.92, 2682.03, 108.744, 'Painmistress Gabrissa'),
|
||||
(21309, 7, -3694.07, 2677.51, 108.537, 'Painmistress Gabrissa'),
|
||||
(21309, 8, -3697.53, 2673.77, 108.581, 'Painmistress Gabrissa'),
|
||||
(21309, 9, -3693.46, 2668.44, 107.174, 'Painmistress Gabrissa');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
60
data/sql/old/db_world/2.x/2017_02_03_29.sql
Normal file
60
data/sql/old/db_world/2.x/2017_02_03_29.sql
Normal file
@@ -0,0 +1,60 @@
|
||||
-- DB update 2017_02_03_28 -> 2017_02_03_29
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_28';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_28 2017_02_03_29 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432759914599300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432759914599300');
|
||||
-- Eye of the Citadel -- http://wotlk.openwow.com/npc=21134
|
||||
-- Warlord Morkh SAI
|
||||
SET @ENTRY := 16964;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,9000,9000,17000,17000,11,34080,1,0,0,0,0,1,0,0,0,0,0,0,0,"Warlord Morkh - In Combat - Cast 'Riposte Stance'"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,7000,7000,8000,8000,11,11978,1,0,0,0,0,2,0,0,0,0,0,0,0,"Warlord Morkh - In Combat - Cast 'Kick'"),
|
||||
(@ENTRY,0,2,3,2,0,100,1,0,20,0,0,11,8599,1,0,0,0,0,1,0,0,0,0,0,0,0,"Warlord Morkh - Between 0-20% Health - Cast 'Enrage' (No Repeat)"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,0,20,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warlord Morkh - Between 0-20% Health - Say Line 0 (No Repeat)"),
|
||||
(@ENTRY,0,4,5,6,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Warlord Morkh - On Just Died - Store Targetlist"),
|
||||
(@ENTRY,0,5,6,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,86039,21134,0,0,0,0,0,"Warlord Morkh - On Just Died - Send Target 1"),
|
||||
(@ENTRY,0,6,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,86039,21134,0,0,0,0,0,"Warlord Morkh - On Just Died - Set Data 1 1");
|
||||
|
||||
-- Eye of the Citadel SAI
|
||||
SET @ENTRY := 21134;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,38,0,100,0,1,1,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Eye of the Citadel - On Data Set 1 1 - Run Script"),
|
||||
(@ENTRY,0,1,0,25,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eye of the Citadel - On Reset - Set Visibility Off");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 2113400;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,3000,3000,0,0,1,0,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Eye of the Citadel - On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eye of the Citadel - On Script - Set Visibility On"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,1,1,4000,0,0,0,0,12,1,0,0,0,0,0,0,"Eye of the Citadel - On Script - Say Line 1"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,1,2,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Eye of the Citadel - On Script - Say Line 2"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,3000,3000,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eye of the Citadel - On Script - Set Visibility Off");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=21134;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`, `TextRange`) VALUES
|
||||
(21134, 0, 0, 'A deep, bone chilling voice echoes from the %s...', 16, 0, 100, 0, 0, 0, 18774, 'Eye of the Citadel', 0),
|
||||
(21134, 1, 0, 'How dare you trifle with my playthings, $n!', 12, 0, 100, 0, 0, 0, 18775, 'Eye of the Citadel', 0),
|
||||
(21134, 2, 0, 'The orcs in my citadel will drink your blood and dovour you!', 12, 0, 100, 0, 0, 0, 18776, 'Eye of the Citadel', 0);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
55
data/sql/old/db_world/2.x/2017_02_03_30.sql
Normal file
55
data/sql/old/db_world/2.x/2017_02_03_30.sql
Normal file
@@ -0,0 +1,55 @@
|
||||
-- DB update 2017_02_03_29 -> 2017_02_03_30
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_29';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_29 2017_02_03_30 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432843445377000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432843445377000');
|
||||
-- Levixus SAI
|
||||
SET @ENTRY := 19847;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,24313,0,0,0,0,0,1,0,0,0,0,0,0,0,"Levixus - On Respawn - Cast 'Shade' (No Repeat)"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,3000,7000,13000,17000,11,11443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Levixus - In Combat - Cast 'Cripple'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,9000,14000,13000,17000,11,7645,1,0,0,0,0,6,0,0,0,0,0,0,0,"Levixus - In Combat - Cast 'Dominate Mind'"),
|
||||
(@ENTRY,0,3,0,0,0,100,0,10000,13000,18000,22000,11,38939,1,0,0,0,0,2,0,0,0,0,0,0,0,"Levixus - In Combat - Cast 'Inferno'"),
|
||||
(@ENTRY,0,4,0,1,0,100,0,0,0,20000,20000,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Levixus - Out of Combat - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1984700;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,0,1000,0,0,0,0,1,0,0,0,0,0,0,0,"Levixus - On Script - Say Line 0"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,1,1,8000,0,0,0,0,1,0,0,0,0,0,0,0,"Levixus - On Script - Say Line 1"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,8000,8000,0,0,1,0,1000,0,0,0,0,1,0,0,0,0,0,0,0,"Levixus - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,1000,1000,0,0,1,1,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Levixus - On Script - Say Line 1");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=19847;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(19847, 0, 0, '%s reads from the book of the dead.', 16, 0, 100, 0, 0, 0, 17446, 'Levixus'),
|
||||
--
|
||||
(19847, 1, 0, 'Shane Dabiri, Lee, Alex T., Rob F., J. A. B., A. Mayberry!', 12, 8, 100, 15, 0, 0, 17454, 'Levixus'),
|
||||
(19847, 1, 1, 'Jeffrey Kaplan! Tom Chilton! Rob Pardo!', 12, 8, 100, 15, 0, 0, 17447, 'Levixus'),
|
||||
(19847, 1, 2, 'Justin Thavirat! Roman Kenney! Our entire awesome art and animation team!', 12, 8, 100, 15, 0, 0, 17448, 'Levixus'),
|
||||
(19847, 1, 3, 'Kevin Jordan and Jonathan LeCraft!', 12, 8, 100, 15, 0, 0, 17453, 'Levixus'),
|
||||
(19847, 1, 4, 'CHRIS METZEN!', 12, 8, 100, 15, 0, 0, 17449, 'Levixus'),
|
||||
(19847, 1, 5, 'Pat Nagle! World design team! Cory Stockton, Paul C., Jim Chadwick, Staats, Ed Hanes, Morris, Gotcher, Jesse!, Sarah B., Victor C., Dave A.! All of our amazing exterior artists!', 12, 8, 100, 15, 0, 0, 17450, 'Levixus'),
|
||||
(19847, 1, 6, 'Scott Mercer! Geoff, Wyatt, Joe, Travis, Kris, Steven! Brazie!', 12, 8, 100, 15, 0, 0, 17451, 'Levixus'),
|
||||
(19847, 1, 7, 'Luis, Brianna and Eric! Blizzard QA team! Of course our fans!', 12, 8, 100, 15, 0, 0, 17452, 'Levixus');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
98
data/sql/old/db_world/2.x/2017_02_03_31.sql
Normal file
98
data/sql/old/db_world/2.x/2017_02_03_31.sql
Normal file
@@ -0,0 +1,98 @@
|
||||
-- DB update 2017_02_03_30 -> 2017_02_03_31
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_30';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_30 2017_02_03_31 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485432952303603300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485432952303603300');
|
||||
-- Experimental Pilot -- http://wotlk.openwow.com/npc=19776
|
||||
|
||||
-- Experimental Pilot SAI
|
||||
SET @ENTRY := 19776;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,19776,1,0,0,0,1,0,0,0,0,0,0,0,"Experimental Pilot - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Experimental Pilot - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,0,40,0,100,0,8,19776,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Experimental Pilot - On Waypoint 8 Reached - Run Script"),
|
||||
(@ENTRY,0,3,4,40,0,100,0,15,19776,0,0,54,300000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Experimental Pilot - On Waypoint 15 Reached - Pause Waypoint"),
|
||||
(@ENTRY,0,4,0,61,0,100,0,15,19776,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.0689,"Experimental Pilot - On Waypoint 15 Reached - Set Orientation 5,0689");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1977600;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,140000,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.111339,"On Script - Set Orientation 2.111339"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,45,1,1,0,0,0,0,10,70614,19737,0,0,0,0,0,"On Script - Set Data 1 1"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,1000,1000,0,0,1,0,15000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 0"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,15000,15000,0,0,1,0,20000,0,0,0,0,10,70614,19737,0,0,0,0,0,"On Script - Say Line 0"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,20000,20000,0,0,1,1,20000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 1"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,0,0,0,0,5,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 6"),
|
||||
(@ENTRY,9,7,0,0,0,100,0,20000,20000,0,0,1,1,15000,0,0,0,0,10,70614,19737,0,0,0,0,0,"On Script - Say Line 1"),
|
||||
(@ENTRY,9,8,0,0,0,100,0,15000,15000,0,0,5,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 6"),
|
||||
(@ENTRY,9,9,0,0,0,100,0,0,0,0,0,1,2,15000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 2"),
|
||||
(@ENTRY,9,10,0,0,0,100,0,15000,15000,0,0,1,2,10000,0,0,0,0,10,70614,19737,0,0,0,0,0,"On Script - Say Line 2"),
|
||||
(@ENTRY,9,11,0,0,0,100,0,10000,10000,0,0,1,3,15000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 3"),
|
||||
(@ENTRY,9,12,0,0,0,100,0,0,0,0,0,5,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 6"),
|
||||
(@ENTRY,9,13,0,0,0,100,0,15000,15000,0,0,1,3,10000,0,0,0,0,10,70614,19737,0,0,0,0,0,"On Script - Say Line 3"),
|
||||
(@ENTRY,9,14,0,0,0,100,0,10000,10000,0,0,1,4,15000,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 4"),
|
||||
(@ENTRY,9,15,0,0,0,100,0,15000,15000,0,0,1,4,0,0,0,0,0,10,70614,19737,0,0,0,0,0,"On Script - Say Line 4"),
|
||||
(@ENTRY,9,16,0,0,0,100,0,0,0,0,0,45,2,2,0,0,0,0,10,70614,19737,0,0,0,0,0,"On Script - Set Data 2 2");
|
||||
|
||||
-- Buddy AI
|
||||
-- Engineering Crewmember SAI
|
||||
SET @GUID := -70614;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=19737;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
|
||||
(@GUID,0,0,0,38,0,100,0,1,1,0,0,66,0,0,0,0,0,0,10,70731,19776,0,0,0,0,0,"Engineering Crewmember - On Data Set 1 1 - Set Orientation Closest Creature 'Experimental Pilot'"),
|
||||
(@GUID,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,2.199120,"Engineering Crewmember - On Data Set 2 2 - Set Orientation 2,199120");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (19737, 19776);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(19776, 0, 0, 'All my bags are packed, I''m ready to go.', 12, 0, 100, 0, 0, 0, 17413, 'Experimental Pilot'),
|
||||
(19776, 1, 0, 'You need to do what? All this science, I don''t understand... Look, this is just my job, five days a week.', 12, 0, 100, 0, 0, 0, 17416, 'Experimental Pilot'),
|
||||
(19776, 2, 0, 'I can''t. I''m not the man they think I am at home. Besides, I didn''t bring them out here.', 12, 0, 100, 0, 0, 0, 17419, 'Experimental Pilot'),
|
||||
(19776, 3, 0, 'This isn''t the kind of place to raise your kids. It''s cold, and there''d be no one to raise them.', 12, 0, 100, 0, 0, 0, 17421, 'Experimental Pilot'),
|
||||
(19776, 4, 0, 'Oh no, no, no... I''m a rocket man.', 12, 0, 100, 0, 0, 0, 17423, 'Experimental Pilot'),
|
||||
--
|
||||
(19737, 0, 0, 'The ship''s not ready yet. We still need to calibrate the fuse length to make sure that it doesn''t burn out and leave you up there alone.', 12, 0, 100, 0, 0, 0, 17414, 'Engineering Crewmember'),
|
||||
(19737, 1, 0, 'Essentially, it''s going to be a long, long time till we are ready to launch. Maybe you should just head back home to your family.', 12, 0, 100, 0, 0, 0, 17417, 'Engineering Crewmember'),
|
||||
(19737, 2, 0, 'Why not? A family can give you strength.', 12, 0, 100, 0, 0, 0, 17420, 'Engineering Crewmember'),
|
||||
(19737, 3, 0, 'Couldn''t you raise them?', 12, 0, 100, 0, 0, 0, 17422, 'Engineering Crewmember'),
|
||||
(19737, 4, 0, 'Well, it''s like I said; it''s going to be a while before we get this ship ready for flight. We''ll keep you informed.', 12, 0, 100, 0, 0, 0, 17424, 'Engineering Crewmember');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=19776;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(19776, 1, 2976.31, 3709.67, 142.398, 'Experimental Pilot'),
|
||||
(19776, 2, 2987.82, 3686.2, 142.681, 'Experimental Pilot'),
|
||||
(19776, 3, 2987.82, 3652.62, 143.244, 'Experimental Pilot'),
|
||||
(19776, 4, 2999.17, 3645.03, 143.849, 'Experimental Pilot'),
|
||||
(19776, 5, 3006.7, 3648.63, 143.771, 'Experimental Pilot'),
|
||||
(19776, 6, 3042.1, 3645.08, 142.808, 'Experimental Pilot'),
|
||||
(19776, 7, 3047.12, 3648.91, 142.832, 'Experimental Pilot'),
|
||||
(19776, 8, 3043.87, 3652.34, 142.88, 'Experimental Pilot'),
|
||||
(19776, 9, 3026.43, 3641.43, 143.507, 'Experimental Pilot'),
|
||||
(19776, 10, 2989.67, 3650.38, 143.486, 'Experimental Pilot'),
|
||||
(19776, 11, 2988.99, 3685.32, 142.73, 'Experimental Pilot'),
|
||||
(19776, 12, 2975.27, 3712.82, 142.309, 'Experimental Pilot'),
|
||||
(19776, 13, 2975.12, 3725.84, 142.688, 'Experimental Pilot'),
|
||||
(19776, 14, 2965.31, 3733.57, 143.503, 'Experimental Pilot'),
|
||||
(19776, 15, 2966.14, 3733, 143.472, 'Experimental Pilot');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
95
data/sql/old/db_world/2.x/2017_02_03_32.sql
Normal file
95
data/sql/old/db_world/2.x/2017_02_03_32.sql
Normal file
@@ -0,0 +1,95 @@
|
||||
-- DB update 2017_02_03_31 -> 2017_02_03_32
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_31';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_31 2017_02_03_32 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433015636225700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433015636225700');
|
||||
-- Consortium Nether Runner -- http://wotlk.openwow.com/npc=19667
|
||||
UPDATE `creature` SET `position_x`=-2057.45, `position_y`=8528.71, `position_z`=24.6556, `orientation`=2.05449, `spawntimesecs`=120 WHERE `guid`=70166;
|
||||
|
||||
-- Consortium Nether Runner SAI
|
||||
SET @ENTRY := 19667;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,19667,0,0,0,1,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,0,40,0,100,0,1,19667,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Waypoint 1 Reached - Run Script"),
|
||||
(@ENTRY,0,3,0,40,0,100,0,5,19667,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Waypoint 5 Reached - Run Script"),
|
||||
(@ENTRY,0,4,0,40,0,100,0,8,19667,0,0,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Waypoint 8 Reached - Run Script");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1966700;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,3000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.05449,"Consortium Nether Runner - On Script - Set Orientation 2.05449"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Script - Cast 'Ethereal Teleport'");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1966701;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,11000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.57111,"Consortium Nether Runner - On Script - Set Orientation 3.57111"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,1,0,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Script - Say Line 0"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,45,1,1,0,0,0,0,10,65554,18265,0,0,0,0,0,"Consortium Nether Runner - On Script - Set Data 1 1"),
|
||||
(@ENTRY,9,4,0,0,0,100,0,3000,3000,0,0,1,0,5000,0,0,0,0,10,65554,18265,0,0,0,0,0,"Consortium Nether Runner - On Script - Say Line 0"),
|
||||
(@ENTRY,9,5,0,0,0,100,0,5000,5000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Consortium Nether Runner - On Script - Say Line 1"),
|
||||
(@ENTRY,9,6,0,0,0,100,0,0,0,0,0,45,2,2,0,0,0,0,10,65554,18265,0,0,0,0,0,"Consortium Nether Runner - On Script - Set Data 1 1");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1966702;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,3000,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.573574,"On Script - Set Orientation 0,573574"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Cast 'Ethereal Teleport'"),
|
||||
(@ENTRY,9,3,0,0,0,100,0,2000,2000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Despawn Instant");
|
||||
|
||||
-- Buddy AI
|
||||
-- Gezhe SAI
|
||||
SET @ENTRY := 18265;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,38,0,100,0,1,1,0,0,66,0,0,0,0,0,0,10,70166,19667,0,0,0,0,0,"Gezhe - On Data Set 1 1 - Set Orientation Closest Creature 'Consortium Nether Runner'"),
|
||||
(@ENTRY,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,2.513270,"Gezhe - On Data Set 2 2 - Set Orientation 2,513270");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (19667, 18265);
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
-- Consortium Nether Runner
|
||||
(19667, 0, 0, 'Hail, Gezhe! Seventeen more orders have been placed in the Hara''samid Sector. The markets of heavy veldarite have all but collapsed, as you predicted.', 12, 0, 100, 0, 0, 0, 17184, 'Consortium Nether Runner'),
|
||||
(19667, 0, 1, 'Heraazi exports are on the rise, sir. We''ve already bribed the appropriate taxation officers and contraband will begin to arrive within days.', 12, 0, 100, 0, 0, 0, 17186, 'Consortium Nether Runner'),
|
||||
(19667, 1, 0, 'By your leave, sir.', 12, 0, 100, 0, 0, 0, 17185, 'Consortium Nether Runner'),
|
||||
-- Gezhe
|
||||
(18265, 0, 0, 'Nothing surprising there. Come back with some real news, will you?', 12, 0, 100, 0, 0, 0, 17191, 'Gezhe'),
|
||||
(18265, 0, 1, 'As expected. Very well, dismissed.', 12, 0, 100, 0, 0, 0, 17190, 'Gezhe');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=19667;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(19667, 1, -2057.45, 8528.71, 24.6556, 'Consortium Nether Runner'),
|
||||
(19667, 2, -2058.23, 8547.79, 24.0203, 'Consortium Nether Runner'),
|
||||
(19667, 3, -2064.09, 8554.57, 23.9054, 'Consortium Nether Runner'),
|
||||
(19667, 4, -2075.08, 8562.74, 22.9801, 'Consortium Nether Runner'),
|
||||
(19667, 5, -2083.14, 8565.28, 22.0791, 'Consortium Nether Runner'),
|
||||
(19667, 6, -2062.94, 8574.57, 23.1942, 'Consortium Nether Runner'),
|
||||
(19667, 7, -2056.25, 8597.59, 21.3663, 'Consortium Nether Runner'),
|
||||
(19667, 8, -2049.12, 8603.37, 22.7377, 'Consortium Nether Runner');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
71
data/sql/old/db_world/2.x/2017_02_03_33.sql
Normal file
71
data/sql/old/db_world/2.x/2017_02_03_33.sql
Normal file
@@ -0,0 +1,71 @@
|
||||
-- DB update 2017_02_03_32 -> 2017_02_03_33
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_32';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_32 2017_02_03_33 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433070640371800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433070640371800');
|
||||
-- Nurse Judith -- http://wotlk.openwow.com/npc=19455
|
||||
UPDATE `creature_template_addon` SET `bytes1`=0 WHERE `entry`=19455;
|
||||
|
||||
-- Nurse Judith SAI
|
||||
SET @ENTRY := 19455;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,19455,1,0,0,1,0,0,0,0,0,0,0,0,"Nurse Judith - On Reset - Start Waypoint"),
|
||||
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Gossip Hello - Pause Waypoint"),
|
||||
(@ENTRY,0,2,3,40,0,100,0,2,19455,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Waypoint 2 Reached - Run Script"),
|
||||
(@ENTRY,0,3,0,61,0,100,0,2,19455,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.76273,"Nurse Judith - On Waypoint 2 Reached - Set Orientation 2,76273"),
|
||||
(@ENTRY,0,4,5,40,0,100,0,5,19455,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Waypoint 5 Reached - Run Script"),
|
||||
(@ENTRY,0,5,0,61,0,100,0,5,19455,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.1529,"Nurse Judith - On Waypoint 5 Reached - Set Orientation 4,1529"),
|
||||
(@ENTRY,0,5,6,40,0,100,0,7,19455,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Waypoint 7 Reached - Run Script"),
|
||||
(@ENTRY,0,6,0,61,0,100,0,7,19455,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.25502,"Nurse Judith - On Waypoint 7 Reached - Set Orientation 4.25502"),
|
||||
(@ENTRY,0,7,8,40,0,100,0,9,19455,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Waypoint 9 Reached - Run Script"),
|
||||
(@ENTRY,0,8,0,61,0,100,0,9,19455,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.969,"Nurse Judith - On Waypoint 9 Reached - Set Orientation 2.969"),
|
||||
(@ENTRY,0,9,10,40,0,100,0,12,19455,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Waypoint 12 Reached - Run Script"),
|
||||
(@ENTRY,0,10,0,61,0,100,0,12,19455,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.17224,"Nurse Judith - On Waypoint 12 Reached - Set Orientation 4.17224"),
|
||||
(@ENTRY,0,11,12,40,0,100,0,15,19455,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Waypoint 15 Reached - Run Script"),
|
||||
(@ENTRY,0,12,0,61,0,100,0,15,19455,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.1529,"Nurse Judith - On Waypoint 15 Reached - Set Orientation 2.41624");
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 1945500;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,12000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Script - Pause Waypoint"),
|
||||
(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Script - Set Flag Standstate Kneel"),
|
||||
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nurse Judith - On Script - Remove Flag Standstate Kneel");
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=19455;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(19455, 1, -365.789, 981.419, 54.195, 'Nurse Judith'),
|
||||
(19455, 2, -368.858, 982.56, 54.1727, 'Nurse Judith'),
|
||||
(19455, 3, -363.252, 980.47, 54.2127, 'Nurse Judith'),
|
||||
(19455, 4, -357.494, 978.322, 54.2425, 'Nurse Judith'),
|
||||
(19455, 5, -358.948, 975.922, 54.243, 'Nurse Judith'),
|
||||
(19455, 6, -357.512, 973.939, 54.2493, 'Nurse Judith'),
|
||||
(19455, 7, -360.045, 968.102, 54.2344, 'Nurse Judith'),
|
||||
(19455, 8, -358.571, 965.26, 54.2447, 'Nurse Judith'),
|
||||
(19455, 9, -362.99, 962.005, 54.2135, 'Nurse Judith'),
|
||||
(19455, 10, -352.415, 973.809, 54.2617, 'Nurse Judith'),
|
||||
(19455, 11, -349.296, 971.591, 54.2724, 'Nurse Judith'),
|
||||
(19455, 12, -349.964, 970.224, 54.2733, 'Nurse Judith'),
|
||||
(19455, 13, -350.597, 974.797, 54.2635, 'Nurse Judith'),
|
||||
(19455, 14, -362.665, 981.665, 54.2171, 'Nurse Judith'),
|
||||
(19455, 15, -364.29, 984.89, 54.2066, 'Nurse Judith');--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
178
data/sql/old/db_world/2.x/2017_02_03_34.sql
Normal file
178
data/sql/old/db_world/2.x/2017_02_03_34.sql
Normal file
@@ -0,0 +1,178 @@
|
||||
-- DB update 2017_02_03_33 -> 2017_02_03_34
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_33';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_33 2017_02_03_34 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433257771075000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433257771075000');
|
||||
-- Eye of Naxxramas -- http://www.wowhead.com/npc=10411
|
||||
SET @GUID := 73922; -- 3 creatures needed CONSECUTIVE
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN (@GUID + 0) AND (@GUID + 2);
|
||||
DELETE FROM `creature` WHERE `id`=10411;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`) VALUES
|
||||
((@GUID + 0), 10411, 329, 4629, 0, 3479.085, -3306.330, 130.6843, 0.104871, 900, 0, 0, 0, 0, 2),
|
||||
((@GUID + 1), 10411, 329, 4629, 0, 3582.750, -3465.926, 135.4136, 5.451532, 900, 0, 0, 0, 0, 2),
|
||||
((@GUID + 2), 10411, 329, 4629, 0, 4068.063, -3534.750, 122.7475, 2.599249, 900, 0, 0, 0, 0, 2);
|
||||
|
||||
-- --------Pathing------------------------
|
||||
SET @NPC := (@GUID + 0);
|
||||
SET @PATH := @NPC * 10;
|
||||
SET @POINT := 0;
|
||||
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`) VALUES
|
||||
(@PATH, @POINT := @POINT + 1, 3496.611, -3304.485, 130.2477),
|
||||
(@PATH, @POINT := @POINT + 1, 3501.017, -3320.939, 130.1988),
|
||||
(@PATH, @POINT := @POINT + 1, 3516.886, -3321.310, 131.3028),
|
||||
(@PATH, @POINT := @POINT + 1, 3533.510, -3325.740, 129.8950),
|
||||
(@PATH, @POINT := @POINT + 1, 3563.853, -3333.576, 129.3590),
|
||||
(@PATH, @POINT := @POINT + 1, 3587.316, -3335.419, 127.2169),
|
||||
(@PATH, @POINT := @POINT + 1, 3555.287, -3343.082, 129.2272),
|
||||
(@PATH, @POINT := @POINT + 1, 3541.950, -3368.319, 132.0300),
|
||||
(@PATH, @POINT := @POINT + 1, 3539.138, -3390.615, 132.3763),
|
||||
(@PATH, @POINT := @POINT + 1, 3546.026, -3421.109, 135.2656),
|
||||
(@PATH, @POINT := @POINT + 1, 3528.616, -3392.653, 132.3763),
|
||||
(@PATH, @POINT := @POINT + 1, 3519.140, -3387.130, 132.4560),
|
||||
(@PATH, @POINT := @POINT + 1, 3493.885, -3381.469, 135.2286),
|
||||
(@PATH, @POINT := @POINT + 1, 3456.239, -3378.636, 139.5714),
|
||||
(@PATH, @POINT := @POINT + 1, 3419.620, -3378.933, 141.8746),
|
||||
(@PATH, @POINT := @POINT + 1, 3456.239, -3378.636, 139.5714),
|
||||
(@PATH, @POINT := @POINT + 1, 3493.732, -3381.419, 135.2316),
|
||||
(@PATH, @POINT := @POINT + 1, 3519.140, -3387.130, 132.4560),
|
||||
(@PATH, @POINT := @POINT + 1, 3528.616, -3392.653, 132.3763),
|
||||
(@PATH, @POINT := @POINT + 1, 3546.026, -3421.109, 135.2656),
|
||||
(@PATH, @POINT := @POINT + 1, 3539.138, -3390.615, 132.3763),
|
||||
(@PATH, @POINT := @POINT + 1, 3541.950, -3368.319, 132.0300),
|
||||
(@PATH, @POINT := @POINT + 1, 3555.287, -3343.082, 129.2272),
|
||||
(@PATH, @POINT := @POINT + 1, 3587.316, -3335.419, 127.2169),
|
||||
(@PATH, @POINT := @POINT + 1, 3563.853, -3333.576, 129.3590),
|
||||
(@PATH, @POINT := @POINT + 1, 3533.510, -3325.740, 129.8950),
|
||||
(@PATH, @POINT := @POINT + 1, 3516.886, -3321.310, 131.3028),
|
||||
(@PATH, @POINT := @POINT + 1, 3501.017, -3320.939, 130.1988),
|
||||
(@PATH, @POINT := @POINT + 1, 3496.611, -3304.485, 130.2477),
|
||||
(@PATH, @POINT := @POINT + 1, 3480.393, -3307.106, 130.4128);
|
||||
|
||||
SET @NPC := (@GUID + 1);
|
||||
SET @PATH := @NPC * 10;
|
||||
SET @POINT := 0;
|
||||
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`) VALUES
|
||||
(@PATH, @POINT := @POINT + 1, 3602.921, -3488.057, 135.8794),
|
||||
(@PATH, @POINT := @POINT + 1, 3623.550, -3513.888, 136.9184),
|
||||
(@PATH, @POINT := @POINT + 1, 3648.388, -3518.862, 136.6696),
|
||||
(@PATH, @POINT := @POINT + 1, 3665.853, -3494.050, 136.3362),
|
||||
(@PATH, @POINT := @POINT + 1, 3629.388, -3487.229, 137.5149),
|
||||
(@PATH, @POINT := @POINT + 1, 3673.813, -3485.689, 135.8256),
|
||||
(@PATH, @POINT := @POINT + 1, 3713.954, -3482.851, 129.7010),
|
||||
(@PATH, @POINT := @POINT + 1, 3718.166, -3448.076, 129.3145),
|
||||
(@PATH, @POINT := @POINT + 1, 3705.293, -3411.265, 132.1460),
|
||||
(@PATH, @POINT := @POINT + 1, 3685.754, -3379.769, 129.8789),
|
||||
(@PATH, @POINT := @POINT + 1, 3669.716, -3350.548, 125.2413),
|
||||
(@PATH, @POINT := @POINT + 1, 3651.337, -3332.349, 123.5366),
|
||||
(@PATH, @POINT := @POINT + 1, 3673.492, -3309.539, 126.4855),
|
||||
(@PATH, @POINT := @POINT + 1, 3686.000, -3286.630, 128.0600),
|
||||
(@PATH, @POINT := @POINT + 1, 3694.174, -3269.902, 127.8214),
|
||||
(@PATH, @POINT := @POINT + 1, 3705.277, -3253.183, 127.0408),
|
||||
(@PATH, @POINT := @POINT + 1, 3729.962, -3259.325, 127.9591),
|
||||
(@PATH, @POINT := @POINT + 1, 3705.277, -3253.183, 127.0408),
|
||||
(@PATH, @POINT := @POINT + 1, 3694.174, -3269.902, 127.8214),
|
||||
(@PATH, @POINT := @POINT + 1, 3686.000, -3286.630, 128.0600),
|
||||
(@PATH, @POINT := @POINT + 1, 3673.492, -3309.539, 126.4855),
|
||||
(@PATH, @POINT := @POINT + 1, 3651.337, -3332.349, 123.5366),
|
||||
(@PATH, @POINT := @POINT + 1, 3669.716, -3350.548, 125.2413),
|
||||
(@PATH, @POINT := @POINT + 1, 3685.754, -3379.769, 129.8789),
|
||||
(@PATH, @POINT := @POINT + 1, 3705.293, -3411.265, 132.1460),
|
||||
(@PATH, @POINT := @POINT + 1, 3718.171, -3447.861, 129.3067),
|
||||
(@PATH, @POINT := @POINT + 1, 3713.954, -3482.851, 129.7010),
|
||||
(@PATH, @POINT := @POINT + 1, 3673.813, -3485.689, 135.8256),
|
||||
(@PATH, @POINT := @POINT + 1, 3629.388, -3487.229, 137.5149),
|
||||
(@PATH, @POINT := @POINT + 1, 3665.853, -3494.050, 136.3362),
|
||||
(@PATH, @POINT := @POINT + 1, 3648.388, -3518.862, 136.6696),
|
||||
(@PATH, @POINT := @POINT + 1, 3623.550, -3513.888, 136.9184),
|
||||
(@PATH, @POINT := @POINT + 1, 3602.921, -3488.057, 135.8794),
|
||||
(@PATH, @POINT := @POINT + 1, 3578.609, -3461.189, 135.2853);
|
||||
|
||||
SET @NPC := (@GUID + 2);
|
||||
SET @POINT := 0;
|
||||
SET @PATH := @NPC * 10;
|
||||
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`) VALUES
|
||||
(@PATH, @POINT := @POINT + 1, 4044.845, -3520.759, 121.6993),
|
||||
(@PATH, @POINT := @POINT + 1, 4021.720, -3529.522, 122.2696),
|
||||
(@PATH, @POINT := @POINT + 1, 3997.682, -3556.203, 124.7969),
|
||||
(@PATH, @POINT := @POINT + 1, 3955.195, -3556.644, 129.8793),
|
||||
(@PATH, @POINT := @POINT + 1, 3979.817, -3586.936, 127.6629),
|
||||
(@PATH, @POINT := @POINT + 1, 3999.419, -3604.702, 129.5177),
|
||||
(@PATH, @POINT := @POINT + 1, 4008.615, -3629.069, 129.3868),
|
||||
(@PATH, @POINT := @POINT + 1, 3986.416, -3626.187, 130.1212),
|
||||
(@PATH, @POINT := @POINT + 1, 3963.268, -3642.394, 133.2446),
|
||||
(@PATH, @POINT := @POINT + 1, 3945.813, -3645.609, 137.4449),
|
||||
(@PATH, @POINT := @POINT + 1, 3935.039, -3652.638, 139.9641),
|
||||
(@PATH, @POINT := @POINT + 1, 3905.511, -3672.499, 139.0567),
|
||||
(@PATH, @POINT := @POINT + 1, 3880.139, -3682.546, 142.2288),
|
||||
(@PATH, @POINT := @POINT + 1, 3871.972, -3695.018, 142.4928),
|
||||
(@PATH, @POINT := @POINT + 1, 3860.894, -3677.064, 143.4627),
|
||||
(@PATH, @POINT := @POINT + 1, 3843.936, -3691.934, 142.8869),
|
||||
(@PATH, @POINT := @POINT + 1, 3846.652, -3671.873, 144.1723),
|
||||
(@PATH, @POINT := @POINT + 1, 3834.103, -3652.026, 145.6312),
|
||||
(@PATH, @POINT := @POINT + 1, 3822.230, -3633.550, 146.1223),
|
||||
(@PATH, @POINT := @POINT + 1, 3795.741, -3609.456, 145.2505),
|
||||
(@PATH, @POINT := @POINT + 1, 3823.748, -3625.020, 145.5289),
|
||||
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
|
||||
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
|
||||
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
|
||||
(@PATH, @POINT := @POINT + 1, 3887.829, -3545.449, 137.7642),
|
||||
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
|
||||
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
|
||||
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
|
||||
(@PATH, @POINT := @POINT + 1, 3823.748, -3625.020, 145.5289),
|
||||
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
|
||||
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
|
||||
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
|
||||
(@PATH, @POINT := @POINT + 1, 3887.829, -3545.449, 137.7642),
|
||||
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
|
||||
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
|
||||
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
|
||||
(@PATH, @POINT := @POINT + 1, 3823.748, -3625.020, 145.5289),
|
||||
(@PATH, @POINT := @POINT + 1, 3795.741, -3609.456, 145.2505),
|
||||
(@PATH, @POINT := @POINT + 1, 3822.230, -3633.550, 146.1223),
|
||||
(@PATH, @POINT := @POINT + 1, 3834.079, -3651.989, 145.6344),
|
||||
(@PATH, @POINT := @POINT + 1, 3846.652, -3671.873, 144.1723),
|
||||
(@PATH, @POINT := @POINT + 1, 3843.936, -3691.934, 142.8869),
|
||||
(@PATH, @POINT := @POINT + 1, 3860.894, -3677.064, 143.4627),
|
||||
(@PATH, @POINT := @POINT + 1, 3871.972, -3695.018, 142.4928),
|
||||
(@PATH, @POINT := @POINT + 1, 3880.139, -3682.546, 142.2288),
|
||||
(@PATH, @POINT := @POINT + 1, 3905.511, -3672.499, 139.0567),
|
||||
(@PATH, @POINT := @POINT + 1, 3935.039, -3652.638, 139.9641),
|
||||
(@PATH, @POINT := @POINT + 1, 3945.559, -3645.736, 137.5213),
|
||||
(@PATH, @POINT := @POINT + 1, 3963.268, -3642.394, 133.2446),
|
||||
(@PATH, @POINT := @POINT + 1, 3986.416, -3626.187, 130.1212),
|
||||
(@PATH, @POINT := @POINT + 1, 4008.615, -3629.069, 129.3868),
|
||||
(@PATH, @POINT := @POINT + 1, 3999.419, -3604.702, 129.5177),
|
||||
(@PATH, @POINT := @POINT + 1, 3979.817, -3586.936, 127.6629),
|
||||
(@PATH, @POINT := @POINT + 1, 3955.195, -3556.644, 129.8793),
|
||||
(@PATH, @POINT := @POINT + 1, 3997.682, -3556.203, 124.7969),
|
||||
(@PATH, @POINT := @POINT + 1, 4021.720, -3529.522, 122.2696),
|
||||
(@PATH, @POINT := @POINT + 1, 4044.845, -3520.759, 121.6993),
|
||||
(@PATH, @POINT := @POINT + 1, 4067.240, -3534.060, 122.5621);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
87
data/sql/old/db_world/2.x/2017_02_03_35.sql
Normal file
87
data/sql/old/db_world/2.x/2017_02_03_35.sql
Normal file
@@ -0,0 +1,87 @@
|
||||
-- DB update 2017_02_03_34 -> 2017_02_03_35
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_34';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_34 2017_02_03_35 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433317271478300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433317271478300');
|
||||
-- Durkot Wolfbrother -- http://wotlk.openwow.com/npc=26044
|
||||
SET @MAXGUID := 911;
|
||||
SET @SCRIPTID := 12556600;
|
||||
DELETE FROM `waypoint_scripts` WHERE `id` IN (@SCRIPTID+0);
|
||||
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
|
||||
(@SCRIPTID+0, 2, 15, 68442, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+0, 10, 1, 1, 0, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1)),
|
||||
(@SCRIPTID+0, 18, 14, 68442, 1, 0, 0, 0, 0, 0, (@MAXGUID := @MAXGUID + 1));
|
||||
|
||||
SET @NPC := 125566;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`, `action`, `orientation`) VALUES
|
||||
(@PATH, 1, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 2, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 3, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 4, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 5, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 6, 2791.75, 6244.01, 84.6092, 22000, @SCRIPTID, 0.717889),
|
||||
(@PATH, 7, 2786.42, 6245.35, 84.3805, 0, 0, 2.43222),
|
||||
(@PATH, 8, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 9, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 10, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 11, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 12, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 13, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 14, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 15, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 16, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 17, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 18, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 19, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 20, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 21, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 22, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 23, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 24, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 25, 2775.46, 6252.13, 83.9431, 22000, @SCRIPTID, 3.87735),
|
||||
(@PATH, 26, 2780.02, 6251.43, 84.0246, 0, 0, 5.66806),
|
||||
(@PATH, 27, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 28, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 29, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 30, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 31, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 32, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 33, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 34, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 35, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 36, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 37, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 38, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 39, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 40, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 41, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 42, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 43, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 44, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026),
|
||||
(@PATH, 45, 2788.16, 6243.06, 84.4932, 5000, 0, 5.38473),
|
||||
(@PATH, 46, 2773.72, 6258.83, 83.6357, 5000, 0, 2.29026);
|
||||
|
||||
UPDATE `waypoint_data` SET `action_chance`=100 WHERE `action` IN (@SCRIPTID);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
29
data/sql/old/db_world/2.x/2017_02_03_36.sql
Normal file
29
data/sql/old/db_world/2.x/2017_02_03_36.sql
Normal file
@@ -0,0 +1,29 @@
|
||||
-- DB update 2017_02_03_35 -> 2017_02_03_36
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_35';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_35 2017_02_03_36 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433480867835400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433480867835400');
|
||||
DELETE FROM `spell_area` WHERE `quest_start` IN (13861, 13862, 13863, 13864) AND `area`=4522;
|
||||
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES
|
||||
(64576, 4522, 13864, 13864, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13861, 13861, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13862, 13862, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13863, 13863, 0, 0, 2, 1, 74, 11);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
36
data/sql/old/db_world/2.x/2017_02_03_37.sql
Normal file
36
data/sql/old/db_world/2.x/2017_02_03_37.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
-- DB update 2017_02_03_36 -> 2017_02_03_37
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_36';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_36 2017_02_03_37 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433649970507600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433649970507600');
|
||||
-- At The Enemy's Gates - Phasing for Icecrown -- http://www.wowhead.com/quest=13847/at-the-enemys-gates
|
||||
DELETE FROM `spell_area` WHERE `quest_start` IN (13847, 13851, 13852, 13854, 13855, 13856, 13857, 13858, 13859, 13860) AND `area`=4522;
|
||||
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES
|
||||
(64576, 4522, 13847, 13847, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13851, 13851, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13852, 13852, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13854, 13854, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13855, 13855, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13856, 13856, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13857, 13857, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13858, 13858, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13859, 13859, 0, 0, 2, 1, 74, 11),
|
||||
(64576, 4522, 13860, 13860, 0, 0, 2, 1, 74, 11);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
24
data/sql/old/db_world/2.x/2017_02_03_38.sql
Normal file
24
data/sql/old/db_world/2.x/2017_02_03_38.sql
Normal file
@@ -0,0 +1,24 @@
|
||||
-- DB update 2017_02_03_37 -> 2017_02_03_38
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_37';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_37 2017_02_03_38 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433783048119200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433783048119200');
|
||||
DELETE FROM `creature_loot_template` WHERE `item` = 23612 AND `entry` IN (21060,21061);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
157
data/sql/old/db_world/2.x/2017_02_03_39.sql
Normal file
157
data/sql/old/db_world/2.x/2017_02_03_39.sql
Normal file
@@ -0,0 +1,157 @@
|
||||
-- DB update 2017_02_03_38 -> 2017_02_03_39
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_38';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_38 2017_02_03_39 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485433910197391700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485433910197391700');
|
||||
-- ======================================
|
||||
-- All Bosses Are Immune To Crowd Control -- Daze, Horror, Shackle, Banish, Polymorph, Knockout, Freeze, Stun, Snare, Sleep, Silence, Pacify, Root, Fear, Distract, Disarm, Confused, Charm
|
||||
-- ======================================
|
||||
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|76234719 WHERE `entry` IN (647,645,639,626,1763,646,644,643,642);
|
||||
-- Group 1 Pathing
|
||||
UPDATE `creature` SET `position_x` = -169.588608, `position_y` = -402.076477, `position_z` = 57.082920, `orientation` = 0.354403 WHERE `guid` = 79374;
|
||||
|
||||
UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=79374;
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (793740);
|
||||
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 0 WHERE `guid` IN (79374);
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 2 WHERE `guid` IN (79373);
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=79373;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(79373, 79373, 0, 0, 2, 0, 0), -- Defias Evoker linked to Defias Overseer
|
||||
(79373, 79374, 2, 0, 2, 0, 0); -- Defias Evoker linked to Defias Overseer
|
||||
|
||||
-- RhahkZor Pathing
|
||||
SET @NPC := 79168;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`) VALUES
|
||||
(@PATH, 1, -193.304, -440.544, 53.5319, 0),
|
||||
(@PATH, 2, -192.834, -435.956, 53.2713, 15000),
|
||||
(@PATH, 3, -193.565, -441.151, 53.568, 0),
|
||||
(@PATH, 4, -191.926, -453.598, 54.4336, 0),
|
||||
(@PATH, 5, -192.789, -447.285, 54.3726, 40000);
|
||||
|
||||
-- Remove Random Movement of 2 Miners
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 0 WHERE `guid` IN (79172,79180,79182,79184);
|
||||
|
||||
-- Fix an Defias Overseer Pathing (Removed bad waypoint)
|
||||
SET @NPC := 79273;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 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`, `delay`) VALUES
|
||||
(@PATH, 1, -181.386, -491.686, 54.0401, 0),
|
||||
(@PATH, 2, -180.97, -498.254, 53.4632, 0),
|
||||
(@PATH, 3, -183.791, -502.539, 53.3808, 0),
|
||||
(@PATH, 4, -193.579, -506.077, 53.1769, 0),
|
||||
(@PATH, 5, -193.943, -496.426, 53.2004, 0),
|
||||
(@PATH, 6, -192.601, -488.515, 54.0488, 0),
|
||||
(@PATH, 7, -187.413, -492.182, 53.5523, 0);
|
||||
|
||||
-- Add Random NPC Movement to Defias Evoker
|
||||
UPDATE `creature` SET `SpawnDist` = 5, `MovementType` = 1 WHERE `guid` IN (79177);
|
||||
|
||||
-- Group 2 Pathing
|
||||
UPDATE `creature` SET `position_x` = -206.025070, `position_y` = -505.739960, `position_z` = 51.897705, `orientation` = 3.121361 WHERE `guid` = 79245;
|
||||
UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=79245;
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (792450);
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 0 WHERE `guid` IN (79245);
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 2 WHERE `guid` IN (79244);
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=79244;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(79244, 79244, 0, 0, 2, 0, 0), -- Defias Evoker linked to Defias Overseer
|
||||
(79244, 79245, 2, 0, 2, 0, 0); -- Defias Evoker linked to Defias Overseer
|
||||
|
||||
-- Fix Gilnid Movement
|
||||
UPDATE `creature` SET `SpawnDist` = 5, `MovementType` = 1 WHERE `guid` IN (79206);
|
||||
-- Group 3 Pathing
|
||||
UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=79229;
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (792290);
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 0 WHERE `guid` IN (79229);
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 2 WHERE `guid` IN (79230);
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=79230;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(79230, 79230, 0, 0, 2, 0, 0), -- Defias Wizard linked to Defias Taskmaster
|
||||
(79230, 79229, 2, 0, 2, 0, 0); -- Defias Wizard linked to Defias Taskmaster
|
||||
|
||||
-- Fix NPC Z Problem
|
||||
UPDATE `creature` SET `position_z` = 28.4 WHERE `guid` IN (79242);
|
||||
-- Fix NPC Placement
|
||||
UPDATE `creature` SET `position_x` = -209.043808, `position_y` = -590.668701, `position_z` = 20.976866, `orientation` = 2.302266 WHERE `guid` = 79212;
|
||||
UPDATE `creature` SET `position_x` = -196.753937, `position_y` = -582.341492, `position_z` = 20.976866, `orientation` = 1.217631 WHERE `guid` = 79209;
|
||||
|
||||
-- Group Pathing
|
||||
UPDATE `creature` SET `position_x` = -112.329689, `position_y` = -645.826172, `position_z` = 8.976121, `orientation` = 5.168961 WHERE `guid` = 79260;
|
||||
UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=79260;
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (792600);
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 0 WHERE `guid` IN (79260);
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 2 WHERE `guid` IN (79361);
|
||||
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=79361;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(79361, 79361, 0, 0, 2, 0, 0), -- Defias Wizard linked to Defias Overseer
|
||||
(79361, 79260, 2, 0, 2, 0, 0); -- Defias Wizard linked to Defias Overseer
|
||||
|
||||
-- Delete Humans in Foundry (source: https://youtu.be/Jm_5e3UEPq4?t=133 )
|
||||
DELETE FROM `creature` WHERE `guid` IN (79285,79283,79284,79380,79378,79379);
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (79285,79283,79284,79380,79378,79379);
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (792850,792830,792840,793800,793780,793790);
|
||||
|
||||
-- Fix NPC Random Movement
|
||||
UPDATE `creature` SET `SpawnDist` = 5, `MovementType` = 1 WHERE `guid` IN (79296);
|
||||
|
||||
-- Linked Aggro Between Mr. Smite and 2 Defias Blackguards
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=79337;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(79337, 79337, 0, 0, 2, 0, 0),
|
||||
(79337, 79345, 0, 0, 2, 0, 0),
|
||||
(79337, 79346, 0, 0, 2, 0, 0);
|
||||
|
||||
-- Linked Aggro Between Defias Pirate and Defias Squallshaper Behind Mr. Smite
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=79338;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(79338, 79338, 0, 0, 2, 0, 0),
|
||||
(79338, 79330, 0, 0, 2, 0, 0);
|
||||
|
||||
-- MOVE NPC BACK SO THEY DO NOT PULL
|
||||
UPDATE `creature` SET `position_x` = -22.056364, `position_y` = -809.104553, `position_z` = 19.543686, `orientation` = 1.330994 WHERE `guid` = 79338;
|
||||
UPDATE `creature` SET `position_x` = -34.434910, `position_y` = -796.904114, `position_z` = 18.909523, `orientation` = 6.229524 WHERE `guid` = 79330;
|
||||
|
||||
-- Fix NPC Random Movement of Pirates on the Ship
|
||||
UPDATE `creature` SET `SpawnDist`=3, `MovementType`=1 WHERE `guid` IN (79323,79325,79305,79327);
|
||||
|
||||
-- Remove 2 Defias Blackguards On Deck (They Do Not Exist As Per Videos)
|
||||
DELETE FROM `creature` WHERE `guid` IN (79368,79383);
|
||||
|
||||
-- Linked Aggro Between VanCleef and 2 Defias Blackguard Adds
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=79336;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(79336, 79336, 0, 0, 2, 0, 0),
|
||||
(79336, 79369, 0, 0, 2, 0, 0), -- Defias Blackguard
|
||||
(79336, 79370, 0, 0, 2, 0, 0); -- Defias Blackguard
|
||||
|
||||
-- VanCleef Adds (Should Not Random Move)
|
||||
UPDATE `creature` SET `SpawnDist` = 0, `MovementType` = 0 WHERE `guid` IN (79369,79370);--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
1885
data/sql/old/db_world/2.x/2017_02_03_40.sql
Normal file
1885
data/sql/old/db_world/2.x/2017_02_03_40.sql
Normal file
File diff suppressed because it is too large
Load Diff
152
data/sql/old/db_world/2.x/2017_02_03_41.sql
Normal file
152
data/sql/old/db_world/2.x/2017_02_03_41.sql
Normal file
@@ -0,0 +1,152 @@
|
||||
-- DB update 2017_02_03_40 -> 2017_02_03_41
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_40';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_40 2017_02_03_41 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485705893269189700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485705893269189700');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=14508;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(14508,1,-13187.14, 319.7746, 33.2346, 'Short John Mithril'),
|
||||
(14508,2,-13215.14, 322.7813, 33.24456, 'Short John Mithril'),
|
||||
(14508,3,-13234.32, 314.1292, 33.20762, 'Short John Mithril'),
|
||||
(14508,4,-13248.82, 299.0459, 33.22644, 'Short John Mithril'),
|
||||
(14508,5,-13254.88, 284.0705, 33.24255, 'Short John Mithril'),
|
||||
(14508,6,-13255.58, 264.5797, 33.24498, 'Short John Mithril'),
|
||||
(14508,7,-13247.58, 243.589, 33.20824, 'Short John Mithril'),
|
||||
(14508,8,-13237.57, 231.7462, 33.23737, 'Short John Mithril'),
|
||||
(14508,9,-13233.31, 231.8894, 33.2352, 'Short John Mithril'),
|
||||
(14508,10,-13235.35, 231.8208, 33.23225, 'Short John Mithril'),
|
||||
(14508,11,-13234.51, 239.4648, 33.36068, 'Short John Mithril'),
|
||||
(14508,12,-13239.65, 247.5611, 29.29738, 'Short John Mithril'),
|
||||
(14508,13,-13244.49, 256.3933, 22.63047, 'Short John Mithril'),
|
||||
(14508,14,-13241.24, 261.35, 21.93297, 'Short John Mithril'),
|
||||
(14508,15,-13204.08, 277.1676, 21.98207, 'Short John Mithril'),
|
||||
(14508,16,-13219.24, 275.4513, 21.98207, 'Short John Mithril'),
|
||||
(14508,17,-13240.61, 268.921, 21.93298, 'Short John Mithril'),
|
||||
(14508,18,-13240.61, 268.921, 21.93298, 'Short John Mithril'),
|
||||
(14508,19,-13244.04, 261.8775, 21.93297, 'Short John Mithril'),
|
||||
(14508,20,-13243.42, 254.9109, 23.88685, 'Short John Mithril'),
|
||||
(14508,21,-13239.03, 245.3709, 29.23729, 'Short John Mithril'),
|
||||
(14508,22,-13233.62, 238.1597, 33.35011, 'Short John Mithril'),
|
||||
(14508,23,-13237.55, 232.776, 33.23082, 'Short John Mithril'),
|
||||
(14508,24,-13250.02, 248.9038, 33.23286, 'Short John Mithril'),
|
||||
(14508,25,-13255.25, 264.0384, 33.24439, 'Short John Mithril'),
|
||||
(14508,26,-13255.29, 282.6273, 33.24288, 'Short John Mithril'),
|
||||
(14508,27,-13248.91, 298.4456, 33.24187, 'Short John Mithril'),
|
||||
(14508,28,-13233.84, 314.3157, 33.20814, 'Short John Mithril'),
|
||||
(14508,29,-13215.96, 322.7598, 33.24435, 'Short John Mithril'),
|
||||
(14508,30,-13199.4, 323.3979, 33.24255, 'Short John Mithril'),
|
||||
(14508,31,-13188.29, 320.0755, 33.23479, 'Short John Mithril'),
|
||||
(14508,32,-13184.82, 329.8854, 37.95504, 'Short John Mithril'),
|
||||
(14508,33,-13184.48, 332.6711, 40.32992, 'Short John Mithril');
|
||||
|
||||
DELETE FROM `game_event_gameobject` WHERE `guid`=12029 AND `eventEntry`=16;
|
||||
DELETE FROM `gameobject` WHERE `guid`=12029;
|
||||
|
||||
UPDATE `creature_template` SET `ainame`='SmartAI', `scriptname`='' WHERE `entry` =14508;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` =14508 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
|
||||
(14508, 0, 0, 0, 68, 0, 100, 0, 16, 0, 0, 0, 53, 0, 14508, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Short John Mithril - On Event Start - Start WP'),
|
||||
(14508, 0, 1, 0, 40, 0, 100, 0, 1, 14508, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Short John Mithril - On Reached WP1 - Say'),
|
||||
(14508, 0, 2, 3, 40, 0, 100, 0, 16, 14508, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Short John Mithril - On Reached WP16 - Say'),
|
||||
(14508, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 50, 179697, 10740, 0, 0, 0, 0, 8, 0, 0, 0, -13202.89, 276.757,21.85707,2.775069, 'Short John Mithril - On Reached WP19 - Spawn Chest'),
|
||||
(14508, 0, 4, 0, 40, 0, 100, 0, 33, 14508, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 4.415683, 'Short John Mithril - On Reached WP33 - Set orientation');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=14508;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(14508, 0, 0, 'Arrr, Me Hearties! I be havin'' some extra Treasure that I be givin'' away at the Gurubashi Arena! All ye need do to collect it is open the chest I leave on the arena floor!', 14, 0, 100, 0, 0, 0, 9730, 2, 'Short John Mithril'),
|
||||
(14508, 1, 0, 'Let the Bloodletting Begin!', 14, 0, 100, 0, 0, 0, 9731, 0, 'Short John Mithril');
|
||||
DELETE FROM `waypoints` WHERE `entry`=14508;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(14508,1,-13187.14, 319.7746, 33.2346, 'Short John Mithril'),
|
||||
(14508,2,-13215.14, 322.7813, 33.24456, 'Short John Mithril'),
|
||||
(14508,3,-13234.32, 314.1292, 33.20762, 'Short John Mithril'),
|
||||
(14508,4,-13248.82, 299.0459, 33.22644, 'Short John Mithril'),
|
||||
(14508,5,-13254.88, 284.0705, 33.24255, 'Short John Mithril'),
|
||||
(14508,6,-13255.58, 264.5797, 33.24498, 'Short John Mithril'),
|
||||
(14508,7,-13247.58, 243.589, 33.20824, 'Short John Mithril'),
|
||||
(14508,8,-13237.57, 231.7462, 33.23737, 'Short John Mithril'),
|
||||
(14508,9,-13233.31, 231.8894, 33.2352, 'Short John Mithril'),
|
||||
(14508,10,-13235.35, 231.8208, 33.23225, 'Short John Mithril'),
|
||||
(14508,11,-13234.51, 239.4648, 33.36068, 'Short John Mithril'),
|
||||
(14508,12,-13239.65, 247.5611, 29.29738, 'Short John Mithril'),
|
||||
(14508,13,-13244.49, 256.3933, 22.63047, 'Short John Mithril'),
|
||||
(14508,14,-13241.24, 261.35, 21.93297, 'Short John Mithril'),
|
||||
(14508,15,-13204.08, 277.1676, 21.98207, 'Short John Mithril'),
|
||||
(14508,16,-13219.24, 275.4513, 21.98207, 'Short John Mithril'),
|
||||
(14508,17,-13240.61, 268.921, 21.93298, 'Short John Mithril'),
|
||||
(14508,18,-13240.61, 268.921, 21.93298, 'Short John Mithril'),
|
||||
(14508,19,-13244.04, 261.8775, 21.93297, 'Short John Mithril'),
|
||||
(14508,20,-13243.42, 254.9109, 23.88685, 'Short John Mithril'),
|
||||
(14508,21,-13239.03, 245.3709, 29.23729, 'Short John Mithril'),
|
||||
(14508,22,-13233.62, 238.1597, 33.35011, 'Short John Mithril'),
|
||||
(14508,23,-13237.55, 232.776, 33.23082, 'Short John Mithril'),
|
||||
(14508,24,-13250.02, 248.9038, 33.23286, 'Short John Mithril'),
|
||||
(14508,25,-13255.25, 264.0384, 33.24439, 'Short John Mithril'),
|
||||
(14508,26,-13255.29, 282.6273, 33.24288, 'Short John Mithril'),
|
||||
(14508,27,-13248.91, 298.4456, 33.24187, 'Short John Mithril'),
|
||||
(14508,28,-13233.84, 314.3157, 33.20814, 'Short John Mithril'),
|
||||
(14508,29,-13215.96, 322.7598, 33.24435, 'Short John Mithril'),
|
||||
(14508,30,-13199.4, 323.3979, 33.24255, 'Short John Mithril'),
|
||||
(14508,31,-13188.29, 320.0755, 33.23479, 'Short John Mithril'),
|
||||
(14508,32,-13184.82, 329.8854, 37.95504, 'Short John Mithril'),
|
||||
(14508,33,-13184.48, 332.6711, 40.32992, 'Short John Mithril');
|
||||
|
||||
DELETE FROM `game_event_gameobject` WHERE `guid`=12029 AND `eventEntry`=16;
|
||||
DELETE FROM `gameobject` WHERE `guid`=12029;
|
||||
|
||||
UPDATE `creature_template` SET `ainame`='SmartAI', `scriptname`='' WHERE `entry` =14508;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` =14508 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
|
||||
(14508, 0, 0, 0, 68, 0, 100, 0, 16, 0, 0, 0, 53, 0, 14508, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Short John Mithril - On Event Start - Start WP'),
|
||||
(14508, 0, 1, 0, 40, 0, 100, 0, 1, 14508, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Short John Mithril - On Reached WP1 - Say'),
|
||||
(14508, 0, 2, 3, 40, 0, 100, 0, 16, 14508, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Short John Mithril - On Reached WP16 - Say'),
|
||||
(14508, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 50, 179697, 10740, 0, 0, 0, 0, 8, 0, 0, 0, -13202.89, 276.757,21.85707,2.775069, 'Short John Mithril - On Reached WP19 - Spawn Chest'),
|
||||
(14508, 0, 4, 0, 40, 0, 100, 0, 33, 14508, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 4.415683, 'Short John Mithril - On Reached WP33 - Set orientation');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=14508;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(14508, 0, 0, 'Arrr, Me Hearties! I be havin'' some extra Treasure that I be givin'' away at the Gurubashi Arena! All ye need do to collect it is open the chest I leave on the arena floor!', 14, 0, 100, 0, 0, 0, 9730, 2, 'Short John Mithril'),
|
||||
(14508, 1, 0, 'Let the Bloodletting Begin!', 14, 0, 100, 0, 0, 0, 9731, 0, 'Short John Mithril');
|
||||
|
||||
|
||||
-- Gurubashi Arena Grand Master (396) achievement fix by nelegalno
|
||||
|
||||
-- Short John Mithril (14508) gossip
|
||||
UPDATE `creature_template` SET `gossip_menu_id` = 5921 WHERE `entry` = 14508;
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=5921 AND `text_id`=7074;
|
||||
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES(5921,7074);
|
||||
|
||||
-- Arena Master (18706) loot fix
|
||||
UPDATE `item_template` SET `flagsCustom`=flagsCustom|2 WHERE `entry`=18706;
|
||||
|
||||
-- Arena Grandmaster (7838) quest is repeatable (players can get 2x Arena Grand Master trinkets)
|
||||
-- https://www.youtube.com/watch?v=fkJ3vrwC4q4&feature=player_detailpage#t=170s
|
||||
UPDATE quest_template_addon SET SpecialFlags = 1 WHERE Id = 7838;
|
||||
|
||||
/*
|
||||
Which one is corect 8000 [2h 13min 20 sec] or 10800 [3h]:
|
||||
-- Arena Treasure Chest (179697) set spawntime to 3h (was 8000 [2h 13min 20 sec])
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 10800 WHERE `guid` = 12029;
|
||||
*/
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
26
data/sql/old/db_world/2.x/2017_02_03_42.sql
Normal file
26
data/sql/old/db_world/2.x/2017_02_03_42.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
-- DB update 2017_02_03_41 -> 2017_02_03_42
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_41';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_41 2017_02_03_42 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485721126246629100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485721126246629100');
|
||||
-- [NPC][WOTLK] Argent Cannon
|
||||
UPDATE `creature` SET `curmana`=0 WHERE `id`=30236;
|
||||
UPDATE `creature_template` SET `VehicleId`=244 WHERE `entry`=30236;--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
29
data/sql/old/db_world/2.x/2017_02_03_43.sql
Normal file
29
data/sql/old/db_world/2.x/2017_02_03_43.sql
Normal file
@@ -0,0 +1,29 @@
|
||||
-- DB update 2017_02_03_42 -> 2017_02_03_43
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_42';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_42 2017_02_03_43 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1485734753369055900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1485734753369055900');
|
||||
-- SET run_speed of (Thunder BluffSilvermoon, Undercity, Stormwind, Ironforge, Exodar, Gnomeregan and Darnassus Champion(s) from 2 to 1.38571)
|
||||
UPDATE `creature_template` SET `speed_run` = 1.38571 WHERE `entry` IN (35325, 35326, 35327, 35328, 35329, 35330, 35331, 35332);
|
||||
|
||||
-- SET run_speed of (Colosos, Marshal Jacob Alerius, Ambrose Boltspark, Lana Stouthammer and Jaelyne Evensong from 2 to 1.14286)
|
||||
UPDATE `creature_template` SET `speed_run` = 1.14286 WHERE `entry` IN (34657, 34701, 34702, 34703, 34705);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
40
data/sql/old/db_world/2.x/2017_02_03_44.sql
Normal file
40
data/sql/old/db_world/2.x/2017_02_03_44.sql
Normal file
@@ -0,0 +1,40 @@
|
||||
-- DB update 2017_02_03_43 -> 2017_02_03_44
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2017_02_03_43';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2017_02_03_43 2017_02_03_44 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1486030596737432500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1486030596737432500');
|
||||
|
||||
DELETE FROM `creature_template` WHERE `entry` = "32322";
|
||||
DELETE FROM `creature_template` WHERE `entry` = "32341";
|
||||
DELETE FROM `creature_template` WHERE `entry` = "32321";
|
||||
DELETE FROM `creature_template` WHERE `entry` = "32324";
|
||||
|
||||
UPDATE `creature` SET `spawndist`= "10", `MovementType` = "1" WHERE `guid` = "102313";
|
||||
UPDATE `creature` SET `spawndist`= "10", `MovementType` = "1" WHERE `guid` = "102123";
|
||||
UPDATE `creature` SET `spawndist`= "10", `MovementType` = "1" WHERE `guid` = "103579";
|
||||
UPDATE `creature` SET `spawndist`= "10", `MovementType` = "1" WHERE `guid` = "102063";
|
||||
|
||||
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(32322, 0, 0, 0, 0, 0, 27916, 27917, 27918, 0, 'Gold Warrior', '', '', 0, 70, 70, 0, 11, 0, 1, 1.14286, 1, 0, 252, 357, 0, 304, 1, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 0, 215, 320, 44, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 1, 0, 0, 'npc_dalaran_warrior', 12340),
|
||||
(32341, 0, 0, 0, 0, 0, 27926, 27927, 0, 0, 'Gold Mage', '', '', 0, 70, 70, 2, 11, 0, 1, 1.14286, 1, 0, 248, 363, 0, 135, 1, 2000, 2000, 8, 0, 0, 0, 0, 0, 0, 0, 0, 233, 347, 28, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 1, 0, 0, 'npc_dalaran_mage', 12340),
|
||||
(32321, 0, 0, 0, 0, 0, 27919, 27920, 27921, 0, 'Green Warrior', '', '', 0, 70, 70, 0, 85, 0, 1, 1.14286, 1, 0, 252, 357, 0, 304, 1, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 0, 215, 320, 44, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 1, 0, 0, 'npc_dalaran_warrior', 12340),
|
||||
(32324, 0, 0, 0, 0, 0, 27928, 27929, 0, 0, 'Green Mage', '', '', 0, 70, 70, 2, 85, 0, 1, 1.14286, 1, 0, 248, 363, 0, 135, 1, 2000, 2000, 8, 0, 0, 0, 0, 0, 0, 0, 0, 233, 347, 28, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 1, 0, 0, 'npc_dalaran_mage', 12340);
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user