*SQL clean up.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-24 14:21:43 -06:00
parent 10a0e30e59
commit e71697462e
26 changed files with 19633 additions and 87 deletions

View File

@@ -1,8 +1,8 @@
-- MySQL dump 10.11
--
-- Host: localhost Database: char_temp
-- Host: localhost Database: characters
-- ------------------------------------------------------
-- Server version 5.0.34-log
-- Server version 5.0.45-Debian_1ubuntu3.1-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -1407,4 +1407,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2008-11-18 11:24:11
-- Dump completed on 2008-01-10 11:37:06

View File

@@ -2,7 +2,7 @@
--
-- Host: localhost Database: realmd
-- ------------------------------------------------------
-- Server version 5.0.34-log
-- Server version 5.0.45-Debian_1ubuntu3.1-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -22,13 +22,13 @@
DROP TABLE IF EXISTS `account`;
CREATE TABLE `account` (
`id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Identifier',
`username` varchar(32) NOT NULL,
`username` varchar(32) NOT NULL default '',
`sha_pass_hash` varchar(40) NOT NULL default '',
`gmlevel` tinyint(3) unsigned NOT NULL default '0',
`sessionkey` longtext,
`v` longtext,
`s` longtext,
`email` varchar(320) NOT NULL default '',
`email` text,
`joindate` timestamp NOT NULL default CURRENT_TIMESTAMP,
`last_ip` varchar(30) NOT NULL default '127.0.0.1',
`failed_logins` int(11) unsigned NOT NULL default '0',
@@ -41,7 +41,7 @@ CREATE TABLE `account` (
PRIMARY KEY (`id`),
UNIQUE KEY `idx_username` (`username`),
KEY `idx_gmlevel` (`gmlevel`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Account System';
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=DYNAMIC COMMENT='Account System';
--
-- Dumping data for table `account`
@@ -83,11 +83,11 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `ip_banned`;
CREATE TABLE `ip_banned` (
`ip` varchar(32) NOT NULL default '127.0.0.1',
`bandate` int(11) NOT NULL,
`unbandate` int(11) NOT NULL,
`bandate` bigint(40) NOT NULL,
`unbandate` bigint(40) NOT NULL,
`bannedby` varchar(50) NOT NULL default '[Console]',
`banreason` varchar(50) NOT NULL default 'no reason',
PRIMARY KEY (`ip`)
`banreason` varchar(255) NOT NULL default 'no reason',
PRIMARY KEY (`ip`,`bandate`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Banned IPs';
--
@@ -137,7 +137,7 @@ CREATE TABLE `realmlist` (
`population` float unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm System';
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm System';
--
-- Dumping data for table `realmlist`
@@ -145,6 +145,8 @@ CREATE TABLE `realmlist` (
LOCK TABLES `realmlist` WRITE;
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
INSERT INTO `realmlist` VALUES
(1,'Trinity','127.0.0.1',8085,1,0,1,0,0);
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
@@ -157,4 +159,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2008-10-14 13:28:11
-- Dump completed on 2008-01-10 11:37:06

View File

@@ -0,0 +1,3 @@
DELETE FROM command WHERE name = 'reload all_locales';
INSERT INTO `command` VALUES
('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.');

View File

@@ -0,0 +1,14 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_15_01_mangos_arenas required_2008_12_22_01_mangos_creature_equip_template bit;
TRUNCATE creature_equip_template;
alter table `creature_equip_template`
drop column `equipinfo1`,
drop column `equipinfo2`,
drop column `equipinfo3`,
drop column `equipslot1`,
drop column `equipslot2`,
drop column `equipslot3`,
change `equipmodel1` `equipentry1` mediumint(8) UNSIGNED default '0' NOT NULL,
change `equipmodel2` `equipentry2` mediumint(8) UNSIGNED default '0' NOT NULL,
change `equipmodel3` `equipentry3` mediumint(8) UNSIGNED default '0' NOT NULL;

View File

@@ -0,0 +1,7 @@
ALTER TABLE character_db_version CHANGE COLUMN required_2008_12_15_01_character_arenas required_2008_12_22_02_characters_character_pet bit;
alter table `character_pet`
drop column `trainpoint`,
drop column `loyaltypoints`,
drop column `loyalty`,
add `talentpoints` int(11) UNSIGNED default '0' NOT NULL after `Reactstate`;

View File

@@ -0,0 +1,7 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_01_mangos_creature_equip_template required_2008_12_22_03_mangos_item_template bit;
alter table `item_template`
add column `ScalingStatDistribution` smallint(6) DEFAULT '0' NOT NULL after `stat_value10`,
add column `ScalingStatValue` smallint(6) DEFAULT '0' NOT NULL after `ScalingStatDistribution`,
add column `ItemLimitCategory` smallint(6) DEFAULT '0' NOT NULL after `ArmorDamageModifier`,
change `Duration` `Duration` int(11) NOT NULL default '0' COMMENT 'Duration in seconds. Negative value means realtime, postive value ingame time' after ArmorDamageModifier;

View File

@@ -0,0 +1,4 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_03_mangos_item_template required_2008_12_22_04_mangos_item_template bit;
alter table `item_template`
add column `StatsCount` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `ContainerSlots`;

View File

@@ -0,0 +1,9 @@
ALTER TABLE character_db_version CHANGE COLUMN required_2008_12_22_02_characters_character_pet required_2008_12_22_05_characters_account_data bit;
CREATE TABLE `account_data` (
`account` int(11) unsigned NOT NULL default '0',
`type` int(11) unsigned NOT NULL default '0',
`time` bigint(11) unsigned NOT NULL default '0',
`data` longtext NOT NULL,
PRIMARY KEY (`account`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -0,0 +1,18 @@
ALTER TABLE character_db_version CHANGE COLUMN required_2008_12_22_05_characters_account_data required_2008_12_22_06_characters_character_achievement bit;
DROP TABLE IF EXISTS `character_achievement`;
CREATE TABLE `character_achievement` (
`guid` int(11) NOT NULL,
`achievement` int(11) NOT NULL,
`date` int(11) NOT NULL,
PRIMARY KEY (`guid`,`achievement`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `character_achievement_progress`;
CREATE TABLE `character_achievement_progress` (
`guid` int(11) NOT NULL,
`criteria` int(11) NOT NULL,
`counter` int(11) NOT NULL,
`date` int(11) NOT NULL,
PRIMARY KEY (`guid`,`criteria`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View File

@@ -0,0 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_04_mangos_item_template required_2008_12_22_07_mangos_quest_template bit;
alter table `quest_template`
add column `PlayersSlain` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `CharTitleId`,
add column `BonusTalents` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL after `PlayersSlain`;

View File

@@ -0,0 +1,15 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_07_mangos_quest_template required_2008_12_22_08_mangos_milling_loot_template bit;
DROP TABLE IF EXISTS `milling_loot_template`;
CREATE TABLE `milling_loot_template` (
`entry` mediumint(8) unsigned NOT NULL default '0',
`item` mediumint(8) unsigned NOT NULL default '0',
`ChanceOrQuestChance` float NOT NULL default '100',
`groupid` tinyint(3) unsigned NOT NULL default '0',
`mincountOrRef` mediumint(9) NOT NULL default '1',
`maxcount` tinyint(3) unsigned NOT NULL default '1',
`lootcondition` tinyint(3) unsigned NOT NULL default '0',
`condition_value1` mediumint(8) unsigned NOT NULL default '0',
`condition_value2` mediumint(8) unsigned NOT NULL default '0',
PRIMARY KEY (`entry`,`item`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';

View File

@@ -0,0 +1,14 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_08_mangos_milling_loot_template required_2008_12_22_09_mangos_spell_affect bit;
--
-- Table structure for table `spell_affect`
--
DROP TABLE IF EXISTS `spell_affect`;
CREATE TABLE `spell_affect` (
`entry` smallint(5) unsigned NOT NULL default '0',
`effectId` tinyint(3) unsigned NOT NULL default '0',
`SpellClassMask0` int(5) unsigned NOT NULL default '0',
`SpellClassMask1` int(5) unsigned NOT NULL default '0',
`SpellClassMask2` int(5) unsigned NOT NULL default '0',
PRIMARY KEY (`entry`,`effectId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View File

@@ -0,0 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_09_mangos_spell_affect required_2008_12_22_10_mangos_string bit;
INSERT INTO `mangos_string` VALUES
(345,'Forced customize for player %s will be requested at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(346,'Forced customize for player %s (GUID #%u) will be requested at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View File

@@ -0,0 +1,183 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_10_mangos_string required_2008_12_22_11_mangos_player_classlevelstats bit;
DELETE FROM `player_classlevelstats` WHERE class = 6 OR level > 70;
INSERT INTO `player_classlevelstats` VALUES
(1,71,4720,0),
(1,72,5013,0),
(1,73,5325,0),
(1,74,5656,0),
(1,75,6008,0),
(1,76,6381,0),
(1,77,6778,0),
(1,78,7198,0),
(1,79,7646,0),
(1,80,8121,0),
(2,71,3629,3097),
(2,72,3900,3241),
(2,73,4191,3385),
(2,74,4503,3529),
(2,75,4839,3673),
(2,76,5200,3817),
(2,77,5588,3962),
(2,78,6005,4106),
(2,79,6453,4250),
(2,80,6934,4394),
(3,71,3834,3549),
(3,72,4120,3716),
(3,73,4427,3882),
(3,74,4757,4048),
(3,75,5112,4215),
(3,76,5493,4381),
(3,77,5903,4547),
(3,78,6343,4713),
(3,79,6816,4880),
(3,80,7324,5046),
(4,71,3980,0),
(4,72,4277,0),
(4,73,4596,0),
(4,74,4939,0),
(4,75,5307,0),
(4,76,5703,0),
(4,77,6128,0),
(4,78,6585,0),
(4,79,7076,0),
(4,80,7604,0),
(5,71,3644,2744),
(5,72,3916,2868),
(5,73,4208,2993),
(5,74,4522,3117),
(5,75,4859,3242),
(5,76,5221,3366),
(5,77,5610,3490),
(5,78,6028,3615),
(5,79,6477,3739),
(5,80,6960,3863),
(6,1,22,0),
(6,2,27,0),
(6,3,32,0),
(6,4,37,0),
(6,5,42,0),
(6,6,47,0),
(6,7,52,0),
(6,8,58,0),
(6,9,64,0),
(6,10,70,0),
(6,11,77,0),
(6,12,84,0),
(6,13,92,0),
(6,14,100,0),
(6,15,117,0),
(6,16,127,0),
(6,17,138,0),
(6,18,150,0),
(6,19,163,0),
(6,20,177,0),
(6,21,192,0),
(6,22,208,0),
(6,23,225,0),
(6,24,239,0),
(6,25,258,0),
(6,26,278,0),
(6,27,299,0),
(6,28,321,0),
(6,29,344,0),
(6,30,368,0),
(6,31,393,0),
(6,32,419,0),
(6,33,446,0),
(6,34,474,0),
(6,35,503,0),
(6,36,533,0),
(6,37,564,0),
(6,38,596,0),
(6,39,629,0),
(6,40,698,0),
(6,41,698,0),
(6,42,734,0),
(6,43,771,0),
(6,44,809,0),
(6,45,849,0),
(6,46,891,0),
(6,47,935,0),
(6,48,981,0),
(6,49,1029,0),
(6,50,1079,0),
(6,51,1131,0),
(6,52,1185,0),
(6,53,1241,0),
(6,54,1299,0),
(6,55,1359,0),
(6,56,1421,0),
(6,57,1485,0),
(6,58,1551,0),
(6,59,1619,0),
(6,60,1689,0),
(6,61,1902,0),
(6,62,2129,0),
(6,63,2357,0),
(6,64,2612,0),
(6,65,2883,0),
(6,66,3169,0),
(6,67,3455,0),
(6,68,3774,0),
(6,69,4109,0),
(6,70,4444,0),
(6,71,4720,0),
(6,72,5013,0),
(6,73,5325,0),
(6,74,5656,0),
(6,75,6008,0),
(6,76,6381,0),
(6,77,6778,0),
(6,78,7199,0),
(6,79,7646,0),
(6,80,8121,0),
(7,71,3395,3102),
(7,72,3648,3246),
(7,73,3920,3389),
(7,74,4212,3533),
(7,75,4526,3677),
(7,76,4863,3821),
(7,77,5226,3965),
(7,78,5616,4108),
(7,79,6035,4252),
(7,80,6485,4396),
(8,71,3646,2343),
(8,72,3918,2446),
(8,73,4210,2549),
(8,74,4524,2652),
(8,75,4861,2754),
(8,76,5223,2857),
(8,77,5612,2960),
(8,78,6030,3063),
(8,79,6480,3165),
(8,80,6963,3268),
(9,71,3750,2739),
(9,72,4025,2863),
(9,73,4330,2987),
(9,74,4646,3111),
(9,75,4997,3235),
(9,76,5373,3360),
(9,77,5774,3483),
(9,78,6207,3608),
(9,79,6667,3732),
(9,80,7136,3856),
(11,71,3883,2482),
(11,72,4172,2595),
(11,73,4483,2708),
(11,74,4817,2820),
(11,75,5176,2933),
(11,76,5562,3045),
(11,77,5977,3158),
(11,78,6423,3270),
(11,79,6902,3383),
(11,80,7417,3496);

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_12_mangos_player_levelstats required_2008_12_22_13_mangos_item_template bit;
ALTER TABLE `item_template`
CHANGE COLUMN `TotemCategory` `TotemCategory` mediumint(9) NOT NULL default '0';

View File

@@ -0,0 +1,14 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_13_mangos_item_template required_2008_12_22_14_mangos_playercreateinfo bit;
DELETE FROM `playercreateinfo` WHERE class = 6;
INSERT INTO `playercreateinfo` VALUES
(1 ,6,609,4298,2355.84,-5664.77,426.028),
(2 ,6,609,4298,2358.44,-5666.9, 426.023),
(3 ,6,609,4298,2358.44,-5666.9, 426.023),
(4 ,6,609,4298,2356.21,-5662.21,426.026),
(5 ,6,609,4298,2356.21,-5662.21,426.026),
(6 ,6,609,4298,2358.17,-5663.21,426.027),
(7 ,6,609,4298,2355.05,-5661.7, 426.026),
(8 ,6,609,4298,2355.05,-5661.7, 426.026),
(10,6,609,4298,2355.84,-5664.77,426.028),
(11,6,609,4298,2358.17,-5663.21,426.027);

View File

@@ -0,0 +1,80 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_14_mangos_playercreateinfo required_2008_12_22_15_mangos_playercreateinfo_action bit;
DELETE FROM playercreateinfo_action WHERE class = 6;
INSERT INTO playercreateinfo_action VALUES
(1,6,0,6603,0,0),
(1,6,1,49576,0,0),
(1,6,2,45477,0,0),
(1,6,3,45462,0,0),
(1,6,4,45902,0,0),
(1,6,5,47541,0,0),
(1,6,11,59752,0,0),
(2,6,0,6603,0,0),
(2,6,1,49576,0,0),
(2,6,2,45477,0,0),
(2,6,3,45462,0,0),
(2,6,4,45902,0,0),
(2,6,5,47541,0,0),
(2,6,10,20572,0,0),
(3,6,0,6603,0,0),
(3,6,1,49576,0,0),
(3,6,2,45477,0,0),
(3,6,3,45462,0,0),
(3,6,4,45902,0,0),
(3,6,5,47541,0,0),
(3,6,10,2481,0,0),
(4,6,0,6603,0,0),
(4,6,1,49576,0,0),
(4,6,2,45477,0,0),
(4,6,3,45462,0,0),
(4,6,4,45902,0,0),
(4,6,5,47541,0,0),
(4,6,10,58984,0,0),
(4,6,83,58984,0,0),
(5,6,0,6603,0,0),
(5,6,1,49576,0,0),
(5,6,2,45477,0,0),
(5,6,3,45462,0,0),
(5,6,4,45902,0,0),
(5,6,5,47541,0,0),
(5,6,10,20577,0,0),
(6,6,0,6603,0,0),
(6,6,1,49576,0,0),
(6,6,2,45477,0,0),
(6,6,3,45462,0,0),
(6,6,4,45902,0,0),
(6,6,5,47541,0,0),
(6,6,10,20549,0,0),
(6,6,75,20549,0,0),
(7,6,0,6603,0,0),
(7,6,1,49576,0,0),
(7,6,2,45477,0,0),
(7,6,3,45462,0,0),
(7,6,4,45902,0,0),
(7,6,5,47541,0,0),
(7,6,10,20589,0,0),
(7,6,72,6603,0,0),
(7,6,83,117,128,0),
(7,6,84,6603,0,0),
(7,6,96,6603,0,0),
(7,6,108,6603,0,0),
(8,6,0,6603,0,0),
(8,6,1,49576,0,0),
(8,6,2,45477,0,0),
(8,6,3,45462,0,0),
(8,6,4,45902,0,0),
(8,6,5,47541,0,0),
(8,6,10,50621,0,0),
(10,6,0,6603,0,0),
(10,6,1,49576,0,0),
(10,6,2,45477,0,0),
(10,6,3,45462,0,0),
(10,6,4,45902,0,0),
(10,6,5,47541,0,0),
(10,6,6,50613,0,0),
(11,6,0,6603,0,0),
(11,6,1,49576,0,0),
(11,6,2,45477,0,0),
(11,6,3,45462,0,0),
(11,6,4,45902,0,0),
(11,6,5,47541,0,0);

View File

@@ -0,0 +1,686 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_15_mangos_playercreateinfo_action required_2008_12_22_16_mangos_playercreateinfo_spell bit;
DELETE FROM `playercreateinfo_spell` WHERE `class` = 6;
INSERT INTO `playercreateinfo_spell` VALUES
(1,6,81,'Dodge',1),
(1,6,196,'One-Handed Axes',1),
(1,6,197,'Two-Handed Axes',1),
(1,6,200,'Polearms',1),
(1,6,201,'One-Handed Swords',1),
(1,6,202,'Two-Handed Swords',1),
(1,6,203,'Unarmed',1),
(1,6,204,'Defense',1),
(1,6,522,'SPELLDEFENSE (DND)',1),
(1,6,668,'Language Common',1),
(1,6,674,'Dual Wield',1),
(1,6,750,'Plate Mail',1),
(1,6,1843,'Disarm',1),
(1,6,2382,'Generic',1),
(1,6,2479,'Honorless Target',1),
(1,6,3050,'Detect',1),
(1,6,3127,'Parry',1),
(1,6,3275,'Linen Bandage',1),
(1,6,3276,'Heavy Linen Bandage',1),
(1,6,3277,'Wool Bandage',1),
(1,6,3278,'Heavy Wool Bandage',1),
(1,6,3365,'Opening',1),
(1,6,6233,'Closing',1),
(1,6,6246,'Closing',1),
(1,6,6247,'Opening',1),
(1,6,6477,'Opening',1),
(1,6,6478,'Opening',1),
(1,6,6603,'Attack',1),
(1,6,7266,'Duel',1),
(1,6,7267,'Grovel',1),
(1,6,7355,'Stuck',1),
(1,6,7928,'Silk Bandage',1),
(1,6,7929,'Heavy Silk Bandage',1),
(1,6,7934,'Anti-Venom',1),
(1,6,8386,'Attacking',1),
(1,6,8737,'Mail',1),
(1,6,9077,'Leather',1),
(1,6,9078,'Cloth',1),
(1,6,9125,'Generic',1),
(1,6,10840,'Mageweave Bandage',1),
(1,6,10841,'Heavy Mageweave Bandage',1),
(1,6,10846,'First Aid',1),
(1,6,18629,'Runecloth Bandage',1),
(1,6,18630,'Heavy Runecloth Bandage',1),
(1,6,20597,'Sword Specialization',1),
(1,6,20598,'The Human Spirit',1),
(1,6,20599,'Diplomacy',1),
(1,6,20864,'Mace Specialization',1),
(1,6,21651,'Opening',1),
(1,6,21652,'Closing',1),
(1,6,22027,'Remove Insignia',1),
(1,6,22810,'Opening - No Text',1),
(1,6,33391,'Journeyman Riding',1),
(1,6,45462,'Plague Strike',1),
(1,6,45477,'Icy Touch',1),
(1,6,45902,'Blood Strike',1),
(1,6,45903,'Offensive State (DND)',1),
(1,6,45927,'Summon Friend',1),
(1,6,47541,'Death Coil',1),
(1,6,48266,'Blood Presence',1),
(1,6,49410,'Forceful Deflection',1),
(1,6,49576,'Death Grip',1),
(1,6,52665,'Sigil',1),
(1,6,58985,'Perception',1),
(1,6,59752,'Every Man for Himself',1),
(1,6,59879,'Blood Plague',1),
(1,6,59921,'Frost Fever',1),
(1,6,61437,'Opening',1),
(1,6,61455,'Runic Focus',1),
(2,6,81,'Dodge',1),
(2,6,196,'One-Handed Axes',1),
(2,6,197,'Two-Handed Axes',1),
(2,6,200,'Polearms',1),
(2,6,201,'One-Handed Swords',1),
(2,6,202,'Two-Handed Swords',1),
(2,6,203,'Unarmed',1),
(2,6,204,'Defense',1),
(2,6,522,'SPELLDEFENSE (DND)',1),
(2,6,669,'Language Orcish',1),
(2,6,674,'Dual Wield',1),
(2,6,750,'Plate Mail',1),
(2,6,1843,'Disarm',1),
(2,6,2382,'Generic',1),
(2,6,2479,'Honorless Target',1),
(2,6,3050,'Detect',1),
(2,6,3127,'Parry',1),
(2,6,3275,'Linen Bandage',1),
(2,6,3276,'Heavy Linen Bandage',1),
(2,6,3277,'Wool Bandage',1),
(2,6,3278,'Heavy Wool Bandage',1),
(2,6,3365,'Opening',1),
(2,6,6233,'Closing',1),
(2,6,6246,'Closing',1),
(2,6,6247,'Opening',1),
(2,6,6477,'Opening',1),
(2,6,6478,'Opening',1),
(2,6,6603,'Attack',1),
(2,6,7266,'Duel',1),
(2,6,7267,'Grovel',1),
(2,6,7355,'Stuck',1),
(2,6,7928,'Silk Bandage',1),
(2,6,7929,'Heavy Silk Bandage',1),
(2,6,7934,'Anti-Venom',1),
(2,6,8386,'Attacking',1),
(2,6,8737,'Mail',1),
(2,6,9077,'Leather',1),
(2,6,9078,'Cloth',1),
(2,6,9125,'Generic',1),
(2,6,10840,'Mageweave Bandage',1),
(2,6,10841,'Heavy Mageweave Bandage',1),
(2,6,10846,'First Aid',1),
(2,6,18629,'Runecloth Bandage',1),
(2,6,18630,'Heavy Runecloth Bandage',1),
(2,6,20572,'Blood Fury',1),
(2,6,20573,'Hardiness',1),
(2,6,20574,'Axe Specialization',1),
(2,6,21651,'Opening',1),
(2,6,21652,'Closing',1),
(2,6,22027,'Remove Insignia',1),
(2,6,22810,'Opening - No Text',1),
(2,6,33391,'Journeyman Riding',1),
(2,6,45462,'Plague Strike',1),
(2,6,45477,'Icy Touch',1),
(2,6,45902,'Blood Strike',1),
(2,6,45903,'Offensive State (DND)',1),
(2,6,45927,'Summon Friend',1),
(2,6,47541,'Death Coil',1),
(2,6,48266,'Blood Presence',1),
(2,6,49410,'Forceful Deflection',1),
(2,6,49576,'Death Grip',1),
(2,6,52665,'Sigil',1),
(2,6,54562,'Command',1),
(2,6,59879,'Blood Plague',1),
(2,6,59921,'Frost Fever',1),
(2,6,61437,'Opening',1),
(2,6,61455,'Runic Focus',1),
(3,6,81,'Dodge',1),
(3,6,196,'One-Handed Axes',1),
(3,6,197,'Two-Handed Axes',1),
(3,6,200,'Polearms',1),
(3,6,201,'One-Handed Swords',1),
(3,6,202,'Two-Handed Swords',1),
(3,6,203,'Unarmed',1),
(3,6,204,'Defense',1),
(3,6,522,'SPELLDEFENSE (DND)',1),
(3,6,668,'Language Common',1),
(3,6,672,'Language Dwarven',1),
(3,6,674,'Dual Wield',1),
(3,6,750,'Plate Mail',1),
(3,6,1843,'Disarm',1),
(3,6,2382,'Generic',1),
(3,6,2479,'Honorless Target',1),
(3,6,2481,'Find Treasure',1),
(3,6,3050,'Detect',1),
(3,6,3127,'Parry',1),
(3,6,3275,'Linen Bandage',1),
(3,6,3276,'Heavy Linen Bandage',1),
(3,6,3277,'Wool Bandage',1),
(3,6,3278,'Heavy Wool Bandage',1),
(3,6,3365,'Opening',1),
(3,6,6233,'Closing',1),
(3,6,6246,'Closing',1),
(3,6,6247,'Opening',1),
(3,6,6477,'Opening',1),
(3,6,6478,'Opening',1),
(3,6,6603,'Attack',1),
(3,6,7266,'Duel',1),
(3,6,7267,'Grovel',1),
(3,6,7355,'Stuck',1),
(3,6,7928,'Silk Bandage',1),
(3,6,7929,'Heavy Silk Bandage',1),
(3,6,7934,'Anti-Venom',1),
(3,6,8386,'Attacking',1),
(3,6,8737,'Mail',1),
(3,6,9077,'Leather',1),
(3,6,9078,'Cloth',1),
(3,6,9125,'Generic',1),
(3,6,10840,'Mageweave Bandage',1),
(3,6,10841,'Heavy Mageweave Bandage',1),
(3,6,10846,'First Aid',1),
(3,6,18629,'Runecloth Bandage',1),
(3,6,18630,'Heavy Runecloth Bandage',1),
(3,6,20594,'Stoneform',1),
(3,6,20595,'Gun Specialization',1),
(3,6,20596,'Frost Resistance',1),
(3,6,21651,'Opening',1),
(3,6,21652,'Closing',1),
(3,6,22027,'Remove Insignia',1),
(3,6,22810,'Opening - No Text',1),
(3,6,33391,'Journeyman Riding',1),
(3,6,45462,'Plague Strike',1),
(3,6,45477,'Icy Touch',1),
(3,6,45902,'Blood Strike',1),
(3,6,45903,'Offensive State (DND)',1),
(3,6,45927,'Summon Friend',1),
(3,6,47541,'Death Coil',1),
(3,6,48266,'Blood Presence',1),
(3,6,49410,'Forceful Deflection',1),
(3,6,49576,'Death Grip',1),
(3,6,52665,'Sigil',1),
(3,6,59224,'Mace Specialization',1),
(3,6,59879,'Blood Plague',1),
(3,6,59921,'Frost Fever',1),
(3,6,61437,'Opening',1),
(3,6,61455,'Runic Focus',1),
(4,6,81,'Dodge',1),
(4,6,196,'One-Handed Axes',1),
(4,6,197,'Two-Handed Axes',1),
(4,6,200,'Polearms',1),
(4,6,201,'One-Handed Swords',1),
(4,6,202,'Two-Handed Swords',1),
(4,6,203,'Unarmed',1),
(4,6,204,'Defense',1),
(4,6,522,'SPELLDEFENSE (DND)',1),
(4,6,668,'Language Common',1),
(4,6,671,'Language Darnassian',1),
(4,6,674,'Dual Wield',1),
(4,6,750,'Plate Mail',1),
(4,6,1843,'Disarm',1),
(4,6,2382,'Generic',1),
(4,6,2479,'Honorless Target',1),
(4,6,3050,'Detect',1),
(4,6,3127,'Parry',1),
(4,6,3275,'Linen Bandage',1),
(4,6,3276,'Heavy Linen Bandage',1),
(4,6,3277,'Wool Bandage',1),
(4,6,3278,'Heavy Wool Bandage',1),
(4,6,3365,'Opening',1),
(4,6,6233,'Closing',1),
(4,6,6246,'Closing',1),
(4,6,6247,'Opening',1),
(4,6,6477,'Opening',1),
(4,6,6478,'Opening',1),
(4,6,6603,'Attack',1),
(4,6,7266,'Duel',1),
(4,6,7267,'Grovel',1),
(4,6,7355,'Stuck',1),
(4,6,7928,'Silk Bandage',1),
(4,6,7929,'Heavy Silk Bandage',1),
(4,6,7934,'Anti-Venom',1),
(4,6,8386,'Attacking',1),
(4,6,8737,'Mail',1),
(4,6,9077,'Leather',1),
(4,6,9078,'Cloth',1),
(4,6,9125,'Generic',1),
(4,6,10840,'Mageweave Bandage',1),
(4,6,10841,'Heavy Mageweave Bandage',1),
(4,6,10846,'First Aid',1),
(4,6,18629,'Runecloth Bandage',1),
(4,6,18630,'Heavy Runecloth Bandage',1),
(4,6,20582,'Quickness',1),
(4,6,20583,'Nature Resistance',1),
(4,6,20585,'Wisp Spirit',1),
(4,6,21651,'Opening',1),
(4,6,21652,'Closing',1),
(4,6,22027,'Remove Insignia',1),
(4,6,22810,'Opening - No Text',1),
(4,6,33391,'Journeyman Riding',1),
(4,6,45462,'Plague Strike',1),
(4,6,45477,'Icy Touch',1),
(4,6,45902,'Blood Strike',1),
(4,6,45903,'Offensive State (DND)',1),
(4,6,45927,'Summon Friend',1),
(4,6,47541,'Death Coil',1),
(4,6,48266,'Blood Presence',1),
(4,6,49410,'Forceful Deflection',1),
(4,6,49576,'Death Grip',1),
(4,6,52665,'Sigil',1),
(4,6,58984,'Shadowmeld',1),
(4,6,59879,'Blood Plague',1),
(4,6,59921,'Frost Fever',1),
(4,6,61437,'Opening',1),
(4,6,61455,'Runic Focus',1),
(5,6,81,'Dodge',1),
(5,6,196,'One-Handed Axes',1),
(5,6,197,'Two-Handed Axes',1),
(5,6,200,'Polearms',1),
(5,6,201,'One-Handed Swords',1),
(5,6,202,'Two-Handed Swords',1),
(5,6,203,'Unarmed',1),
(5,6,204,'Defense',1),
(5,6,522,'SPELLDEFENSE (DND)',1),
(5,6,669,'Language Orcish',1),
(5,6,674,'Dual Wield',1),
(5,6,750,'Plate Mail',1),
(5,6,1843,'Disarm',1),
(5,6,2382,'Generic',1),
(5,6,2479,'Honorless Target',1),
(5,6,3050,'Detect',1),
(5,6,3127,'Parry',1),
(5,6,3275,'Linen Bandage',1),
(5,6,3276,'Heavy Linen Bandage',1),
(5,6,3277,'Wool Bandage',1),
(5,6,3278,'Heavy Wool Bandage',1),
(5,6,3365,'Opening',1),
(5,6,5227,'Underwater Breathing',1),
(5,6,6233,'Closing',1),
(5,6,6246,'Closing',1),
(5,6,6247,'Opening',1),
(5,6,6477,'Opening',1),
(5,6,6478,'Opening',1),
(5,6,6603,'Attack',1),
(5,6,7266,'Duel',1),
(5,6,7267,'Grovel',1),
(5,6,7355,'Stuck',1),
(5,6,7744,'Will of the Forsaken',1),
(5,6,7928,'Silk Bandage',1),
(5,6,7929,'Heavy Silk Bandage',1),
(5,6,7934,'Anti-Venom',1),
(5,6,8386,'Attacking',1),
(5,6,8737,'Mail',1),
(5,6,9077,'Leather',1),
(5,6,9078,'Cloth',1),
(5,6,9125,'Generic',1),
(5,6,10840,'Mageweave Bandage',1),
(5,6,10841,'Heavy Mageweave Bandage',1),
(5,6,10846,'First Aid',1),
(5,6,17737,'Language Gutterspeak',1),
(5,6,18629,'Runecloth Bandage',1),
(5,6,18630,'Heavy Runecloth Bandage',1),
(5,6,20577,'Cannibalize',1),
(5,6,20579,'Shadow Resistance',1),
(5,6,21651,'Opening',1),
(5,6,21652,'Closing',1),
(5,6,22027,'Remove Insignia',1),
(5,6,22810,'Opening - No Text',1),
(5,6,33391,'Journeyman Riding',1),
(5,6,45462,'Plague Strike',1),
(5,6,45477,'Icy Touch',1),
(5,6,45902,'Blood Strike',1),
(5,6,45903,'Offensive State (DND)',1),
(5,6,45927,'Summon Friend',1),
(5,6,47541,'Death Coil',1),
(5,6,48266,'Blood Presence',1),
(5,6,49410,'Forceful Deflection',1),
(5,6,49576,'Death Grip',1),
(5,6,52665,'Sigil',1),
(5,6,59879,'Blood Plague',1),
(5,6,59921,'Frost Fever',1),
(5,6,61437,'Opening',1),
(5,6,61455,'Runic Focus',1),
(6,6,81,'Dodge',1),
(6,6,196,'One-Handed Axes',1),
(6,6,197,'Two-Handed Axes',1),
(6,6,200,'Polearms',1),
(6,6,201,'One-Handed Swords',1),
(6,6,202,'Two-Handed Swords',1),
(6,6,203,'Unarmed',1),
(6,6,204,'Defense',1),
(6,6,522,'SPELLDEFENSE (DND)',1),
(6,6,669,'Language Orcish',1),
(6,6,670,'Language Taurahe',1),
(6,6,674,'Dual Wield',1),
(6,6,750,'Plate Mail',1),
(6,6,1843,'Disarm',1),
(6,6,2382,'Generic',1),
(6,6,2479,'Honorless Target',1),
(6,6,3050,'Detect',1),
(6,6,3127,'Parry',1),
(6,6,3275,'Linen Bandage',1),
(6,6,3276,'Heavy Linen Bandage',1),
(6,6,3277,'Wool Bandage',1),
(6,6,3278,'Heavy Wool Bandage',1),
(6,6,3365,'Opening',1),
(6,6,6233,'Closing',1),
(6,6,6246,'Closing',1),
(6,6,6247,'Opening',1),
(6,6,6477,'Opening',1),
(6,6,6478,'Opening',1),
(6,6,6603,'Attack',1),
(6,6,7266,'Duel',1),
(6,6,7267,'Grovel',1),
(6,6,7355,'Stuck',1),
(6,6,7928,'Silk Bandage',1),
(6,6,7929,'Heavy Silk Bandage',1),
(6,6,7934,'Anti-Venom',1),
(6,6,8386,'Attacking',1),
(6,6,8737,'Mail',1),
(6,6,9077,'Leather',1),
(6,6,9078,'Cloth',1),
(6,6,9125,'Generic',1),
(6,6,10840,'Mageweave Bandage',1),
(6,6,10841,'Heavy Mageweave Bandage',1),
(6,6,10846,'First Aid',1),
(6,6,18629,'Runecloth Bandage',1),
(6,6,18630,'Heavy Runecloth Bandage',1),
(6,6,20549,'War Stomp',1),
(6,6,20550,'Endurance',1),
(6,6,20551,'Nature Resistance',1),
(6,6,20552,'Cultivation',1),
(6,6,21651,'Opening',1),
(6,6,21652,'Closing',1),
(6,6,22027,'Remove Insignia',1),
(6,6,22810,'Opening - No Text',1),
(6,6,33391,'Journeyman Riding',1),
(6,6,45462,'Plague Strike',1),
(6,6,45477,'Icy Touch',1),
(6,6,45902,'Blood Strike',1),
(6,6,45903,'Offensive State (DND)',1),
(6,6,45927,'Summon Friend',1),
(6,6,47541,'Death Coil',1),
(6,6,48266,'Blood Presence',1),
(6,6,49410,'Forceful Deflection',1),
(6,6,49576,'Death Grip',1),
(6,6,52665,'Sigil',1),
(6,6,59879,'Blood Plague',1),
(6,6,59921,'Frost Fever',1),
(6,6,61437,'Opening',1),
(6,6,61455,'Runic Focus',1),
(7,6,81,'Dodge',1),
(7,6,196,'One-Handed Axes',1),
(7,6,197,'Two-Handed Axes',1),
(7,6,200,'Polearms',1),
(7,6,201,'One-Handed Swords',1),
(7,6,202,'Two-Handed Swords',1),
(7,6,203,'Unarmed',1),
(7,6,204,'Defense',1),
(7,6,522,'SPELLDEFENSE (DND)',1),
(7,6,668,'Language Common',1),
(7,6,674,'Dual Wield',1),
(7,6,750,'Plate Mail',1),
(7,6,1843,'Disarm',1),
(7,6,2382,'Generic',1),
(7,6,2479,'Honorless Target',1),
(7,6,3050,'Detect',1),
(7,6,3127,'Parry',1),
(7,6,3275,'Linen Bandage',1),
(7,6,3276,'Heavy Linen Bandage',1),
(7,6,3277,'Wool Bandage',1),
(7,6,3278,'Heavy Wool Bandage',1),
(7,6,3365,'Opening',1),
(7,6,6233,'Closing',1),
(7,6,6246,'Closing',1),
(7,6,6247,'Opening',1),
(7,6,6477,'Opening',1),
(7,6,6478,'Opening',1),
(7,6,6603,'Attack',1),
(7,6,7266,'Duel',1),
(7,6,7267,'Grovel',1),
(7,6,7340,'Language Gnomish',1),
(7,6,7355,'Stuck',1),
(7,6,7928,'Silk Bandage',1),
(7,6,7929,'Heavy Silk Bandage',1),
(7,6,7934,'Anti-Venom',1),
(7,6,8386,'Attacking',1),
(7,6,8737,'Mail',1),
(7,6,9077,'Leather',1),
(7,6,9078,'Cloth',1),
(7,6,9125,'Generic',1),
(7,6,10840,'Mageweave Bandage',1),
(7,6,10841,'Heavy Mageweave Bandage',1),
(7,6,10846,'First Aid',1),
(7,6,18629,'Runecloth Bandage',1),
(7,6,18630,'Heavy Runecloth Bandage',1),
(7,6,20589,'Escape Artist',1),
(7,6,20591,'Expansive Mind',1),
(7,6,20592,'Arcane Resistance',1),
(7,6,20593,'Engineering Specialization',1),
(7,6,21651,'Opening',1),
(7,6,21652,'Closing',1),
(7,6,22027,'Remove Insignia',1),
(7,6,22810,'Opening - No Text',1),
(7,6,33391,'Journeyman Riding',1),
(7,6,45462,'Plague Strike',1),
(7,6,45477,'Icy Touch',1),
(7,6,45902,'Blood Strike',1),
(7,6,45903,'Offensive State (DND)',1),
(7,6,45927,'Summon Friend',1),
(7,6,47541,'Death Coil',1),
(7,6,48266,'Blood Presence',1),
(7,6,49410,'Forceful Deflection',1),
(7,6,49576,'Death Grip',1),
(7,6,52665,'Sigil',1),
(7,6,59879,'Blood Plague',1),
(7,6,59921,'Frost Fever',1),
(7,6,61437,'Opening',1),
(7,6,61455,'Runic Focus',1),
(8,6,81,'Dodge',1),
(8,6,196,'One-Handed Axes',1),
(8,6,197,'Two-Handed Axes',1),
(8,6,200,'Polearms',1),
(8,6,201,'One-Handed Swords',1),
(8,6,202,'Two-Handed Swords',1),
(8,6,203,'Unarmed',1),
(8,6,204,'Defense',1),
(8,6,522,'SPELLDEFENSE (DND)',1),
(8,6,669,'Language Orcish',1),
(8,6,674,'Dual Wield',1),
(8,6,750,'Plate Mail',1),
(8,6,1843,'Disarm',1),
(8,6,2382,'Generic',1),
(8,6,2479,'Honorless Target',1),
(8,6,3050,'Detect',1),
(8,6,3127,'Parry',1),
(8,6,3275,'Linen Bandage',1),
(8,6,3276,'Heavy Linen Bandage',1),
(8,6,3277,'Wool Bandage',1),
(8,6,3278,'Heavy Wool Bandage',1),
(8,6,3365,'Opening',1),
(8,6,6233,'Closing',1),
(8,6,6246,'Closing',1),
(8,6,6247,'Opening',1),
(8,6,6477,'Opening',1),
(8,6,6478,'Opening',1),
(8,6,6603,'Attack',1),
(8,6,7266,'Duel',1),
(8,6,7267,'Grovel',1),
(8,6,7341,'Language Troll',1),
(8,6,7355,'Stuck',1),
(8,6,7928,'Silk Bandage',1),
(8,6,7929,'Heavy Silk Bandage',1),
(8,6,7934,'Anti-Venom',1),
(8,6,8386,'Attacking',1),
(8,6,8737,'Mail',1),
(8,6,9077,'Leather',1),
(8,6,9078,'Cloth',1),
(8,6,9125,'Generic',1),
(8,6,10840,'Mageweave Bandage',1),
(8,6,10841,'Heavy Mageweave Bandage',1),
(8,6,10846,'First Aid',1),
(8,6,18629,'Runecloth Bandage',1),
(8,6,18630,'Heavy Runecloth Bandage',1),
(8,6,20555,'Regeneration',1),
(8,6,20557,'Beast Slaying',1),
(8,6,20558,'Throwing Specialization',1),
(8,6,21651,'Opening',1),
(8,6,21652,'Closing',1),
(8,6,22027,'Remove Insignia',1),
(8,6,22810,'Opening - No Text',1),
(8,6,26290,'Bow Specialization',1),
(8,6,33391,'Journeyman Riding',1),
(8,6,45462,'Plague Strike',1),
(8,6,45477,'Icy Touch',1),
(8,6,45902,'Blood Strike',1),
(8,6,45903,'Offensive State (DND)',1),
(8,6,45927,'Summon Friend',1),
(8,6,47541,'Death Coil',1),
(8,6,48266,'Blood Presence',1),
(8,6,49410,'Forceful Deflection',1),
(8,6,49576,'Death Grip',1),
(8,6,50621,'Berserking',1),
(8,6,52665,'Sigil',1),
(8,6,58943,'Da Voodoo Shuffle',1),
(8,6,59879,'Blood Plague',1),
(8,6,59921,'Frost Fever',1),
(8,6,61437,'Opening',1),
(8,6,61455,'Runic Focus',1),
(10,6,81,'Dodge',1),
(10,6,196,'One-Handed Axes',1),
(10,6,197,'Two-Handed Axes',1),
(10,6,200,'Polearms',1),
(10,6,201,'One-Handed Swords',1),
(10,6,202,'Two-Handed Swords',1),
(10,6,203,'Unarmed',1),
(10,6,204,'Defense',1),
(10,6,522,'SPELLDEFENSE (DND)',1),
(10,6,669,'Language Orcish',1),
(10,6,674,'Dual Wield',1),
(10,6,750,'Plate Mail',1),
(10,6,813,'Language Thalassian',1),
(10,6,822,'Magic Resistance',1),
(10,6,1843,'Disarm',1),
(10,6,2382,'Generic',1),
(10,6,2479,'Honorless Target',1),
(10,6,3050,'Detect',1),
(10,6,3127,'Parry',1),
(10,6,3275,'Linen Bandage',1),
(10,6,3276,'Heavy Linen Bandage',1),
(10,6,3277,'Wool Bandage',1),
(10,6,3278,'Heavy Wool Bandage',1),
(10,6,3365,'Opening',1),
(10,6,6233,'Closing',1),
(10,6,6246,'Closing',1),
(10,6,6247,'Opening',1),
(10,6,6477,'Opening',1),
(10,6,6478,'Opening',1),
(10,6,6603,'Attack',1),
(10,6,7266,'Duel',1),
(10,6,7267,'Grovel',1),
(10,6,7355,'Stuck',1),
(10,6,7928,'Silk Bandage',1),
(10,6,7929,'Heavy Silk Bandage',1),
(10,6,7934,'Anti-Venom',1),
(10,6,8386,'Attacking',1),
(10,6,8737,'Mail',1),
(10,6,9077,'Leather',1),
(10,6,9078,'Cloth',1),
(10,6,9125,'Generic',1),
(10,6,10840,'Mageweave Bandage',1),
(10,6,10841,'Heavy Mageweave Bandage',1),
(10,6,10846,'First Aid',1),
(10,6,18629,'Runecloth Bandage',1),
(10,6,18630,'Heavy Runecloth Bandage',1),
(10,6,21651,'Opening',1),
(10,6,21652,'Closing',1),
(10,6,22027,'Remove Insignia',1),
(10,6,22810,'Opening - No Text',1),
(10,6,28877,'Arcane Affinity',1),
(10,6,33391,'Journeyman Riding',1),
(10,6,45462,'Plague Strike',1),
(10,6,45477,'Icy Touch',1),
(10,6,45902,'Blood Strike',1),
(10,6,45903,'Offensive State (DND)',1),
(10,6,45927,'Summon Friend',1),
(10,6,47541,'Death Coil',1),
(10,6,48266,'Blood Presence',1),
(10,6,49410,'Forceful Deflection',1),
(10,6,49576,'Death Grip',1),
(10,6,50613,'Arcane Torrent',1),
(10,6,52665,'Sigil',1),
(10,6,59879,'Blood Plague',1),
(10,6,59921,'Frost Fever',1),
(10,6,61437,'Opening',1),
(10,6,61455,'Runic Focus',1),
(11,6,81,'Dodge',1),
(11,6,196,'One-Handed Axes',1),
(11,6,197,'Two-Handed Axes',1),
(11,6,200,'Polearms',1),
(11,6,201,'One-Handed Swords',1),
(11,6,202,'Two-Handed Swords',1),
(11,6,203,'Unarmed',1),
(11,6,204,'Defense',1),
(11,6,522,'SPELLDEFENSE (DND)',1),
(11,6,668,'Language Common',1),
(11,6,674,'Dual Wield',1),
(11,6,750,'Plate Mail',1),
(11,6,1843,'Disarm',1),
(11,6,2382,'Generic',1),
(11,6,2479,'Honorless Target',1),
(11,6,3050,'Detect',1),
(11,6,3127,'Parry',1),
(11,6,3275,'Linen Bandage',1),
(11,6,3276,'Heavy Linen Bandage',1),
(11,6,3277,'Wool Bandage',1),
(11,6,3278,'Heavy Wool Bandage',1),
(11,6,3365,'Opening',1),
(11,6,6233,'Closing',1),
(11,6,6246,'Closing',1),
(11,6,6247,'Opening',1),
(11,6,6477,'Opening',1),
(11,6,6478,'Opening',1),
(11,6,6562,'Heroic Presence',1),
(11,6,6603,'Attack',1),
(11,6,7266,'Duel',1),
(11,6,7267,'Grovel',1),
(11,6,7355,'Stuck',1),
(11,6,7928,'Silk Bandage',1),
(11,6,7929,'Heavy Silk Bandage',1),
(11,6,7934,'Anti-Venom',1),
(11,6,8386,'Attacking',1),
(11,6,8737,'Mail',1),
(11,6,9077,'Leather',1),
(11,6,9078,'Cloth',1),
(11,6,9125,'Generic',1),
(11,6,10840,'Mageweave Bandage',1),
(11,6,10841,'Heavy Mageweave Bandage',1),
(11,6,10846,'First Aid',1),
(11,6,18629,'Runecloth Bandage',1),
(11,6,18630,'Heavy Runecloth Bandage',1),
(11,6,21651,'Opening',1),
(11,6,21652,'Closing',1),
(11,6,22027,'Remove Insignia',1),
(11,6,22810,'Opening - No Text',1),
(11,6,28875,'Gemcutting',1),
(11,6,29932,'Language Draenei',1),
(11,6,33391,'Journeyman Riding',1),
(11,6,45462,'Plague Strike',1),
(11,6,45477,'Icy Touch',1),
(11,6,45902,'Blood Strike',1),
(11,6,45903,'Offensive State (DND)',1),
(11,6,45927,'Summon Friend',1),
(11,6,47541,'Death Coil',1),
(11,6,48266,'Blood Presence',1),
(11,6,49410,'Forceful Deflection',1),
(11,6,49576,'Death Grip',1),
(11,6,52665,'Sigil',1),
(11,6,59539,'Shadow Resistance',1),
(11,6,59545,'Gift of the Naaru',1),
(11,6,59879,'Blood Plague',1),
(11,6,59921,'Frost Fever',1),
(11,6,61437,'Opening',1),
(11,6,61455,'Runic Focus',1);

View File

@@ -0,0 +1,18 @@
ALTER TABLE db_version CHANGE COLUMN required_2008_12_22_16_mangos_playercreateinfo_spell required_2008_12_22_17_mangos_item_template bit;
DELETE FROM item_template WHERE entry IN (34648,34649,34650,34651,34652,34653,34655,34656,34657,34658,34659,38145,38147,41751);
INSERT INTO item_template VALUES
(34648,4,4,-1,'Acherus Knight\'s Greaves',51496,2,32768,1,51,10,8,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,10,7,12,3,7,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,392,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,55,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34649,4,4,-1,'Acherus Knight\'s Gauntlets',51498,2,32768,1,34,6,10,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,15,7,6,32,8,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,356,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34650,4,4,-1,'Acherus Knight\'s Tunic',51494,2,32768,1,69,13,5,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,20,7,11,32,7,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,570,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,115,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34651,4,4,-1,'Acherus Knight\'s Girdle',51497,2,32768,1,35,7,6,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,2,4,10,32,15,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,320,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34652,4,4,-1,'Acherus Knight\'s Hood',51495,2,32768,1,52,10,1,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,15,7,15,32,9,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,463,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,70,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34653,4,4,-1,'Acherus Knight\'s Wristguard',51500,2,32768,1,36,7,9,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,7,31,7,7,11,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,249,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34655,4,4,-1,'Acherus Knight\'s Pauldrons',51501,2,32768,1,54,10,3,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,11,3,9,7,11,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,427,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,70,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34656,4,4,-1,'Acherus Knight\'s Cover',51499,2,32768,1,73,14,7,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,13,3,10,7,15,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,499,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,6,0,0,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,'',0,0,0,0),
(34657,4,0,-1,'Choker of Damnation',6539,2,32768,1,2303,575,2,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,9,7,8,31,6,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,0,0,0,0,0,0,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,1,'',0,0,0,0,0,3,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),
(34658,4,0,-1,'Plague Band',963,2,32768,1,534,133,11,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,11,3,6,7,4,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,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,7,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),
(34659,4,1,-1,'Acherus Knight\'s Shroud',49738,2,32768,1,31,6,16,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,2,4,12,7,7,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,39,0,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,7,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),
(38145,1,0,-1,'Deathweave Bag',1282,1,32768,1,0,0,18,-1,-1,35,0,0,0,0,0,0,0,0,0,1,12,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,0,0,0,0,0,0,0,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,8,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),
(38147,4,0,-1,'Corrupted Band',963,2,32768,1,534,133,11,-1,-1,60,55,0,0,0,0,0,0,0,0,1,0,3,4,11,3,6,32,4,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,0,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,0,0,0,0,-1,0,-1,1,'',0,0,0,0,0,7,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),
(41751,0,5,-1,'Black Mushroom',36728,1,0,1,100,5,0,-1,-1,65,55,0,0,0,0,0,0,0,0,20,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,0,0,0,0,0,0,0,0,0,27094,0,-1,0,0,11,1000,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,0,'',0,0,0,0,0,4,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);

View File

@@ -0,0 +1,68 @@
ALTER TABLE character_db_version CHANGE COLUMN required_2008_12_22_06_characters_character_achievement required_2008_12_22_18_characters_characters bit;
UPDATE characters SET data = REPLACE(data,' ',' ');
UPDATE characters SET data = CONCAT(TRIM(data),' ');
UPDATE characters SET data = CONCAT(
SUBSTRING(data, 1, length(SUBSTRING_INDEX(data, ' ', 10))), " 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 10))+2, length(SUBSTRING_INDEX(data, ' ', 18))- length(SUBSTRING_INDEX(data, ' ', 10)) - 1), " ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 20))+2, length(SUBSTRING_INDEX(data, ' ', 22))- length(SUBSTRING_INDEX(data, ' ', 20)) - 1), " ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 36))+2, length(SUBSTRING_INDEX(data, ' ', 37))- length(SUBSTRING_INDEX(data, ' ', 36)) - 1), " ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 22))+2, length(SUBSTRING_INDEX(data, ' ', 28))- length(SUBSTRING_INDEX(data, ' ', 22)) - 1), " 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 28))+2, length(SUBSTRING_INDEX(data, ' ', 34))- length(SUBSTRING_INDEX(data, ' ', 28)) - 1), " 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1564))+2, length(SUBSTRING_INDEX(data, ' ', 1565))- length(SUBSTRING_INDEX(data, ' ', 1564)) - 1), " 0 0 0 0 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1565))+2, length(SUBSTRING_INDEX(data, ' ', 1566))- length(SUBSTRING_INDEX(data, ' ', 1565)) - 1), " 0 0 0 0 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 34))+2, length(SUBSTRING_INDEX(data, ' ', 36))- length(SUBSTRING_INDEX(data, ' ', 34)) - 1), " 0 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 46))+2, length(SUBSTRING_INDEX(data, ' ', 48))- length(SUBSTRING_INDEX(data, ' ', 46)) - 1), " ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 146))+2, length(SUBSTRING_INDEX(data, ' ', 170))- length(SUBSTRING_INDEX(data, ' ', 146)) - 1), " ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 171))+2, length(SUBSTRING_INDEX(data, ' ', 209))- length(SUBSTRING_INDEX(data, ' ', 171)) - 1), " ",
((SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 209))+2, length(SUBSTRING_INDEX(data, ' ', 210))- length(SUBSTRING_INDEX(data, ' ', 209)) - 1) & ~0x100) | ((SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 46))+2, length(SUBSTRING_INDEX(data, ' ', 47))- length(SUBSTRING_INDEX(data, ' ', 46)) - 1) & 0x1000) >> 4)), " ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 210))+2, length(SUBSTRING_INDEX(data, ' ', 233))- length(SUBSTRING_INDEX(data, ' ', 210)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 233))+2, length(SUBSTRING_INDEX(data, ' ', 358))- length(SUBSTRING_INDEX(data, ' ', 233)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 358))+2, length(SUBSTRING_INDEX(data, ' ', 359))- length(SUBSTRING_INDEX(data, ' ', 358)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 359))+2, length(SUBSTRING_INDEX(data, ' ', 374))- length(SUBSTRING_INDEX(data, ' ', 359)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 374))+2, length(SUBSTRING_INDEX(data, ' ', 375))- length(SUBSTRING_INDEX(data, ' ', 374)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 375))+2, length(SUBSTRING_INDEX(data, ' ', 390))- length(SUBSTRING_INDEX(data, ' ', 375)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 390))+2, length(SUBSTRING_INDEX(data, ' ', 391))- length(SUBSTRING_INDEX(data, ' ', 390)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 391))+2, length(SUBSTRING_INDEX(data, ' ', 406))- length(SUBSTRING_INDEX(data, ' ', 391)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 406))+2, length(SUBSTRING_INDEX(data, ' ', 407))- length(SUBSTRING_INDEX(data, ' ', 406)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 407))+2, length(SUBSTRING_INDEX(data, ' ', 422))- length(SUBSTRING_INDEX(data, ' ', 407)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 422))+2, length(SUBSTRING_INDEX(data, ' ', 423))- length(SUBSTRING_INDEX(data, ' ', 422)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 423))+2, length(SUBSTRING_INDEX(data, ' ', 438))- length(SUBSTRING_INDEX(data, ' ', 423)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 438))+2, length(SUBSTRING_INDEX(data, ' ', 439))- length(SUBSTRING_INDEX(data, ' ', 438)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 439))+2, length(SUBSTRING_INDEX(data, ' ', 454))- length(SUBSTRING_INDEX(data, ' ', 439)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 454))+2, length(SUBSTRING_INDEX(data, ' ', 455))- length(SUBSTRING_INDEX(data, ' ', 454)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 455))+2, length(SUBSTRING_INDEX(data, ' ', 470))- length(SUBSTRING_INDEX(data, ' ', 455)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 470))+2, length(SUBSTRING_INDEX(data, ' ', 471))- length(SUBSTRING_INDEX(data, ' ', 470)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 471))+2, length(SUBSTRING_INDEX(data, ' ', 486))- length(SUBSTRING_INDEX(data, ' ', 471)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 486))+2, length(SUBSTRING_INDEX(data, ' ', 487))- length(SUBSTRING_INDEX(data, ' ', 486)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 487))+2, length(SUBSTRING_INDEX(data, ' ', 502))- length(SUBSTRING_INDEX(data, ' ', 487)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 502))+2, length(SUBSTRING_INDEX(data, ' ', 503))- length(SUBSTRING_INDEX(data, ' ', 502)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 503))+2, length(SUBSTRING_INDEX(data, ' ', 518))- length(SUBSTRING_INDEX(data, ' ', 503)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 518))+2, length(SUBSTRING_INDEX(data, ' ', 519))- length(SUBSTRING_INDEX(data, ' ', 518)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 519))+2, length(SUBSTRING_INDEX(data, ' ', 534))- length(SUBSTRING_INDEX(data, ' ', 519)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 534))+2, length(SUBSTRING_INDEX(data, ' ', 535))- length(SUBSTRING_INDEX(data, ' ', 534)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 535))+2, length(SUBSTRING_INDEX(data, ' ', 550))- length(SUBSTRING_INDEX(data, ' ', 535)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 550))+2, length(SUBSTRING_INDEX(data, ' ', 551))- length(SUBSTRING_INDEX(data, ' ', 550)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 551))+2, length(SUBSTRING_INDEX(data, ' ', 566))- length(SUBSTRING_INDEX(data, ' ', 551)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 566))+2, length(SUBSTRING_INDEX(data, ' ', 567))- length(SUBSTRING_INDEX(data, ' ', 566)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 567))+2, length(SUBSTRING_INDEX(data, ' ', 582))- length(SUBSTRING_INDEX(data, ' ', 567)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 582))+2, length(SUBSTRING_INDEX(data, ' ', 583))- length(SUBSTRING_INDEX(data, ' ', 582)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 583))+2, length(SUBSTRING_INDEX(data, ' ', 598))- length(SUBSTRING_INDEX(data, ' ', 583)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 598))+2, length(SUBSTRING_INDEX(data, ' ', 599))- length(SUBSTRING_INDEX(data, ' ', 598)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 599))+2, length(SUBSTRING_INDEX(data, ' ', 614))- length(SUBSTRING_INDEX(data, ' ', 599)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 614))+2, length(SUBSTRING_INDEX(data, ' ', 615))- length(SUBSTRING_INDEX(data, ' ', 614)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 615))+2, length(SUBSTRING_INDEX(data, ' ', 630))- length(SUBSTRING_INDEX(data, ' ', 615)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 630))+2, length(SUBSTRING_INDEX(data, ' ', 631))- length(SUBSTRING_INDEX(data, ' ', 630)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 631))+2, length(SUBSTRING_INDEX(data, ' ', 646))- length(SUBSTRING_INDEX(data, ' ', 631)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 646))+2, length(SUBSTRING_INDEX(data, ' ', 647))- length(SUBSTRING_INDEX(data, ' ', 646)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 647))+2, length(SUBSTRING_INDEX(data, ' ', 922))- length(SUBSTRING_INDEX(data, ' ', 647)) - 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 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 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 0 0 0 0 0 0 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 922))+2, length(SUBSTRING_INDEX(data, ' ', 926))- length(SUBSTRING_INDEX(data, ' ', 922)) - 1), " 0 0 0 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 926))+2, length(SUBSTRING_INDEX(data, ' ', 1332))- length(SUBSTRING_INDEX(data, ' ', 926)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1332))+2, length(SUBSTRING_INDEX(data, ' ', 1544))- length(SUBSTRING_INDEX(data, ' ', 1332)) - 1), " 0 ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1544))+2, length(SUBSTRING_INDEX(data, ' ', 1564))- length(SUBSTRING_INDEX(data, ' ', 1544)) - 1), " ",
SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1566))+2, length(SUBSTRING_INDEX(data, ' ', 1592))- length(SUBSTRING_INDEX(data, ' ', 1566)) - 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 ")
WHERE length(SUBSTRING_INDEX(data, ' ', 1592)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1593)) >= length(data);

View File

@@ -0,0 +1,15 @@
ALTER TABLE character_db_version CHANGE COLUMN required_2008_12_22_18_characters_characters required_2008_12_22_19_characters_item_instance bit;
UPDATE item_instance SET data = REPLACE(data,' ',' ');
UPDATE item_instance SET data = CONCAT(TRIM(data),' ');
UPDATE item_instance SET data= CONCAT(
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',30),' ',-30),' 0 0 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',60),' ',-60+30),' 0 ')
WHERE SUBSTRING_INDEX(data,' ',60) = data AND SUBSTRING_INDEX(data,' ',60-1) <> data;
UPDATE item_instance SET data= CONCAT(
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',30),' ',-30),' 0 0 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',60),' ',-60+30),' 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',134),' ',-134+60))
WHERE SUBSTRING_INDEX(data,' ',134) = data AND SUBSTRING_INDEX(data,' ',134-1) <> data;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
ALTER TABLE db_version CHANGE COLUMN required_6936_01_mangos_spell_chain required_6939_01_mangos_quest_template bit;
ALTER TABLE `quest_template`
CHANGE `RewHonorableKills` `RewHonorableKills` int unsigned NOT NULL default '0';

View File

@@ -0,0 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_6939_01_mangos_quest_template required_6940_01_mangos_spell_learn_spell bit;
DELETE FROM spell_learn_spell WHERE entry = 2842;

File diff suppressed because it is too large Load Diff