Merge branch '4.3.4' into Gitlab434_4.3.4
This commit is contained in:
commit
bc8f5194c4
859 files changed
+97668
-87701
No files matched your search
@@ -1,8 +1,8 @@
|
||||
-- MySQL dump 10.15 Distrib 10.0.13-MariaDB, for Win64 (x86)
|
||||
-- MySQL dump 10.13 Distrib 5.6.9-rc, for Win64 (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: auth_4x
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 10.0.13-MariaDB
|
||||
-- Server version 5.6.9-rc
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
@@ -496,7 +496,8 @@ DROP TABLE IF EXISTS `rbac_default_permissions`;
|
||||
CREATE TABLE `rbac_default_permissions` (
|
||||
`secId` int(10) unsigned NOT NULL COMMENT 'Security Level id',
|
||||
`permissionId` int(10) unsigned NOT NULL COMMENT 'permission id',
|
||||
PRIMARY KEY (`secId`,`permissionId`),
|
||||
`realmId` int(11) NOT NULL DEFAULT '-1' COMMENT 'Realm Id, -1 means all',
|
||||
PRIMARY KEY (`secId`,`permissionId`,`realmId`),
|
||||
KEY `fk__rbac_default_permissions__rbac_permissions` (`permissionId`),
|
||||
CONSTRAINT `fk__rbac_default_permissions__rbac_permissions` FOREIGN KEY (`permissionId`) REFERENCES `rbac_permissions` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Default permission to assign to different account security levels';
|
||||
@@ -508,7 +509,7 @@ CREATE TABLE `rbac_default_permissions` (
|
||||
|
||||
LOCK TABLES `rbac_default_permissions` WRITE;
|
||||
/*!40000 ALTER TABLE `rbac_default_permissions` DISABLE KEYS */;
|
||||
INSERT INTO `rbac_default_permissions` VALUES (0,195),(1,194),(2,193),(3,192);
|
||||
INSERT INTO `rbac_default_permissions` VALUES (3,192,-1),(2,193,-1),(1,194,-1),(0,195,-1);
|
||||
/*!40000 ALTER TABLE `rbac_default_permissions` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
@@ -626,6 +627,57 @@ INSERT INTO `realmlist` VALUES (1,'Trinity','127.0.0.1','127.0.0.1','255.255.255
|
||||
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `updates`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `updates` (
|
||||
`name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `updates`
|
||||
--
|
||||
|
||||
LOCK TABLES `updates` WRITE;
|
||||
/*!40000 ALTER TABLE `updates` DISABLE KEYS */;
|
||||
INSERT INTO `updates` VALUES ('2014_11_10_00_auth.sql','0E3CB119442D09DD88E967015319BBC8DAFBBFE0','ARCHIVED','2015-03-21 21:44:12',0),('2014_11_10_01_auth.sql','327E77A1DA3546D5275AB249915DD57EDD6FDD3D','ARCHIVED','2015-03-21 21:44:12',0),('2014_12_10_00_auth.sql','821703A96D80F9080074852B5A46E2909C9562EA','ARCHIVED','2015-03-21 21:44:12',0),('2014_12_21_00_auth.sql','CE2E5D2CD82E79C25294539ADED27A1429105B43','ARCHIVED','2015-03-21 21:44:12',0),('2015_03_20_00_auth.sql','E8C5B74BB45F0F35DEC182C72BACF435C7066FB0','ARCHIVED','2015-03-21 21:44:12',0),('2015_03_20_01_auth.sql','862961815354DA2746F5F71FBC8155F57CBE75AB','ARCHIVED','2015-03-21 21:44:12',0),('2015_03_20_02_auth.sql','33E4F94086590768EF5D4855DD43D7DE7C06ADA4','ARCHIVED','2015-03-21 21:44:51',0);
|
||||
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `updates_include`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
PRIMARY KEY (`path`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `updates_include`
|
||||
--
|
||||
|
||||
LOCK TABLES `updates_include` WRITE;
|
||||
/*!40000 ALTER TABLE `updates_include` DISABLE KEYS */;
|
||||
INSERT INTO `updates_include` VALUES ('$/sql/updates/auth','RELEASED'),('$/sql/custom/auth','RELEASED'),('$/sql/old/3.3.5a/auth','ARCHIVED');
|
||||
/*!40000 ALTER TABLE `updates_include` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `uptime`
|
||||
--
|
||||
@@ -661,4 +713,4 @@ UNLOCK TABLES;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2014-10-18 23:33:11
|
||||
-- Dump completed on 2015-03-21 21:48:22
|
||||
@@ -1,8 +1,8 @@
|
||||
-- MySQL dump 10.13 Distrib 5.5.40, for debian-linux-gnu (x86_64)
|
||||
-- MySQL dump 10.13 Distrib 5.6.9-rc, for Win64 (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: characters_4x
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 5.5.40-0ubuntu0.14.04.1
|
||||
-- Server version 5.6.9-rc
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
@@ -483,22 +483,22 @@ DROP TABLE IF EXISTS `character_aura`;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_aura` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`caster_guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
|
||||
`item_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`casterGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
|
||||
`itemGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`effect_mask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`recalculate_mask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`stackcount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||
`effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||
`amount0` int(11) NOT NULL DEFAULT '0',
|
||||
`amount1` int(11) NOT NULL DEFAULT '0',
|
||||
`amount2` int(11) NOT NULL DEFAULT '0',
|
||||
`base_amount0` int(11) NOT NULL DEFAULT '0',
|
||||
`base_amount1` int(11) NOT NULL DEFAULT '0',
|
||||
`base_amount2` int(11) NOT NULL DEFAULT '0',
|
||||
`maxduration` int(11) NOT NULL DEFAULT '0',
|
||||
`remaintime` int(11) NOT NULL DEFAULT '0',
|
||||
`remaincharges` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`caster_guid`,`item_guid`,`spell`,`effect_mask`)
|
||||
`maxDuration` int(11) NOT NULL DEFAULT '0',
|
||||
`remainTime` int(11) NOT NULL DEFAULT '0',
|
||||
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@@ -763,7 +763,7 @@ DROP TABLE IF EXISTS `character_glyphs`;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_glyphs` (
|
||||
`guid` int(10) unsigned NOT NULL,
|
||||
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`glyph1` smallint(5) unsigned DEFAULT '0',
|
||||
`glyph2` smallint(5) unsigned DEFAULT '0',
|
||||
`glyph3` smallint(5) unsigned DEFAULT '0',
|
||||
@@ -773,7 +773,7 @@ CREATE TABLE `character_glyphs` (
|
||||
`glyph7` smallint(5) unsigned DEFAULT '0',
|
||||
`glyph8` smallint(5) unsigned DEFAULT '0',
|
||||
`glyph9` smallint(5) unsigned DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`spec`)
|
||||
PRIMARY KEY (`guid`,`talentGroup`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@@ -1276,8 +1276,8 @@ DROP TABLE IF EXISTS `character_talent`;
|
||||
CREATE TABLE `character_talent` (
|
||||
`guid` int(10) unsigned NOT NULL,
|
||||
`spell` mediumint(8) unsigned NOT NULL,
|
||||
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`spell`,`spec`)
|
||||
`talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`spell`,`talentGroup`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@@ -1383,8 +1383,8 @@ CREATE TABLE `characters` (
|
||||
`power4` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`power5` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`latency` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`speccount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||
`activespec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||
`activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`exploredZones` longtext,
|
||||
`equipmentCache` longtext,
|
||||
`knownTitles` longtext,
|
||||
@@ -1575,68 +1575,68 @@ LOCK TABLES `gameobject_respawn` WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `gm_subsurveys`
|
||||
-- Table structure for table `gm_subsurvey`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `gm_subsurveys`;
|
||||
DROP TABLE IF EXISTS `gm_subsurvey`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `gm_subsurveys` (
|
||||
CREATE TABLE `gm_subsurvey` (
|
||||
`surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`subsurveyId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`rank` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`comment` text NOT NULL,
|
||||
PRIMARY KEY (`surveyId`,`subsurveyId`)
|
||||
`questionId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`answer` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`answerComment` text NOT NULL,
|
||||
PRIMARY KEY (`surveyId`,`questionId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `gm_subsurveys`
|
||||
-- Dumping data for table `gm_subsurvey`
|
||||
--
|
||||
|
||||
LOCK TABLES `gm_subsurveys` WRITE;
|
||||
/*!40000 ALTER TABLE `gm_subsurveys` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gm_subsurveys` ENABLE KEYS */;
|
||||
LOCK TABLES `gm_subsurvey` WRITE;
|
||||
/*!40000 ALTER TABLE `gm_subsurvey` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gm_subsurvey` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `gm_surveys`
|
||||
-- Table structure for table `gm_survey`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `gm_surveys`;
|
||||
DROP TABLE IF EXISTS `gm_survey`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `gm_surveys` (
|
||||
CREATE TABLE `gm_survey` (
|
||||
`surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`mainSurvey` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`overallComment` longtext NOT NULL,
|
||||
`comment` longtext NOT NULL,
|
||||
`createTime` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`surveyId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `gm_surveys`
|
||||
-- Dumping data for table `gm_survey`
|
||||
--
|
||||
|
||||
LOCK TABLES `gm_surveys` WRITE;
|
||||
/*!40000 ALTER TABLE `gm_surveys` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gm_surveys` ENABLE KEYS */;
|
||||
LOCK TABLES `gm_survey` WRITE;
|
||||
/*!40000 ALTER TABLE `gm_survey` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gm_survey` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `gm_tickets`
|
||||
-- Table structure for table `gm_ticket`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `gm_tickets`;
|
||||
DROP TABLE IF EXISTS `gm_ticket`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `gm_tickets` (
|
||||
`ticketId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator',
|
||||
CREATE TABLE `gm_ticket` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`playerGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator',
|
||||
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
|
||||
`message` text NOT NULL,
|
||||
`description` text NOT NULL,
|
||||
`createTime` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`posX` float NOT NULL DEFAULT '0',
|
||||
@@ -1650,18 +1650,18 @@ CREATE TABLE `gm_tickets` (
|
||||
`completed` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`escalated` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`viewed` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`haveTicket` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ticketId`)
|
||||
`needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `gm_tickets`
|
||||
-- Dumping data for table `gm_ticket`
|
||||
--
|
||||
|
||||
LOCK TABLES `gm_tickets` WRITE;
|
||||
/*!40000 ALTER TABLE `gm_tickets` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gm_tickets` ENABLE KEYS */;
|
||||
LOCK TABLES `gm_ticket` WRITE;
|
||||
/*!40000 ALTER TABLE `gm_ticket` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `gm_ticket` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
@@ -1738,7 +1738,7 @@ CREATE TABLE `groups` (
|
||||
`icon8` bigint(20) unsigned NOT NULL,
|
||||
`groupType` tinyint(3) unsigned NOT NULL,
|
||||
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`raiddifficulty` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`masterLooterGuid` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`guid`),
|
||||
KEY `leaderGuid` (`leaderGuid`)
|
||||
@@ -2476,21 +2476,21 @@ DROP TABLE IF EXISTS `pet_aura`;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `pet_aura` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`caster_guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
|
||||
`casterGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
|
||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`effect_mask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`recalculate_mask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`stackcount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||
`effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||
`amount0` mediumint(8) NOT NULL,
|
||||
`amount1` mediumint(8) NOT NULL,
|
||||
`amount2` mediumint(8) NOT NULL,
|
||||
`base_amount0` mediumint(8) NOT NULL,
|
||||
`base_amount1` mediumint(8) NOT NULL,
|
||||
`base_amount2` mediumint(8) NOT NULL,
|
||||
`maxduration` int(11) NOT NULL DEFAULT '0',
|
||||
`remaintime` int(11) NOT NULL DEFAULT '0',
|
||||
`remaincharges` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`spell`,`effect_mask`)
|
||||
`maxDuration` int(11) NOT NULL DEFAULT '0',
|
||||
`remainTime` int(11) NOT NULL DEFAULT '0',
|
||||
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`spell`,`effectMask`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@@ -2738,6 +2738,57 @@ LOCK TABLES `reserved_name` WRITE;
|
||||
/*!40000 ALTER TABLE `reserved_name` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `updates`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `updates` (
|
||||
`name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `updates`
|
||||
--
|
||||
|
||||
LOCK TABLES `updates` WRITE;
|
||||
/*!40000 ALTER TABLE `updates` DISABLE KEYS */;
|
||||
INSERT INTO `updates` VALUES ('2015_03_20_00_characters.sql','B761760804EA73BD297F296C5C1919687DF7191C','ARCHIVED','2015-03-21 21:44:15',0),('2015_03_20_01_characters.sql','894F08B70449A5481FFAF394EE5571D7FC4D8A3A','ARCHIVED','2015-03-21 21:44:15',0),('2015_03_20_02_characters.sql','97D7BE0CAADC79F3F11B9FD296B8C6CD40FE593B','ARCHIVED','2015-03-21 21:44:51',0), ('2015_06_26_00_characters_335.sql','f8230a59a9e878a6f54f421d6621f1595bd93861','RELEASED','2015-03-21 21:44:51',0);
|
||||
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `updates_include`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
PRIMARY KEY (`path`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `updates_include`
|
||||
--
|
||||
|
||||
LOCK TABLES `updates_include` WRITE;
|
||||
/*!40000 ALTER TABLE `updates_include` DISABLE KEYS */;
|
||||
INSERT INTO `updates_include` VALUES ('$/sql/updates/characters','RELEASED'),('$/sql/custom/characters','RELEASED'),('$/sql/old/3.3.5a/characters','ARCHIVED');
|
||||
/*!40000 ALTER TABLE `updates_include` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `warden_action`
|
||||
--
|
||||
@@ -2795,4 +2846,4 @@ UNLOCK TABLES;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2014-10-18 18:02:06
|
||||
-- Dump completed on 2015-06-25 17:43:13
|
||||
@@ -2925,7 +2925,7 @@ CREATE TABLE `quest_template` (
|
||||
`RewardSpell` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`RewardSpellCast` int(11) NOT NULL DEFAULT '0',
|
||||
`RewardHonor` int(11) NOT NULL DEFAULT '0',
|
||||
`RewardHonorMultiplier` float NOT NULL DEFAULT '1',
|
||||
`RewardHonorMultiplier` float NOT NULL DEFAULT '0',
|
||||
`RewardMailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`RewardMailDelay` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`SourceItemId` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
@@ -3715,6 +3715,37 @@ CREATE TABLE `trinity_string` (
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `updates`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `updates` (
|
||||
`name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `updates_include`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
PRIMARY KEY (`path`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `vehicle_accessory`
|
||||
--
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
*.sql
|
||||
@@ -0,0 +1 @@
|
||||
*.sql
|
||||
@@ -0,0 +1 @@
|
||||
*.sql
|
||||
+75416
-75416
File diff suppressed because it is too large.
Load diff
+3
-3
@@ -1,3 +1,3 @@
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 38194;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(38194, 'spell_talon_king_ikiss_blink');
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 38194;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(38194, 'spell_talon_king_ikiss_blink');
|
||||
+18
-18
@@ -1,18 +1,18 @@
|
||||
-- SWP: Move Muru summons to database
|
||||
SET @MURU := 25741;
|
||||
DELETE FROM `creature_summon_groups` WHERE `summonerId` = @MURU AND `entry` IN (25798, 25799, 25744);
|
||||
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES
|
||||
(@MURU, 0, 0, 25799, 1780.16, 666.83, 71.19, 5.21, 5, 0), -- Shadowsword Fury Mage
|
||||
(@MURU, 0, 0, 25799, 1847.93, 600.30, 71.30, 2.57, 5, 0),
|
||||
(@MURU, 0, 0, 25798, 1779.97, 660.64, 71.19, 5.28, 5, 0), -- Shadowsword Berserker
|
||||
(@MURU, 0, 0, 25798, 1786.20, 661.01, 71.19, 4.51, 5, 0),
|
||||
(@MURU, 0, 0, 25798, 1845.17, 602.63, 71.28, 2.43, 5, 0),
|
||||
(@MURU, 0, 0, 25798, 1842.91, 599.93, 71.23, 2.44, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1819.90, 609.80, 69.74, 1.94, 5, 0), -- Darkfiend
|
||||
(@MURU, 0, 1, 25744, 1829.39, 617.89, 69.73, 2.61, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1801.98, 633.62, 69.74, 5.71, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1830.88, 629.99, 69.73, 3.52, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1800.38, 621.41, 69.74, 0.22, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1808.30, 612.45, 69.73, 1.02, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1823.90, 639.69, 69.74, 4.12, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1811.85, 640.46, 69.73, 4.97, 5, 0);
|
||||
-- SWP: Move Muru summons to database
|
||||
SET @MURU := 25741;
|
||||
DELETE FROM `creature_summon_groups` WHERE `summonerId` = @MURU AND `entry` IN (25798, 25799, 25744);
|
||||
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES
|
||||
(@MURU, 0, 0, 25799, 1780.16, 666.83, 71.19, 5.21, 5, 0), -- Shadowsword Fury Mage
|
||||
(@MURU, 0, 0, 25799, 1847.93, 600.30, 71.30, 2.57, 5, 0),
|
||||
(@MURU, 0, 0, 25798, 1779.97, 660.64, 71.19, 5.28, 5, 0), -- Shadowsword Berserker
|
||||
(@MURU, 0, 0, 25798, 1786.20, 661.01, 71.19, 4.51, 5, 0),
|
||||
(@MURU, 0, 0, 25798, 1845.17, 602.63, 71.28, 2.43, 5, 0),
|
||||
(@MURU, 0, 0, 25798, 1842.91, 599.93, 71.23, 2.44, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1819.90, 609.80, 69.74, 1.94, 5, 0), -- Darkfiend
|
||||
(@MURU, 0, 1, 25744, 1829.39, 617.89, 69.73, 2.61, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1801.98, 633.62, 69.74, 5.71, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1830.88, 629.99, 69.73, 3.52, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1800.38, 621.41, 69.74, 0.22, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1808.30, 612.45, 69.73, 1.02, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1823.90, 639.69, 69.74, 4.12, 5, 0),
|
||||
(@MURU, 0, 1, 25744, 1811.85, 640.46, 69.73, 4.97, 5, 0);
|
||||
@@ -1 +1 @@
|
||||
UPDATE `creature_loot_template` SET `ChanceOrQuestChance`=6 WHERE `entry` IN (34566, 35216, 35268, 35269, 35347, 35348, 35349, 35350, 35351, 35352, 35447, 35448, 35449, 35615, 35616) AND `item`=3;
|
||||
UPDATE `creature_loot_template` SET `ChanceOrQuestChance`=6 WHERE `entry` IN (34566, 35216, 35268, 35269, 35347, 35348, 35349, 35350, 35351, 35352, 35447, 35448, 35449, 35615, 35616) AND `item`=3;
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
-- Remove no longer used script
|
||||
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` = 17662; -- Broggok Poison Cloud
|
||||
-- Remove no longer used script
|
||||
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` = 17662; -- Broggok Poison Cloud
|
||||
@@ -1,6 +1,6 @@
|
||||
-- Corrects unit_flags and sets AI for Illusion of Jandice Barov (11439)
|
||||
SET @ENTRY := 11439;
|
||||
UPDATE `creature_template` SET `ScriptName` = '', `AIName` = 'SmartAI', `unit_flags` = `unit_flags` &~4194304 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, 2, 2000, 8000, 5000, 8000, 11, 15284, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Illusion of Jandice Barov - In Combat - Cast 'Cleave' (Normal Dungeon)");
|
||||
-- Corrects unit_flags and sets AI for Illusion of Jandice Barov (11439)
|
||||
SET @ENTRY := 11439;
|
||||
UPDATE `creature_template` SET `ScriptName` = '', `AIName` = 'SmartAI', `unit_flags` = `unit_flags` &~4194304 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, 2, 2000, 8000, 5000, 8000, 11, 15284, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Illusion of Jandice Barov - In Combat - Cast 'Cleave' (Normal Dungeon)");
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN (27695, 27687);
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(27695, 'spell_kormok_summon_bone_mages'),
|
||||
(27687, 'spell_kormok_summon_bone_minions');
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN (27695, 27687);
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(27695, 'spell_kormok_summon_bone_mages'),
|
||||
(27687, 'spell_kormok_summon_bone_minions');
|
||||
@@ -1,5 +1,5 @@
|
||||
SET @ENTRY := 11136; -- Freed Soul
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' 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, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Freed Soul - On Respawn - Say Line 0');
|
||||
SET @ENTRY := 11136; -- Freed Soul
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' 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, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Freed Soul - On Respawn - Say Line 0');
|
||||
@@ -1,6 +1,6 @@
|
||||
SET @ENTRY := 25040; -- Greater Water Elemental
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' 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, 1, 0, 0, 0, 100, 0, 3000, 3000, 5000, 5000, 11, 46983, 64, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Greater Water Elemental - In Combat CMC - Cast Waterbolt');
|
||||
|
||||
SET @ENTRY := 25040; -- Greater Water Elemental
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' 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, 1, 0, 0, 0, 100, 0, 3000, 3000, 5000, 5000, 11, 46983, 64, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Greater Water Elemental - In Combat CMC - Cast Waterbolt');
|
||||
|
||||
@@ -1 +1 @@
|
||||
UPDATE `conditions` SET `ConditionValue1` = 46 WHERE `SourceEntry` IN (63989, 63997, 63998) AND `SourceTypeOrReferenceId` = 18;
|
||||
UPDATE `conditions` SET `ConditionValue1` = 46 WHERE `SourceEntry` IN (63989, 63997, 63998) AND `SourceTypeOrReferenceId` = 18;
|
||||
+1
-1
@@ -1 +1 @@
|
||||
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` = 29920;
|
||||
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` = 29920;
|
||||
+3
-3
@@ -1,3 +1,3 @@
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 48292;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(48292, 'spell_gen_50pct_count_pct_from_max_hp');
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 48292;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(48292, 'spell_gen_50pct_count_pct_from_max_hp');
|
||||
+3
-3
@@ -1,3 +1,3 @@
|
||||
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` = 7361 AND `type` = 12;
|
||||
INSERT INTO `achievement_criteria_data`(`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES
|
||||
(7361, 12, 1, 0, '');
|
||||
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` = 7361 AND `type` = 12;
|
||||
INSERT INTO `achievement_criteria_data`(`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES
|
||||
(7361, 12, 1, 0, '');
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
--
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 39238;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(39238, 'spell_q10929_fumping');
|
||||
--
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 39238;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(39238, 'spell_q10929_fumping');
|
||||
@@ -0,0 +1,7 @@
|
||||
DELETE FROM rbac_permissions WHERE id = 797;
|
||||
INSERT INTO rbac_permissions (`id`, `name`) VALUES
|
||||
(797, 'Command: pvpstats');
|
||||
|
||||
DELETE FROM rbac_linked_permissions WHERE `linkedId` = 797;
|
||||
INSERT INTO rbac_linked_permissions (`id`, `linkedId`) VALUES
|
||||
(199, 797);
|
||||
@@ -0,0 +1,9 @@
|
||||
/* add rbac permissions to new commands */
|
||||
DELETE FROM `rbac_permissions` WHERE `id`=798;
|
||||
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES
|
||||
(798, 'Command: .mod xp');
|
||||
|
||||
DELETE FROM `rbac_linked_permissions` WHERE `id`=798;
|
||||
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES
|
||||
/* add mod xp to gms */
|
||||
(194, 798);
|
||||
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `rbac_default_permissions`
|
||||
ADD COLUMN `realmId` INT(11) NOT NULL DEFAULT '-1' COMMENT 'Realm Id, -1 means all',
|
||||
DROP PRIMARY KEY, ADD PRIMARY KEY (`secId`, `permissionId`, `realmId`);
|
||||
@@ -0,0 +1,9 @@
|
||||
-- Add rbac_permissions
|
||||
DELETE FROM `rbac_permissions` WHERE `id` = 51;
|
||||
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES
|
||||
(51, 'Allow trading between factions');
|
||||
|
||||
-- Add rbac_linked_permissions
|
||||
DELETE FROM `rbac_linked_permissions` WHERE `linkedId` = 51;
|
||||
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES
|
||||
(194, 51);
|
||||
@@ -0,0 +1,36 @@
|
||||
-- Updates base tables
|
||||
DROP TABLE IF EXISTS `updates`;
|
||||
CREATE TABLE `updates` (
|
||||
`name` VARCHAR(200) NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` CHAR(40) NULL DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` INT(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
)
|
||||
COMMENT='List of all applied updates in this database.'
|
||||
COLLATE='utf8_general_ci'
|
||||
ENGINE=MyISAM;
|
||||
|
||||
DROP TABLE IF EXISTS `updates_include`;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` VARCHAR(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
PRIMARY KEY (`path`)
|
||||
)
|
||||
COMMENT='List of directories where we want to include sql updates.'
|
||||
COLLATE='utf8_general_ci'
|
||||
ENGINE=MyISAM;
|
||||
|
||||
-- Auth database update data
|
||||
TRUNCATE TABLE `updates_include`;
|
||||
INSERT INTO `updates_include` (`path`, `state`) VALUES
|
||||
('$/sql/updates/auth', 'RELEASED'),
|
||||
('$/sql/custom/auth', 'RELEASED'),
|
||||
('$/sql/old/3.3.5a/auth', 'ARCHIVED');
|
||||
|
||||
INSERT IGNORE INTO `updates` (`name`, `hash`) VALUES
|
||||
('2015_03_20_00_auth.sql', ''),
|
||||
('2015_03_20_01_auth.sql', ''),
|
||||
('2015_03_20_02_auth.sql', '');
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
-- Auth database update data
|
||||
TRUNCATE TABLE `updates_include`;
|
||||
INSERT INTO `updates_include` (`path`, `state`) VALUES
|
||||
('$/sql/updates/auth', 'RELEASED'),
|
||||
('$/sql/custom/auth', 'RELEASED'),
|
||||
('$/sql/old/3.3.5a/auth', 'ARCHIVED');
|
||||
@@ -0,0 +1,8 @@
|
||||
INSERT IGNORE INTO `updates` (`name`, `hash`) VALUES
|
||||
('2014_11_10_00_auth.sql', '0E3CB119442D09DD88E967015319BBC8DAFBBFE0'),
|
||||
('2014_11_10_01_auth.sql', '327E77A1DA3546D5275AB249915DD57EDD6FDD3D'),
|
||||
('2014_12_10_00_auth.sql', '821703A96D80F9080074852B5A46E2909C9562EA'),
|
||||
('2014_12_21_00_auth.sql', 'CE2E5D2CD82E79C25294539ADED27A1429105B43'),
|
||||
('2015_03_20_00_auth.sql', 'E8C5B74BB45F0F35DEC182C72BACF435C7066FB0'),
|
||||
('2015_03_20_01_auth.sql', '862961815354DA2746F5F71FBC8155F57CBE75AB'),
|
||||
('2015_03_20_02_auth.sql', '');
|
||||
@@ -0,0 +1,23 @@
|
||||
-- Updates base tables
|
||||
DROP TABLE IF EXISTS `updates`;
|
||||
CREATE TABLE `updates` (
|
||||
`name` VARCHAR(200) NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` CHAR(40) NULL DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` INT(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
)
|
||||
COMMENT='List of all applied updates in this database.'
|
||||
COLLATE='utf8_general_ci'
|
||||
ENGINE=MyISAM;
|
||||
|
||||
DROP TABLE IF EXISTS `updates_include`;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` VARCHAR(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
PRIMARY KEY (`path`)
|
||||
)
|
||||
COMMENT='List of directories where we want to include sql updates.'
|
||||
COLLATE='utf8_general_ci'
|
||||
ENGINE=MyISAM;
|
||||
@@ -0,0 +1,6 @@
|
||||
-- Characters database update data
|
||||
TRUNCATE TABLE `updates_include`;
|
||||
INSERT INTO `updates_include` (`path`, `state`) VALUES
|
||||
('$/sql/updates/characters', 'RELEASED'),
|
||||
('$/sql/custom/characters', 'RELEASED'),
|
||||
('$/sql/old/3.3.5a/characters', 'ARCHIVED');
|
||||
@@ -0,0 +1,4 @@
|
||||
INSERT IGNORE INTO `updates` (`name`, `hash`) VALUES
|
||||
('2015_03_20_00_characters.sql', 'B761760804EA73BD297F296C5C1919687DF7191C'),
|
||||
('2015_03_20_01_characters.sql', '894F08B70449A5481FFAF394EE5571D7FC4D8A3A'),
|
||||
('2015_03_20_02_characters.sql', '');
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 859 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user