diff options
27 files changed, 6574 insertions, 83 deletions
diff --git a/.travis.yml b/.travis.yml index bbeafd424a5..756cacfebab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: cpp compiler: - clang +git: + depth: 1 + before_install: - echo "yes" | sudo add-apt-repository ppa:kalakris/cmake - echo "yes" | sudo add-apt-repository ppa:boost-latest/ppa @@ -11,11 +14,19 @@ before_install: - sudo apt-get -qq install libssl-dev libmysqlclient15-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev - sudo apt-get -qq install libboost1.55-dev libboost-thread1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev -script: +install: + - mysql -uroot -e 'create database test_mysql;' - mkdir bin - cd bin - cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=1 -DUSE_COREPCH=0 -DUSE_SCRIPTPCH=0 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DCMAKE_BUILD_TYPE=Release - - make -j 8 -git: - depth: 1 +script: + - cd .. + - mysql -uroot < sql/create/create_mysql.sql + - mysql -uroot auth < sql/base/auth_database.sql + - mysql -uroot characters < sql/base/characters_database.sql + - mysql -uroot world < sql/base/world_database.sql + - for file in sql/updates/world/*.sql; do mysql -uroot world < $file; done + - mysql -uroot < sql/create/drop_mysql.sql + - cd bin + - make -j 8 diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql new file mode 100644 index 00000000000..633b59e0556 --- /dev/null +++ b/sql/base/world_database.sql @@ -0,0 +1,3662 @@ +-- MySQL dump 10.13 Distrib 5.6.9-rc, for Win64 (x86_64) +-- +-- Host: localhost Database: world +-- ------------------------------------------------------ +-- Server version 5.6.9-rc + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Table structure for table `access_requirement` +-- + +DROP TABLE IF EXISTS `access_requirement`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `access_requirement` ( + `mapId` mediumint(8) unsigned NOT NULL, + `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', + `level_min` tinyint(3) unsigned NOT NULL DEFAULT '0', + `level_max` tinyint(3) unsigned NOT NULL DEFAULT '0', + `item_level` smallint(5) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest_done_A` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest_done_H` mediumint(8) unsigned NOT NULL DEFAULT '0', + `completed_achievement` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest_failed_text` text, + `comment` text, + PRIMARY KEY (`mapId`,`difficulty`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Access Requirements'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `achievement_criteria_data` +-- + +DROP TABLE IF EXISTS `achievement_criteria_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `achievement_criteria_data` ( + `criteria_id` mediumint(8) NOT NULL, + `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `value1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `value2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ScriptName` char(64) NOT NULL DEFAULT '', + PRIMARY KEY (`criteria_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Achievment system'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `achievement_dbc` +-- + +DROP TABLE IF EXISTS `achievement_dbc`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `achievement_dbc` ( + `ID` int(10) unsigned NOT NULL, + `requiredFaction` int(11) NOT NULL DEFAULT '-1', + `mapID` int(11) NOT NULL DEFAULT '-1', + `points` int(10) unsigned NOT NULL DEFAULT '0', + `flags` int(10) unsigned NOT NULL DEFAULT '0', + `count` int(10) unsigned NOT NULL DEFAULT '0', + `refAchievement` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `achievement_reward` +-- + +DROP TABLE IF EXISTS `achievement_reward`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `achievement_reward` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `title_A` mediumint(8) unsigned NOT NULL DEFAULT '0', + `title_H` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `sender` mediumint(8) unsigned NOT NULL DEFAULT '0', + `subject` varchar(255) DEFAULT NULL, + `text` text, + `mailTemplate` mediumint(8) unsigned DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `areatrigger_involvedrelation` +-- + +DROP TABLE IF EXISTS `areatrigger_involvedrelation`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `areatrigger_involvedrelation` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `areatrigger_scripts` +-- + +DROP TABLE IF EXISTS `areatrigger_scripts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `areatrigger_scripts` ( + `entry` mediumint(8) NOT NULL, + `ScriptName` char(64) NOT NULL, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `areatrigger_tavern` +-- + +DROP TABLE IF EXISTS `areatrigger_tavern`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `areatrigger_tavern` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `name` text, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `areatrigger_teleport` +-- + +DROP TABLE IF EXISTS `areatrigger_teleport`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `areatrigger_teleport` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `name` text, + `target_map` smallint(5) unsigned NOT NULL DEFAULT '0', + `target_position_x` float NOT NULL DEFAULT '0', + `target_position_y` float NOT NULL DEFAULT '0', + `target_position_z` float NOT NULL DEFAULT '0', + `target_orientation` float NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`id`), + FULLTEXT KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `battleground_template` +-- + +DROP TABLE IF EXISTS `battleground_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `battleground_template` ( + `id` mediumint(8) unsigned NOT NULL, + `MinPlayersPerTeam` smallint(5) unsigned NOT NULL DEFAULT '0', + `MaxPlayersPerTeam` smallint(5) unsigned NOT NULL DEFAULT '0', + `MinLvl` tinyint(3) unsigned NOT NULL DEFAULT '0', + `MaxLvl` tinyint(3) unsigned NOT NULL DEFAULT '0', + `AllianceStartLoc` mediumint(8) unsigned NOT NULL, + `AllianceStartO` float NOT NULL, + `HordeStartLoc` mediumint(8) unsigned NOT NULL, + `HordeStartO` float NOT NULL, + `StartMaxDist` float NOT NULL DEFAULT '0', + `Weight` tinyint(3) unsigned NOT NULL DEFAULT '1', + `ScriptName` char(64) NOT NULL DEFAULT '', + `Comment` char(32) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `battlemaster_entry` +-- + +DROP TABLE IF EXISTS `battlemaster_entry`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `battlemaster_entry` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of a creature', + `bg_template` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Battleground template id', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `broadcast_text` +-- + +DROP TABLE IF EXISTS `broadcast_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `broadcast_text` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Language` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MaleText` longtext, + `FemaleText` longtext, + `EmoteID0` mediumint(8) unsigned NOT NULL DEFAULT '0', + `EmoteID1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `EmoteID2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `EmoteDelay0` mediumint(8) unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `SoundId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Unk1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Unk2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `command` +-- + +DROP TABLE IF EXISTS `command`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `command` ( + `name` varchar(50) NOT NULL DEFAULT '', + `permission` smallint(5) unsigned NOT NULL DEFAULT '0', + `help` longtext, + PRIMARY KEY (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Chat System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `conditions` +-- + +DROP TABLE IF EXISTS `conditions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `conditions` ( + `SourceTypeOrReferenceId` mediumint(8) NOT NULL DEFAULT '0', + `SourceGroup` mediumint(8) unsigned NOT NULL DEFAULT '0', + `SourceEntry` mediumint(8) NOT NULL DEFAULT '0', + `SourceId` int(11) NOT NULL DEFAULT '0', + `ElseGroup` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ConditionTypeOrReference` mediumint(8) NOT NULL DEFAULT '0', + `ConditionTarget` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ConditionValue1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ConditionValue2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ConditionValue3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `NegativeCondition` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ErrorType` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ErrorTextId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ScriptName` char(64) NOT NULL DEFAULT '', + `Comment` varchar(255) DEFAULT NULL, + PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Condition System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature` +-- + +DROP TABLE IF EXISTS `creature`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature` ( + `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature Identifier', + `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT '1', + `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', + `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `equipment_id` tinyint(3) NOT NULL DEFAULT '0', + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + `spawntimesecs` int(10) unsigned NOT NULL DEFAULT '120', + `spawndist` float NOT NULL DEFAULT '0', + `currentwaypoint` mediumint(8) unsigned NOT NULL DEFAULT '0', + `curhealth` int(10) unsigned NOT NULL DEFAULT '1', + `curmana` int(10) unsigned NOT NULL DEFAULT '0', + `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `npcflag` int(10) unsigned NOT NULL DEFAULT '0', + `unit_flags` int(10) unsigned NOT NULL DEFAULT '0', + `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`guid`), + KEY `idx_map` (`map`), + KEY `idx_id` (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=1022682 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_addon` +-- + +DROP TABLE IF EXISTS `creature_addon`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_addon` ( + `guid` int(10) unsigned NOT NULL DEFAULT '0', + `path_id` int(10) unsigned NOT NULL DEFAULT '0', + `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', + `bytes1` int(10) unsigned NOT NULL DEFAULT '0', + `bytes2` int(10) unsigned NOT NULL DEFAULT '0', + `emote` int(10) unsigned NOT NULL DEFAULT '0', + `auras` text, + PRIMARY KEY (`guid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_classlevelstats` +-- + +DROP TABLE IF EXISTS `creature_classlevelstats`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_classlevelstats` ( + `level` tinyint(3) unsigned NOT NULL, + `class` tinyint(3) unsigned NOT NULL, + `basehp0` smallint(5) unsigned NOT NULL DEFAULT '1', + `basehp1` smallint(5) unsigned NOT NULL DEFAULT '1', + `basehp2` smallint(5) unsigned NOT NULL DEFAULT '1', + `basemana` smallint(5) unsigned NOT NULL DEFAULT '0', + `basearmor` smallint(5) unsigned NOT NULL DEFAULT '1', + `attackpower` smallint(5) unsigned NOT NULL DEFAULT '0', + `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT '0', + `damage_base` float NOT NULL DEFAULT '0', + `damage_exp1` float NOT NULL DEFAULT '0', + `damage_exp2` float NOT NULL DEFAULT '0', + `comment` text, + PRIMARY KEY (`level`,`class`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_equip_template` +-- + +DROP TABLE IF EXISTS `creature_equip_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_equip_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `id` tinyint(3) unsigned NOT NULL DEFAULT '0', + `itemEntry1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `itemEntry2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `itemEntry3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`,`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_formations` +-- + +DROP TABLE IF EXISTS `creature_formations`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_formations` ( + `leaderGUID` int(10) unsigned NOT NULL, + `memberGUID` int(10) unsigned NOT NULL, + `dist` float unsigned NOT NULL, + `angle` float unsigned NOT NULL, + `groupAI` int(10) unsigned NOT NULL, + `point_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `point_2` smallint(5) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`memberGUID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_loot_template` +-- + +DROP TABLE IF EXISTS `creature_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_model_info` +-- + +DROP TABLE IF EXISTS `creature_model_info`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_model_info` ( + `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `bounding_radius` float NOT NULL DEFAULT '0', + `combat_reach` float NOT NULL DEFAULT '0', + `gender` tinyint(3) unsigned NOT NULL DEFAULT '2', + `modelid_other_gender` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`modelid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Model related info)'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_onkill_reputation` +-- + +DROP TABLE IF EXISTS `creature_onkill_reputation`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_onkill_reputation` ( + `creature_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature Identifier', + `RewOnKillRepFaction1` smallint(6) NOT NULL DEFAULT '0', + `RewOnKillRepFaction2` smallint(6) NOT NULL DEFAULT '0', + `MaxStanding1` tinyint(4) NOT NULL DEFAULT '0', + `IsTeamAward1` tinyint(4) NOT NULL DEFAULT '0', + `RewOnKillRepValue1` mediumint(8) NOT NULL DEFAULT '0', + `MaxStanding2` tinyint(4) NOT NULL DEFAULT '0', + `IsTeamAward2` tinyint(4) NOT NULL DEFAULT '0', + `RewOnKillRepValue2` mediumint(9) NOT NULL DEFAULT '0', + `TeamDependent` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`creature_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_questender` +-- + +DROP TABLE IF EXISTS `creature_questender`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_questender` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + PRIMARY KEY (`id`,`quest`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_queststarter` +-- + +DROP TABLE IF EXISTS `creature_queststarter`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_queststarter` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + PRIMARY KEY (`id`,`quest`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_summon_groups` +-- + +DROP TABLE IF EXISTS `creature_summon_groups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_summon_groups` ( + `summonerId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `summonerType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `groupId` tinyint(3) unsigned NOT NULL DEFAULT '0', + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + `summonType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `summonTime` int(10) unsigned NOT NULL DEFAULT '0' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_template` +-- + +DROP TABLE IF EXISTS `creature_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `difficulty_entry_1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `difficulty_entry_2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `difficulty_entry_3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `KillCredit1` int(10) unsigned NOT NULL DEFAULT '0', + `KillCredit2` int(10) unsigned NOT NULL DEFAULT '0', + `modelid1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `modelid2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `modelid3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `modelid4` mediumint(8) unsigned NOT NULL DEFAULT '0', + `name` char(100) NOT NULL DEFAULT '0', + `subname` char(100) DEFAULT NULL, + `IconName` char(100) DEFAULT NULL, + `gossip_menu_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `minlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', + `maxlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', + `exp` smallint(6) NOT NULL DEFAULT '0', + `faction` smallint(5) unsigned NOT NULL DEFAULT '0', + `npcflag` int(10) unsigned NOT NULL DEFAULT '0', + `speed_walk` float NOT NULL DEFAULT '1' COMMENT 'Result of 2.5/2.5, most common value', + `speed_run` float NOT NULL DEFAULT '1.14286' COMMENT 'Result of 8.0/7.0, most common value', + `scale` float NOT NULL DEFAULT '1', + `rank` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mindmg` float NOT NULL DEFAULT '0', + `maxdmg` float NOT NULL DEFAULT '0', + `dmgschool` tinyint(4) NOT NULL DEFAULT '0', + `attackpower` int(10) unsigned NOT NULL DEFAULT '0', + `dmg_multiplier` float NOT NULL DEFAULT '1', + `baseattacktime` int(10) unsigned NOT NULL DEFAULT '0', + `rangeattacktime` int(10) unsigned NOT NULL DEFAULT '0', + `unit_class` tinyint(3) unsigned NOT NULL DEFAULT '0', + `unit_flags` int(10) unsigned NOT NULL DEFAULT '0', + `unit_flags2` int(10) unsigned NOT NULL DEFAULT '0', + `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', + `family` tinyint(4) NOT NULL DEFAULT '0', + `trainer_type` tinyint(4) NOT NULL DEFAULT '0', + `trainer_spell` mediumint(8) unsigned NOT NULL DEFAULT '0', + `trainer_class` tinyint(3) unsigned NOT NULL DEFAULT '0', + `trainer_race` tinyint(3) unsigned NOT NULL DEFAULT '0', + `minrangedmg` float NOT NULL DEFAULT '0', + `maxrangedmg` float NOT NULL DEFAULT '0', + `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT '0', + `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `type_flags` int(10) unsigned NOT NULL DEFAULT '0', + `lootid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `pickpocketloot` mediumint(8) unsigned NOT NULL DEFAULT '0', + `skinloot` mediumint(8) unsigned NOT NULL DEFAULT '0', + `resistance1` smallint(6) NOT NULL DEFAULT '0', + `resistance2` smallint(6) NOT NULL DEFAULT '0', + `resistance3` smallint(6) NOT NULL DEFAULT '0', + `resistance4` smallint(6) NOT NULL DEFAULT '0', + `resistance5` smallint(6) NOT NULL DEFAULT '0', + `resistance6` smallint(6) NOT NULL DEFAULT '0', + `spell1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell4` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell5` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell6` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell7` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell8` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PetSpellDataId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `VehicleId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `mingold` mediumint(8) unsigned NOT NULL DEFAULT '0', + `maxgold` mediumint(8) unsigned NOT NULL DEFAULT '0', + `AIName` char(64) NOT NULL DEFAULT '', + `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `InhabitType` tinyint(3) unsigned NOT NULL DEFAULT '3', + `HoverHeight` float NOT NULL DEFAULT '1', + `Health_mod` float NOT NULL DEFAULT '1', + `Mana_mod` float NOT NULL DEFAULT '1', + `Armor_mod` float NOT NULL DEFAULT '1', + `RacialLeader` tinyint(3) unsigned NOT NULL DEFAULT '0', + `questItem1` int(10) unsigned NOT NULL DEFAULT '0', + `questItem2` int(10) unsigned NOT NULL DEFAULT '0', + `questItem3` int(10) unsigned NOT NULL DEFAULT '0', + `questItem4` int(10) unsigned NOT NULL DEFAULT '0', + `questItem5` int(10) unsigned NOT NULL DEFAULT '0', + `questItem6` int(10) unsigned NOT NULL DEFAULT '0', + `movementId` int(11) unsigned NOT NULL DEFAULT '0', + `RegenHealth` tinyint(3) unsigned NOT NULL DEFAULT '1', + `mechanic_immune_mask` int(10) unsigned NOT NULL DEFAULT '0', + `flags_extra` int(10) unsigned NOT NULL DEFAULT '0', + `ScriptName` char(64) NOT NULL DEFAULT '', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`), + KEY `idx_name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_template_addon` +-- + +DROP TABLE IF EXISTS `creature_template_addon`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_template_addon` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `path_id` int(10) unsigned NOT NULL DEFAULT '0', + `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', + `bytes1` int(10) unsigned NOT NULL DEFAULT '0', + `bytes2` int(10) unsigned NOT NULL DEFAULT '0', + `emote` mediumint(8) unsigned NOT NULL DEFAULT '0', + `auras` text, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_text` +-- + +DROP TABLE IF EXISTS `creature_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_text` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `id` tinyint(3) unsigned NOT NULL DEFAULT '0', + `text` longtext, + `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `language` tinyint(3) unsigned NOT NULL DEFAULT '0', + `probability` float NOT NULL DEFAULT '0', + `emote` mediumint(8) unsigned NOT NULL DEFAULT '0', + `duration` mediumint(8) unsigned NOT NULL DEFAULT '0', + `sound` mediumint(8) unsigned NOT NULL DEFAULT '0', + `comment` varchar(255) DEFAULT '', + `BroadcastTextID` mediumint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`entry`,`groupid`,`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `db_script_string` +-- + +DROP TABLE IF EXISTS `db_script_string`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `db_script_string` ( + `entry` int(10) unsigned NOT NULL DEFAULT '0', + `content_default` text NOT NULL, + `content_loc1` text, + `content_loc2` text, + `content_loc3` text, + `content_loc4` text, + `content_loc5` text, + `content_loc6` text, + `content_loc7` text, + `content_loc8` text, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `disables` +-- + +DROP TABLE IF EXISTS `disables`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `disables` ( + `sourceType` int(10) unsigned NOT NULL, + `entry` int(10) unsigned NOT NULL, + `flags` tinyint(3) unsigned NOT NULL DEFAULT '0', + `params_0` varchar(255) NOT NULL DEFAULT '', + `params_1` varchar(255) NOT NULL DEFAULT '', + `comment` varchar(255) NOT NULL DEFAULT '', + PRIMARY KEY (`sourceType`,`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `disenchant_loot_template` +-- + +DROP TABLE IF EXISTS `disenchant_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `disenchant_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Recommended id selection: item_level*100 + item_quality', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(9) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `event_scripts` +-- + +DROP TABLE IF EXISTS `event_scripts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `event_scripts` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `delay` int(10) unsigned NOT NULL DEFAULT '0', + `command` mediumint(8) unsigned NOT NULL DEFAULT '0', + `datalong` mediumint(8) unsigned NOT NULL DEFAULT '0', + `datalong2` int(10) unsigned NOT NULL DEFAULT '0', + `dataint` int(11) NOT NULL DEFAULT '0', + `x` float NOT NULL DEFAULT '0', + `y` float NOT NULL DEFAULT '0', + `z` float NOT NULL DEFAULT '0', + `o` float NOT NULL DEFAULT '0' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `exploration_basexp` +-- + +DROP TABLE IF EXISTS `exploration_basexp`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `exploration_basexp` ( + `level` tinyint(3) unsigned NOT NULL DEFAULT '0', + `basexp` mediumint(8) NOT NULL DEFAULT '0', + PRIMARY KEY (`level`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Exploration System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `fishing_loot_template` +-- + +DROP TABLE IF EXISTS `fishing_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `fishing_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event` +-- + +DROP TABLE IF EXISTS `game_event`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `start_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before', + `end_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler', + `occurence` bigint(20) unsigned NOT NULL DEFAULT '5184000' COMMENT 'Delay in minutes between occurences of the event', + `length` bigint(20) unsigned NOT NULL DEFAULT '2592000' COMMENT 'Length in minutes of the event', + `holiday` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Client side holiday id', + `description` varchar(255) DEFAULT NULL COMMENT 'Description of the event displayed in console', + `world_event` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '0 if normal event, 1 if world event', + `announce` tinyint(3) unsigned DEFAULT '2' COMMENT '0 dont announce, 1 announce, 2 value from config', + PRIMARY KEY (`eventEntry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_arena_seasons` +-- + +DROP TABLE IF EXISTS `game_event_arena_seasons`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_arena_seasons` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `season` tinyint(3) unsigned NOT NULL COMMENT 'Arena season number', + UNIQUE KEY `season` (`season`,`eventEntry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_battleground_holiday` +-- + +DROP TABLE IF EXISTS `game_event_battleground_holiday`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_battleground_holiday` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `bgflag` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`eventEntry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_condition` +-- + +DROP TABLE IF EXISTS `game_event_condition`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_condition` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `req_num` float DEFAULT '0', + `max_world_state_field` smallint(5) unsigned NOT NULL DEFAULT '0', + `done_world_state_field` smallint(5) unsigned NOT NULL DEFAULT '0', + `description` varchar(25) NOT NULL DEFAULT '', + PRIMARY KEY (`eventEntry`,`condition_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_creature` +-- + +DROP TABLE IF EXISTS `game_event_creature`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_creature` ( + `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', + `guid` int(10) unsigned NOT NULL, + PRIMARY KEY (`guid`,`eventEntry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_creature_quest` +-- + +DROP TABLE IF EXISTS `game_event_creature_quest`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_creature_quest` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event.', + `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`id`,`quest`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_gameobject` +-- + +DROP TABLE IF EXISTS `game_event_gameobject`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_gameobject` ( + `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', + `guid` int(10) unsigned NOT NULL, + PRIMARY KEY (`guid`,`eventEntry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_gameobject_quest` +-- + +DROP TABLE IF EXISTS `game_event_gameobject_quest`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_gameobject_quest` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`id`,`quest`,`eventEntry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_model_equip` +-- + +DROP TABLE IF EXISTS `game_event_model_equip`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_model_equip` ( + `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', + `guid` int(10) unsigned NOT NULL DEFAULT '0', + `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`guid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_npc_vendor` +-- + +DROP TABLE IF EXISTS `game_event_npc_vendor`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_npc_vendor` ( + `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', + `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `slot` smallint(6) NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `maxcount` mediumint(8) unsigned NOT NULL DEFAULT '0', + `incrtime` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`guid`,`item`), + KEY `slot` (`slot`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_npcflag` +-- + +DROP TABLE IF EXISTS `game_event_npcflag`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_npcflag` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `npcflag` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`guid`,`eventEntry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_pool` +-- + +DROP TABLE IF EXISTS `game_event_pool`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_pool` ( + `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Id of the pool', + PRIMARY KEY (`pool_entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_prerequisite` +-- + +DROP TABLE IF EXISTS `game_event_prerequisite`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_prerequisite` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `prerequisite_event` mediumint(8) unsigned NOT NULL, + PRIMARY KEY (`eventEntry`,`prerequisite_event`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_quest_condition` +-- + +DROP TABLE IF EXISTS `game_event_quest_condition`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_quest_condition` ( + `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event.', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0', + `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `num` float DEFAULT '0', + PRIMARY KEY (`quest`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_event_seasonal_questrelation` +-- + +DROP TABLE IF EXISTS `game_event_seasonal_questrelation`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_event_seasonal_questrelation` ( + `questId` int(10) unsigned NOT NULL COMMENT 'Quest Identifier', + `eventEntry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of the game event', + PRIMARY KEY (`questId`,`eventEntry`), + KEY `idx_quest` (`questId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Player System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_graveyard_zone` +-- + +DROP TABLE IF EXISTS `game_graveyard_zone`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_graveyard_zone` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ghost_zone` mediumint(8) unsigned NOT NULL DEFAULT '0', + `faction` smallint(5) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`id`,`ghost_zone`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_tele` +-- + +DROP TABLE IF EXISTS `game_tele`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_tele` ( + `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + `map` smallint(5) unsigned NOT NULL DEFAULT '0', + `name` varchar(100) NOT NULL DEFAULT '', + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=1424 DEFAULT CHARSET=utf8 COMMENT='Tele Command'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `game_weather` +-- + +DROP TABLE IF EXISTS `game_weather`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `game_weather` ( + `zone` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spring_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `spring_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `spring_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `summer_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `summer_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `summer_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `fall_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `fall_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `fall_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `winter_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `winter_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `winter_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', + `ScriptName` char(64) NOT NULL DEFAULT '', + PRIMARY KEY (`zone`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Weather System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gameobject` +-- + +DROP TABLE IF EXISTS `gameobject`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gameobject` ( + `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Gameobject Identifier', + `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT '1', + `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + `rotation0` float NOT NULL DEFAULT '0', + `rotation1` float NOT NULL DEFAULT '0', + `rotation2` float NOT NULL DEFAULT '0', + `rotation3` float NOT NULL DEFAULT '0', + `spawntimesecs` int(11) NOT NULL DEFAULT '0', + `animprogress` tinyint(3) unsigned NOT NULL DEFAULT '0', + `state` tinyint(3) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`guid`) +) ENGINE=MyISAM AUTO_INCREMENT=255094 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gameobject_loot_template` +-- + +DROP TABLE IF EXISTS `gameobject_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gameobject_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gameobject_questender` +-- + +DROP TABLE IF EXISTS `gameobject_questender`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gameobject_questender` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + PRIMARY KEY (`id`,`quest`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gameobject_queststarter` +-- + +DROP TABLE IF EXISTS `gameobject_queststarter`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gameobject_queststarter` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + PRIMARY KEY (`id`,`quest`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gameobject_template` +-- + +DROP TABLE IF EXISTS `gameobject_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gameobject_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `displayId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `name` varchar(100) NOT NULL DEFAULT '', + `IconName` varchar(100) NOT NULL DEFAULT '', + `castBarCaption` varchar(100) NOT NULL DEFAULT '', + `unk1` varchar(100) NOT NULL DEFAULT '', + `faction` smallint(5) unsigned NOT NULL DEFAULT '0', + `flags` int(10) unsigned NOT NULL DEFAULT '0', + `size` float NOT NULL DEFAULT '1', + `questItem1` int(11) unsigned NOT NULL DEFAULT '0', + `questItem2` int(11) unsigned NOT NULL DEFAULT '0', + `questItem3` int(11) unsigned NOT NULL DEFAULT '0', + `questItem4` int(11) unsigned NOT NULL DEFAULT '0', + `questItem5` int(11) unsigned NOT NULL DEFAULT '0', + `questItem6` int(11) unsigned NOT NULL DEFAULT '0', + `data0` int(10) unsigned NOT NULL DEFAULT '0', + `data1` int(11) NOT NULL DEFAULT '-1', + `data2` int(10) unsigned NOT NULL DEFAULT '0', + `data3` int(10) unsigned NOT NULL DEFAULT '0', + `data4` int(10) unsigned NOT NULL DEFAULT '0', + `data5` int(10) unsigned NOT NULL DEFAULT '0', + `data6` int(11) NOT NULL DEFAULT '-1', + `data7` int(10) unsigned NOT NULL DEFAULT '0', + `data8` int(10) unsigned NOT NULL DEFAULT '0', + `data9` int(10) unsigned NOT NULL DEFAULT '0', + `data10` int(10) unsigned NOT NULL DEFAULT '0', + `data11` int(10) unsigned NOT NULL DEFAULT '0', + `data12` int(10) unsigned NOT NULL DEFAULT '0', + `data13` int(10) unsigned NOT NULL DEFAULT '0', + `data14` int(10) unsigned NOT NULL DEFAULT '0', + `data15` int(10) unsigned NOT NULL DEFAULT '0', + `data16` int(10) unsigned NOT NULL DEFAULT '0', + `data17` int(10) unsigned NOT NULL DEFAULT '0', + `data18` int(10) unsigned NOT NULL DEFAULT '0', + `data19` int(10) unsigned NOT NULL DEFAULT '0', + `data20` int(10) unsigned NOT NULL DEFAULT '0', + `data21` int(10) unsigned NOT NULL DEFAULT '0', + `data22` int(10) unsigned NOT NULL DEFAULT '0', + `data23` int(10) unsigned NOT NULL DEFAULT '0', + `AIName` char(64) NOT NULL DEFAULT '', + `ScriptName` varchar(64) NOT NULL DEFAULT '', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`), + KEY `idx_name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gossip_menu` +-- + +DROP TABLE IF EXISTS `gossip_menu`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gossip_menu` ( + `entry` smallint(5) unsigned NOT NULL DEFAULT '0', + `text_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`entry`,`text_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gossip_menu_option` +-- + +DROP TABLE IF EXISTS `gossip_menu_option`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gossip_menu_option` ( + `menu_id` smallint(5) unsigned NOT NULL DEFAULT '0', + `id` smallint(5) unsigned NOT NULL DEFAULT '0', + `option_icon` mediumint(8) unsigned NOT NULL DEFAULT '0', + `option_text` text, + `OptionBroadcastTextID` mediumint(6) NOT NULL DEFAULT '0', + `option_id` tinyint(3) unsigned NOT NULL DEFAULT '0', + `npc_option_npcflag` int(10) unsigned NOT NULL DEFAULT '0', + `action_menu_id` int(10) unsigned NOT NULL DEFAULT '0', + `action_poi_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `box_coded` tinyint(3) unsigned NOT NULL DEFAULT '0', + `box_money` int(10) unsigned NOT NULL DEFAULT '0', + `box_text` text, + `BoxBroadcastTextID` mediumint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`menu_id`,`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `instance_encounters` +-- + +DROP TABLE IF EXISTS `instance_encounters`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `instance_encounters` ( + `entry` int(10) unsigned NOT NULL COMMENT 'Unique entry from DungeonEncounter.dbc', + `creditType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `creditEntry` int(10) unsigned NOT NULL DEFAULT '0', + `lastEncounterDungeon` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'If not 0, LfgDungeon.dbc entry for the instance it is last encounter in', + `comment` varchar(255) NOT NULL DEFAULT '', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `instance_template` +-- + +DROP TABLE IF EXISTS `instance_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `instance_template` ( + `map` smallint(5) unsigned NOT NULL, + `parent` smallint(5) unsigned NOT NULL, + `script` varchar(128) NOT NULL DEFAULT '', + `allowMount` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`map`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_enchantment_template` +-- + +DROP TABLE IF EXISTS `item_enchantment_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_enchantment_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ench` mediumint(8) unsigned NOT NULL DEFAULT '0', + `chance` float unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`entry`,`ench`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_loot_template` +-- + +DROP TABLE IF EXISTS `item_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_set_names` +-- + +DROP TABLE IF EXISTS `item_set_names`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_set_names` ( + `entry` mediumint(8) unsigned NOT NULL, + `name` varchar(255) NOT NULL DEFAULT '', + `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_template` +-- + +DROP TABLE IF EXISTS `item_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `class` tinyint(3) unsigned NOT NULL DEFAULT '0', + `subclass` tinyint(3) unsigned NOT NULL DEFAULT '0', + `SoundOverrideSubclass` tinyint(3) NOT NULL DEFAULT '-1', + `name` varchar(255) NOT NULL DEFAULT '', + `displayid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `FlagsExtra` int(10) unsigned NOT NULL DEFAULT '0', + `BuyCount` tinyint(3) unsigned NOT NULL DEFAULT '1', + `BuyPrice` bigint(20) NOT NULL DEFAULT '0', + `SellPrice` int(10) unsigned NOT NULL DEFAULT '0', + `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `AllowableClass` int(11) NOT NULL DEFAULT '-1', + `AllowableRace` int(11) NOT NULL DEFAULT '-1', + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', + `requiredspell` mediumint(8) unsigned NOT NULL DEFAULT '0', + `requiredhonorrank` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredCityRank` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredReputationRank` smallint(5) unsigned NOT NULL DEFAULT '0', + `maxcount` int(11) NOT NULL DEFAULT '0', + `stackable` int(11) DEFAULT '1', + `ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT '0', + `StatsCount` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_type1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value1` smallint(6) NOT NULL DEFAULT '0', + `stat_type2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value2` smallint(6) NOT NULL DEFAULT '0', + `stat_type3` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value3` smallint(6) NOT NULL DEFAULT '0', + `stat_type4` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value4` smallint(6) NOT NULL DEFAULT '0', + `stat_type5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value5` smallint(6) NOT NULL DEFAULT '0', + `stat_type6` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value6` smallint(6) NOT NULL DEFAULT '0', + `stat_type7` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value7` smallint(6) NOT NULL DEFAULT '0', + `stat_type8` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value8` smallint(6) NOT NULL DEFAULT '0', + `stat_type9` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value9` smallint(6) NOT NULL DEFAULT '0', + `stat_type10` tinyint(3) unsigned NOT NULL DEFAULT '0', + `stat_value10` smallint(6) NOT NULL DEFAULT '0', + `ScalingStatDistribution` smallint(6) NOT NULL DEFAULT '0', + `ScalingStatValue` int(10) unsigned NOT NULL DEFAULT '0', + `dmg_min1` float NOT NULL DEFAULT '0', + `dmg_max1` float NOT NULL DEFAULT '0', + `dmg_type1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `dmg_min2` float NOT NULL DEFAULT '0', + `dmg_max2` float NOT NULL DEFAULT '0', + `dmg_type2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `armor` smallint(5) unsigned NOT NULL DEFAULT '0', + `holy_res` tinyint(3) unsigned NOT NULL DEFAULT '0', + `fire_res` tinyint(3) unsigned NOT NULL DEFAULT '0', + `nature_res` tinyint(3) unsigned NOT NULL DEFAULT '0', + `frost_res` tinyint(3) unsigned NOT NULL DEFAULT '0', + `shadow_res` tinyint(3) unsigned NOT NULL DEFAULT '0', + `arcane_res` tinyint(3) unsigned NOT NULL DEFAULT '0', + `delay` smallint(5) unsigned NOT NULL DEFAULT '1000', + `ammo_type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RangedModRange` float NOT NULL DEFAULT '0', + `spellid_1` mediumint(8) NOT NULL DEFAULT '0', + `spelltrigger_1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `spellcharges_1` smallint(6) NOT NULL DEFAULT '0', + `spellppmRate_1` float NOT NULL DEFAULT '0', + `spellcooldown_1` int(11) NOT NULL DEFAULT '-1', + `spellcategory_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_1` int(11) NOT NULL DEFAULT '-1', + `spellid_2` mediumint(8) NOT NULL DEFAULT '0', + `spelltrigger_2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `spellcharges_2` smallint(6) NOT NULL DEFAULT '0', + `spellppmRate_2` float NOT NULL DEFAULT '0', + `spellcooldown_2` int(11) NOT NULL DEFAULT '-1', + `spellcategory_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_2` int(11) NOT NULL DEFAULT '-1', + `spellid_3` mediumint(8) NOT NULL DEFAULT '0', + `spelltrigger_3` tinyint(3) unsigned NOT NULL DEFAULT '0', + `spellcharges_3` smallint(6) NOT NULL DEFAULT '0', + `spellppmRate_3` float NOT NULL DEFAULT '0', + `spellcooldown_3` int(11) NOT NULL DEFAULT '-1', + `spellcategory_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_3` int(11) NOT NULL DEFAULT '-1', + `spellid_4` mediumint(8) NOT NULL DEFAULT '0', + `spelltrigger_4` tinyint(3) unsigned NOT NULL DEFAULT '0', + `spellcharges_4` smallint(6) NOT NULL DEFAULT '0', + `spellppmRate_4` float NOT NULL DEFAULT '0', + `spellcooldown_4` int(11) NOT NULL DEFAULT '-1', + `spellcategory_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_4` int(11) NOT NULL DEFAULT '-1', + `spellid_5` mediumint(8) NOT NULL DEFAULT '0', + `spelltrigger_5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `spellcharges_5` smallint(6) NOT NULL DEFAULT '0', + `spellppmRate_5` float NOT NULL DEFAULT '0', + `spellcooldown_5` int(11) NOT NULL DEFAULT '-1', + `spellcategory_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_5` int(11) NOT NULL DEFAULT '-1', + `bonding` tinyint(3) unsigned NOT NULL DEFAULT '0', + `description` varchar(255) NOT NULL DEFAULT '', + `PageText` mediumint(8) unsigned NOT NULL DEFAULT '0', + `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT '0', + `PageMaterial` tinyint(3) unsigned NOT NULL DEFAULT '0', + `startquest` mediumint(8) unsigned NOT NULL DEFAULT '0', + `lockid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Material` tinyint(4) NOT NULL DEFAULT '0', + `sheath` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RandomProperty` mediumint(8) NOT NULL DEFAULT '0', + `RandomSuffix` mediumint(8) unsigned NOT NULL DEFAULT '0', + `block` mediumint(8) unsigned NOT NULL DEFAULT '0', + `itemset` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MaxDurability` smallint(5) unsigned NOT NULL DEFAULT '0', + `area` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Map` smallint(6) NOT NULL DEFAULT '0', + `BagFamily` mediumint(8) NOT NULL DEFAULT '0', + `TotemCategory` mediumint(8) NOT NULL DEFAULT '0', + `socketColor_1` tinyint(4) NOT NULL DEFAULT '0', + `socketContent_1` mediumint(8) NOT NULL DEFAULT '0', + `socketColor_2` tinyint(4) NOT NULL DEFAULT '0', + `socketContent_2` mediumint(8) NOT NULL DEFAULT '0', + `socketColor_3` tinyint(4) NOT NULL DEFAULT '0', + `socketContent_3` mediumint(8) NOT NULL DEFAULT '0', + `socketBonus` mediumint(8) NOT NULL DEFAULT '0', + `GemProperties` mediumint(8) NOT NULL DEFAULT '0', + `RequiredDisenchantSkill` smallint(6) NOT NULL DEFAULT '-1', + `ArmorDamageModifier` float NOT NULL DEFAULT '0', + `duration` int(10) unsigned NOT NULL DEFAULT '0', + `ItemLimitCategory` smallint(6) NOT NULL DEFAULT '0', + `HolidayId` int(11) unsigned NOT NULL DEFAULT '0', + `ScriptName` varchar(64) NOT NULL DEFAULT '', + `DisenchantID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `FoodType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `minMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0', + `maxMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0', + `flagsCustom` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`), + KEY `idx_name` (`name`), + KEY `items_index` (`class`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `lfg_dungeon_rewards` +-- + +DROP TABLE IF EXISTS `lfg_dungeon_rewards`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `lfg_dungeon_rewards` ( + `dungeonId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Dungeon entry from dbc', + `maxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Max level at which this reward is rewarded', + `firstQuestId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest id with rewards for first dungeon this day', + `otherQuestId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest id with rewards for Nth dungeon this day', + PRIMARY KEY (`dungeonId`,`maxLevel`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `lfg_entrances` +-- + +DROP TABLE IF EXISTS `lfg_entrances`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `lfg_entrances` ( + `dungeonId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Unique id from LFGDungeons.dbc', + `name` varchar(255) CHARACTER SET latin1 DEFAULT NULL, + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`dungeonId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `linked_respawn` +-- + +DROP TABLE IF EXISTS `linked_respawn`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `linked_respawn` ( + `guid` int(10) unsigned NOT NULL COMMENT 'dependent creature', + `linkedGuid` int(10) unsigned NOT NULL COMMENT 'master creature', + `linkType` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`guid`,`linkType`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_achievement_reward` +-- + +DROP TABLE IF EXISTS `locales_achievement_reward`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_achievement_reward` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `subject_loc1` varchar(100) NOT NULL DEFAULT '', + `subject_loc2` varchar(100) NOT NULL DEFAULT '', + `subject_loc3` varchar(100) NOT NULL DEFAULT '', + `subject_loc4` varchar(100) NOT NULL DEFAULT '', + `subject_loc5` varchar(100) NOT NULL DEFAULT '', + `subject_loc6` varchar(100) NOT NULL DEFAULT '', + `subject_loc7` varchar(100) NOT NULL DEFAULT '', + `subject_loc8` varchar(100) NOT NULL DEFAULT '', + `text_loc1` text, + `text_loc2` text, + `text_loc3` text, + `text_loc4` text, + `text_loc5` text, + `text_loc6` text, + `text_loc7` text, + `text_loc8` text, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_broadcast_text` +-- + +DROP TABLE IF EXISTS `locales_broadcast_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_broadcast_text` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MaleText_loc1` longtext, + `MaleText_loc2` longtext, + `MaleText_loc3` longtext, + `MaleText_loc4` longtext, + `MaleText_loc5` longtext, + `MaleText_loc6` longtext, + `MaleText_loc7` longtext, + `MaleText_loc8` longtext, + `FemaleText_loc1` longtext, + `FemaleText_loc2` longtext, + `FemaleText_loc3` longtext, + `FemaleText_loc4` longtext, + `FemaleText_loc5` longtext, + `FemaleText_loc6` longtext, + `FemaleText_loc7` longtext, + `FemaleText_loc8` longtext, + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_creature` +-- + +DROP TABLE IF EXISTS `locales_creature`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_creature` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `name_loc1` varchar(100) NOT NULL DEFAULT '', + `name_loc2` varchar(100) NOT NULL DEFAULT '', + `name_loc3` varchar(100) NOT NULL DEFAULT '', + `name_loc4` varchar(100) NOT NULL DEFAULT '', + `name_loc5` varchar(100) NOT NULL DEFAULT '', + `name_loc6` varchar(100) NOT NULL DEFAULT '', + `name_loc7` varchar(100) NOT NULL DEFAULT '', + `name_loc8` varchar(100) NOT NULL DEFAULT '', + `subname_loc1` varchar(100) DEFAULT NULL, + `subname_loc2` varchar(100) DEFAULT NULL, + `subname_loc3` varchar(100) DEFAULT NULL, + `subname_loc4` varchar(100) DEFAULT NULL, + `subname_loc5` varchar(100) DEFAULT NULL, + `subname_loc6` varchar(100) DEFAULT NULL, + `subname_loc7` varchar(100) DEFAULT NULL, + `subname_loc8` varchar(100) DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_creature_text` +-- + +DROP TABLE IF EXISTS `locales_creature_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_creature_text` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `id` tinyint(3) unsigned NOT NULL DEFAULT '0', + `text_loc1` text, + `text_loc2` text, + `text_loc3` text, + `text_loc4` text, + `text_loc5` text, + `text_loc6` text, + `text_loc7` text, + `text_loc8` text, + PRIMARY KEY (`entry`,`groupid`,`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_gameobject` +-- + +DROP TABLE IF EXISTS `locales_gameobject`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_gameobject` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `name_loc1` varchar(100) NOT NULL DEFAULT '', + `name_loc2` varchar(100) NOT NULL DEFAULT '', + `name_loc3` varchar(100) NOT NULL DEFAULT '', + `name_loc4` varchar(100) NOT NULL DEFAULT '', + `name_loc5` varchar(100) NOT NULL DEFAULT '', + `name_loc6` varchar(100) NOT NULL DEFAULT '', + `name_loc7` varchar(100) NOT NULL DEFAULT '', + `name_loc8` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc1` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc2` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc3` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc4` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc5` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc6` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc7` varchar(100) NOT NULL DEFAULT '', + `castbarcaption_loc8` varchar(100) NOT NULL DEFAULT '', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_gossip_menu_option` +-- + +DROP TABLE IF EXISTS `locales_gossip_menu_option`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_gossip_menu_option` ( + `menu_id` smallint(6) unsigned NOT NULL DEFAULT '0', + `id` smallint(6) unsigned NOT NULL DEFAULT '0', + `option_text_loc1` text, + `option_text_loc2` text, + `option_text_loc3` text, + `option_text_loc4` text, + `option_text_loc5` text, + `option_text_loc6` text, + `option_text_loc7` text, + `option_text_loc8` text, + `box_text_loc1` text, + `box_text_loc2` text, + `box_text_loc3` text, + `box_text_loc4` text, + `box_text_loc5` text, + `box_text_loc6` text, + `box_text_loc7` text, + `box_text_loc8` text, + PRIMARY KEY (`menu_id`,`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_item` +-- + +DROP TABLE IF EXISTS `locales_item`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_item` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `name_loc1` varchar(100) NOT NULL DEFAULT '', + `name_loc2` varchar(100) NOT NULL DEFAULT '', + `name_loc3` varchar(100) NOT NULL DEFAULT '', + `name_loc4` varchar(100) NOT NULL DEFAULT '', + `name_loc5` varchar(100) NOT NULL DEFAULT '', + `name_loc6` varchar(100) NOT NULL DEFAULT '', + `name_loc7` varchar(100) NOT NULL DEFAULT '', + `name_loc8` varchar(100) NOT NULL DEFAULT '', + `description_loc1` varchar(255) DEFAULT NULL, + `description_loc2` varchar(255) DEFAULT NULL, + `description_loc3` varchar(255) DEFAULT NULL, + `description_loc4` varchar(255) DEFAULT NULL, + `description_loc5` varchar(255) DEFAULT NULL, + `description_loc6` varchar(255) DEFAULT NULL, + `description_loc7` varchar(255) DEFAULT NULL, + `description_loc8` varchar(255) DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_item_set_names` +-- + +DROP TABLE IF EXISTS `locales_item_set_names`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_item_set_names` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `name_loc1` varchar(100) NOT NULL DEFAULT '', + `name_loc2` varchar(100) NOT NULL DEFAULT '', + `name_loc3` varchar(100) NOT NULL DEFAULT '', + `name_loc4` varchar(100) NOT NULL DEFAULT '', + `name_loc5` varchar(100) NOT NULL DEFAULT '', + `name_loc6` varchar(100) NOT NULL DEFAULT '', + `name_loc7` varchar(100) NOT NULL DEFAULT '', + `name_loc8` varchar(100) NOT NULL DEFAULT '', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_npc_text` +-- + +DROP TABLE IF EXISTS `locales_npc_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_npc_text` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Text0_0_loc1` longtext, + `Text0_0_loc2` longtext, + `Text0_0_loc3` longtext, + `Text0_0_loc4` longtext, + `Text0_0_loc5` longtext, + `Text0_0_loc6` longtext, + `Text0_0_loc7` longtext, + `Text0_0_loc8` longtext, + `Text0_1_loc1` longtext, + `Text0_1_loc2` longtext, + `Text0_1_loc3` longtext, + `Text0_1_loc4` longtext, + `Text0_1_loc5` longtext, + `Text0_1_loc6` longtext, + `Text0_1_loc7` longtext, + `Text0_1_loc8` longtext, + `Text1_0_loc1` longtext, + `Text1_0_loc2` longtext, + `Text1_0_loc3` longtext, + `Text1_0_loc4` longtext, + `Text1_0_loc5` longtext, + `Text1_0_loc6` longtext, + `Text1_0_loc7` longtext, + `Text1_0_loc8` longtext, + `Text1_1_loc1` longtext, + `Text1_1_loc2` longtext, + `Text1_1_loc3` longtext, + `Text1_1_loc4` longtext, + `Text1_1_loc5` longtext, + `Text1_1_loc6` longtext, + `Text1_1_loc7` longtext, + `Text1_1_loc8` longtext, + `Text2_0_loc1` longtext, + `Text2_0_loc2` longtext, + `Text2_0_loc3` longtext, + `Text2_0_loc4` longtext, + `Text2_0_loc5` longtext, + `Text2_0_loc6` longtext, + `Text2_0_loc7` longtext, + `Text2_0_loc8` longtext, + `Text2_1_loc1` longtext, + `Text2_1_loc2` longtext, + `Text2_1_loc3` longtext, + `Text2_1_loc4` longtext, + `Text2_1_loc5` longtext, + `Text2_1_loc6` longtext, + `Text2_1_loc7` longtext, + `Text2_1_loc8` longtext, + `Text3_0_loc1` longtext, + `Text3_0_loc2` longtext, + `Text3_0_loc3` longtext, + `Text3_0_loc4` longtext, + `Text3_0_loc5` longtext, + `Text3_0_loc6` longtext, + `Text3_0_loc7` longtext, + `Text3_0_loc8` longtext, + `Text3_1_loc1` longtext, + `Text3_1_loc2` longtext, + `Text3_1_loc3` longtext, + `Text3_1_loc4` longtext, + `Text3_1_loc5` longtext, + `Text3_1_loc6` longtext, + `Text3_1_loc7` longtext, + `Text3_1_loc8` longtext, + `Text4_0_loc1` longtext, + `Text4_0_loc2` longtext, + `Text4_0_loc3` longtext, + `Text4_0_loc4` longtext, + `Text4_0_loc5` longtext, + `Text4_0_loc6` longtext, + `Text4_0_loc7` longtext, + `Text4_0_loc8` longtext, + `Text4_1_loc1` longtext, + `Text4_1_loc2` longtext, + `Text4_1_loc3` longtext, + `Text4_1_loc4` longtext, + `Text4_1_loc5` longtext, + `Text4_1_loc6` longtext, + `Text4_1_loc7` longtext, + `Text4_1_loc8` longtext, + `Text5_0_loc1` longtext, + `Text5_0_loc2` longtext, + `Text5_0_loc3` longtext, + `Text5_0_loc4` longtext, + `Text5_0_loc5` longtext, + `Text5_0_loc6` longtext, + `Text5_0_loc7` longtext, + `Text5_0_loc8` longtext, + `Text5_1_loc1` longtext, + `Text5_1_loc2` longtext, + `Text5_1_loc3` longtext, + `Text5_1_loc4` longtext, + `Text5_1_loc5` longtext, + `Text5_1_loc6` longtext, + `Text5_1_loc7` longtext, + `Text5_1_loc8` longtext, + `Text6_0_loc1` longtext, + `Text6_0_loc2` longtext, + `Text6_0_loc3` longtext, + `Text6_0_loc4` longtext, + `Text6_0_loc5` longtext, + `Text6_0_loc6` longtext, + `Text6_0_loc7` longtext, + `Text6_0_loc8` longtext, + `Text6_1_loc1` longtext, + `Text6_1_loc2` longtext, + `Text6_1_loc3` longtext, + `Text6_1_loc4` longtext, + `Text6_1_loc5` longtext, + `Text6_1_loc6` longtext, + `Text6_1_loc7` longtext, + `Text6_1_loc8` longtext, + `Text7_0_loc1` longtext, + `Text7_0_loc2` longtext, + `Text7_0_loc3` longtext, + `Text7_0_loc4` longtext, + `Text7_0_loc5` longtext, + `Text7_0_loc6` longtext, + `Text7_0_loc7` longtext, + `Text7_0_loc8` longtext, + `Text7_1_loc1` longtext, + `Text7_1_loc2` longtext, + `Text7_1_loc3` longtext, + `Text7_1_loc4` longtext, + `Text7_1_loc5` longtext, + `Text7_1_loc6` longtext, + `Text7_1_loc7` longtext, + `Text7_1_loc8` longtext, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_page_text` +-- + +DROP TABLE IF EXISTS `locales_page_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_page_text` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Text_loc1` longtext, + `Text_loc2` longtext, + `Text_loc3` longtext, + `Text_loc4` longtext, + `Text_loc5` longtext, + `Text_loc6` longtext, + `Text_loc7` longtext, + `Text_loc8` longtext, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_points_of_interest` +-- + +DROP TABLE IF EXISTS `locales_points_of_interest`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_points_of_interest` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `icon_name_loc1` text, + `icon_name_loc2` text, + `icon_name_loc3` text, + `icon_name_loc4` text, + `icon_name_loc5` text, + `icon_name_loc6` text, + `icon_name_loc7` text, + `icon_name_loc8` text, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `locales_quest` +-- + +DROP TABLE IF EXISTS `locales_quest`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `locales_quest` ( + `Id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Title_loc1` text, + `Title_loc2` text, + `Title_loc3` text, + `Title_loc4` text, + `Title_loc5` text, + `Title_loc6` text, + `Title_loc7` text, + `Title_loc8` text, + `Details_loc1` text, + `Details_loc2` text, + `Details_loc3` text, + `Details_loc4` text, + `Details_loc5` text, + `Details_loc6` text, + `Details_loc7` text, + `Details_loc8` text, + `Objectives_loc1` text, + `Objectives_loc2` text, + `Objectives_loc3` text, + `Objectives_loc4` text, + `Objectives_loc5` text, + `Objectives_loc6` text, + `Objectives_loc7` text, + `Objectives_loc8` text, + `OfferRewardText_loc1` text, + `OfferRewardText_loc2` text, + `OfferRewardText_loc3` text, + `OfferRewardText_loc4` text, + `OfferRewardText_loc5` text, + `OfferRewardText_loc6` text, + `OfferRewardText_loc7` text, + `OfferRewardText_loc8` text, + `RequestItemsText_loc1` text, + `RequestItemsText_loc2` text, + `RequestItemsText_loc3` text, + `RequestItemsText_loc4` text, + `RequestItemsText_loc5` text, + `RequestItemsText_loc6` text, + `RequestItemsText_loc7` text, + `RequestItemsText_loc8` text, + `EndText_loc1` text, + `EndText_loc2` text, + `EndText_loc3` text, + `EndText_loc4` text, + `EndText_loc5` text, + `EndText_loc6` text, + `EndText_loc7` text, + `EndText_loc8` text, + `CompletedText_loc1` text, + `CompletedText_loc2` text, + `CompletedText_loc3` text, + `CompletedText_loc4` text, + `CompletedText_loc5` text, + `CompletedText_loc6` text, + `CompletedText_loc7` text, + `CompletedText_loc8` text, + `ObjectiveText1_loc1` text, + `ObjectiveText1_loc2` text, + `ObjectiveText1_loc3` text, + `ObjectiveText1_loc4` text, + `ObjectiveText1_loc5` text, + `ObjectiveText1_loc6` text, + `ObjectiveText1_loc7` text, + `ObjectiveText1_loc8` text, + `ObjectiveText2_loc1` text, + `ObjectiveText2_loc2` text, + `ObjectiveText2_loc3` text, + `ObjectiveText2_loc4` text, + `ObjectiveText2_loc5` text, + `ObjectiveText2_loc6` text, + `ObjectiveText2_loc7` text, + `ObjectiveText2_loc8` text, + `ObjectiveText3_loc1` text, + `ObjectiveText3_loc2` text, + `ObjectiveText3_loc3` text, + `ObjectiveText3_loc4` text, + `ObjectiveText3_loc5` text, + `ObjectiveText3_loc6` text, + `ObjectiveText3_loc7` text, + `ObjectiveText3_loc8` text, + `ObjectiveText4_loc1` text, + `ObjectiveText4_loc2` text, + `ObjectiveText4_loc3` text, + `ObjectiveText4_loc4` text, + `ObjectiveText4_loc5` text, + `ObjectiveText4_loc6` text, + `ObjectiveText4_loc7` text, + `ObjectiveText4_loc8` text, + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`Id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `mail_level_reward` +-- + +DROP TABLE IF EXISTS `mail_level_reward`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `mail_level_reward` ( + `level` tinyint(3) unsigned NOT NULL DEFAULT '0', + `raceMask` mediumint(8) unsigned NOT NULL DEFAULT '0', + `mailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `senderEntry` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`level`,`raceMask`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Mail System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `mail_loot_template` +-- + +DROP TABLE IF EXISTS `mail_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `mail_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `milling_loot_template` +-- + +DROP TABLE IF EXISTS `milling_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +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', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `npc_spellclick_spells` +-- + +DROP TABLE IF EXISTS `npc_spellclick_spells`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `npc_spellclick_spells` ( + `npc_entry` int(10) unsigned NOT NULL COMMENT 'reference to creature_template', + `spell_id` int(10) unsigned NOT NULL COMMENT 'spell which should be casted ', + `cast_flags` tinyint(3) unsigned NOT NULL COMMENT 'first bit defines caster: 1=player, 0=creature; second bit defines target, same mapping as caster bit', + `user_type` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'relation with summoner: 0-no 1-friendly 2-raid 3-party player can click', + PRIMARY KEY (`npc_entry`,`spell_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `npc_text` +-- + +DROP TABLE IF EXISTS `npc_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `npc_text` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `text0_0` longtext, + `text0_1` longtext, + `BroadcastTextID0` mediumint(6) NOT NULL DEFAULT '0', + `lang0` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob0` float NOT NULL DEFAULT '0', + `em0_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em0_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em0_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em0_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em0_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em0_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `text1_0` longtext, + `text1_1` longtext, + `BroadcastTextID1` mediumint(6) NOT NULL DEFAULT '0', + `lang1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob1` float NOT NULL DEFAULT '0', + `em1_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em1_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em1_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em1_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em1_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em1_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `text2_0` longtext, + `text2_1` longtext, + `BroadcastTextID2` mediumint(6) NOT NULL DEFAULT '0', + `lang2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob2` float NOT NULL DEFAULT '0', + `em2_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em2_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em2_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em2_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em2_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em2_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `text3_0` longtext, + `text3_1` longtext, + `BroadcastTextID3` mediumint(6) NOT NULL DEFAULT '0', + `lang3` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob3` float NOT NULL DEFAULT '0', + `em3_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em3_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em3_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em3_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em3_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em3_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `text4_0` longtext, + `text4_1` longtext, + `BroadcastTextID4` mediumint(6) NOT NULL DEFAULT '0', + `lang4` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob4` float NOT NULL DEFAULT '0', + `em4_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em4_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em4_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em4_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em4_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em4_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `text5_0` longtext, + `text5_1` longtext, + `BroadcastTextID5` mediumint(6) NOT NULL DEFAULT '0', + `lang5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob5` float NOT NULL DEFAULT '0', + `em5_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em5_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em5_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em5_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em5_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em5_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `text6_0` longtext, + `text6_1` longtext, + `BroadcastTextID6` mediumint(6) NOT NULL DEFAULT '0', + `lang6` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob6` float NOT NULL DEFAULT '0', + `em6_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em6_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em6_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em6_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em6_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em6_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `text7_0` longtext, + `text7_1` longtext, + `BroadcastTextID7` mediumint(6) NOT NULL DEFAULT '0', + `lang7` tinyint(3) unsigned NOT NULL DEFAULT '0', + `prob7` float NOT NULL DEFAULT '0', + `em7_0` smallint(5) unsigned NOT NULL DEFAULT '0', + `em7_1` smallint(5) unsigned NOT NULL DEFAULT '0', + `em7_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `em7_3` smallint(5) unsigned NOT NULL DEFAULT '0', + `em7_4` smallint(5) unsigned NOT NULL DEFAULT '0', + `em7_5` smallint(5) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `npc_trainer` +-- + +DROP TABLE IF EXISTS `npc_trainer`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `npc_trainer` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `spell` mediumint(8) NOT NULL DEFAULT '0', + `spellcost` int(10) unsigned NOT NULL DEFAULT '0', + `reqskill` smallint(5) unsigned NOT NULL DEFAULT '0', + `reqskillvalue` smallint(5) unsigned NOT NULL DEFAULT '0', + `reqlevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`entry`,`spell`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `npc_vendor` +-- + +DROP TABLE IF EXISTS `npc_vendor`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `npc_vendor` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `slot` smallint(6) NOT NULL DEFAULT '0', + `item` mediumint(8) NOT NULL DEFAULT '0', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '0', + `incrtime` int(10) unsigned NOT NULL DEFAULT '0', + `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`,`item`,`ExtendedCost`), + KEY `slot` (`slot`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Npc System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `outdoorpvp_template` +-- + +DROP TABLE IF EXISTS `outdoorpvp_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `outdoorpvp_template` ( + `TypeId` tinyint(3) unsigned NOT NULL, + `ScriptName` char(64) NOT NULL DEFAULT '', + `comment` text, + PRIMARY KEY (`TypeId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `page_text` +-- + +DROP TABLE IF EXISTS `page_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `page_text` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `text` longtext NOT NULL, + `next_page` mediumint(8) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pet_levelstats` +-- + +DROP TABLE IF EXISTS `pet_levelstats`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pet_levelstats` ( + `creature_entry` mediumint(8) unsigned NOT NULL, + `level` tinyint(3) unsigned NOT NULL, + `hp` smallint(5) unsigned NOT NULL, + `mana` smallint(5) unsigned NOT NULL, + `armor` int(10) unsigned NOT NULL DEFAULT '0', + `str` smallint(5) unsigned NOT NULL, + `agi` smallint(5) unsigned NOT NULL, + `sta` smallint(5) unsigned NOT NULL, + `inte` smallint(5) unsigned NOT NULL, + `spi` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`creature_entry`,`level`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores pet levels stats.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pet_name_generation` +-- + +DROP TABLE IF EXISTS `pet_name_generation`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pet_name_generation` ( + `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + `word` tinytext NOT NULL, + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `half` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=314 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pickpocketing_loot_template` +-- + +DROP TABLE IF EXISTS `pickpocketing_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pickpocketing_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_classlevelstats` +-- + +DROP TABLE IF EXISTS `player_classlevelstats`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_classlevelstats` ( + `class` tinyint(3) unsigned NOT NULL, + `level` tinyint(3) unsigned NOT NULL, + `basehp` smallint(5) unsigned NOT NULL, + `basemana` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`class`,`level`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_factionchange_achievement` +-- + +DROP TABLE IF EXISTS `player_factionchange_achievement`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_factionchange_achievement` ( + `alliance_id` int(10) unsigned NOT NULL, + `horde_id` int(10) unsigned NOT NULL, + PRIMARY KEY (`alliance_id`,`horde_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_factionchange_items` +-- + +DROP TABLE IF EXISTS `player_factionchange_items`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_factionchange_items` ( + `race_A` int(10) unsigned NOT NULL, + `alliance_id` int(10) unsigned NOT NULL, + `commentA` text, + `race_H` int(10) unsigned NOT NULL, + `horde_id` int(10) unsigned NOT NULL, + `commentH` text, + PRIMARY KEY (`alliance_id`,`horde_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_factionchange_quests` +-- + +DROP TABLE IF EXISTS `player_factionchange_quests`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_factionchange_quests` ( + `alliance_id` int(10) unsigned NOT NULL, + `horde_id` int(10) unsigned NOT NULL, + PRIMARY KEY (`alliance_id`,`horde_id`), + UNIQUE KEY `alliance_uniq` (`alliance_id`), + UNIQUE KEY `horde_uniq` (`horde_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_factionchange_reputations` +-- + +DROP TABLE IF EXISTS `player_factionchange_reputations`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_factionchange_reputations` ( + `alliance_id` int(10) unsigned NOT NULL, + `horde_id` int(10) unsigned NOT NULL, + PRIMARY KEY (`alliance_id`,`horde_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_factionchange_spells` +-- + +DROP TABLE IF EXISTS `player_factionchange_spells`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_factionchange_spells` ( + `alliance_id` int(10) unsigned NOT NULL, + `horde_id` int(10) unsigned NOT NULL, + PRIMARY KEY (`alliance_id`,`horde_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_factionchange_titles` +-- + +DROP TABLE IF EXISTS `player_factionchange_titles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_factionchange_titles` ( + `alliance_id` int(8) NOT NULL, + `horde_id` int(8) NOT NULL, + PRIMARY KEY (`alliance_id`,`horde_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_levelstats` +-- + +DROP TABLE IF EXISTS `player_levelstats`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_levelstats` ( + `race` tinyint(3) unsigned NOT NULL, + `class` tinyint(3) unsigned NOT NULL, + `level` tinyint(3) unsigned NOT NULL, + `str` tinyint(3) unsigned NOT NULL, + `agi` tinyint(3) unsigned NOT NULL, + `sta` tinyint(3) unsigned NOT NULL, + `inte` tinyint(3) unsigned NOT NULL, + `spi` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`race`,`class`,`level`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `player_xp_for_level` +-- + +DROP TABLE IF EXISTS `player_xp_for_level`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `player_xp_for_level` ( + `lvl` tinyint(3) unsigned NOT NULL, + `xp_for_next_level` int(10) unsigned NOT NULL, + PRIMARY KEY (`lvl`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `playercreateinfo` +-- + +DROP TABLE IF EXISTS `playercreateinfo`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `playercreateinfo` ( + `race` tinyint(3) unsigned NOT NULL DEFAULT '0', + `class` tinyint(3) unsigned NOT NULL DEFAULT '0', + `map` smallint(5) unsigned NOT NULL DEFAULT '0', + `zone` mediumint(8) unsigned NOT NULL DEFAULT '0', + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + PRIMARY KEY (`race`,`class`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `playercreateinfo_action` +-- + +DROP TABLE IF EXISTS `playercreateinfo_action`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `playercreateinfo_action` ( + `race` tinyint(3) unsigned NOT NULL DEFAULT '0', + `class` tinyint(3) unsigned NOT NULL DEFAULT '0', + `button` smallint(5) unsigned NOT NULL DEFAULT '0', + `action` int(10) unsigned NOT NULL DEFAULT '0', + `type` smallint(5) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`race`,`class`,`button`), + KEY `playercreateinfo_race_class_index` (`race`,`class`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `playercreateinfo_item` +-- + +DROP TABLE IF EXISTS `playercreateinfo_item`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `playercreateinfo_item` ( + `race` tinyint(3) unsigned NOT NULL DEFAULT '0', + `class` tinyint(3) unsigned NOT NULL DEFAULT '0', + `itemid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `amount` tinyint(4) NOT NULL DEFAULT '1', + PRIMARY KEY (`race`,`class`,`itemid`), + KEY `playercreateinfo_race_class_index` (`race`,`class`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `playercreateinfo_skills` +-- + +DROP TABLE IF EXISTS `playercreateinfo_skills`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `playercreateinfo_skills` ( + `raceMask` int(10) unsigned NOT NULL, + `classMask` int(10) unsigned NOT NULL, + `skill` smallint(5) unsigned NOT NULL, + `rank` smallint(5) unsigned NOT NULL DEFAULT '0', + `comment` varchar(255) DEFAULT NULL, + PRIMARY KEY (`raceMask`,`classMask`,`skill`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `playercreateinfo_spell_custom` +-- + +DROP TABLE IF EXISTS `playercreateinfo_spell_custom`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `playercreateinfo_spell_custom` ( + `racemask` int(10) unsigned NOT NULL DEFAULT '0', + `classmask` int(10) unsigned NOT NULL DEFAULT '0', + `Spell` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Note` varchar(255) DEFAULT NULL, + PRIMARY KEY (`racemask`,`classmask`,`Spell`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `points_of_interest` +-- + +DROP TABLE IF EXISTS `points_of_interest`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `points_of_interest` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `x` float NOT NULL DEFAULT '0', + `y` float NOT NULL DEFAULT '0', + `icon` mediumint(8) unsigned NOT NULL DEFAULT '0', + `flags` mediumint(8) unsigned NOT NULL DEFAULT '0', + `data` mediumint(8) unsigned NOT NULL DEFAULT '0', + `icon_name` text NOT NULL, + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pool_creature` +-- + +DROP TABLE IF EXISTS `pool_creature`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pool_creature` ( + `guid` int(10) unsigned NOT NULL DEFAULT '0', + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `chance` float unsigned NOT NULL DEFAULT '0', + `description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`guid`), + KEY `idx_guid` (`guid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pool_gameobject` +-- + +DROP TABLE IF EXISTS `pool_gameobject`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pool_gameobject` ( + `guid` int(10) unsigned NOT NULL DEFAULT '0', + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `chance` float unsigned NOT NULL DEFAULT '0', + `description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`guid`), + KEY `idx_guid` (`guid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pool_pool` +-- + +DROP TABLE IF EXISTS `pool_pool`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pool_pool` ( + `pool_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `mother_pool` mediumint(8) unsigned NOT NULL DEFAULT '0', + `chance` float NOT NULL DEFAULT '0', + `description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`pool_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pool_quest` +-- + +DROP TABLE IF EXISTS `pool_quest`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pool_quest` ( + `entry` int(10) unsigned NOT NULL DEFAULT '0', + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`entry`), + KEY `idx_guid` (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pool_template` +-- + +DROP TABLE IF EXISTS `pool_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pool_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Pool entry', + `max_limit` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Max number of objects (0) is no limit', + `description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `prospecting_loot_template` +-- + +DROP TABLE IF EXISTS `prospecting_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `prospecting_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_poi` +-- + +DROP TABLE IF EXISTS `quest_poi`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_poi` ( + `questId` int(10) unsigned NOT NULL DEFAULT '0', + `id` int(10) unsigned NOT NULL DEFAULT '0', + `objIndex` int(11) NOT NULL DEFAULT '0', + `mapid` int(10) unsigned NOT NULL DEFAULT '0', + `WorldMapAreaId` int(10) unsigned NOT NULL DEFAULT '0', + `FloorId` int(10) unsigned NOT NULL DEFAULT '0', + `unk3` int(10) unsigned NOT NULL DEFAULT '0', + `unk4` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`questId`,`id`), + KEY `idx` (`questId`,`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_poi_points` +-- + +DROP TABLE IF EXISTS `quest_poi_points`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_poi_points` ( + `questId` int(10) unsigned NOT NULL DEFAULT '0', + `id` int(10) unsigned NOT NULL DEFAULT '0', + `idx` int(10) unsigned NOT NULL DEFAULT '0', + `x` int(11) NOT NULL DEFAULT '0', + `y` int(11) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`questId`,`id`,`idx`), + KEY `questId_id` (`questId`,`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_template` +-- + +DROP TABLE IF EXISTS `quest_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_template` ( + `Id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Method` tinyint(3) unsigned NOT NULL DEFAULT '2', + `Level` smallint(3) NOT NULL DEFAULT '1', + `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ZoneOrSort` smallint(6) NOT NULL DEFAULT '0', + `Type` smallint(5) unsigned NOT NULL DEFAULT '0', + `SuggestedPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', + `LimitTime` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredClasses` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredRaces` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredSkillId` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredSkillPoints` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredFactionId1` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredFactionId2` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredFactionValue1` mediumint(8) NOT NULL DEFAULT '0', + `RequiredFactionValue2` mediumint(8) NOT NULL DEFAULT '0', + `RequiredMinRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredMaxRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredMinRepValue` mediumint(8) NOT NULL DEFAULT '0', + `RequiredMaxRepValue` mediumint(8) NOT NULL DEFAULT '0', + `PrevQuestId` mediumint(8) NOT NULL DEFAULT '0', + `NextQuestId` mediumint(8) NOT NULL DEFAULT '0', + `ExclusiveGroup` mediumint(8) NOT NULL DEFAULT '0', + `NextQuestIdChain` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardXPId` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RewardOrRequiredMoney` int(11) NOT NULL DEFAULT '0', + `RewardMoneyMaxLevel` int(10) unsigned NOT NULL DEFAULT '0', + `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', + `RewardMailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardMailDelay` int(11) unsigned NOT NULL DEFAULT '0', + `SourceItemId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `SourceItemCount` tinyint(3) unsigned NOT NULL DEFAULT '0', + `SourceSpellId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `SpecialFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RewardTitleId` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RequiredPlayerKills` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RewardTalents` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RewardArenaPoints` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemId5` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemId6` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemCount5` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemCount6` smallint(5) unsigned NOT NULL DEFAULT '0', + `RewardFactionId1` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionId2` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionId3` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionId4` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionId5` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValueId1` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueId2` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueId3` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueId4` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueId5` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueIdOverride1` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueIdOverride2` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueIdOverride3` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueIdOverride4` mediumint(8) NOT NULL DEFAULT '0', + `RewardFactionValueIdOverride5` mediumint(8) NOT NULL DEFAULT '0', + `PointMapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `PointX` float NOT NULL DEFAULT '0', + `PointY` float NOT NULL DEFAULT '0', + `PointOption` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Title` text, + `Objectives` text, + `Details` text, + `EndText` text, + `OfferRewardText` text, + `RequestItemsText` text, + `CompletedText` text, + `RequiredNpcOrGo1` mediumint(8) NOT NULL DEFAULT '0', + `RequiredNpcOrGo2` mediumint(8) NOT NULL DEFAULT '0', + `RequiredNpcOrGo3` mediumint(8) NOT NULL DEFAULT '0', + `RequiredNpcOrGo4` mediumint(8) NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount1` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount2` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount3` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount4` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredSourceItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredItemId5` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredItemId6` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount5` smallint(5) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount6` smallint(5) unsigned NOT NULL DEFAULT '0', + `Unknown0` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ObjectiveText1` text, + `ObjectiveText2` text, + `ObjectiveText3` text, + `ObjectiveText4` text, + `DetailsEmote1` smallint(5) unsigned NOT NULL DEFAULT '0', + `DetailsEmote2` smallint(5) unsigned NOT NULL DEFAULT '0', + `DetailsEmote3` smallint(5) unsigned NOT NULL DEFAULT '0', + `DetailsEmote4` smallint(5) unsigned NOT NULL DEFAULT '0', + `DetailsEmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', + `DetailsEmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', + `DetailsEmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', + `DetailsEmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteOnIncomplete` smallint(5) unsigned NOT NULL DEFAULT '0', + `EmoteOnComplete` smallint(5) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmote1` smallint(5) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmote2` smallint(5) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmote3` smallint(5) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmote4` smallint(5) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', + `OfferRewardEmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`Id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `reference_loot_template` +-- + +DROP TABLE IF EXISTS `reference_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `reference_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `reputation_reward_rate` +-- + +DROP TABLE IF EXISTS `reputation_reward_rate`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `reputation_reward_rate` ( + `faction` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest_rate` float NOT NULL DEFAULT '1', + `quest_daily_rate` float NOT NULL DEFAULT '1', + `quest_weekly_rate` float NOT NULL DEFAULT '1', + `quest_monthly_rate` float NOT NULL DEFAULT '1', + `quest_repeatable_rate` float NOT NULL DEFAULT '1', + `creature_rate` float NOT NULL DEFAULT '1', + `spell_rate` float NOT NULL DEFAULT '1', + PRIMARY KEY (`faction`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `reputation_spillover_template` +-- + +DROP TABLE IF EXISTS `reputation_spillover_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `reputation_spillover_template` ( + `faction` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction entry', + `faction1` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction to give spillover for', + `rate_1` float NOT NULL DEFAULT '0' COMMENT 'the given rep points * rate', + `rank_1` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'max rank,above this will not give any spillover', + `faction2` smallint(5) unsigned NOT NULL DEFAULT '0', + `rate_2` float NOT NULL DEFAULT '0', + `rank_2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `faction3` smallint(5) unsigned NOT NULL DEFAULT '0', + `rate_3` float NOT NULL DEFAULT '0', + `rank_3` tinyint(3) unsigned NOT NULL DEFAULT '0', + `faction4` smallint(5) unsigned NOT NULL DEFAULT '0', + `rate_4` float NOT NULL DEFAULT '0', + `rank_4` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`faction`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `script_waypoint` +-- + +DROP TABLE IF EXISTS `script_waypoint`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `script_waypoint` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template entry', + `pointid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `location_x` float NOT NULL DEFAULT '0', + `location_y` float NOT NULL DEFAULT '0', + `location_z` float NOT NULL DEFAULT '0', + `waittime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'waittime in millisecs', + `point_comment` text, + PRIMARY KEY (`entry`,`pointid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `skill_discovery_template` +-- + +DROP TABLE IF EXISTS `skill_discovery_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `skill_discovery_template` ( + `spellId` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the discoverable spell', + `reqSpell` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'spell requirement', + `reqSkillValue` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'skill points requirement', + `chance` float NOT NULL DEFAULT '0' COMMENT 'chance to discover', + PRIMARY KEY (`spellId`,`reqSpell`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `skill_extra_item_template` +-- + +DROP TABLE IF EXISTS `skill_extra_item_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `skill_extra_item_template` ( + `spellId` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the item creation spell', + `requiredSpecialization` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Specialization spell id', + `additionalCreateChance` float NOT NULL DEFAULT '0' COMMENT 'chance to create add', + `additionalMaxNum` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'max num of adds', + PRIMARY KEY (`spellId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Specialization System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `skill_fishing_base_level` +-- + +DROP TABLE IF EXISTS `skill_fishing_base_level`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `skill_fishing_base_level` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Area identifier', + `skill` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Base skill level requirement', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Fishing system'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `skinning_loot_template` +-- + +DROP TABLE IF EXISTS `skinning_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `skinning_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `smart_scripts` +-- + +DROP TABLE IF EXISTS `smart_scripts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `smart_scripts` ( + `entryorguid` int(11) NOT NULL, + `source_type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `id` smallint(5) unsigned NOT NULL DEFAULT '0', + `link` smallint(5) unsigned NOT NULL DEFAULT '0', + `event_type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `event_phase_mask` tinyint(3) unsigned NOT NULL DEFAULT '0', + `event_chance` tinyint(3) unsigned NOT NULL DEFAULT '100', + `event_flags` tinyint(3) unsigned NOT NULL DEFAULT '0', + `event_param1` int(10) unsigned NOT NULL DEFAULT '0', + `event_param2` int(10) unsigned NOT NULL DEFAULT '0', + `event_param3` int(10) unsigned NOT NULL DEFAULT '0', + `event_param4` int(10) unsigned NOT NULL DEFAULT '0', + `action_type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `action_param1` int(10) unsigned NOT NULL DEFAULT '0', + `action_param2` int(10) unsigned NOT NULL DEFAULT '0', + `action_param3` int(10) unsigned NOT NULL DEFAULT '0', + `action_param4` int(10) unsigned NOT NULL DEFAULT '0', + `action_param5` int(10) unsigned NOT NULL DEFAULT '0', + `action_param6` int(10) unsigned NOT NULL DEFAULT '0', + `target_type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `target_param1` int(10) unsigned NOT NULL DEFAULT '0', + `target_param2` int(10) unsigned NOT NULL DEFAULT '0', + `target_param3` int(10) unsigned NOT NULL DEFAULT '0', + `target_x` float NOT NULL DEFAULT '0', + `target_y` float NOT NULL DEFAULT '0', + `target_z` float NOT NULL DEFAULT '0', + `target_o` float NOT NULL DEFAULT '0', + `comment` text NOT NULL COMMENT 'Event Comment', + PRIMARY KEY (`entryorguid`,`source_type`,`id`,`link`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_area` +-- + +DROP TABLE IF EXISTS `spell_area`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_area` ( + `spell` mediumint(8) unsigned NOT NULL DEFAULT '0', + `area` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest_start` mediumint(8) unsigned NOT NULL DEFAULT '0', + `quest_end` mediumint(8) unsigned NOT NULL DEFAULT '0', + `aura_spell` mediumint(8) NOT NULL DEFAULT '0', + `racemask` mediumint(8) unsigned NOT NULL DEFAULT '0', + `gender` tinyint(3) unsigned NOT NULL DEFAULT '2', + `autocast` tinyint(3) unsigned NOT NULL DEFAULT '0', + `quest_start_status` int(11) NOT NULL DEFAULT '64', + `quest_end_status` int(11) NOT NULL DEFAULT '11', + PRIMARY KEY (`spell`,`area`,`quest_start`,`aura_spell`,`racemask`,`gender`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_bonus_data` +-- + +DROP TABLE IF EXISTS `spell_bonus_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_bonus_data` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `direct_bonus` float NOT NULL DEFAULT '0', + `dot_bonus` float NOT NULL DEFAULT '0', + `ap_bonus` float NOT NULL DEFAULT '0', + `ap_dot_bonus` float NOT NULL DEFAULT '0', + `comments` varchar(255) DEFAULT NULL, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_custom_attr` +-- + +DROP TABLE IF EXISTS `spell_custom_attr`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_custom_attr` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'spell id', + `attributes` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCustomAttributes', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='SpellInfo custom attributes'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_dbc` +-- + +DROP TABLE IF EXISTS `spell_dbc`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_dbc` ( + `Id` int(10) unsigned NOT NULL, + `Dispel` int(10) unsigned NOT NULL DEFAULT '0', + `Mechanic` int(10) unsigned NOT NULL DEFAULT '0', + `Attributes` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx2` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx3` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx4` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx5` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx6` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx7` int(10) unsigned NOT NULL DEFAULT '0', + `Stances` int(10) unsigned NOT NULL DEFAULT '0', + `StancesNot` int(10) unsigned NOT NULL DEFAULT '0', + `Targets` int(10) unsigned NOT NULL DEFAULT '0', + `CastingTimeIndex` int(10) unsigned NOT NULL DEFAULT '1', + `AuraInterruptFlags` int(10) unsigned NOT NULL DEFAULT '0', + `ProcFlags` int(10) unsigned NOT NULL DEFAULT '0', + `ProcChance` int(10) unsigned NOT NULL DEFAULT '0', + `ProcCharges` int(10) unsigned NOT NULL DEFAULT '0', + `MaxLevel` int(10) unsigned NOT NULL DEFAULT '0', + `BaseLevel` int(10) unsigned NOT NULL DEFAULT '0', + `SpellLevel` int(10) unsigned NOT NULL DEFAULT '0', + `DurationIndex` int(10) unsigned NOT NULL DEFAULT '0', + `RangeIndex` int(10) unsigned NOT NULL DEFAULT '1', + `StackAmount` int(10) unsigned NOT NULL DEFAULT '0', + `EquippedItemClass` int(11) NOT NULL DEFAULT '-1', + `EquippedItemSubClassMask` int(11) NOT NULL DEFAULT '0', + `EquippedItemInventoryTypeMask` int(11) NOT NULL DEFAULT '0', + `Effect1` int(10) unsigned NOT NULL DEFAULT '0', + `Effect2` int(10) unsigned NOT NULL DEFAULT '0', + `Effect3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectDieSides1` int(11) NOT NULL DEFAULT '0', + `EffectDieSides2` int(11) NOT NULL DEFAULT '0', + `EffectDieSides3` int(11) NOT NULL DEFAULT '0', + `EffectRealPointsPerLevel1` float NOT NULL DEFAULT '0', + `EffectRealPointsPerLevel2` float NOT NULL DEFAULT '0', + `EffectRealPointsPerLevel3` float NOT NULL DEFAULT '0', + `EffectBasePoints1` int(11) NOT NULL DEFAULT '0', + `EffectBasePoints2` int(11) NOT NULL DEFAULT '0', + `EffectBasePoints3` int(11) NOT NULL DEFAULT '0', + `EffectMechanic1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectMechanic2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectMechanic3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetA1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetA2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetA3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetB1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetB2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetB3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectRadiusIndex1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectRadiusIndex2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectRadiusIndex3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectApplyAuraName1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectApplyAuraName2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectApplyAuraName3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectAmplitude1` int(11) NOT NULL DEFAULT '0', + `EffectAmplitude2` int(11) NOT NULL DEFAULT '0', + `EffectAmplitude3` int(11) NOT NULL DEFAULT '0', + `EffectMultipleValue1` float NOT NULL DEFAULT '0', + `EffectMultipleValue2` float NOT NULL DEFAULT '0', + `EffectMultipleValue3` float NOT NULL DEFAULT '0', + `EffectMiscValue1` int(11) NOT NULL DEFAULT '0', + `EffectMiscValue2` int(11) NOT NULL DEFAULT '0', + `EffectMiscValue3` int(11) NOT NULL DEFAULT '0', + `EffectMiscValueB1` int(11) NOT NULL DEFAULT '0', + `EffectMiscValueB2` int(11) NOT NULL DEFAULT '0', + `EffectMiscValueB3` int(11) NOT NULL DEFAULT '0', + `EffectTriggerSpell1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectTriggerSpell2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectTriggerSpell3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskA1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskA2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskA3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskB1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskB2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskB3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskC1` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskC2` int(10) unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskC3` int(10) unsigned NOT NULL DEFAULT '0', + `MaxTargetLevel` int(10) unsigned NOT NULL DEFAULT '0', + `SpellFamilyName` int(10) unsigned NOT NULL DEFAULT '0', + `SpellFamilyFlags1` int(10) unsigned NOT NULL DEFAULT '0', + `SpellFamilyFlags2` int(10) unsigned NOT NULL DEFAULT '0', + `SpellFamilyFlags3` int(10) unsigned NOT NULL DEFAULT '0', + `MaxAffectedTargets` int(10) unsigned NOT NULL DEFAULT '0', + `DmgClass` int(10) unsigned NOT NULL DEFAULT '0', + `PreventionType` int(10) unsigned NOT NULL DEFAULT '0', + `DmgMultiplier1` float NOT NULL DEFAULT '0', + `DmgMultiplier2` float NOT NULL DEFAULT '0', + `DmgMultiplier3` float NOT NULL DEFAULT '0', + `AreaGroupId` int(11) NOT NULL DEFAULT '0', + `SchoolMask` int(10) unsigned NOT NULL DEFAULT '0', + `Comment` text NOT NULL, + PRIMARY KEY (`Id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Custom spell.dbc entries'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_enchant_proc_data` +-- + +DROP TABLE IF EXISTS `spell_enchant_proc_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_enchant_proc_data` ( + `entry` int(10) unsigned NOT NULL, + `customChance` int(10) unsigned NOT NULL DEFAULT '0', + `PPMChance` float unsigned NOT NULL DEFAULT '0', + `procEx` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Spell enchant proc data'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_group` +-- + +DROP TABLE IF EXISTS `spell_group`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_group` ( + `id` int(10) unsigned NOT NULL DEFAULT '0', + `spell_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`,`spell_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_group_stack_rules` +-- + +DROP TABLE IF EXISTS `spell_group_stack_rules`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_group_stack_rules` ( + `group_id` int(11) unsigned NOT NULL DEFAULT '0', + `stack_rule` tinyint(3) NOT NULL DEFAULT '0', + PRIMARY KEY (`group_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_learn_spell` +-- + +DROP TABLE IF EXISTS `spell_learn_spell`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_learn_spell` ( + `entry` smallint(5) unsigned NOT NULL DEFAULT '0', + `SpellID` smallint(5) unsigned NOT NULL DEFAULT '0', + `Active` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`SpellID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_linked_spell` +-- + +DROP TABLE IF EXISTS `spell_linked_spell`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_linked_spell` ( + `spell_trigger` mediumint(8) NOT NULL, + `spell_effect` mediumint(8) NOT NULL DEFAULT '0', + `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `comment` text NOT NULL, + UNIQUE KEY `trigger_effect_type` (`spell_trigger`,`spell_effect`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Spell System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_loot_template` +-- + +DROP TABLE IF EXISTS `spell_loot_template`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_loot_template` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `item` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ChanceOrQuestChance` float NOT NULL DEFAULT '100', + `lootmode` smallint(5) unsigned NOT NULL DEFAULT '1', + `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', + `mincountOrRef` mediumint(8) NOT NULL DEFAULT '1', + `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`entry`,`item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_pet_auras` +-- + +DROP TABLE IF EXISTS `spell_pet_auras`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_pet_auras` ( + `spell` mediumint(8) unsigned NOT NULL COMMENT 'dummy spell id', + `effectId` tinyint(3) unsigned NOT NULL DEFAULT '0', + `pet` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'pet id; 0 = all', + `aura` mediumint(8) unsigned NOT NULL COMMENT 'pet aura id', + PRIMARY KEY (`spell`,`effectId`,`pet`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_proc` +-- + +DROP TABLE IF EXISTS `spell_proc`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_proc` ( + `spellId` mediumint(8) NOT NULL DEFAULT '0', + `schoolMask` tinyint(4) NOT NULL DEFAULT '0', + `spellFamilyName` smallint(5) unsigned NOT NULL DEFAULT '0', + `spellFamilyMask0` int(10) unsigned NOT NULL DEFAULT '0', + `spellFamilyMask1` int(10) unsigned NOT NULL DEFAULT '0', + `spellFamilyMask2` int(10) unsigned NOT NULL DEFAULT '0', + `typeMask` int(10) unsigned NOT NULL DEFAULT '0', + `spellTypeMask` int(10) unsigned NOT NULL DEFAULT '0', + `spellPhaseMask` int(11) NOT NULL DEFAULT '0', + `hitMask` int(11) NOT NULL DEFAULT '0', + `attributesMask` int(10) unsigned NOT NULL DEFAULT '0', + `ratePerMinute` float NOT NULL DEFAULT '0', + `chance` float NOT NULL DEFAULT '0', + `cooldown` float unsigned NOT NULL DEFAULT '0', + `charges` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`spellId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_proc_event` +-- + +DROP TABLE IF EXISTS `spell_proc_event`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_proc_event` ( + `entry` mediumint(8) NOT NULL DEFAULT '0', + `SchoolMask` tinyint(4) NOT NULL DEFAULT '0', + `SpellFamilyName` smallint(5) unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask0` int(10) unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask1` int(10) unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask2` int(10) unsigned NOT NULL DEFAULT '0', + `procFlags` int(10) unsigned NOT NULL DEFAULT '0', + `procEx` int(10) unsigned NOT NULL DEFAULT '0', + `ppmRate` float NOT NULL DEFAULT '0', + `CustomChance` float NOT NULL DEFAULT '0', + `Cooldown` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_ranks` +-- + +DROP TABLE IF EXISTS `spell_ranks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_ranks` ( + `first_spell_id` int(10) unsigned NOT NULL DEFAULT '0', + `spell_id` int(10) unsigned NOT NULL DEFAULT '0', + `rank` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`first_spell_id`,`rank`), + UNIQUE KEY `spell_id` (`spell_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Rank Data'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_required` +-- + +DROP TABLE IF EXISTS `spell_required`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_required` ( + `spell_id` mediumint(8) NOT NULL DEFAULT '0', + `req_spell` mediumint(8) NOT NULL DEFAULT '0', + PRIMARY KEY (`spell_id`,`req_spell`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_script_names` +-- + +DROP TABLE IF EXISTS `spell_script_names`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_script_names` ( + `spell_id` int(11) NOT NULL, + `ScriptName` char(64) NOT NULL, + UNIQUE KEY `spell_id` (`spell_id`,`ScriptName`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_scripts` +-- + +DROP TABLE IF EXISTS `spell_scripts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_scripts` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', + `delay` int(10) unsigned NOT NULL DEFAULT '0', + `command` mediumint(8) unsigned NOT NULL DEFAULT '0', + `datalong` mediumint(8) unsigned NOT NULL DEFAULT '0', + `datalong2` int(10) unsigned NOT NULL DEFAULT '0', + `dataint` int(11) NOT NULL DEFAULT '0', + `x` float NOT NULL DEFAULT '0', + `y` float NOT NULL DEFAULT '0', + `z` float NOT NULL DEFAULT '0', + `o` float NOT NULL DEFAULT '0' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_target_position` +-- + +DROP TABLE IF EXISTS `spell_target_position`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_target_position` ( + `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', + `target_map` smallint(5) unsigned NOT NULL DEFAULT '0', + `target_position_x` float NOT NULL DEFAULT '0', + `target_position_y` float NOT NULL DEFAULT '0', + `target_position_z` float NOT NULL DEFAULT '0', + `target_orientation` float NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`id`,`effIndex`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_threat` +-- + +DROP TABLE IF EXISTS `spell_threat`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_threat` ( + `entry` mediumint(8) unsigned NOT NULL, + `flatMod` int(11) DEFAULT NULL, + `pctMod` float NOT NULL DEFAULT '1' COMMENT 'threat multiplier for damage/healing', + `apPctMod` float NOT NULL DEFAULT '0' COMMENT 'additional threat bonus from attack power', + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spelldifficulty_dbc` +-- + +DROP TABLE IF EXISTS `spelldifficulty_dbc`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spelldifficulty_dbc` ( + `id` int(11) unsigned NOT NULL DEFAULT '0', + `spellid0` int(11) unsigned NOT NULL DEFAULT '0', + `spellid1` int(11) unsigned NOT NULL DEFAULT '0', + `spellid2` int(11) unsigned NOT NULL DEFAULT '0', + `spellid3` int(11) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `transports` +-- + +DROP TABLE IF EXISTS `transports`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `transports` ( + `guid` int(10) unsigned NOT NULL AUTO_INCREMENT, + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `name` text, + `ScriptName` char(64) NOT NULL DEFAULT '', + PRIMARY KEY (`guid`), + UNIQUE KEY `idx_entry` (`entry`) +) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Transports'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `trinity_string` +-- + +DROP TABLE IF EXISTS `trinity_string`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `trinity_string` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `content_default` text NOT NULL, + `content_loc1` text, + `content_loc2` text, + `content_loc3` text, + `content_loc4` text, + `content_loc5` text, + `content_loc6` text, + `content_loc7` text, + `content_loc8` text, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `vehicle_accessory` +-- + +DROP TABLE IF EXISTS `vehicle_accessory`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_accessory` ( + `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `seat_id` tinyint(4) NOT NULL DEFAULT '0', + `minion` tinyint(3) unsigned NOT NULL DEFAULT '0', + `description` text NOT NULL, + `summontype` tinyint(3) unsigned NOT NULL DEFAULT '6' COMMENT 'see enum TempSummonType', + `summontimer` int(10) unsigned NOT NULL DEFAULT '30000' COMMENT 'timer, only relevant for certain summontypes', + PRIMARY KEY (`guid`,`seat_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `vehicle_template_accessory` +-- + +DROP TABLE IF EXISTS `vehicle_template_accessory`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `vehicle_template_accessory` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `seat_id` tinyint(4) NOT NULL DEFAULT '0', + `minion` tinyint(3) unsigned NOT NULL DEFAULT '0', + `description` text NOT NULL, + `summontype` tinyint(3) unsigned NOT NULL DEFAULT '6' COMMENT 'see enum TempSummonType', + `summontimer` int(10) unsigned NOT NULL DEFAULT '30000' COMMENT 'timer, only relevant for certain summontypes', + PRIMARY KEY (`entry`,`seat_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `version` +-- + +DROP TABLE IF EXISTS `version`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `version` ( + `core_version` varchar(120) NOT NULL DEFAULT '' COMMENT 'Core revision dumped at startup.', + `core_revision` varchar(120) DEFAULT NULL, + `db_version` varchar(120) DEFAULT NULL COMMENT 'Version of world DB.', + `cache_id` int(11) DEFAULT '0', + PRIMARY KEY (`core_version`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Version Notes'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `warden_checks` +-- + +DROP TABLE IF EXISTS `warden_checks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `warden_checks` ( + `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `type` tinyint(3) unsigned DEFAULT NULL, + `data` varchar(48) DEFAULT NULL, + `str` varchar(20) DEFAULT NULL, + `address` int(10) unsigned DEFAULT NULL, + `length` tinyint(3) unsigned DEFAULT NULL, + `result` varchar(24) DEFAULT NULL, + `comment` varchar(50) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=787 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `waypoint_data` +-- + +DROP TABLE IF EXISTS `waypoint_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `waypoint_data` ( + `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature GUID', + `point` mediumint(8) unsigned NOT NULL DEFAULT '0', + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + `delay` int(10) unsigned NOT NULL DEFAULT '0', + `move_flag` tinyint(4) NOT NULL DEFAULT '0', + `action` int(11) NOT NULL DEFAULT '0', + `action_chance` smallint(6) NOT NULL DEFAULT '100', + `wpguid` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`,`point`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `waypoint_scripts` +-- + +DROP TABLE IF EXISTS `waypoint_scripts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `waypoint_scripts` ( + `id` int(11) unsigned NOT NULL DEFAULT '0', + `delay` int(11) unsigned NOT NULL DEFAULT '0', + `command` int(11) unsigned NOT NULL DEFAULT '0', + `datalong` int(11) unsigned NOT NULL DEFAULT '0', + `datalong2` int(11) unsigned NOT NULL DEFAULT '0', + `dataint` int(11) unsigned NOT NULL DEFAULT '0', + `x` float NOT NULL DEFAULT '0', + `y` float NOT NULL DEFAULT '0', + `z` float NOT NULL DEFAULT '0', + `o` float NOT NULL DEFAULT '0', + `guid` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`guid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `waypoints` +-- + +DROP TABLE IF EXISTS `waypoints`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `waypoints` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `pointid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `point_comment` text, + PRIMARY KEY (`entry`,`pointid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature waypoints'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping routines for database 'world' +-- +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2014-07-28 22:43:25 diff --git a/sql/updates/world/2014_07_27_04_world_sai.sql b/sql/updates/world/2014_07_27_04_world_sai.sql new file mode 100644 index 00000000000..0c497a02c16 --- /dev/null +++ b/sql/updates/world/2014_07_27_04_world_sai.sql @@ -0,0 +1,25 @@ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=4721; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4721 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=472100 AND `source_type`=9; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(4721, 0, 0, 0,68, 0, 100, 0, 25, 0, 0, 0, 53, 0, 4721, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - On Event Start - Start WP'), +(4721, 0, 1, 2,40, 0, 100, 0, 1, 4721, 0, 0, 54, 25000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - On Reached WP1 - Pause WP'), +(4721, 0, 2, 3,61, 0, 100, 0, 0, 0, 0, 0, 80, 472100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Linked with Previous Event - Run Script'), +(4721, 0, 3, 0,61, 0, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Linked with Previous Event - Set Phase 2'), +(4721, 0, 4, 5,40, 0, 100, 0, 2, 4721, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 4.74729, 'Zangen Stonehoof - On Reached WP2 - Set Orientation'), +(4721, 0, 5, 0,61, 0, 100, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Linked with Previous Event - Set Phase 1'), +(4721, 0, 6, 0,1, 2, 100, 0, 0, 0, 3125, 3125, 4, 6675, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - OOC (Phase 2) - Play Sound'), +(472100, 9, 0, 0,0, 0, 100, 0, 7000, 7000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Say'), +(472100, 9, 1, 0,0, 0, 100, 0, 3000, 3000, 0, 0, 11, 21392, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Cast Fire Channeling'), +(472100, 9, 2, 0,0, 0, 100, 0, 11000, 11000, 0, 0, 9, 0, 0, 0, 0, 0, 0, 14, 20556, 178571, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Activate Bonfire'), +(472100, 9, 3, 0,0, 0, 100, 0, 1000, 1000, 0, 0, 28, 21392, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Remove Aura Fire Channeling'); + +DELETE FROM `creature_text` WHERE `entry`=4721; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(4721, 0, 0, 'The Earth Mother watch over us; under cover of the night as in the day. Let this fire illuminate both our bodies and spirits and remind us of our honored ancestors, who are ever present and guiding our way.', 12, 3, 100, 1, 0, 0, 'Zangen Stonehoof', 8677); + +DELETE FROM `waypoints` WHERE `entry` =4721; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(4721, 1, -1207.747, -59.47412, 158.3598, 'Zangen Stonehoof'), +(4721, 2, -1207.755, -57.32731, 158.6144, 'Zangen Stonehoof'); diff --git a/sql/updates/world/2014_07_27_05_world_sai.sql b/sql/updates/world/2014_07_27_05_world_sai.sql new file mode 100644 index 00000000000..9515e51ff95 --- /dev/null +++ b/sql/updates/world/2014_07_27_05_world_sai.sql @@ -0,0 +1,3 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid`=17240 AND `source_type`=0 AND `id`=2; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17240, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 33, 17240, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Admiral Odesyus - On Gossip Hello - Quest Credit \'The Kessel Run\''); diff --git a/sql/updates/world/2014_07_28_00_world_creature.sql b/sql/updates/world/2014_07_28_00_world_creature.sql new file mode 100644 index 00000000000..9d55e17de71 --- /dev/null +++ b/sql/updates/world/2014_07_28_00_world_creature.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature` SET `position_x`=-9080.099, `position_y`=823.0909, `position_z`=108.5025, `orientation`=0.5585054 WHERE `id`=1141; diff --git a/sql/updates/world/2014_07_28_01_world_misc.sql b/sql/updates/world/2014_07_28_01_world_misc.sql new file mode 100644 index 00000000000..70d8b2d69d4 --- /dev/null +++ b/sql/updates/world/2014_07_28_01_world_misc.sql @@ -0,0 +1,258 @@ +-- Kil'sorrow Spellbinder SAI +SET @ENTRY := 17146; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,34447,64,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - In Combat CMC - Cast 'Arcane Missiles'"), +(@ENTRY,0,1,0,0,0,100,0,3000,6000,20000,25000,11,22744,0,0,0,0,0,5,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - In Combat - Cast 'Chains of Ice'"), +(@ENTRY,0,2,0,13,0,90,0,25000,25000,0,0,11,31999,0,0,0,0,0,7,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - Target Casting - Cast 'Counterspell'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Kil'sorrow Cultist SAI +SET @ENTRY := -28654; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"), +(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'"); + +-- Kil'sorrow Cultist SAI +SET @ENTRY := -28655; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"), +(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'"); + +-- Kil'sorrow Cultist SAI +SET @ENTRY := -28656; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"), +(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'"); + +-- Kil'sorrow Cultist SAI +SET @ENTRY := -28657; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"), +(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'"); + +-- Kil'sorrow Cultist SAI +SET @ENTRY := 17147; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'"); + +-- Kil'sorrow Cultist fix up addons +DELETE FROM `creature_addon` WHERE `guid` IN (28654,28655,28656,28657,60213,60215,60221); +DELETE FROM `creature_template_addon` WHERE `entry`=17147; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`)VALUES (17147,0,0,0,1,0, '16592'); + +-- Add spell condition for Purple Beam +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=31902; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 31902, 0, 0, 31, 0, 3, 19656, 0, 0, 0, 0, '', 'Purple Beam Targets Invisible Location Trigger'); + +-- Add Missing Kil'sorrow Spellbinder & Cultist Spawns +SET @CGUID := 213225; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+9; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 17147, 530, 1, 1, 1, -2966.403, 6452.863, 84.96134, 6.021386, 120, 0, 0), +(@CGUID+1, 17146, 530, 1, 1, 1, -2966.403, 6450.863, 84.96134, 6.021386, 120, 0, 0), +(@CGUID+2, 17147, 530, 1, 1, 1, -2884.375, 6580.407, 49.82686, 4.698485, 120, 0, 0), +(@CGUID+3, 17146, 530, 1, 1, 1, -2886.375, 6580.407, 49.82686, 4.698485, 120, 0, 0), +(@CGUID+4, 17147, 530, 1, 1, 1, -2794.054, 6424.335, 62.25868, 4.572828, 120, 0, 0), +(@CGUID+5, 17146, 530, 1, 1, 1, -2796.054, 6424.335, 62.25868, 4.572828, 120, 0, 0), +(@CGUID+6, 17147, 530, 1, 1, 1, -2857.618, 6466.858, 82.75233, 4.788821, 120, 0, 0), +(@CGUID+7, 17146, 530, 1, 1, 1, -2858.218, 6466.858, 82.75233, 4.788821, 120, 0, 0), +(@CGUID+8, 17147, 530, 1, 1, 1, -2934.352, 6331.253, 88.43297, 1.203481, 120, 0, 0), +(@CGUID+9, 17146, 530, 1, 1, 1, -2932.352, 6330.253, 88.43297, 1.203481, 120, 0, 0); + +-- Kil'sorrow Spellbinder / Cultist Formations +DELETE FROM `creature_formations` WHERE `leaderGUID` IN (213226,213228,213230,213232,213234); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(213226,213226,0,0,2),(213226,213225,2,270,2), +(213228,213228,0,0,2),(213228,213227,2,270,2), +(213230,213230,0,0,2),(213230,213229,2,270,2), +(213232,213232,0,0,2),(213232,213231,2,270,2), +(213234,213234,0,0,2),(213234,213233,2,270,2); + +-- Pathing for Kil'sorrow Spellbinder Entry: 17146 +SET @NPC := 213226; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2966.403,`position_y`=6450.863,`position_z`=84.96134 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2966.403,6450.863,84.96134,0,0,0,0,100,0), +(@PATH,2,-2951.366,6451.252,84.06266,0,0,0,0,100,0), +(@PATH,3,-2947.001,6458.422,83.78898,0,0,0,0,100,0), +(@PATH,4,-2933.374,6459.891,82.71134,0,0,0,0,100,0), +(@PATH,5,-2928.819,6466.733,82.45881,0,0,0,0,100,0), +(@PATH,6,-2933.261,6499.875,81.98237,0,0,0,0,100,0), +(@PATH,7,-2932.741,6517.529,76.60457,0,0,0,0,100,0), +(@PATH,8,-2924.629,6533.378,69.05309,0,0,0,0,100,0), +(@PATH,9,-2899.833,6556.306,55.69653,0,0,0,0,100,0), +(@PATH,10,-2878.803,6570.991,49.01436,0,0,0,0,100,0), +(@PATH,11,-2855.887,6555.953,40.81544,0,0,0,0,100,0), +(@PATH,12,-2878.803,6570.991,49.01436,0,0,0,0,100,0), +(@PATH,13,-2899.833,6556.306,55.69653,0,0,0,0,100,0), +(@PATH,14,-2924.472,6533.658,69.22276,0,0,0,0,100,0), +(@PATH,15,-2932.741,6517.529,76.60457,0,0,0,0,100,0), +(@PATH,16,-2933.261,6499.875,81.98237,0,0,0,0,100,0), +(@PATH,17,-2928.819,6466.733,82.45881,0,0,0,0,100,0), +(@PATH,18,-2933.374,6459.891,82.71134,0,0,0,0,100,0), +(@PATH,19,-2947.001,6458.422,83.78898,0,0,0,0,100,0), +(@PATH,20,-2951.366,6451.252,84.06266,0,0,0,0,100,0); + +-- Pathing for Kil'sorrow Spellbinder Entry: 17146 +SET @NPC := 213228; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2886.375,`position_y`=6580.407,`position_z`=49.82686 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2886.375,6580.407,49.82686,0,0,0,0,100,0), +(@PATH,2,-2889.297,6558.6,52.20752,0,0,0,0,100,0), +(@PATH,3,-2875.24,6533.176,54.37968,0,0,0,0,100,0), +(@PATH,4,-2866.895,6523.676,56.61101,0,0,0,0,100,0), +(@PATH,5,-2845.4,6500.211,62.02013,0,0,0,0,100,0), +(@PATH,6,-2833.535,6486.23,62.87733,0,0,0,0,100,0), +(@PATH,7,-2822.089,6466.063,63.05643,0,0,0,0,100,0), +(@PATH,8,-2813.894,6437.624,63.46805,0,0,0,0,100,0), +(@PATH,9,-2800.375,6432.741,62.70899,0,0,0,0,100,0), +(@PATH,10,-2782.428,6431.978,61.04139,0,0,0,0,100,0), +(@PATH,11,-2800.375,6432.741,62.70899,0,0,0,0,100,0), +(@PATH,12,-2813.894,6437.624,63.46805,0,0,0,0,100,0), +(@PATH,13,-2822.089,6466.063,63.05643,0,0,0,0,100,0), +(@PATH,14,-2833.535,6486.23,62.87733,0,0,0,0,100,0), +(@PATH,15,-2845.4,6500.211,62.02013,0,0,0,0,100,0), +(@PATH,16,-2866.895,6523.676,56.61101,0,0,0,0,100,0), +(@PATH,17,-2875.24,6533.176,54.37968,0,0,0,0,100,0), +(@PATH,18,-2889.303,6558.567,52.30542,0,0,0,0,100,0); + +-- Pathing for Kil'sorrow Spellbinder Entry: 17146 +SET @NPC := 213230; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2796.054,`position_y`=6424.335,`position_z`=62.25868 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2796.054,6424.335,62.25868,0,0,0,0,100,0), +(@PATH,2,-2800.321,6399.666,62.34266,0,0,0,0,100,0), +(@PATH,3,-2799.676,6388.983,63.19019,0,0,0,0,100,0), +(@PATH,4,-2792.213,6366.481,63.53901,0,0,0,0,100,0), +(@PATH,5,-2800.327,6352.1,63.54148,0,0,0,0,100,0), +(@PATH,6,-2811.064,6333.319,63.71547,0,0,0,0,100,0), +(@PATH,7,-2820.251,6313.478,63.65468,0,0,0,0,100,0), +(@PATH,8,-2833.449,6304.563,65.49826,0,0,0,0,100,0), +(@PATH,9,-2867.439,6307.764,77.54279,0,0,0,0,100,0), +(@PATH,10,-2878.416,6326.375,83.02692,0,0,0,0,100,0), +(@PATH,11,-2867.439,6307.764,77.54279,0,0,0,0,100,0), +(@PATH,12,-2833.449,6304.563,65.49826,0,0,0,0,100,0), +(@PATH,13,-2820.251,6313.478,63.65468,0,0,0,0,100,0), +(@PATH,14,-2811.064,6333.319,63.71547,0,0,0,0,100,0), +(@PATH,15,-2800.327,6352.1,63.54148,0,0,0,0,100,0), +(@PATH,16,-2792.213,6366.481,63.53901,0,0,0,0,100,0), +(@PATH,17,-2799.676,6388.983,63.19019,0,0,0,0,100,0), +(@PATH,18,-2800.321,6399.666,62.34266,0,0,0,0,100,0); + +-- Pathing for Kil'sorrow Spellbinder Entry: 17146 +SET @NPC := 213232; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2858.218,`position_y`=6466.858,`position_z`=82.75233 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2858.218,6466.858,82.75233,0,0,0,0,100,0), +(@PATH,2,-2857.816,6444.058,82.75547,0,0,0,0,100,0), +(@PATH,3,-2866.552,6441.649,82.75547,0,0,0,0,100,0), +(@PATH,4,-2879.884,6432.936,82.39103,0,0,0,0,100,0), +(@PATH,5,-2899.292,6416.391,82.04545,0,0,0,0,100,0), +(@PATH,6,-2913.055,6413.213,82.4074,0,0,0,0,100,0), +(@PATH,7,-2923.442,6433.533,82.46134,0,0,0,0,100,0), +(@PATH,8,-2929.056,6459.67,82.58634,0,0,0,0,100,0), +(@PATH,9,-2943.927,6460.137,83.43241,0,0,0,0,100,0), +(@PATH,10,-2947.446,6466.739,84.1551,0,0,0,0,100,0), +(@PATH,11,-2972.279,6499.877,91.33967,0,0,0,0,100,0), +(@PATH,12,-2982.886,6518.872,96.93003,0,0,0,0,100,0), +(@PATH,13,-2981.053,6533.41,97.79256,0,0,0,0,100,0), +(@PATH,14,-2989.642,6543.227,97.79256,0,0,0,0,100,0), +(@PATH,15,-2999.918,6546.718,97.91756,0,0,0,0,100,0), +(@PATH,16,-2989.642,6543.227,97.79256,0,0,0,0,100,0), +(@PATH,17,-2981.053,6533.41,97.79256,0,0,0,0,100,0), +(@PATH,18,-2982.886,6518.872,96.93003,0,0,0,0,100,0), +(@PATH,19,-2972.279,6499.877,91.33967,0,0,0,0,100,0), +(@PATH,20,-2947.446,6466.739,84.1551,0,0,0,0,100,0), +(@PATH,21,-2943.927,6460.137,83.43241,0,0,0,0,100,0), +(@PATH,22,-2929.056,6459.67,82.58634,0,0,0,0,100,0), +(@PATH,23,-2923.442,6433.533,82.46134,0,0,0,0,100,0), +(@PATH,24,-2913.055,6413.213,82.4074,0,0,0,0,100,0), +(@PATH,25,-2899.292,6416.391,82.04545,0,0,0,0,100,0), +(@PATH,26,-2879.884,6432.936,82.39103,0,0,0,0,100,0), +(@PATH,27,-2866.552,6441.649,82.75547,0,0,0,0,100,0), +(@PATH,28,-2857.816,6444.058,82.75547,0,0,0,0,100,0); + +-- Pathing for Kil'sorrow Spellbinder Entry: 17146 +SET @NPC := 213234; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2932.352,`position_y`=6330.253,`position_z`=88.43297 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2932.352,6330.253,88.43297,0,0,0,0,100,0), +(@PATH,2,-2923.53,6348.927,88.30698,0,0,0,0,100,0), +(@PATH,3,-2911.74,6366.638,86.12277,0,0,0,0,100,0), +(@PATH,4,-2911.893,6383.025,84.73821,0,0,0,0,100,0), +(@PATH,5,-2900.083,6384.457,82.65923,0,0,0,0,100,0), +(@PATH,6,-2866.759,6392.461,80.9828,0,0,0,0,100,0), +(@PATH,7,-2853.948,6386.78,79.65498,0,0,0,0,100,0), +(@PATH,8,-2842.023,6385.775,79.38105,0,0,0,0,100,0), +(@PATH,9,-2857.746,6387.74,80.24799,0,0,0,0,100,0), +(@PATH,10,-2857.456,6398.598,79.31879,0,0,0,0,100,0), +(@PATH,11,-2834.581,6418.426,71.13242,0,0,0,0,100,0), +(@PATH,12,-2819.072,6434.312,64.01407,0,0,0,0,100,0), +(@PATH,13,-2834.581,6418.426,71.13242,0,0,0,0,100,0), +(@PATH,14,-2857.456,6398.598,79.31879,0,0,0,0,100,0), +(@PATH,15,-2857.746,6387.74,80.24799,0,0,0,0,100,0), +(@PATH,16,-2842.023,6385.775,79.38105,0,0,0,0,100,0), +(@PATH,17,-2853.948,6386.78,79.65498,0,0,0,0,100,0), +(@PATH,18,-2866.759,6392.461,80.9828,0,0,0,0,100,0), +(@PATH,19,-2900.083,6384.457,82.65923,0,0,0,0,100,0), +(@PATH,20,-2911.893,6383.025,84.73821,0,0,0,0,100,0), +(@PATH,21,-2911.74,6366.638,86.12277,0,0,0,0,100,0), +(@PATH,22,-2923.53,6348.927,88.30698,0,0,0,0,100,0); + +-- Pathing for Kil'sorrow Spellbinder Entry: 17146 +SET @NPC := 60206; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2937.746,`position_y`=6326.745,`position_z`=89.08513 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2937.746,6326.745,89.08513,0,0,0,0,100,0), +(@PATH,2,-2935.963,6330.98,88.382,0,0,0,0,100,0), +(@PATH,3,-2939.063,6332.813,88.37883,0,17000,0,476,100,0), +(@PATH,4,-2945.232,6323.478,89.62395,0,0,0,21,100,0), +(@PATH,5,-2959.155,6319.953,88.50652,0,0,0,0,100,0), +(@PATH,6,-2967.078,6318.835,87.68221,0,0,0,0,100,0), +(@PATH,7,-2968.813,6321.961,88.57487,0,20000,0,476,100,0), +(@PATH,8,-2960.756,6319.746,88.10429,0,0,0,21,100,0), +(@PATH,9,-2960.143,6317.857,88.76093,0,2000,0,0,100,0), +(@PATH,10,-2960.174,6317.34,88.76093,0,5000,0,50,100,0), +(@PATH,11,-2960.174,6317.34,88.76093,0,3000,0,12,100,0), +(@PATH,12,-2946.525,6321.191,89.73332,0,0,0,0,100,0); + +DELETE FROM `waypoint_scripts` WHERE `id`=21; +INSERT INTO `waypoint_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`,`guid`) VALUES +(21,0,1,0,1,0,0,0,0,0,21); diff --git a/sql/updates/world/2014_07_28_02_world_misc.sql b/sql/updates/world/2014_07_28_02_world_misc.sql new file mode 100644 index 00000000000..c4a6bdf03fb --- /dev/null +++ b/sql/updates/world/2014_07_28_02_world_misc.sql @@ -0,0 +1,89 @@ +-- Pathing for Murkblood Invader Entry: 18238 +SET @NPC := 65511; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-975.0311,`position_y`=8003.268,`position_z`=24.70724 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,17891, ''); +UPDATE `creature` SET `position_x`=-967.0311,`position_y`=8010.268,`position_z`=25.46785,`orientation`=3.095328 WHERE `guid`=65510; +UPDATE `creature` SET `position_x`=-959.0311,`position_y`=8016.268,`position_z`=26.73114,`orientation`=3.095328 WHERE `guid`=65509; +DELETE FROM `creature_formations` WHERE `leaderGUID`=65511; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(65511,65511,0,0,2),(65511,65510,10,0,2),(65511,65509,20,0,2); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-975.0311,8003.268,24.70724,0,0,0,0,100,0), +(@PATH,2,-997.3242,7988.124,23.90081,0,0,0,0,100,0), +(@PATH,3,-1024.918,7967.106,22.78156,0,0,0,0,100,0), +(@PATH,4,-1048.562,7947.569,21.29751,0,0,0,0,100,0), +(@PATH,5,-1066.489,7937.455,20.27663,0,0,0,0,100,0), +(@PATH,6,-1088.943,7921.778,18.32084,0,0,0,0,100,0), +(@PATH,7,-1102.926,7906.132,16.31742,0,0,0,0,100,0), +(@PATH,8,-1114.524,7884.297,15.90722,0,0,0,0,100,0), +(@PATH,9,-1123.868,7866.92,15.65722,0,0,0,0,100,0), +(@PATH,10,-1136.17,7848.297,14.90967,0,0,0,0,100,0), +(@PATH,11,-1151.416,7823.156,13.6708,0,0,0,0,100,0), +(@PATH,12,-1154.832,7816.532,13.38034,0,0,0,0,100,0), +(@PATH,13,-1166.244,7797.691,11.91216,0,0,0,0,100,0), +(@PATH,14,-1169.851,7792.627,12.57034,0,0,0,0,100,0), +(@PATH,15,-1180.903,7774.724,12.0325,0,0,0,0,100,0), +(@PATH,16,-1186.413,7751.253,11.90193,0,0,0,0,100,0), +(@PATH,17,-1216.748,7712.277,10.70068,0,0,0,0,100,0), +(@PATH,18,-1241.251,7681.352,9.454306,0,0,0,0,100,0), +(@PATH,19,-1216.748,7712.277,10.70068,0,0,0,0,100,0), +(@PATH,20,-1186.413,7751.253,11.90193,0,0,0,0,100,0), +(@PATH,21,-1180.903,7774.724,12.0325,0,0,0,0,100,0), +(@PATH,22,-1169.851,7792.627,12.57034,0,0,0,0,100,0), +(@PATH,23,-1166.244,7797.691,11.91216,0,0,0,0,100,0), +(@PATH,24,-1154.972,7816.302,13.51729,0,0,0,0,100,0), +(@PATH,25,-1151.416,7823.156,13.6708,0,0,0,0,100,0), +(@PATH,26,-1136.17,7848.297,14.90967,0,0,0,0,100,0), +(@PATH,27,-1123.868,7866.92,15.65722,0,0,0,0,100,0), +(@PATH,28,-1114.524,7884.297,15.90722,0,0,0,0,100,0), +(@PATH,29,-1102.926,7906.132,16.31742,0,0,0,0,100,0), +(@PATH,30,-1088.943,7921.778,18.32084,0,0,0,0,100,0), +(@PATH,31,-1066.489,7937.455,20.27663,0,0,0,0,100,0), +(@PATH,32,-1048.562,7947.569,21.29751,0,0,0,0,100,0), +(@PATH,33,-1024.918,7967.106,22.78156,0,0,0,0,100,0), +(@PATH,34,-997.3242,7988.124,23.90081,0,0,0,0,100,0), +(@PATH,35,-975.0311,8003.268,24.70724,0,0,0,0,100,0), +(@PATH,36,-950.7655,8028.221,26.45019,0,0,0,0,100,0), +(@PATH,37,-927.2802,8053.072,23.7813,0,0,0,0,100,0), +(@PATH,38,-923.4583,8083.05,20.75642,0,0,0,0,100,0), +(@PATH,39,-942.1875,8120.313,15.28892,0,0,0,0,100,0), +(@PATH,40,-941.4887,8118.656,15.8869,0,0,0,0,100,0), +(@PATH,41,-960.761,8156.537,10.70663,0,0,0,0,100,0), +(@PATH,42,-967.709,8169.791,14.39479,0,0,0,0,100,0), +(@PATH,43,-972.3214,8185.858,15.8854,0,0,0,0,100,0), +(@PATH,44,-972.4633,8204.367,16.85678,0,0,0,0,100,0), +(@PATH,45,-969.6346,8233.534,18.45239,0,0,0,0,100,0), +(@PATH,46,-963.277,8258.822,19.3653,0,0,0,0,100,0), +(@PATH,47,-952.5289,8277.955,19.9442,0,0,0,0,100,0), +(@PATH,48,-941.4935,8296.437,21.77709,0,0,0,0,100,0), +(@PATH,49,-927.161,8313.917,23.47841,0,0,0,0,100,0), +(@PATH,50,-904.2444,8338.236,24.87936,0,0,0,0,100,0), +(@PATH,51,-875.242,8346.935,27.22016,0,0,0,0,100,0), +(@PATH,52,-845.6073,8354.45,29.7155,0,0,0,0,100,0), +(@PATH,53,-821.9045,8365.908,31.60839,0,0,0,0,100,0), +(@PATH,54,-797.6428,8377.114,32.67945,0,0,0,0,100,0), +(@PATH,55,-774.5784,8385.888,33.82203,0,0,0,0,100,0), +(@PATH,56,-754.1369,8393.085,33.83342,0,0,0,0,100,0), +(@PATH,57,-774.5784,8385.888,33.82203,0,0,0,0,100,0), +(@PATH,58,-797.6428,8377.114,32.67945,0,0,0,0,100,0), +(@PATH,59,-821.9045,8365.908,31.60839,0,0,0,0,100,0), +(@PATH,60,-845.3145,8354.584,29.7509,0,0,0,0,100,0), +(@PATH,61,-875.242,8346.935,27.22016,0,0,0,0,100,0), +(@PATH,62,-904.2444,8338.236,24.87936,0,0,0,0,100,0), +(@PATH,63,-927.161,8313.917,23.47841,0,0,0,0,100,0), +(@PATH,64,-941.4935,8296.437,21.77709,0,0,0,0,100,0), +(@PATH,65,-952.5289,8277.955,19.9442,0,0,0,0,100,0), +(@PATH,66,-963.277,8258.822,19.3653,0,0,0,0,100,0), +(@PATH,67,-969.6346,8233.534,18.45239,0,0,0,0,100,0), +(@PATH,68,-972.4633,8204.367,16.85678,0,0,0,0,100,0), +(@PATH,69,-972.3214,8185.858,15.8854,0,0,0,0,100,0), +(@PATH,70,-966.993,8169.693,14.49245,0,0,0,0,100,0), +(@PATH,71,-960.761,8156.537,10.70663,0,0,0,0,100,0), +(@PATH,72,-941.4887,8118.656,15.8869,0,0,0,0,100,0), +(@PATH,73,-942.1875,8120.313,15.28892,0,0,0,0,100,0), +(@PATH,74,-923.4583,8083.05,20.75642,0,0,0,0,100,0), +(@PATH,75,-927.2802,8053.072,23.7813,0,0,0,0,100,0), +(@PATH,76,-950.7655,8028.221,26.45019,0,0,0,0,100,0); diff --git a/sql/updates/world/2014_07_28_03_world_sai.sql b/sql/updates/world/2014_07_28_03_world_sai.sql new file mode 100644 index 00000000000..f6222f87836 --- /dev/null +++ b/sql/updates/world/2014_07_28_03_world_sai.sql @@ -0,0 +1,77 @@ + + +-- Quest 9667 "Saving Princess Stillpine" 24099 +-- Princess Stillpine Cage SAI +SET @ENTRY := 181928; -- GO entry +SET @ENTRY2 := 17682; -- NPC entry + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI',`ScriptName`='' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@ENTRY*100; + +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,1,70,0,100,0,2,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Princess Stillpine Cage - On StateChange 0 - Store target'), +(@ENTRY,1,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@ENTRY2,0,0,0,0,0,0, 'Princess Stillpine Cage - On StateChange 0 - Send target'), +(@ENTRY,1,2,3,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@ENTRY2,0,0,0,0,0,0,'Princess Stillpine Cage - On StateChange 0 - Set data 0 1 for entry 17682'), +(@ENTRY,1,3,0,61,0,100,0,0,0,0,0,80,@ENTRY*100,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine Cage - Run Script - Quest credit'), +(@ENTRY*100,9,0,0,0,0,100,0,5000,5000,0,0,32,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine Cage - Script - Reset GO'); + +-- Princess Stillpine SAI +SET @SPELL := 31003; -- Opening Princess Stillpine's Cage +UPDATE `creature` SET `spawntimesecs`=120 WHERE `guid`=63442; +UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@ENTRY2; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY2; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@ENTRY2*100; +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 +(@ENTRY2,0,0,1,38,0,100,0,0,1,0,0,80,@ENTRY2*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Princess Stillpine - On dataset - run script'), +(@ENTRY2,0,1,0,61,0,100,0,0,0,0,0,33,@ENTRY2,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Princess Stillpine - On dataset - run script'), +(@ENTRY2,0,2,0,25,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - On reset - add questgiver flag'), +(@ENTRY2,0,3,0,40,0,100,0,16,@ENTRY2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - On Reached WP15 - Despawn'), +(@ENTRY2*100,9,0,0,0,0,100,0,100,100,100,100,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - Script - Remove questgiver flag'), +(@ENTRY2*100,9,1,0,0,0,100,0,2000,2000,2000,2000,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'Princess Stillpine - Script - Say 0'), +(@ENTRY2*100,9,2,0,0,0,100,0,3000,3000,3000,3000,53,1,@ENTRY2,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - Script - Load path'); + +-- Waypoints for Princess Stillpine (From sniff) +DELETE FROM `waypoints` WHERE `entry`=@ENTRY2; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES + +(@ENTRY2,1,-2548.469, -12304.25, 13.79256, 'Princess Stillpine'), +(@ENTRY2,2,-2548.579, -12304.57, 13.88506, 'Princess Stillpine'), +(@ENTRY2,3,-2550.079, -12304.57, 13.63506, 'Princess Stillpine'), +(@ENTRY2,4,-2555.079, -12305.82, 13.13506, 'Princess Stillpine'), +(@ENTRY2,5,-2564.135, -12308.1, 12.65816, 'Princess Stillpine'), +(@ENTRY2,6,-2600.635, -12304.1, 11.90816, 'Princess Stillpine'), +(@ENTRY2,7,-2600.886, -12303.71, 11.80368, 'Princess Stillpine'), +(@ENTRY2,8,-2602.636, -12303.71, 11.55368, 'Princess Stillpine'), +(@ENTRY2,9,-2612.636, -12299.71, 12.05368, 'Princess Stillpine'), +(@ENTRY2,10,-2614.386, -12299.46, 12.55368, 'Princess Stillpine'), +(@ENTRY2,11,-2617.386, -12298.21, 13.05368, 'Princess Stillpine'), +(@ENTRY2,12,-2620.136, -12297.21, 13.55368, 'Princess Stillpine'), +(@ENTRY2,13,-2626.813, -12294.75, 13.78559, 'Princess Stillpine'), +(@ENTRY2,14,-2635.313, -12289.5, 13.03559, 'Princess Stillpine'), +(@ENTRY2,15,-2647.063, -12282.5, 12.53559, 'Princess Stillpine'), +(@ENTRY2,16,-2657.313, -12276.25, 12.03559, 'Princess Stillpine'); + +-- NPC talk text insert from sniff +DELETE FROM `creature_text` WHERE `entry` IN(@ENTRY2,17702) AND `groupid`=0; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextID`) VALUES +(@ENTRY2,0,0, 'Thank you for saving me, $N! My father will be delighted!',12,0,100,0,0,0, 'Princess Stillpine',14323), +(17702, 0, 0, 'Face the wrath of Bristlelimb!', 14, 0, 100, 0, 0, 0, 'High Chief Bristlelimb',14322); + +UPDATE `creature_template` SET `ainame`='SmartAI', `scriptname`='' WHERE `entry` IN(17320,17321,17702); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(17320,17321,17702) 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 +(17320,0,0,0,0,0,100,0,5000,15000,60000,75000,11,32968,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bristlelimb Shaman - IC - Cast Scorching Totem'), +(17320,0,1,0,0,0,100,0,0,3000,11000,15000,11,32967,0,0,0,0,0,2,0,0,0,0,0,0,0,'Bristlelimb Shaman - IC - Cast Flame Shock'), +(17320,0,2,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,84085,17702,0,0,0,0,0,'Bristlelimb Shaman - On Death - Set Data High Chief Bristlelimb'), +(17321,0,0,0,9,0,100,0,0,5,3000,7000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,'Bristlelimb Warrior - IC - Cast Strike'), +(17321,0,1,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,84085,17702,0,0,0,0,0,'Bristlelimb Warriot - On Death - Set Data High Chief Bristlelimb'), +(17702,0,0,1,25,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Reset - Set Invisible'), +(17702,0,1,0,61,0,100,0,0,0,0,0,18,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Reset - Set Unit Flags Immune to NPC/PC'), +(17702,0,2,3,38,0,20,0,1,1,0,0,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Data Set - Set Visible'), +(17702,0,3,4,61,0,100,0,0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Data set - Remove Unit Flags Immune to NPC/PC'), +(17702,0,4,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Data set - Say'), +(17702,0,5,0,4,0,100,0,0,0,0,0,11,20753,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Agro - Cast Demoralizing Roar'), +(17702,0,6,0,9,0,100,0,0,5,3000,5000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,'High Chief Bristlelimb - IC - Cast Maul'); diff --git a/sql/updates/world/2014_07_28_04_world_waypoints.sql b/sql/updates/world/2014_07_28_04_world_waypoints.sql new file mode 100644 index 00000000000..a180d6ead20 --- /dev/null +++ b/sql/updates/world/2014_07_28_04_world_waypoints.sql @@ -0,0 +1,1226 @@ +-- Fix speed for Fen Strider +UPDATE `creature_template` SET `speed_walk`=0.714285 WHERE `entry`=18134; + +-- Pathing for Fen Strider Entry: 18134 "Missing Spawn" +SET @NPC := 45099; +SET @PATH := @NPC * 10; +DELETE FROM `creature` WHERE `guid`=@NPC; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@NPC,18134,530,1,1,-245.4115,7483.657,17.39584,6.021386,300,0,2); +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-245.4115,7483.657,17.39584,0,0,0,0,100,0), +(@PATH,2,-247.2956,7450.507,17.5493,0,0,0,0,100,0), +(@PATH,3,-254.912,7428.493,17.75332,0,0,0,0,100,0), +(@PATH,4,-285.5298,7422.531,17.65393,0,0,0,0,100,0), +(@PATH,5,-305.5315,7416.8,17.66984,0,0,0,0,100,0), +(@PATH,6,-285.5298,7422.531,17.65393,0,0,0,0,100,0), +(@PATH,7,-254.912,7428.493,17.75332,0,0,0,0,100,0), +(@PATH,8,-247.2956,7450.507,17.5493,0,0,0,0,100,0), +(@PATH,9,-245.4115,7483.657,17.39584,0,0,0,0,100,0), +(@PATH,10,-247.987,7522.858,17.70378,0,0,0,0,100,0), +(@PATH,11,-247.1969,7559.842,17.57414,0,0,0,0,100,0), +(@PATH,12,-247.443,7578.94,17.37952,0,0,0,0,100,0), +(@PATH,13,-236.7838,7612.135,17.50561,0,0,0,0,100,0), +(@PATH,14,-216.761,7626.368,17.48851,0,0,0,0,100,0), +(@PATH,15,-236.7838,7612.135,17.50561,0,0,0,0,100,0), +(@PATH,16,-247.443,7578.94,17.37952,0,0,0,0,100,0), +(@PATH,17,-247.1969,7559.842,17.57414,0,0,0,0,100,0), +(@PATH,18,-247.987,7522.858,17.70378,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64767; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=223.5615,`position_y`=6374.221,`position_z`=17.49909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,223.5615,6374.221,17.49909,0,0,0,0,100,0), +(@PATH,2,256.5877,6388.807,17.4991,0,0,0,0,100,0), +(@PATH,3,251.3643,6428.167,17.49908,0,0,0,0,100,0), +(@PATH,4,256.2328,6456.2,17.50299,0,0,0,0,100,0), +(@PATH,5,251.3643,6428.167,17.49908,0,0,0,0,100,0), +(@PATH,6,256.5877,6388.807,17.4991,0,0,0,0,100,0), +(@PATH,7,223.5615,6374.221,17.49909,0,0,0,0,100,0), +(@PATH,8,182.964,6388.439,17.49308,0,0,0,0,100,0), +(@PATH,9,140.1335,6394.01,17.49909,0,0,0,0,100,0), +(@PATH,10,103.8388,6402.013,17.46575,0,0,0,0,100,0), +(@PATH,11,73.51573,6385.518,17.44332,0,0,0,0,100,0), +(@PATH,12,45.8967,6351.776,17.91318,0,0,0,0,100,0), +(@PATH,13,24.42795,6321.603,17.49905,0,0,0,0,100,0), +(@PATH,14,45.8967,6351.776,17.91318,0,0,0,0,100,0), +(@PATH,15,73.51573,6385.518,17.44332,0,0,0,0,100,0), +(@PATH,16,103.8388,6402.013,17.46575,0,0,0,0,100,0), +(@PATH,17,140.1335,6394.01,17.49909,0,0,0,0,100,0), +(@PATH,18,182.964,6388.439,17.49308,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64768; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-843.6936,`position_y`=5124.897,`position_z`=17.93274 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-843.6936,5124.897,17.93274,0,0,0,0,100,0), +(@PATH,2,-812.0039,5107.383,18.71229,0,0,0,0,100,0), +(@PATH,3,-843.6936,5124.897,17.93274,0,0,0,0,100,0), +(@PATH,4,-882.0682,5139.952,17.88305,0,0,0,0,100,0), +(@PATH,5,-902.012,5122.662,17.88305,0,0,0,0,100,0), +(@PATH,6,-916.0054,5086.631,17.8836,0,0,0,0,100,0), +(@PATH,7,-940.8605,5075.036,17.76662,0,0,0,0,100,0), +(@PATH,8,-979.3464,5083.667,18.55328,0,0,0,0,100,0), +(@PATH,9,-1017.911,5099.622,17.7586,0,0,0,0,100,0), +(@PATH,10,-1065.218,5100.495,17.5086,0,0,0,0,100,0), +(@PATH,11,-1017.911,5099.622,17.7586,0,0,0,0,100,0), +(@PATH,12,-979.3464,5083.667,18.55328,0,0,0,0,100,0), +(@PATH,13,-940.8605,5075.036,17.76662,0,0,0,0,100,0), +(@PATH,14,-916.0054,5086.631,17.8836,0,0,0,0,100,0), +(@PATH,15,-902.012,5122.662,17.88305,0,0,0,0,100,0), +(@PATH,16,-882.0682,5139.952,17.88305,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64769; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-740.3218,`position_y`=5196.946,`position_z`=17.88305 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-740.3218,5196.946,17.88305,0,0,0,0,100,0), +(@PATH,2,-711.1509,5226.004,17.73018,0,0,0,0,100,0), +(@PATH,3,-686.9243,5259.956,17.87972,0,0,0,0,100,0), +(@PATH,4,-656.3967,5287.788,17.88201,0,0,0,0,100,0), +(@PATH,5,-686.9243,5259.956,17.87972,0,0,0,0,100,0), +(@PATH,6,-711.1509,5226.004,17.73018,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64770; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-577.9679,`position_y`=5352.116,`position_z`=17.68461 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-577.9679,5352.116,17.68461,0,0,0,0,100,0), +(@PATH,2,-622.0549,5344.427,17.49935,0,0,0,0,100,0), +(@PATH,3,-577.9679,5352.116,17.68461,0,0,0,0,100,0), +(@PATH,4,-548.3535,5342.372,17.76349,0,0,0,0,100,0), +(@PATH,5,-449.3398,5342.336,17.79391,0,0,0,0,100,0), +(@PATH,6,-414.6554,5345.143,17.79263,0,0,0,0,100,0), +(@PATH,7,-477.406,5357.548,17.8798,0,0,0,0,100,0), +(@PATH,8,-509.2152,5366.26,18.13867,0,0,0,0,100,0), +(@PATH,9,-477.406,5357.548,17.8798,0,0,0,0,100,0), +(@PATH,10,-414.6554,5345.143,17.79263,0,0,0,0,100,0), +(@PATH,11,-449.3398,5342.336,17.79391,0,0,0,0,100,0), +(@PATH,12,-548.3535,5342.372,17.76349,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64771; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-403.375,`position_y`=5415.424,`position_z`=17.86433 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-403.375,5415.424,17.86433,0,0,0,0,100,0), +(@PATH,2,-384.9058,5415.971,17.7482,0,0,0,0,100,0), +(@PATH,3,-361.3589,5427.584,17.81659,0,0,0,0,100,0), +(@PATH,4,-330.2524,5423.488,17.93323,0,0,0,0,100,0), +(@PATH,5,-322.9159,5399.029,17.95394,0,0,0,0,100,0), +(@PATH,6,-331.5492,5380.434,17.98934,0,0,0,0,100,0), +(@PATH,7,-356.3358,5379.395,17.87109,0,0,0,0,100,0), +(@PATH,8,-378.2636,5382.861,17.86846,0,0,0,0,100,0), +(@PATH,9,-387.7549,5408.788,17.7482,0,0,0,0,100,0), +(@PATH,10,-415.6922,5415.858,17.86433,0,0,0,0,100,0), +(@PATH,11,-441.607,5418.342,17.76424,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64772; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1017.966,`position_y`=5538.429,`position_z`=17.10202 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1017.966,5538.429,17.10202,0,0,0,0,100,0), +(@PATH,2,-996.6628,5519.937,17.5215,0,0,0,0,100,0), +(@PATH,3,-992.8121,5500.504,17.52346,0,0,0,0,100,0), +(@PATH,4,-999.6793,5481.102,17.49909,0,0,0,0,100,0), +(@PATH,5,-1009.807,5457.827,17.48708,0,0,0,0,100,0), +(@PATH,6,-1013.846,5423.11,17.49909,0,0,0,0,100,0), +(@PATH,7,-1009.807,5457.827,17.48708,0,0,0,0,100,0), +(@PATH,8,-999.6793,5481.102,17.49909,0,0,0,0,100,0), +(@PATH,9,-992.8121,5500.504,17.52346,0,0,0,0,100,0), +(@PATH,10,-996.6628,5519.937,17.5215,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64773; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-987.5788,`position_y`=5744.341,`position_z`=17.49909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-987.5788,5744.341,17.49909,0,0,0,0,100,0), +(@PATH,2,-952.7982,5722.18,17.49813,0,0,0,0,100,0), +(@PATH,3,-984.4896,5717.205,17.49909,0,0,0,0,100,0), +(@PATH,4,-1025.188,5707.518,17.49699,0,0,0,0,100,0), +(@PATH,5,-984.4896,5717.205,17.49909,0,0,0,0,100,0), +(@PATH,6,-952.7982,5722.18,17.49813,0,0,0,0,100,0), +(@PATH,7,-987.5788,5744.341,17.49909,0,0,0,0,100,0), +(@PATH,8,-1007.783,5784.594,17.51414,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64774; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-457.9,`position_y`=5947.151,`position_z`=17.48606 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-457.9,5947.151,17.48606,0,0,0,0,100,0), +(@PATH,2,-444.5015,5918.243,17.4935,0,0,0,0,100,0), +(@PATH,3,-443.175,5893.204,17.42938,0,0,0,0,100,0), +(@PATH,4,-422.4767,5919.401,17.5987,0,0,0,0,100,0), +(@PATH,5,-416.6625,5941.392,17.4036,0,0,0,0,100,0), +(@PATH,6,-400.2587,5966.586,17.4036,0,0,0,0,100,0), +(@PATH,7,-383.6613,5986.046,17.40285,0,0,0,0,100,0), +(@PATH,8,-354.2553,5978.438,17.49909,0,0,0,0,100,0), +(@PATH,9,-344.5939,5950.701,17.49909,0,0,0,0,100,0), +(@PATH,10,-308.6082,5944.29,17.49689,0,0,0,0,100,0), +(@PATH,11,-344.5939,5950.701,17.49909,0,0,0,0,100,0), +(@PATH,12,-354.2553,5978.438,17.49909,0,0,0,0,100,0), +(@PATH,13,-383.6613,5986.046,17.40285,0,0,0,0,100,0), +(@PATH,14,-400.2587,5966.586,17.4036,0,0,0,0,100,0), +(@PATH,15,-416.6625,5941.392,17.4036,0,0,0,0,100,0), +(@PATH,16,-422.4767,5919.401,17.5987,0,0,0,0,100,0), +(@PATH,17,-443.175,5893.204,17.42938,0,0,0,0,100,0), +(@PATH,18,-444.5015,5918.243,17.4935,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64775; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-384.029,`position_y`=5946.546,`position_z`=17.48655 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-384.029,5946.546,17.48655,0,0,0,0,100,0), +(@PATH,2,-350.0803,5951.836,17.49909,0,0,0,0,100,0), +(@PATH,3,-323.2102,5957.246,17.49909,0,0,0,0,100,0), +(@PATH,4,-294.5674,5946.367,17.50184,0,0,0,0,100,0), +(@PATH,5,-275.2058,5931.042,17.62954,0,0,0,0,100,0), +(@PATH,6,-251.2079,5941.814,17.49773,0,0,0,0,100,0), +(@PATH,7,-225.5439,5957.163,17.63308,0,0,0,0,100,0), +(@PATH,8,-240.6162,5982.624,17.52607,0,0,0,0,100,0), +(@PATH,9,-242.0302,6019.454,17.71815,0,0,0,0,100,0), +(@PATH,10,-214.7991,6041.711,18.32871,0,0,0,0,100,0), +(@PATH,11,-186.3317,6058.303,18.51708,0,0,0,0,100,0), +(@PATH,12,-164.5527,6085.354,18.3115,0,0,0,0,100,0), +(@PATH,13,-186.3317,6058.303,18.51708,0,0,0,0,100,0), +(@PATH,14,-214.7991,6041.711,18.32871,0,0,0,0,100,0), +(@PATH,15,-242.0302,6019.454,17.71815,0,0,0,0,100,0), +(@PATH,16,-240.6162,5982.624,17.52607,0,0,0,0,100,0), +(@PATH,17,-225.5439,5957.163,17.63308,0,0,0,0,100,0), +(@PATH,18,-251.2079,5941.814,17.49773,0,0,0,0,100,0), +(@PATH,19,-275.2058,5931.042,17.62954,0,0,0,0,100,0), +(@PATH,20,-294.5674,5946.367,17.50184,0,0,0,0,100,0), +(@PATH,21,-323.2102,5957.246,17.49909,0,0,0,0,100,0), +(@PATH,22,-350.0803,5951.836,17.49909,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64776; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-190.5273,`position_y`=6160.305,`position_z`=17.38075 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-190.5273,6160.305,17.38075,0,0,0,0,100,0), +(@PATH,2,-217.2867,6168.313,17.4991,0,0,0,0,100,0), +(@PATH,3,-253.0732,6165.761,17.57794,0,0,0,0,100,0), +(@PATH,4,-276.0217,6132.753,17.93902,0,0,0,0,100,0), +(@PATH,5,-301.7705,6095.704,17.49908,0,0,0,0,100,0), +(@PATH,6,-332.6654,6080.386,18.02447,0,0,0,0,100,0), +(@PATH,7,-367.4536,6078.913,17.49908,0,0,0,0,100,0), +(@PATH,8,-403.6659,6090.355,18.23721,0,0,0,0,100,0), +(@PATH,9,-367.4536,6078.913,17.49908,0,0,0,0,100,0), +(@PATH,10,-332.6654,6080.386,18.02447,0,0,0,0,100,0), +(@PATH,11,-301.7705,6095.704,17.49908,0,0,0,0,100,0), +(@PATH,12,-276.0217,6132.753,17.93902,0,0,0,0,100,0), +(@PATH,13,-253.0732,6165.761,17.57794,0,0,0,0,100,0), +(@PATH,14,-217.2867,6168.313,17.4991,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64777; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=51.84581,`position_y`=5928.761,`position_z`=17.4091 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,51.84581,5928.761,17.4091,0,0,0,0,100,0), +(@PATH,2,29.06456,5946.927,17.4991,0,0,0,0,100,0), +(@PATH,3,20.11274,5979.879,17.74711,0,0,0,0,100,0), +(@PATH,4,22.18533,6012.022,17.49818,0,0,0,0,100,0), +(@PATH,5,17.59191,6043.186,17.49818,0,0,0,0,100,0), +(@PATH,6,21.65831,6083.83,17.63726,0,0,0,0,100,0), +(@PATH,7,14.7615,6059.701,17.78932,0,0,0,0,100,0), +(@PATH,8,6.653971,6025.576,17.62318,0,0,0,0,100,0), +(@PATH,9,-32.80664,6032.478,17.49908,0,0,0,0,100,0), +(@PATH,10,-66.30209,6025.953,17.49908,0,0,0,0,100,0), +(@PATH,11,-81.81229,6005.886,17.5069,0,0,0,0,100,0), +(@PATH,12,-66.30209,6025.953,17.49908,0,0,0,0,100,0), +(@PATH,13,-32.80664,6032.478,17.49908,0,0,0,0,100,0), +(@PATH,14,6.653971,6025.576,17.62318,0,0,0,0,100,0), +(@PATH,15,14.7615,6059.701,17.78932,0,0,0,0,100,0), +(@PATH,16,21.65831,6083.83,17.63726,0,0,0,0,100,0), +(@PATH,17,17.59191,6043.186,17.49818,0,0,0,0,100,0), +(@PATH,18,22.18533,6012.022,17.49818,0,0,0,0,100,0), +(@PATH,19,20.11274,5979.879,17.74711,0,0,0,0,100,0), +(@PATH,20,29.06456,5946.927,17.4991,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64778; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=46.72515,`position_y`=5911.564,`position_z`=17.4091 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,46.72515,5911.564,17.4091,0,0,0,0,100,0), +(@PATH,2,77.36176,5883.848,17.4991,0,0,0,0,100,0), +(@PATH,3,89.86328,5851.272,17.4991,0,0,0,0,100,0), +(@PATH,4,77.36176,5883.848,17.4991,0,0,0,0,100,0), +(@PATH,5,46.72515,5911.564,17.4091,0,0,0,0,100,0), +(@PATH,6,16.72081,5907.729,17.48191,0,0,0,0,100,0), +(@PATH,7,-15.28299,5895.461,17.49908,0,0,0,0,100,0), +(@PATH,8,-45.57878,5883.192,17.49907,0,0,0,0,100,0), +(@PATH,9,-15.28299,5895.461,17.49908,0,0,0,0,100,0), +(@PATH,10,16.72081,5907.729,17.48191,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64779; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-48.9668,`position_y`=5785.517,`position_z`=17.49908 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-48.9668,5785.517,17.49908,0,0,0,0,100,0), +(@PATH,2,-31.21408,5790.6,17.80244,0,0,0,0,100,0), +(@PATH,3,6.899848,5785.177,17.49909,0,0,0,0,100,0), +(@PATH,4,12.50477,5748.672,17.75924,0,0,0,0,100,0), +(@PATH,5,8.448133,5700.218,17.46301,0,0,0,0,100,0), +(@PATH,6,-18.70009,5680.117,17.4991,0,0,0,0,100,0), +(@PATH,7,-48.19379,5666.413,17.4991,0,0,0,0,100,0), +(@PATH,8,-82.09049,5668.125,17.46832,0,0,0,0,100,0), +(@PATH,9,-102.2704,5658.955,16.82566,0,0,0,0,100,0), +(@PATH,10,-82.09049,5668.125,17.46832,0,0,0,0,100,0), +(@PATH,11,-48.19379,5666.413,17.4991,0,0,0,0,100,0), +(@PATH,12,-18.70009,5680.117,17.4991,0,0,0,0,100,0), +(@PATH,13,8.448133,5700.218,17.46301,0,0,0,0,100,0), +(@PATH,14,12.50477,5748.672,17.75924,0,0,0,0,100,0), +(@PATH,15,6.899848,5785.177,17.49909,0,0,0,0,100,0), +(@PATH,16,-31.21408,5790.6,17.80244,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64780; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-907.9193,`position_y`=5554.827,`position_z`=17.49909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-907.9193,5554.827,17.49909,0,0,0,0,100,0), +(@PATH,2,-906.6673,5589.928,17.49907,0,0,0,0,100,0), +(@PATH,3,-907.9579,5615.547,17.49908,0,0,0,0,100,0), +(@PATH,4,-893.4542,5636.297,17.4865,0,0,0,0,100,0), +(@PATH,5,-869.1836,5620.646,18.20904,0,0,0,0,100,0), +(@PATH,6,-845.2606,5594.781,17.49979,0,0,0,0,100,0), +(@PATH,7,-827.6858,5557.872,17.49905,0,0,0,0,100,0), +(@PATH,8,-845.2606,5594.781,17.49979,0,0,0,0,100,0), +(@PATH,9,-869.1836,5620.646,18.20904,0,0,0,0,100,0), +(@PATH,10,-893.4542,5636.297,17.4865,0,0,0,0,100,0), +(@PATH,11,-907.9579,5615.547,17.49908,0,0,0,0,100,0), +(@PATH,12,-906.6673,5589.928,17.49907,0,0,0,0,100,0), +(@PATH,13,-907.9193,5554.827,17.49909,0,0,0,0,100,0), +(@PATH,14,-889.6183,5537.365,17.49909,0,0,0,0,100,0), +(@PATH,15,-891.3976,5511.3,17.49909,0,0,0,0,100,0), +(@PATH,16,-907.3821,5509.792,17.48495,0,0,0,0,100,0), +(@PATH,17,-891.3976,5511.3,17.49909,0,0,0,0,100,0), +(@PATH,18,-889.6183,5537.365,17.49909,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64781; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-825.1914,`position_y`=5546.16,`position_z`=17.49905 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-825.1914,5546.16,17.49905,0,0,0,0,100,0), +(@PATH,2,-826.8116,5506.765,17.49908,0,0,0,0,100,0), +(@PATH,3,-830.6971,5478.23,17.49908,0,0,0,0,100,0), +(@PATH,4,-807.579,5456.918,17.49909,0,0,0,0,100,0), +(@PATH,5,-772.4839,5443.94,17.62408,0,0,0,0,100,0), +(@PATH,6,-741.9182,5456.83,17.49908,0,0,0,0,100,0), +(@PATH,7,-711.4406,5466.509,17.49908,0,0,0,0,100,0), +(@PATH,8,-696.3304,5487.959,17.49909,0,0,0,0,100,0), +(@PATH,9,-691.9963,5512.772,17.47927,0,0,0,0,100,0), +(@PATH,10,-696.3304,5487.959,17.49909,0,0,0,0,100,0), +(@PATH,11,-711.4406,5466.509,17.49908,0,0,0,0,100,0), +(@PATH,12,-741.9182,5456.83,17.49908,0,0,0,0,100,0), +(@PATH,13,-772.4839,5443.94,17.62408,0,0,0,0,100,0), +(@PATH,14,-807.579,5456.918,17.49909,0,0,0,0,100,0), +(@PATH,15,-830.6971,5478.23,17.49908,0,0,0,0,100,0), +(@PATH,16,-826.8116,5506.765,17.49908,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64782; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-131.7958,`position_y`=5398.479,`position_z`=17.76864 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-131.7958,5398.479,17.76864,0,0,0,0,100,0), +(@PATH,2,-98.33811,5381.044,17.91549,0,0,0,0,100,0), +(@PATH,3,-65.86523,5378.005,18.42885,0,0,0,0,100,0), +(@PATH,4,-26.47841,5356.318,17.85734,0,0,0,0,100,0), +(@PATH,5,4.931749,5323.244,17.62409,0,0,0,0,100,0), +(@PATH,6,31.18707,5302.142,17.49909,0,0,0,0,100,0), +(@PATH,7,4.931749,5323.244,17.62409,0,0,0,0,100,0), +(@PATH,8,-26.47841,5356.318,17.85734,0,0,0,0,100,0), +(@PATH,9,-65.86523,5378.005,18.42885,0,0,0,0,100,0), +(@PATH,10,-98.33811,5381.044,17.91549,0,0,0,0,100,0), +(@PATH,11,-131.7958,5398.479,17.76864,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64783; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=0.041775,`position_y`=5430.892,`position_z`=17.49905 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,0.041775,5430.892,17.49905,0,0,0,0,100,0), +(@PATH,2,-16.03722,5458.905,17.49905,0,0,0,0,100,0), +(@PATH,3,-19.83192,5492.91,17.55667,0,0,0,0,100,0), +(@PATH,4,-28.12771,5460.756,17.49905,0,0,0,0,100,0), +(@PATH,5,-61.99067,5453.709,17.49905,0,0,0,0,100,0), +(@PATH,6,-86.24381,5460.781,17.7697,0,0,0,0,100,0), +(@PATH,7,-61.99067,5453.709,17.49905,0,0,0,0,100,0), +(@PATH,8,-28.12771,5460.756,17.49905,0,0,0,0,100,0), +(@PATH,9,-19.83192,5492.91,17.55667,0,0,0,0,100,0), +(@PATH,10,-16.03722,5458.905,17.49905,0,0,0,0,100,0), +(@PATH,11,0.041775,5430.892,17.49905,0,0,0,0,100,0), +(@PATH,12,12.50011,5406.847,17.48977,0,0,0,0,100,0), +(@PATH,13,-23.77734,5374.397,17.72959,0,0,0,0,100,0), +(@PATH,14,12.50011,5406.847,17.48977,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64784; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=115.1097,`position_y`=5414.181,`position_z`=17.49907 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,115.1097,5414.181,17.49907,0,0,0,0,100,0), +(@PATH,2,110.2024,5368.683,17.47716,0,0,0,0,100,0), +(@PATH,3,145.1066,5345.202,17.49734,0,0,0,0,100,0), +(@PATH,4,143.46,5322.411,17.95959,0,0,0,0,100,0), +(@PATH,5,146.4954,5283.085,17.65803,0,0,0,0,100,0), +(@PATH,6,143.46,5322.411,17.95959,0,0,0,0,100,0), +(@PATH,7,145.1066,5345.202,17.49734,0,0,0,0,100,0), +(@PATH,8,110.2024,5368.683,17.47716,0,0,0,0,100,0), +(@PATH,9,80.71908,5393.21,17.99909,0,0,0,0,100,0), +(@PATH,10,75.71604,5407.112,17.62408,0,0,0,0,100,0), +(@PATH,11,80.71908,5393.21,17.99909,0,0,0,0,100,0), +(@PATH,12,110.2024,5368.683,17.47716,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64785; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=264.2738,`position_y`=5531.262,`position_z`=17.92775 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,264.2738,5531.262,17.92775,0,0,0,0,100,0), +(@PATH,2,232.8887,5527.525,17.5287,0,0,0,0,100,0), +(@PATH,3,199.9682,5558.708,17.60653,0,0,0,0,100,0), +(@PATH,4,166.1176,5583.089,17.4991,0,0,0,0,100,0), +(@PATH,5,148.7548,5566.394,17.49909,0,0,0,0,100,0), +(@PATH,6,146.8485,5519.998,17.49908,0,0,0,0,100,0), +(@PATH,7,148.7548,5566.394,17.49909,0,0,0,0,100,0), +(@PATH,8,166.1176,5583.089,17.4991,0,0,0,0,100,0), +(@PATH,9,199.9682,5558.708,17.60653,0,0,0,0,100,0), +(@PATH,10,232.8887,5527.525,17.5287,0,0,0,0,100,0), +(@PATH,11,264.2738,5531.262,17.92775,0,0,0,0,100,0), +(@PATH,12,299.4445,5544.412,17.37348,0,0,0,0,100,0), +(@PATH,13,330.2489,5563.043,17.41451,0,0,0,0,100,0), +(@PATH,14,299.4445,5544.412,17.37348,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64786; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=735.855,`position_y`=5712.859,`position_z`=17.57299 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,735.855,5712.859,17.57299,0,0,0,0,100,0), +(@PATH,2,711.5545,5729.475,17.49909,0,0,0,0,100,0), +(@PATH,3,668.0522,5732.768,17.49909,0,0,0,0,100,0), +(@PATH,4,632.2855,5728.686,17.49908,0,0,0,0,100,0), +(@PATH,5,616.373,5762.456,17.49908,0,0,0,0,100,0), +(@PATH,6,618.9044,5798.506,17.50095,0,0,0,0,100,0), +(@PATH,7,613.7986,5816.898,17.50571,0,0,0,0,100,0), +(@PATH,8,615.4912,5779.825,17.50095,0,0,0,0,100,0), +(@PATH,9,615.1094,5743.104,17.49908,0,0,0,0,100,0), +(@PATH,10,609.7659,5722.993,17.49908,0,0,0,0,100,0), +(@PATH,11,558.3204,5672.167,17.49909,0,0,0,0,100,0), +(@PATH,12,580.8484,5694.557,17.77685,0,0,0,0,100,0), +(@PATH,13,609.7659,5722.993,17.49908,0,0,0,0,100,0), +(@PATH,14,615.1094,5743.104,17.49908,0,0,0,0,100,0), +(@PATH,15,615.4912,5779.825,17.50095,0,0,0,0,100,0), +(@PATH,16,613.7986,5816.898,17.50571,0,0,0,0,100,0), +(@PATH,17,618.9044,5798.506,17.50095,0,0,0,0,100,0), +(@PATH,18,616.373,5762.456,17.49908,0,0,0,0,100,0), +(@PATH,19,632.2855,5728.686,17.49908,0,0,0,0,100,0), +(@PATH,20,668.0522,5732.768,17.49909,0,0,0,0,100,0), +(@PATH,21,711.5545,5729.475,17.49909,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64787; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=166.1176,`position_y`=5583.089,`position_z`=17.4991 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,166.1176,5583.089,17.4991,0,0,0,0,100,0), +(@PATH,2,148.7548,5566.394,17.49909,0,0,0,0,100,0), +(@PATH,3,146.8485,5519.998,17.49908,0,0,0,0,100,0), +(@PATH,4,148.7548,5566.394,17.49909,0,0,0,0,100,0), +(@PATH,5,166.1176,5583.089,17.4991,0,0,0,0,100,0), +(@PATH,6,199.9682,5558.708,17.60653,0,0,0,0,100,0), +(@PATH,7,232.8887,5527.525,17.5287,0,0,0,0,100,0), +(@PATH,8,264.2738,5531.262,17.92775,0,0,0,0,100,0), +(@PATH,9,299.4445,5544.412,17.37348,0,0,0,0,100,0), +(@PATH,10,330.2489,5563.043,17.41451,0,0,0,0,100,0), +(@PATH,11,299.4445,5544.412,17.37348,0,0,0,0,100,0), +(@PATH,12,264.2738,5531.262,17.92775,0,0,0,0,100,0), +(@PATH,13,232.8887,5527.525,17.5287,0,0,0,0,100,0), +(@PATH,14,199.9682,5558.708,17.60653,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64788; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=37.02224,`position_y`=5578.584,`position_z`=17.49907 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,37.02224,5578.584,17.49907,0,0,0,0,100,0), +(@PATH,2,2.194553,5577.092,17.49908,0,0,0,0,100,0), +(@PATH,3,37.02224,5578.584,17.49907,0,0,0,0,100,0), +(@PATH,4,72.50792,5567.374,17.49907,0,0,0,0,100,0), +(@PATH,5,96.54264,5530.071,17.52178,0,0,0,0,100,0), +(@PATH,6,132.1394,5511.107,17.49908,0,0,0,0,100,0), +(@PATH,7,151.6769,5479.063,17.48717,0,0,0,0,100,0), +(@PATH,8,132.1394,5511.107,17.49908,0,0,0,0,100,0), +(@PATH,9,96.54264,5530.071,17.52178,0,0,0,0,100,0), +(@PATH,10,72.50792,5567.374,17.49907,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64789; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=90.24013,`position_y`=5621.603,`position_z`=17.49909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,90.24013,5621.603,17.49909,0,0,0,0,100,0), +(@PATH,2,138.8866,5615.225,17.46576,0,0,0,0,100,0), +(@PATH,3,182.4033,5597.265,17.49908,0,0,0,0,100,0), +(@PATH,4,202.7905,5615.53,17.55622,0,0,0,0,100,0), +(@PATH,5,215.2133,5641.461,17.49908,0,0,0,0,100,0), +(@PATH,6,244.4814,5650.017,17.49908,0,0,0,0,100,0), +(@PATH,7,282.8491,5652.73,17.49909,0,0,0,0,100,0), +(@PATH,8,324.8022,5649.672,17.49908,0,0,0,0,100,0), +(@PATH,9,335.1364,5631.01,17.49908,0,0,0,0,100,0), +(@PATH,10,332.5746,5589.228,17.49909,0,0,0,0,100,0), +(@PATH,11,335.1364,5631.01,17.49908,0,0,0,0,100,0), +(@PATH,12,324.8022,5649.672,17.49908,0,0,0,0,100,0), +(@PATH,13,282.8491,5652.73,17.49909,0,0,0,0,100,0), +(@PATH,14,244.4814,5650.017,17.49908,0,0,0,0,100,0), +(@PATH,15,215.2133,5641.461,17.49908,0,0,0,0,100,0), +(@PATH,16,202.7905,5615.53,17.55622,0,0,0,0,100,0), +(@PATH,17,182.4033,5597.265,17.49908,0,0,0,0,100,0), +(@PATH,18,138.8866,5615.225,17.46576,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64790; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=455.8582,`position_y`=5653.635,`position_z`=17.49909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,455.8582,5653.635,17.49909,0,0,0,0,100,0), +(@PATH,2,435.5963,5689.513,17.40821,0,0,0,0,100,0), +(@PATH,3,409.9687,5716.992,17.39267,0,0,0,0,100,0), +(@PATH,4,380.3604,5749.097,17.41897,0,0,0,0,100,0), +(@PATH,5,349.7367,5756.506,17.3762,0,0,0,0,100,0), +(@PATH,6,317.3354,5769.745,17.49909,0,0,0,0,100,0), +(@PATH,7,275.3563,5779.654,17.49909,0,0,0,0,100,0), +(@PATH,8,236.6264,5779.723,17.49908,0,0,0,0,100,0), +(@PATH,9,225.5676,5815.944,17.49908,0,0,0,0,100,0), +(@PATH,10,222.9546,5852.004,17.49909,0,0,0,0,100,0), +(@PATH,11,225.5676,5815.944,17.49908,0,0,0,0,100,0), +(@PATH,12,236.6264,5779.723,17.49908,0,0,0,0,100,0), +(@PATH,13,275.3563,5779.654,17.49909,0,0,0,0,100,0), +(@PATH,14,317.3354,5769.745,17.49909,0,0,0,0,100,0), +(@PATH,15,349.7367,5756.506,17.3762,0,0,0,0,100,0), +(@PATH,16,380.3604,5749.097,17.41897,0,0,0,0,100,0), +(@PATH,17,409.9687,5716.992,17.39267,0,0,0,0,100,0), +(@PATH,18,435.5963,5689.513,17.40821,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64791; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=352.3516,`position_y`=5677.601,`position_z`=17.49909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,352.3516,5677.601,17.49909,0,0,0,0,100,0), +(@PATH,2,373.3804,5720.132,17.53165,0,0,0,0,100,0), +(@PATH,3,414.3424,5717.605,17.44284,0,0,0,0,100,0), +(@PATH,4,445.9049,5718.17,17.39267,0,0,0,0,100,0), +(@PATH,5,487.558,5712.121,17.39835,0,0,0,0,100,0), +(@PATH,6,445.9049,5718.17,17.39267,0,0,0,0,100,0), +(@PATH,7,414.3424,5717.605,17.44284,0,0,0,0,100,0), +(@PATH,8,373.3804,5720.132,17.53165,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64792; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=737.8778,`position_y`=5839.425,`position_z`=17.60259 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,737.8778,5839.425,17.60259,0,0,0,0,100,0), +(@PATH,2,741.634,5876.525,17.18231,0,0,0,0,100,0), +(@PATH,3,732.2723,5906.607,17.55844,0,0,0,0,100,0), +(@PATH,4,707.1666,5940.431,17.53866,0,0,0,0,100,0), +(@PATH,5,683.2247,5947.035,17.75097,0,0,0,0,100,0), +(@PATH,6,649.7184,5950.69,17.49909,0,0,0,0,100,0), +(@PATH,7,683.2247,5947.035,17.75097,0,0,0,0,100,0), +(@PATH,8,707.1666,5940.431,17.53866,0,0,0,0,100,0), +(@PATH,9,732.2723,5906.607,17.55844,0,0,0,0,100,0), +(@PATH,10,741.634,5876.525,17.18231,0,0,0,0,100,0), +(@PATH,11,737.8778,5839.425,17.60259,0,0,0,0,100,0), +(@PATH,12,736.2857,5811.721,18.36215,0,0,0,0,100,0), +(@PATH,13,720.3111,5781.002,18.42918,0,0,0,0,100,0), +(@PATH,14,715.8815,5745.822,17.63034,0,0,0,0,100,0), +(@PATH,15,690.7528,5729.215,17.49909,0,0,0,0,100,0), +(@PATH,16,715.8815,5745.822,17.63034,0,0,0,0,100,0), +(@PATH,17,720.3111,5781.002,18.42918,0,0,0,0,100,0), +(@PATH,18,736.2857,5811.721,18.36215,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64793; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=578.2181,`position_y`=5920.502,`position_z`=17.49912 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,578.2181,5920.502,17.49912,0,0,0,0,100,0), +(@PATH,2,589.2954,5958.26,17.4991,0,0,0,0,100,0), +(@PATH,3,620.0464,5975.023,17.49909,0,0,0,0,100,0), +(@PATH,4,646.5626,6013.93,17.4991,0,0,0,0,100,0), +(@PATH,5,620.0464,5975.023,17.49909,0,0,0,0,100,0), +(@PATH,6,589.2954,5958.26,17.4991,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64794; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=336.6295,`position_y`=6207.977,`position_z`=17.40447 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,336.6295,6207.977,17.40447,0,0,0,0,100,0), +(@PATH,2,300.3756,6220.479,17.40025,0,0,0,0,100,0), +(@PATH,3,279.4986,6248.872,17.59603,0,0,0,0,100,0), +(@PATH,4,251.1006,6271.895,17.49814,0,0,0,0,100,0), +(@PATH,5,216.5504,6271.099,17.49909,0,0,0,0,100,0), +(@PATH,6,177.4853,6278.098,17.61749,0,0,0,0,100,0), +(@PATH,7,140.3005,6278.077,17.49908,0,0,0,0,100,0), +(@PATH,8,115.593,6294.441,17.62409,0,0,0,0,100,0), +(@PATH,9,90.39225,6284.697,17.58397,0,0,0,0,100,0), +(@PATH,10,115.593,6294.441,17.62409,0,0,0,0,100,0), +(@PATH,11,140.3005,6278.077,17.49908,0,0,0,0,100,0), +(@PATH,12,177.4853,6278.098,17.61749,0,0,0,0,100,0), +(@PATH,13,216.5504,6271.099,17.49909,0,0,0,0,100,0), +(@PATH,14,251.1006,6271.895,17.49814,0,0,0,0,100,0), +(@PATH,15,279.4986,6248.872,17.59603,0,0,0,0,100,0), +(@PATH,16,300.3756,6220.479,17.40025,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64795; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=319.1818,`position_y`=6152.123,`position_z`=17.49453 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,319.1818,6152.123,17.49453,0,0,0,0,100,0), +(@PATH,2,284.0559,6158.702,17.4991,0,0,0,0,100,0), +(@PATH,3,256.5737,6160.586,17.58199,0,0,0,0,100,0), +(@PATH,4,232.4042,6149.979,17.8349,0,0,0,0,100,0), +(@PATH,5,199.5684,6149.379,17.5218,0,0,0,0,100,0), +(@PATH,6,166.1183,6148.252,17.4991,0,0,0,0,100,0), +(@PATH,7,137.0536,6171.277,17.49908,0,0,0,0,100,0), +(@PATH,8,101.785,6158.617,17.72066,0,0,0,0,100,0), +(@PATH,9,79.87749,6178.27,17.49908,0,0,0,0,100,0), +(@PATH,10,83.44955,6212.276,17.50453,0,0,0,0,100,0), +(@PATH,11,79.87749,6178.27,17.49908,0,0,0,0,100,0), +(@PATH,12,101.785,6158.617,17.72066,0,0,0,0,100,0), +(@PATH,13,137.0536,6171.277,17.49908,0,0,0,0,100,0), +(@PATH,14,166.1183,6148.252,17.4991,0,0,0,0,100,0), +(@PATH,15,199.5684,6149.379,17.5218,0,0,0,0,100,0), +(@PATH,16,232.4042,6149.979,17.8349,0,0,0,0,100,0), +(@PATH,17,256.5737,6160.586,17.58199,0,0,0,0,100,0), +(@PATH,18,284.0559,6158.702,17.4991,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64796; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-32.07671,`position_y`=6208.437,`position_z`=17.49905 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-32.07671,6208.437,17.49905,0,0,0,0,100,0), +(@PATH,2,-47.30773,6239.94,17.49905,0,0,0,0,100,0), +(@PATH,3,-92.32552,6253.953,17.49905,0,0,0,0,100,0), +(@PATH,4,-47.30773,6239.94,17.49905,0,0,0,0,100,0), +(@PATH,5,-32.07671,6208.437,17.49905,0,0,0,0,100,0), +(@PATH,6,7.392795,6180.204,17.49813,0,0,0,0,100,0), +(@PATH,7,-10.72135,6183.765,17.49905,0,0,0,0,100,0), +(@PATH,8,-46.33192,6188.717,17.84356,0,0,0,0,100,0), +(@PATH,9,-81.2232,6188.234,17.80721,0,0,0,0,100,0), +(@PATH,10,-46.33192,6188.717,17.84356,0,0,0,0,100,0), +(@PATH,11,-10.72135,6183.765,17.49905,0,0,0,0,100,0), +(@PATH,12,7.392795,6180.204,17.49813,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64797; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-118.2504,`position_y`=6237.651,`position_z`=17.49905 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-118.2504,6237.651,17.49905,0,0,0,0,100,0), +(@PATH,2,-143.082,6223.518,17.49905,0,0,0,0,100,0), +(@PATH,3,-178.5324,6205.397,17.83854,0,0,0,0,100,0), +(@PATH,4,-192.5762,6181.449,17.4991,0,0,0,0,100,0), +(@PATH,5,-200.9498,6146.919,17.4991,0,0,0,0,100,0), +(@PATH,6,-211.2024,6124.59,17.79438,0,0,0,0,100,0), +(@PATH,7,-200.9498,6146.919,17.4991,0,0,0,0,100,0), +(@PATH,8,-192.5762,6181.449,17.4991,0,0,0,0,100,0), +(@PATH,9,-178.5324,6205.397,17.83854,0,0,0,0,100,0), +(@PATH,10,-143.082,6223.518,17.49905,0,0,0,0,100,0), +(@PATH,11,-118.2504,6237.651,17.49905,0,0,0,0,100,0), +(@PATH,12,-87.31641,6255.852,17.49905,0,0,0,0,100,0), +(@PATH,13,-88.65408,6288.479,17.50447,0,0,0,0,100,0), +(@PATH,14,-87.31641,6255.852,17.49905,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64798; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-467.0757,`position_y`=6111.034,`position_z`=17.89768 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-467.0757,6111.034,17.89768,0,0,0,0,100,0), +(@PATH,2,-449.6576,6111.891,17.64181,0,0,0,0,100,0), +(@PATH,3,-463.5695,6132.191,16.73776,0,0,0,0,100,0), +(@PATH,4,-466.8561,6165.977,17.51208,0,0,0,0,100,0), +(@PATH,5,-458.3137,6202.167,17.98819,0,0,0,0,100,0), +(@PATH,6,-447.2309,6217.37,17.48819,0,0,0,0,100,0), +(@PATH,7,-494.9173,6222.194,17.49908,0,0,0,0,100,0), +(@PATH,8,-447.2309,6217.37,17.48819,0,0,0,0,100,0), +(@PATH,9,-458.3137,6202.167,17.98819,0,0,0,0,100,0), +(@PATH,10,-466.8561,6165.977,17.51208,0,0,0,0,100,0), +(@PATH,11,-463.5695,6132.191,16.73776,0,0,0,0,100,0), +(@PATH,12,-449.6576,6111.891,17.64181,0,0,0,0,100,0), +(@PATH,13,-467.0757,6111.034,17.89768,0,0,0,0,100,0), +(@PATH,14,-504.0656,6103.058,17.57066,0,0,0,0,100,0), +(@PATH,15,-509.759,6077.143,17.54438,0,0,0,0,100,0), +(@PATH,16,-504.0656,6103.058,17.57066,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64799; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-582.1886,`position_y`=6080.161,`position_z`=17.77252 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-582.1886,6080.161,17.77252,0,0,0,0,100,0), +(@PATH,2,-579.3903,6044.984,17.49909,0,0,0,0,100,0), +(@PATH,3,-590.5842,6024.271,17.49909,0,0,0,0,100,0), +(@PATH,4,-626.2255,6025.92,18.17206,0,0,0,0,100,0), +(@PATH,5,-657.6616,6026.399,18.71043,0,0,0,0,100,0), +(@PATH,6,-684.582,6051.611,17.75496,0,0,0,0,100,0), +(@PATH,7,-706.742,6091.642,17.47389,0,0,0,0,100,0), +(@PATH,8,-706.4898,6107.64,17.53576,0,0,0,0,100,0), +(@PATH,9,-690.3274,6131.137,18.09341,0,0,0,0,100,0), +(@PATH,10,-650.1953,6128.293,17.31914,0,0,0,0,100,0), +(@PATH,11,-609.8489,6106.838,17.56293,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64800; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-523.5103,`position_y`=6283.41,`position_z`=17.46291 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-523.5103,6283.41,17.46291,0,0,0,0,100,0), +(@PATH,2,-525.4007,6319.861,17.4709,0,0,0,0,100,0), +(@PATH,3,-526.9883,6349.109,17.03569,0,0,0,0,100,0), +(@PATH,4,-529.2988,6395,16.74332,0,0,0,0,100,0), +(@PATH,5,-524.3882,6422.457,16.6176,0,0,0,0,100,0), +(@PATH,6,-508.7605,6455.354,17.40051,0,0,0,0,100,0), +(@PATH,7,-478.1498,6473.233,17.3984,0,0,0,0,100,0), +(@PATH,8,-508.7605,6455.354,17.40051,0,0,0,0,100,0), +(@PATH,9,-524.3882,6422.457,16.6176,0,0,0,0,100,0), +(@PATH,10,-529.2988,6395,16.74332,0,0,0,0,100,0), +(@PATH,11,-526.9883,6349.109,17.03569,0,0,0,0,100,0), +(@PATH,12,-525.4007,6319.861,17.4709,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64801; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-440.8055,`position_y`=6356.273,`position_z`=17.97383 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-440.8055,6356.273,17.97383,0,0,0,0,100,0), +(@PATH,2,-445.8972,6402.299,17.7183,0,0,0,0,100,0), +(@PATH,3,-443.1256,6439.643,18.01491,0,0,0,0,100,0), +(@PATH,4,-429.9254,6472.811,17.34434,0,0,0,0,100,0), +(@PATH,5,-404.1039,6448.9,17.32619,0,0,0,0,100,0), +(@PATH,6,-371.9603,6429.923,17.39659,0,0,0,0,100,0), +(@PATH,7,-340.8035,6459.065,16.77041,0,0,0,0,100,0), +(@PATH,8,-371.9603,6429.923,17.39659,0,0,0,0,100,0), +(@PATH,9,-404.1039,6448.9,17.32619,0,0,0,0,100,0), +(@PATH,10,-429.9254,6472.811,17.34434,0,0,0,0,100,0), +(@PATH,11,-443.1256,6439.643,18.01491,0,0,0,0,100,0), +(@PATH,12,-445.8972,6402.299,17.7183,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64802; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=156.8943,`position_y`=6555.767,`position_z`=17.81371 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,156.8943,6555.767,17.81371,0,0,0,0,100,0), +(@PATH,2,117.1081,6537.705,17.8617,0,0,0,0,100,0), +(@PATH,3,156.8943,6555.767,17.81371,0,0,0,0,100,0), +(@PATH,4,187.3945,6539.424,17.82612,0,0,0,0,100,0), +(@PATH,5,210.4182,6553.55,17.87408,0,0,0,0,100,0), +(@PATH,6,208.001,6595.793,17.71889,0,0,0,0,100,0), +(@PATH,7,209.3846,6549.31,17.87408,0,0,0,0,100,0), +(@PATH,8,182.1638,6512.291,17.87408,0,0,0,0,100,0), +(@PATH,9,207.6569,6529.196,17.79969,0,0,0,0,100,0), +(@PATH,10,228.9973,6516.417,17.79969,0,0,0,0,100,0), +(@PATH,11,259.3248,6504.434,17.89135,0,0,0,0,100,0), +(@PATH,12,228.9973,6516.417,17.79969,0,0,0,0,100,0), +(@PATH,13,207.6569,6529.196,17.79969,0,0,0,0,100,0), +(@PATH,14,182.1638,6512.291,17.87408,0,0,0,0,100,0), +(@PATH,15,209.3846,6549.31,17.87408,0,0,0,0,100,0), +(@PATH,16,208.001,6595.793,17.71889,0,0,0,0,100,0), +(@PATH,17,210.4182,6553.55,17.87408,0,0,0,0,100,0), +(@PATH,18,187.3945,6539.424,17.82612,0,0,0,0,100,0), +(@PATH,19,156.8943,6555.767,17.81371,0,0,0,0,100,0), +(@PATH,20,117.1081,6537.705,17.8617,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64803; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=288.2079,`position_y`=6287.81,`position_z`=17.47691 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,288.2079,6287.81,17.47691,0,0,0,0,100,0), +(@PATH,2,265.3102,6326.917,17.4991,0,0,0,0,100,0), +(@PATH,3,240.2501,6356.44,17.4991,0,0,0,0,100,0), +(@PATH,4,211.8344,6377.598,17.49909,0,0,0,0,100,0), +(@PATH,5,174.9317,6390.463,17.49308,0,0,0,0,100,0), +(@PATH,6,136.6278,6412.673,17.49909,0,0,0,0,100,0), +(@PATH,7,125.6221,6442.443,17.49907,0,0,0,0,100,0), +(@PATH,8,122.3177,6473.401,17.90341,0,0,0,0,100,0), +(@PATH,9,125.6221,6442.443,17.49907,0,0,0,0,100,0), +(@PATH,10,136.6278,6412.673,17.49909,0,0,0,0,100,0), +(@PATH,11,174.9317,6390.463,17.49308,0,0,0,0,100,0), +(@PATH,12,211.8344,6377.598,17.49909,0,0,0,0,100,0), +(@PATH,13,240.2501,6356.44,17.4991,0,0,0,0,100,0), +(@PATH,14,265.3102,6326.917,17.4991,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64804; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=159.9863,`position_y`=6623.709,`position_z`=18.07342 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,159.9863,6623.709,18.07342,0,0,0,0,100,0), +(@PATH,2,111.8225,6625.367,17.66128,0,0,0,0,100,0), +(@PATH,3,81.88726,6657.84,18.02862,0,0,0,0,100,0), +(@PATH,4,57.40994,6697.926,17.65664,0,0,0,0,100,0), +(@PATH,5,32.80285,6731.247,17.43388,0,0,0,0,100,0), +(@PATH,6,17.84668,6764.872,17.76712,0,0,0,0,100,0), +(@PATH,7,23.14041,6783.049,17.74185,0,0,0,0,100,0), +(@PATH,8,-17.14497,6796.488,17.49905,0,0,0,0,100,0), +(@PATH,9,-27.98785,6834.597,17.61574,0,0,0,0,100,0), +(@PATH,10,-17.14497,6796.488,17.49905,0,0,0,0,100,0), +(@PATH,11,23.14041,6783.049,17.74185,0,0,0,0,100,0), +(@PATH,12,17.84668,6764.872,17.76712,0,0,0,0,100,0), +(@PATH,13,32.80285,6731.247,17.43388,0,0,0,0,100,0), +(@PATH,14,57.40994,6697.926,17.65664,0,0,0,0,100,0), +(@PATH,15,81.88726,6657.84,18.02862,0,0,0,0,100,0), +(@PATH,16,111.707,6625.484,17.49905,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64805; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-164.5482,`position_y`=6934.413,`position_z`=18.18033 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-164.5482,6934.413,18.18033,0,0,0,0,100,0), +(@PATH,2,-183.632,6937.141,17.07717,0,0,0,0,100,0), +(@PATH,3,-220.5421,6920.763,17.85999,0,0,0,0,100,0), +(@PATH,4,-249.9142,6896.67,17.51774,0,0,0,0,100,0), +(@PATH,5,-273.4789,6939.156,17.17082,0,0,0,0,100,0), +(@PATH,6,-264.4938,6952.116,17.00809,0,0,0,0,100,0), +(@PATH,7,-254.6145,6980.825,17.49502,0,0,0,0,100,0), +(@PATH,8,-264.4938,6952.116,17.00809,0,0,0,0,100,0), +(@PATH,9,-273.4789,6939.156,17.17082,0,0,0,0,100,0), +(@PATH,10,-249.9142,6896.67,17.51774,0,0,0,0,100,0), +(@PATH,11,-220.5421,6920.763,17.85999,0,0,0,0,100,0), +(@PATH,12,-183.632,6937.141,17.07717,0,0,0,0,100,0), +(@PATH,13,-164.5482,6934.413,18.18033,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64806; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-110.7676,`position_y`=6852.486,`position_z`=17.62408 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-110.7676,6852.486,17.62408,0,0,0,0,100,0), +(@PATH,2,-103.8334,6871.367,17.72661,0,0,0,0,100,0), +(@PATH,3,-86.75879,6892.248,18.36382,0,0,0,0,100,0), +(@PATH,4,-55.5,6902.915,17.05776,0,0,0,0,100,0), +(@PATH,5,-11.81196,6910.387,18.13013,0,0,0,0,100,0), +(@PATH,6,-55.43544,6902.944,17.06338,0,0,0,0,100,0), +(@PATH,7,-86.75879,6892.248,18.36382,0,0,0,0,100,0), +(@PATH,8,-103.8334,6871.367,17.72661,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64807; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=131.712,`position_y`=7306.268,`position_z`=17.80821 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,131.712,7306.268,17.80821,0,0,0,0,100,0), +(@PATH,2,168.7971,7288.949,17.76567,0,0,0,0,100,0), +(@PATH,3,166.1125,7260.476,17.93367,0,0,0,0,100,0), +(@PATH,4,150.4501,7219.933,17.51093,0,0,0,0,100,0), +(@PATH,5,126.3356,7176.794,17.69943,0,0,0,0,100,0), +(@PATH,6,103.305,7142.358,17.74033,0,0,0,0,100,0), +(@PATH,7,80.52647,7112.708,17.75442,0,0,0,0,100,0), +(@PATH,8,103.305,7142.358,17.74033,0,0,0,0,100,0), +(@PATH,9,126.3356,7176.794,17.69943,0,0,0,0,100,0), +(@PATH,10,150.4501,7219.933,17.51093,0,0,0,0,100,0), +(@PATH,11,166.1125,7260.476,17.93367,0,0,0,0,100,0), +(@PATH,12,168.7971,7288.949,17.76567,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64808; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-69.97092,`position_y`=7225.815,`position_z`=17.65932 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-69.97092,7225.815,17.65932,0,0,0,0,100,0), +(@PATH,2,-51.22146,7254.379,17.96319,0,0,0,0,100,0), +(@PATH,3,-31.08843,7285.497,17.87614,0,0,0,0,100,0), +(@PATH,4,-0.755317,7303.553,17.76629,0,0,0,0,100,0), +(@PATH,5,24.6377,7284.342,17.64326,0,0,0,0,100,0), +(@PATH,6,20.54568,7251.821,17.75818,0,0,0,0,100,0), +(@PATH,7,12.20096,7214.417,17.49909,0,0,0,0,100,0), +(@PATH,8,-0.724392,7192.214,17.49909,0,0,0,0,100,0), +(@PATH,9,12.20096,7214.417,17.49909,0,0,0,0,100,0), +(@PATH,10,20.54568,7251.821,17.75818,0,0,0,0,100,0), +(@PATH,11,24.6377,7284.342,17.64326,0,0,0,0,100,0), +(@PATH,12,-0.755317,7303.553,17.76629,0,0,0,0,100,0), +(@PATH,13,-31.08843,7285.497,17.87614,0,0,0,0,100,0), +(@PATH,14,-51.22146,7254.379,17.96319,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64809; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-50.82888,`position_y`=7284.149,`position_z`=17.71222 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-50.82888,7284.149,17.71222,0,0,0,0,100,0), +(@PATH,2,-71.93815,7307.375,17.60395,0,0,0,0,100,0), +(@PATH,3,-79.30469,7347.694,18.22894,0,0,0,0,100,0), +(@PATH,4,-78.17383,7375.893,17.74908,0,0,0,0,100,0), +(@PATH,5,-101.6073,7395.806,17.49907,0,0,0,0,100,0), +(@PATH,6,-129.7888,7390.173,17.63237,0,0,0,0,100,0), +(@PATH,7,-152.8423,7399.184,17.46074,0,0,0,0,100,0), +(@PATH,8,-187.6275,7385.377,18.82357,0,0,0,0,100,0), +(@PATH,9,-152.8423,7399.184,17.46074,0,0,0,0,100,0), +(@PATH,10,-129.7888,7390.173,17.63237,0,0,0,0,100,0), +(@PATH,11,-101.6073,7395.806,17.49907,0,0,0,0,100,0), +(@PATH,12,-78.17383,7375.893,17.74908,0,0,0,0,100,0), +(@PATH,13,-79.38607,7347.979,18.26507,0,0,0,0,100,0), +(@PATH,14,-71.93815,7307.375,17.60395,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64810; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-70.2844,`position_y`=7559.799,`position_z`=17.62407 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-70.2844,7559.799,17.62407,0,0,0,0,100,0), +(@PATH,2,-105.9493,7532.406,17.49907,0,0,0,0,100,0), +(@PATH,3,-142.6079,7514.397,17.49906,0,0,0,0,100,0), +(@PATH,4,-176.8844,7491.043,17.52821,0,0,0,0,100,0), +(@PATH,5,-207.1196,7471.188,17.76062,0,0,0,0,100,0), +(@PATH,6,-235.5527,7450.708,17.67271,0,0,0,0,100,0), +(@PATH,7,-230.2877,7405.63,17.75596,0,0,0,0,100,0), +(@PATH,8,-235.5527,7450.708,17.67271,0,0,0,0,100,0), +(@PATH,9,-207.1196,7471.188,17.76062,0,0,0,0,100,0), +(@PATH,10,-176.8844,7491.043,17.52821,0,0,0,0,100,0), +(@PATH,11,-142.6079,7514.397,17.49906,0,0,0,0,100,0), +(@PATH,12,-105.9493,7532.406,17.49907,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64811; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-89.50771,`position_y`=7475.422,`position_z`=17.46522 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-89.50771,7475.422,17.46522,0,0,0,0,100,0), +(@PATH,2,-102.3241,7505.399,17.49907,0,0,0,0,100,0), +(@PATH,3,-92.54026,7535.951,17.49907,0,0,0,0,100,0), +(@PATH,4,-65.05643,7576.566,17.4934,0,0,0,0,100,0), +(@PATH,5,-83.05024,7596.74,17.61765,0,0,0,0,100,0), +(@PATH,6,-102.1886,7628.811,17.40077,0,0,0,0,100,0), +(@PATH,7,-144.708,7651.377,17.17211,0,0,0,0,100,0), +(@PATH,8,-176.6953,7662.959,17.9679,0,0,0,0,100,0), +(@PATH,9,-191.1144,7693.393,17.83742,0,0,0,0,100,0), +(@PATH,10,-222.6461,7705.538,17.70993,0,0,0,0,100,0), +(@PATH,11,-191.1144,7693.393,17.83742,0,0,0,0,100,0), +(@PATH,12,-176.6953,7662.959,17.9679,0,0,0,0,100,0), +(@PATH,13,-144.708,7651.377,17.17211,0,0,0,0,100,0), +(@PATH,14,-102.1886,7628.811,17.40077,0,0,0,0,100,0), +(@PATH,15,-83.05024,7596.74,17.61765,0,0,0,0,100,0), +(@PATH,16,-65.05643,7576.566,17.4934,0,0,0,0,100,0), +(@PATH,17,-92.54026,7535.951,17.49907,0,0,0,0,100,0), +(@PATH,18,-102.3241,7505.399,17.49907,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64812; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-51.63726,`position_y`=7580.237,`position_z`=17.4934 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-51.63726,7580.237,17.4934,0,0,0,0,100,0), +(@PATH,2,-83.06499,7593.451,17.99619,0,0,0,0,100,0), +(@PATH,3,-106.0209,7625.454,17.40077,0,0,0,0,100,0), +(@PATH,4,-127.7703,7661.864,17.16993,0,0,0,0,100,0), +(@PATH,5,-160.904,7655.143,17.60179,0,0,0,0,100,0), +(@PATH,6,-127.7703,7661.864,17.16993,0,0,0,0,100,0), +(@PATH,7,-106.0209,7625.454,17.40077,0,0,0,0,100,0), +(@PATH,8,-83.06499,7593.451,17.99619,0,0,0,0,100,0), +(@PATH,9,-51.63726,7580.237,17.4934,0,0,0,0,100,0), +(@PATH,10,-20.41309,7579.509,17.49661,0,0,0,0,100,0), +(@PATH,11,13.02083,7582.005,17.3819,0,0,0,0,100,0), +(@PATH,12,60.02941,7576.993,17.44869,0,0,0,0,100,0), +(@PATH,13,13.02083,7582.005,17.3819,0,0,0,0,100,0), +(@PATH,14,-20.41309,7579.509,17.49661,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64813; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-51.65668,`position_y`=7653.138,`position_z`=17.86285 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-51.65668,7653.138,17.86285,0,0,0,0,100,0), +(@PATH,2,-83.05686,7678.935,17.49904,0,0,0,0,100,0), +(@PATH,3,-89.03635,7712.265,17.49775,0,0,0,0,100,0), +(@PATH,4,-83.05686,7678.935,17.49904,0,0,0,0,100,0), +(@PATH,5,-51.65668,7653.138,17.86285,0,0,0,0,100,0), +(@PATH,6,-21.17806,7639.248,17.49908,0,0,0,0,100,0), +(@PATH,7,13.91471,7648.901,17.49908,0,0,0,0,100,0), +(@PATH,8,30.72461,7670.82,17.49908,0,0,0,0,100,0), +(@PATH,9,61.47429,7653.199,17.49908,0,0,0,0,100,0), +(@PATH,10,30.72461,7670.82,17.49908,0,0,0,0,100,0), +(@PATH,11,13.91471,7648.901,17.49908,0,0,0,0,100,0), +(@PATH,12,-21.17806,7639.248,17.49908,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64814; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=722.5497,`position_y`=6282.599,`position_z`=17.3627 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,722.5497,6282.599,17.3627,0,0,0,0,100,0), +(@PATH,2,753.8679,6301.88,17.4089,0,0,0,0,100,0), +(@PATH,3,796.7829,6309.162,17.56356,0,0,0,0,100,0), +(@PATH,4,753.8679,6301.88,17.4089,0,0,0,0,100,0), +(@PATH,5,722.5497,6282.599,17.3627,0,0,0,0,100,0), +(@PATH,6,703.7663,6252.408,17.49536,0,0,0,0,100,0), +(@PATH,7,689.2173,6222.884,17.46375,0,0,0,0,100,0), +(@PATH,8,682.1595,6188.333,17.47886,0,0,0,0,100,0), +(@PATH,9,671.9225,6158.111,17.60386,0,0,0,0,100,0), +(@PATH,10,652.0421,6132.491,17.55671,0,0,0,0,100,0), +(@PATH,11,671.9225,6158.111,17.60386,0,0,0,0,100,0), +(@PATH,12,682.1595,6188.333,17.47886,0,0,0,0,100,0), +(@PATH,13,689.2173,6222.884,17.46375,0,0,0,0,100,0), +(@PATH,14,703.7663,6252.408,17.49536,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64815; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=312.5683,`position_y`=6641.804,`position_z`=17.5959 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,312.5683,6641.804,17.5959,0,0,0,0,100,0), +(@PATH,2,285.068,6633.693,17.60875,0,0,0,0,100,0), +(@PATH,3,308.4703,6622.076,18.09456,0,0,0,0,100,0), +(@PATH,4,328.7995,6581.982,17.7435,0,0,0,0,100,0), +(@PATH,5,345.2822,6546.819,17.77597,0,0,0,0,100,0), +(@PATH,6,330.5563,6525.298,17.79731,0,0,0,0,100,0), +(@PATH,7,345.2822,6546.819,17.77597,0,0,0,0,100,0), +(@PATH,8,328.7995,6581.982,17.7435,0,0,0,0,100,0), +(@PATH,9,308.4703,6622.076,18.09456,0,0,0,0,100,0), +(@PATH,10,285.068,6633.693,17.60875,0,0,0,0,100,0), +(@PATH,11,312.5683,6641.804,17.5959,0,0,0,0,100,0), +(@PATH,12,337.7431,6654.514,17.49312,0,0,0,0,100,0), +(@PATH,13,341.8825,6677.266,17.46976,0,0,0,0,100,0), +(@PATH,14,329.1877,6699.689,18.18023,0,0,0,0,100,0), +(@PATH,15,341.8825,6677.266,17.46976,0,0,0,0,100,0), +(@PATH,16,337.7431,6654.514,17.49312,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64816; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=155.9221,`position_y`=6855.781,`position_z`=17.84563 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,155.9221,6855.781,17.84563,0,0,0,0,100,0), +(@PATH,2,117.3765,6856.435,18.00443,0,0,0,0,100,0), +(@PATH,3,92.60135,6873.068,17.51661,0,0,0,0,100,0), +(@PATH,4,93.71539,6909.779,17.80663,0,0,0,0,100,0), +(@PATH,5,111.3916,6943.985,17.7326,0,0,0,0,100,0), +(@PATH,6,124.318,6978.092,17.78216,0,0,0,0,100,0), +(@PATH,7,114.5778,7005.351,17.8101,0,0,0,0,100,0), +(@PATH,8,124.318,6978.092,17.78216,0,0,0,0,100,0), +(@PATH,9,111.3916,6943.985,17.7326,0,0,0,0,100,0), +(@PATH,10,93.71539,6909.779,17.80663,0,0,0,0,100,0), +(@PATH,11,92.60135,6873.068,17.51661,0,0,0,0,100,0), +(@PATH,12,117.3765,6856.435,18.00443,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64817; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=183.1641,`position_y`=7564.119,`position_z`=17.49908 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,183.1641,7564.119,17.49908,0,0,0,0,100,0), +(@PATH,2,216.8052,7572.568,18.05743,0,0,0,0,100,0), +(@PATH,3,258.3971,7558.753,17.49908,0,0,0,0,100,0), +(@PATH,4,290.4745,7531.033,17.49907,0,0,0,0,100,0), +(@PATH,5,293.8652,7496.662,17.46751,0,0,0,0,100,0), +(@PATH,6,290.4745,7531.033,17.49907,0,0,0,0,100,0), +(@PATH,7,258.3971,7558.753,17.49908,0,0,0,0,100,0), +(@PATH,8,216.8052,7572.568,18.05743,0,0,0,0,100,0), +(@PATH,9,183.1641,7564.119,17.49908,0,0,0,0,100,0), +(@PATH,10,172.0435,7526.779,17.80572,0,0,0,0,100,0), +(@PATH,11,133.5556,7498.767,17.49907,0,0,0,0,100,0), +(@PATH,12,126.3401,7461.87,17.49908,0,0,0,0,100,0), +(@PATH,13,130.8735,7420.252,17.95489,0,0,0,0,100,0), +(@PATH,14,161.1225,7403.103,17.76771,0,0,0,0,100,0), +(@PATH,15,130.8735,7420.252,17.95489,0,0,0,0,100,0), +(@PATH,16,126.3401,7461.87,17.49908,0,0,0,0,100,0), +(@PATH,17,133.5556,7498.767,17.49907,0,0,0,0,100,0), +(@PATH,18,172.0435,7526.779,17.80572,0,0,0,0,100,0); + +-- Pathing for Fen Strider Entry: 18134 +SET @NPC := 64818; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=154.9363,`position_y`=7579.639,`position_z`=17.49909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,154.9363,7579.639,17.49909,0,0,0,0,100,0), +(@PATH,2,173.8466,7585.545,17.49908,0,0,0,0,100,0), +(@PATH,3,181.9009,7614.029,17.48481,0,0,0,0,100,0), +(@PATH,4,217.3355,7622.445,17.62408,0,0,0,0,100,0), +(@PATH,5,243.8657,7637,17.74902,0,0,0,0,100,0), +(@PATH,6,255.2209,7680.37,17.50446,0,0,0,0,100,0), +(@PATH,7,243.8657,7637,17.74902,0,0,0,0,100,0), +(@PATH,8,217.3355,7622.445,17.62408,0,0,0,0,100,0), +(@PATH,9,181.9009,7614.029,17.48481,0,0,0,0,100,0), +(@PATH,10,173.8466,7585.545,17.49908,0,0,0,0,100,0); diff --git a/sql/updates/world/2014_07_28_05_world_misc.sql b/sql/updates/world/2014_07_28_05_world_misc.sql new file mode 100644 index 00000000000..e81d7cc1810 --- /dev/null +++ b/sql/updates/world/2014_07_28_05_world_misc.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `spell1`=32969 WHERE `entry`=18795; diff --git a/sql/updates/world/2014_07_28_06_world_misc.sql b/sql/updates/world/2014_07_28_06_world_misc.sql new file mode 100644 index 00000000000..2f44bc2a95d --- /dev/null +++ b/sql/updates/world/2014_07_28_06_world_misc.sql @@ -0,0 +1,25 @@ +UPDATE `creature_template` SET `AIName`='SmartAI',`npcflag`=16777216 WHERE `entry`=26809; +DELETE FROM `smart_scripts` WHERE `entryorguid`=26809 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 +(26809, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 11, 31261, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Ravaged Crystalline Ice Giant - On Spawn - Cast Permanent Feign Death (Root) on self'), +(26809, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 56, 36765, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ravaged Crystalline Ice Giant - On Spellclick - Add Sample of Rockflesh'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =26809; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =26048; + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN(26809, 26048); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(26809, 47416, 0, 0), +(26048, 46407, 0, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup` IN(26809,26048); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(18, 26809, 47416, 0, 0, 9, 0, 12075, 0, 0, 0, 0, 0, '', 'Required quest active for spellclick'), +(18, 26048, 46407, 0, 0, 9, 0, 11895, 0, 0, 0, 0, 0, '', 'Required quest active for spellclick'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=26048 AND `source_type`=0 AND `id`=6 AND `link`=0; +UPDATE `smart_scripts` SET `event_type`=73 WHERE `entryorguid`=26048 AND `source_type`=0 AND `id`=0 AND `link`=1; +UPDATE `smart_scripts` SET `action_param1`=16777216 WHERE `entryorguid`=2604800 AND `source_type`=9 AND `id`=0 AND `link`=0; +UPDATE `smart_scripts` SET `action_param1`=16777216 WHERE `entryorguid`=26048 AND `source_type`=0 AND `id`=4 AND `link`=0; +UPDATE `smart_scripts` SET `action_param1`=16777216 WHERE `entryorguid`=26045 AND `source_type`=0 AND `id`=8 AND `link`=9; diff --git a/sql/updates/world/2014_07_28_07_world_sai.sql b/sql/updates/world/2014_07_28_07_world_sai.sql new file mode 100644 index 00000000000..3c067199d6f --- /dev/null +++ b/sql/updates/world/2014_07_28_07_world_sai.sql @@ -0,0 +1,80 @@ +SET @NPC := 45211; + +-- SAI for Ulfang/Sage Mistwalker/Watcher Moonleaf +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=24261; +UPDATE `creature_template` SET `AIName`='SmartAI',`npcflag`=3 WHERE `entry` IN(24186, 24273); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(24186,24261,24273) 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 +(24261, 0, 0, 0, 19, 0, 100, 0, 11326, 0, 0, 0, 85, 50102, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ulfang - On Quest Accept Alpha Worg - Invoker Cast Ulfang: Force Cast Player Eyes of the Eagle'), +(24261, 0, 1, 0, 19, 0, 100, 0, 11324, 0, 0, 0, 85, 50102, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ulfang - On Quest Accept Alpha Worg - Invoker cast Ulfang: Force Cast Player Eyes of the Eagle'), +(24273, 0, 0, 1, 20, 0, 100, 0, 11326, 0, 0, 0, 28, 50102, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - On Quest Reward Alpha Worg - Remove Aura Ulfang: Force Cast Player Eyes of the Eagle'), +(24273, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43060, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - Linked with Previous Event - Remove Aura Eyes of the Eagle'), +(24273, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43369, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - Linked with Previous Event - Remove Aura Worg Disguise'), +(24273, 0, 3, 4, 62, 0, 100, 0, 8918, 0, 0, 0, 85, 43379, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - On Gossip Option Select - Invoker Cast The Cleansing: Create Worg Disguise'), +(24273, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - Linked with Previous Event - Close Gossip'), +(24186, 0, 0, 1, 20, 0, 100, 0, 11324, 0, 0, 0, 28, 50102, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - On Quest Reward Alpha Worg - Remove Aura Ulfang: Force Cast Player Eyes of the Eagle'), +(24186, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43060, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - Linked with Previous Event - Remove Aura Eyes of the Eagle'), +(24186, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43369, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - Linked with Previous Event - Remove Aura Worg Disguise'), +(24186, 0, 3, 4, 62, 0, 100, 0, 8908, 0, 0, 0, 85, 43379, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - On Gossip Option Select - Invoker Cast The Cleansing: Create Worg Disguise'), +(24186, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - Linked with Previous Event - Close Gossip'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN(8918,8908); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 8918, 0, 0, 0, 8, 0, 11322, 0, 0, 0, 0, 0, '', 'Gossip Option requires The Cleansing rewarded'), +(15, 8918, 0, 0, 0, 2, 0, 33618, 1, 0, 1, 0, 0, '', 'Gossip Option requires Player does not have worg disguise'), +(15, 8918, 0, 0, 0, 8, 0, 11326, 0, 0, 1, 0, 0, '', 'Gossip Option requires Alpha Worg not rewarded'), +(15, 8908, 0, 0, 0, 8, 0, 11317, 0, 0, 0, 0, 0, '', 'Gossip Option requires The Cleansing rewarded'), +(15, 8908, 0, 0, 0, 2, 0, 33618, 1, 0, 1, 0, 0, '', 'Gossip Option requires Player does not have worg disguise'), +(15, 8908, 0, 0, 0, 8, 0, 11324, 0, 0, 1, 0, 0, '', 'Gossip Option requires Alpha Worg not rewarded'); + + +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN(8918,8908); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES +(8918, 0, 0, 'I have misplaced my worg disguise.', 23068, 1, 1, 0, 0, 0, 0, '', 0), +(8908, 0, 0, 'I have misplaced my worg disguise.', 23068, 1, 1, 0, 0, 0, 0, '', 0); + +-- Pathing for Garwal Entry: 24277 +SET @PATH := @NPC * 10; + +UPDATE `creature_template` SET `faction`=1971 WHERE `entry`=24277; + +DELETE FROM `creature_template_addon` WHERE `entry`=24277; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `bytes1`, `bytes2`, `auras`) VALUES +(24277, @PATH, 0x10000, 0x1, '43062'); -- Alpha Worg: Garwal's Invisibility is in spell_DBC but does not work so npc is friendly spell 43060 makes this creature hostile to player and is also the see invisibilty spell + +DELETE FROM `creature` WHERE `guid` = @NPC; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES +(@NPC, 24277,571,1,1,2724.867,-2996.879,91.80984,6.232399,120,0,2); + +-- NPC talk text insert from sniff +DELETE FROM `creature_text` WHERE `entry`=24277; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextID`) VALUES +(24277,0,0, 'Enough of this charade!',12,0,100,0,0,0, 'Garwal',23064); + +-- SAI for Garwal +SET @ENTRY := 24277; +SET @SPELL1 := 6749; -- Wide Swipe +SET @SPELL2 := 13443; -- Rend +SET @SPELL3 := 31279; -- Swipe +SET @SPELL4 := 50047; -- Broken Bone +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,3,0,22233,0,0,0,0,1,0,0,0,0,0,0,0, 'Garwal - On Reset - Set Model'), +(@ENTRY,0,1,2,2,0,100,1,0,50,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Garwal - On HP@50% - Say text'), +(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,3,0,26791,0,0,0,0,1,0,0,0,0,0,0,0, 'Garwal - On HP@50% - Set Model'), +-- Combat (Needs Timing) +(@ENTRY,0,3,0,9,0,100,0,0,5,13000,18000,11,@SPELL1,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Wide Swipe'), -- Duration 5 sec +(@ENTRY,0,4,0,9,0,100,0,0,5,21000,31000,11,@SPELL2,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Rend'), -- Duration 15 sec +(@ENTRY,0,5,0,9,0,100,0,0,5,3000,7000,11,@SPELL3,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Swipe'), +(@ENTRY,0,7,0,0,0,100,0,0,5,15000,26000,11,@SPELL4,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Broken Bone'); -- Duration 8 sec + +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2724.867,-2996.879,91.80984,0,0,0,100,0), +(@PATH,2,2751.252,-3001.074,89.98224,0,0,0,100,0), +(@PATH,3,2779.356,-3012.149,91.01633,0,0,0,100,0), +(@PATH,4,2790.117,-3024.486,94.64133,0,0,0,100,0), +(@PATH,5,2793.189,-3046.271,97.17670,0,0,0,100,0); diff --git a/sql/updates/world/2014_07_28_08_world_misc.sql b/sql/updates/world/2014_07_28_08_world_misc.sql new file mode 100644 index 00000000000..f1f13e76eec --- /dev/null +++ b/sql/updates/world/2014_07_28_08_world_misc.sql @@ -0,0 +1,160 @@ +-- Pathing for Sparik Entry: 19012 +SET @NPC := 68323; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `equipment_id`=1,`spawndist`=0,`MovementType`=2,`position_x`=-2539.584,`position_y`=7356.25,`position_z`=7.047175 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`,`emote`) VALUES (@NPC,@PATH,257,0, '', 233); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2539.584,7356.25,7.047175,0,0,0,0,100,0), +(@PATH,2,-2542.437,7364.194,7.077205,0,0,0,0,100,0), +(@PATH,3,-2541.9,7364.772,7.012752,0,45000,0,0,100,0), +(@PATH,4,-2539.584,7356.25,7.047175,0,0,0,0,100,0), +(@PATH,5,-2533.325,7352.424,9.283463,0,0,0,0,100,0), +(@PATH,6,-2530.663,7354.053,9.283456,0,60000,0,0,100,0); + +DELETE FROM `creature_equip_template` WHERE `entry` IN (19012,17134); +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`,`VerifiedBuild`) VALUES +(19012,1,5956,13611,0,18414), +(17134,1,3326,0,0,18414), +(17134,2,5292,0,0,18414), +(17134,3,5293,0,0,18414), +(17134,4,5300,0,0,18414), +(17134,5,5301,0,0,18414), +(17134,6,5491,0,0,18414), +(17134,7,17942,0,0,18414); + +-- Pathing for Boulderfist Crusher Entry: 17134 +SET @NPC := 60060; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2257.554,`position_y`=6220.683,`position_z`=44.19547 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2257.554,6220.683,44.19547,0,0,0,0,100,0), +(@PATH,2,-2269.54,6185.135,50.54529,0,0,0,0,100,0), +(@PATH,3,-2300.504,6160.397,57.35026,0,0,0,0,100,0), +(@PATH,4,-2333.537,6174.551,51.46076,0,0,0,0,100,0), +(@PATH,5,-2354.695,6165.477,54.33383,0,0,0,0,100,0), +(@PATH,6,-2353.252,6135.473,60.3641,0,0,0,0,100,0), +(@PATH,7,-2345.113,6126.771,60.89935,0,0,0,0,100,0), +(@PATH,8,-2353.252,6135.473,60.3641,0,0,0,0,100,0), +(@PATH,9,-2354.915,6165.381,54.32211,0,0,0,0,100,0), +(@PATH,10,-2333.537,6174.551,51.46076,0,0,0,0,100,0), +(@PATH,11,-2300.504,6160.397,57.35026,0,0,0,0,100,0), +(@PATH,12,-2269.54,6185.135,50.54529,0,0,0,0,100,0); + +-- Pathing for Boulderfist Crusher Entry: 17134 +SET @NPC := 60059; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2399.844,`position_y`=6147.982,`position_z`=71.06328 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2399.844,6147.982,71.06328,0,0,0,0,100,0), +(@PATH,2,-2432.956,6121.422,83.23274,0,0,0,0,100,0), +(@PATH,3,-2466.083,6121.511,88.61314,0,0,0,0,100,0), +(@PATH,4,-2481.856,6120.785,91.89808,0,0,0,0,100,0), +(@PATH,5,-2498.95,6129.08,92.34127,0,0,0,0,100,0), +(@PATH,6,-2509.331,6142.653,93.18784,0,0,0,0,100,0), +(@PATH,7,-2498.272,6119,92.22591,0,0,0,0,100,0), +(@PATH,8,-2478.536,6077.883,93.76772,0,0,0,0,100,0), +(@PATH,9,-2465.792,6100.151,92.3082,0,0,0,0,100,0), +(@PATH,10,-2448.861,6127.569,83.04636,0,0,0,0,100,0), +(@PATH,11,-2448.847,6140.451,77.72874,0,0,0,0,100,0), +(@PATH,12,-2474.902,6153.139,63.35086,0,0,0,0,100,0), +(@PATH,13,-2500.071,6186.787,60.56055,0,0,0,0,100,0), +(@PATH,14,-2533.038,6182.577,60.19934,0,0,0,0,100,0), +(@PATH,15,-2541.146,6187.5,60.79309,0,0,0,0,100,0), +(@PATH,16,-2500.569,6181.5,60.06873,0,0,0,0,100,0), +(@PATH,17,-2466.607,6169.582,58.25665,0,0,0,0,100,0), +(@PATH,18,-2447.577,6166.336,54.24046,0,0,0,0,100,0), +(@PATH,19,-2450.868,6199.792,31.97747,0,0,0,0,100,0), +(@PATH,20,-2470.541,6233.041,30.6633,0,0,0,0,100,0), +(@PATH,21,-2466.961,6261.01,31.04571,0,0,0,0,100,0), +(@PATH,22,-2499.331,6266.069,27.68829,0,0,0,0,100,0), +(@PATH,23,-2466.961,6261.01,31.04571,0,0,0,0,100,0), +(@PATH,24,-2470.675,6233.3,30.707,0,0,0,0,100,0), +(@PATH,25,-2450.868,6199.792,31.97747,0,0,0,0,100,0), +(@PATH,26,-2447.577,6166.336,54.24046,0,0,0,0,100,0), +(@PATH,27,-2466.316,6169.527,58.25665,0,0,0,0,100,0), +(@PATH,28,-2500.569,6181.5,60.06873,0,0,0,0,100,0), +(@PATH,29,-2541.146,6187.5,60.79309,0,0,0,0,100,0), +(@PATH,30,-2533.038,6182.577,60.19934,0,0,0,0,100,0), +(@PATH,31,-2500.071,6186.787,60.56055,0,0,0,0,100,0), +(@PATH,32,-2475.183,6153.281,63.52248,0,0,0,0,100,0), +(@PATH,33,-2449.129,6140.594,77.34264,0,0,0,0,100,0), +(@PATH,34,-2448.861,6127.569,83.04636,0,0,0,0,100,0), +(@PATH,35,-2465.792,6100.151,92.3082,0,0,0,0,100,0), +(@PATH,36,-2478.536,6077.883,93.76772,0,0,0,0,100,0), +(@PATH,37,-2498.272,6119,92.22591,0,0,0,0,100,0), +(@PATH,38,-2509.331,6142.653,93.18784,0,0,0,0,100,0), +(@PATH,39,-2498.95,6129.08,92.34127,0,0,0,0,100,0), +(@PATH,40,-2466.666,6121.875,88.72591,0,0,0,0,100,0), +(@PATH,41,-2432.956,6121.422,83.23274,0,0,0,0,100,0), +(@PATH,42,-2399.844,6147.982,71.06328,0,0,0,0,100,0), +(@PATH,43,-2367.009,6154.886,59.9362,0,0,0,0,100,0); + +-- Pathing for Boulderfist Crusher Entry: 17134 +SET @NPC := 60064; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2241.646,`position_y`=6073.002,`position_z`=73.11702 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2241.646,6073.002,73.11702,0,0,0,0,100,0), +(@PATH,2,-2251.782,6080.446,76.50385,0,0,0,0,100,0), +(@PATH,3,-2257.793,6097.254,77.32147,0,0,0,0,100,0), +(@PATH,4,-2269.76,6109.586,74.90349,0,0,0,0,100,0), +(@PATH,5,-2298.05,6128.994,63.42472,0,0,0,0,100,0), +(@PATH,6,-2269.76,6109.586,74.90349,0,0,0,0,100,0), +(@PATH,7,-2258.203,6097.282,77.32253,0,0,0,0,100,0), +(@PATH,8,-2251.782,6080.446,76.50385,0,0,0,0,100,0), +(@PATH,9,-2241.646,6073.002,73.11702,0,0,0,0,100,0), +(@PATH,10,-2219.986,6071.252,71.84301,0,0,0,0,100,0), +(@PATH,11,-2189.278,6094.729,72.98857,0,0,0,0,100,0), +(@PATH,12,-2207.289,6076.843,72.2662,0,0,0,0,100,0), +(@PATH,13,-2203.843,6069.921,72.09104,0,0,0,0,100,0), +(@PATH,14,-2215.665,6058.173,68.39651,0,0,0,0,100,0), +(@PATH,15,-2210.043,6046.705,67.68399,0,0,0,0,100,0), +(@PATH,16,-2199.021,6048.374,68.0714,0,0,0,0,100,0), +(@PATH,17,-2187.256,6042.542,67.49065,0,0,0,0,100,0), +(@PATH,18,-2185.898,6029.625,66.28046,0,0,0,0,100,0), +(@PATH,19,-2197.731,6020.948,66.3587,0,0,0,0,100,0), +(@PATH,20,-2216.761,6010.768,67.10131,0,0,0,0,100,0), +(@PATH,21,-2197.731,6020.948,66.3587,0,0,0,0,100,0), +(@PATH,22,-2185.898,6029.625,66.28046,0,0,0,0,100,0), +(@PATH,23,-2187.256,6042.542,67.49065,0,0,0,0,100,0), +(@PATH,24,-2199.021,6048.374,68.0714,0,0,0,0,100,0), +(@PATH,25,-2210.043,6046.705,67.68399,0,0,0,0,100,0), +(@PATH,26,-2215.665,6058.173,68.39651,0,0,0,0,100,0), +(@PATH,27,-2203.843,6069.921,72.09104,0,0,0,0,100,0), +(@PATH,28,-2207.289,6076.843,72.2662,0,0,0,0,100,0), +(@PATH,29,-2189.263,6094.723,72.98553,0,0,0,0,100,0), +(@PATH,30,-2219.709,6071.23,71.80058,0,0,0,0,100,0); + +UPDATE `creature` SET `spawndist`=5,`MovementType`=1 WHERE `guid` IN (60048,60049,60061,60089,60073); +UPDATE `creature` SET `position_x`=-2254.501,`position_y`=6228.208,`position_z`=43.00068,`orientation`=4.066617 WHERE `guid`=60070; +UPDATE `creature` SET `position_x`=-2258.156,`position_y`=6223.644,`position_z`=43.70845,`orientation`=0.8377581 WHERE `guid`=60071; +UPDATE `creature` SET `id`=17135,`position_x`=-2353.576,`position_y`=6196.409,`position_z`=49.09693,`orientation`=0 WHERE `guid`=60069; + +-- Boulderfist Crusher SAI +SET @ENTRY := 17134; +UPDATE `creature` SET `equipment_id`=-1 WHERE `id`=@ENTRY; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,15000,15000,12000,12000,11,2676,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Crusher - In Combat - Cast 'Pulverize'"); + +-- Boulderfist Mystic SAI +SET @ENTRY := 17135; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,4000,8000,4000,8000,5,1,0,0,0,0,0,9,17135,4,7,0,0,0,0,"Boulderfist Mystic - Out of Combat - Emote talk"), +(@ENTRY,0,1,0,0,0,100,0,6000,6000,8000,12000,11,9532,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Mystic - In Combat - Cast 'Lightning Bolt'"), +(@ENTRY,0,2,0,0,0,100,0,9000,9000,12000,16000,11,13281,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Mystic - In Combat - Cast 'Earth Shock'"), +(@ENTRY,0,3,0,2,0,100,0,0,49,22000,22000,11,11431,0,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Mystic - Hp below 50 - Cast 'Healing Touch'"); diff --git a/sql/updates/world/2014_07_28_09_world_waypoints.sql b/sql/updates/world/2014_07_28_09_world_waypoints.sql new file mode 100644 index 00000000000..083f0d4360d --- /dev/null +++ b/sql/updates/world/2014_07_28_09_world_waypoints.sql @@ -0,0 +1,117 @@ +-- [ph] bat target & [ph] cave bat +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (22039,22040); + +-- Pathing for Mature Cavern Crawler Entry: 22132 +SET @NPC := 77719; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1236.683,`position_y`=6974.834,`position_z`=86.52148 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1236.683,6974.834,86.52148,0,0,0,0,100,0), +(@PATH,2,1213.585,6994.503,96.45895,0,0,0,0,100,0), +(@PATH,3,1191.594,7009.763,104.1238,0,0,0,0,100,0), +(@PATH,4,1179.399,7021.068,106.6655,0,0,0,0,100,0), +(@PATH,5,1191.594,7009.763,104.1238,0,0,0,0,100,0), +(@PATH,6,1213.585,6994.503,96.45895,0,0,0,0,100,0), +(@PATH,7,1236.552,6974.855,86.55492,0,0,0,0,100,0), +(@PATH,8,1259.068,6971.35,87.20951,0,0,0,0,100,0), +(@PATH,9,1302.526,6966.913,92.38039,0,0,0,0,100,0), +(@PATH,10,1315.864,6961.601,92.83173,0,0,0,0,100,0), +(@PATH,11,1328.682,6944.249,93.1772,0,0,0,0,100,0), +(@PATH,12,1334.158,6919.819,94.02305,0,0,0,0,100,0), +(@PATH,13,1341.481,6899.75,94.77781,0,0,0,0,100,0), +(@PATH,14,1355.231,6884.747,95.21254,0,0,0,0,100,0), +(@PATH,15,1373.986,6866.587,97.52299,0,0,0,0,100,0), +(@PATH,16,1390.79,6861.882,102.2583,0,0,0,0,100,0), +(@PATH,17,1407.61,6858.912,108.0289,0,0,0,0,100,0), +(@PATH,18,1390.79,6861.882,102.2583,0,0,0,0,100,0), +(@PATH,19,1373.986,6866.587,97.52299,0,0,0,0,100,0), +(@PATH,20,1355.231,6884.747,95.21254,0,0,0,0,100,0), +(@PATH,21,1341.481,6899.75,94.77781,0,0,0,0,100,0), +(@PATH,22,1334.158,6919.819,94.02305,0,0,0,0,100,0), +(@PATH,23,1328.682,6944.249,93.1772,0,0,0,0,100,0), +(@PATH,24,1315.864,6961.601,92.83173,0,0,0,0,100,0), +(@PATH,25,1302.526,6966.913,92.38039,0,0,0,0,100,0), +(@PATH,26,1259.068,6971.35,87.20951,0,0,0,0,100,0); + +-- Pathing for [PH] Cave Bat JZB Entry: 22040 +SET @NPC := 77191; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1252.224,`position_y`=6959.56,`position_z`=109.6476 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1252.224,6959.56,109.6476,0,0,1,0,100,0), +(@PATH,2,1305.89,6960.333,103.8583,0,0,1,0,100,0), +(@PATH,3,1330.604,6925.649,102.9162,0,0,1,0,100,0), +(@PATH,4,1342.882,6882.453,111.1166,0,0,1,0,100,0), +(@PATH,5,1330.604,6925.649,102.9162,0,0,1,0,100,0), +(@PATH,6,1305.89,6960.333,103.8583,0,0,1,0,100,0), +(@PATH,7,1254.092,6959.132,109.3246,0,0,1,0,100,0), +(@PATH,8,1213.555,6978.563,119.4476,0,0,1,0,100,0), +(@PATH,9,1182.203,7005.035,122.6381,0,0,1,0,100,0), +(@PATH,10,1213.555,6978.563,119.4476,0,0,1,0,100,0); + +-- Pathing for [PH] Cave Bat JZB Entry: 22040 +SET @NPC := 77192; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1308.526,`position_y`=6957.836,`position_z`=103.7312 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1308.526,6957.836,103.7312,0,0,1,0,100,0), +(@PATH,2,1329.486,6927.308,102.9568,0,0,1,0,100,0), +(@PATH,3,1342.306,6884.338,110.7806,0,0,1,0,100,0), +(@PATH,4,1331.965,6921.992,103.4478,0,0,1,0,100,0); + +-- Pathing for [PH] Cave Bat JZB Entry: 22040 +SET @NPC := 77193; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1182.27,`position_y`=7005.14,`position_z`=122.562 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1182.27,7005.14,122.562,0,0,1,0,100,0), +(@PATH,2,1252.268,6959.663,109.5825,0,0,1,0,100,0); + +-- Pathing for [PH] Cave Bat JZB Entry: 22040 +SET @NPC := 77194; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1213.555,`position_y`=6978.563,`position_z`=119.4476 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1213.555,6978.563,119.4476,0,0,1,0,100,0), +(@PATH,2,1252.222,6959.555,109.6505,0,0,1,0,100,0), +(@PATH,3,1305.89,6960.333,103.8584,0,0,1,0,100,0), +(@PATH,4,1254.092,6959.148,109.3239,0,0,1,0,100,0); + +-- Pathing for [PH] Cave Bat JZB Entry: 22040 +SET @NPC := 77195; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1331.969,`position_y`=6921.993,`position_z`=103.4453 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1331.969,6921.993,103.4453,0,0,1,0,100,0), +(@PATH,2,1342.366,6884.349,110.745,0,0,1,0,100,0); + +-- Pathing for [PH] Cave Bat JZB Entry: 22040 +SET @NPC := 77196; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1308.01,`position_y`=6958.695,`position_z`=103.7117 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1308.01,6958.695,103.7117,0,0,1,0,100,0), +(@PATH,2,1255.087,6959.109,109.2217,0,0,1,0,100,0), +(@PATH,3,1304.895,6960.3,103.9611,0,0,1,0,100,0), +(@PATH,4,1329.993,6926.441,102.9424,0,0,1,0,100,0); diff --git a/sql/updates/world/2014_07_28_10_world_waypoints.sql b/sql/updates/world/2014_07_28_10_world_waypoints.sql new file mode 100644 index 00000000000..1462e2945ee --- /dev/null +++ b/sql/updates/world/2014_07_28_10_world_waypoints.sql @@ -0,0 +1,32 @@ +-- Pathing for Stronglimb Deeproot Entry: 21023 +SET @NPC := 73833; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1650.715,`position_y`=6811.52,`position_z`=132.5538 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1650.715,6811.52,132.5538,0,0,0,0,100,0), +(@PATH,2,1628.184,6815.862,131.3629,0,0,0,0,100,0), +(@PATH,3,1599.084,6824.647,129.789,0,0,0,0,100,0), +(@PATH,4,1581.409,6824.936,128.5162,0,0,0,0,100,0), +(@PATH,5,1551.037,6811.217,124.748,2.932153,60000,0,0,100,0), +(@PATH,6,1622.58,6818.295,130.9403,0,0,0,0,100,0), +(@PATH,7,1656.376,6811.235,133.1554,0,0,0,0,100,0), +(@PATH,8,1669.519,6812.476,134.4982,0,0,0,0,100,0), +(@PATH,9,1702.385,6827.354,136.0371,0,0,0,0,100,0), +(@PATH,10,1725.43,6823.907,136.0948,0,0,0,0,100,0), +(@PATH,11,1761.477,6809.948,137.2298,0,0,0,0,100,0), +(@PATH,12,1795.978,6805.205,137.4428,0,0,0,0,100,0), +(@PATH,13,1832.179,6817.382,139.1403,0,0,0,0,100,0), +(@PATH,14,1854.523,6825.783,141.8726,0,0,0,0,100,0), +(@PATH,15,1897.89,6833.999,146.2742,0,0,0,0,100,0), +(@PATH,16,1909.732,6837.443,147.4987,3.141593,30000,0,0,100,0), +(@PATH,17,1897.89,6833.999,146.2742,0,0,0,0,100,0), +(@PATH,18,1854.523,6825.783,141.8726,0,0,0,0,100,0), +(@PATH,19,1833.455,6816.629,139.1143,0,0,0,0,100,0), +(@PATH,20,1797.23,6805.472,137.537,0,0,0,0,100,0), +(@PATH,21,1766.808,6807.917,137.1803,0,0,0,0,100,0), +(@PATH,22,1724.682,6823.42,136.2871,0,0,0,0,100,0), +(@PATH,23,1703.281,6827.58,136.0371,0,0,0,0,100,0), +(@PATH,24,1666.315,6811.949,134.0508,0,0,0,0,100,0); diff --git a/sql/updates/world/2014_07_28_11_world_misc.sql b/sql/updates/world/2014_07_28_11_world_misc.sql new file mode 100644 index 00000000000..c8319ee63b7 --- /dev/null +++ b/sql/updates/world/2014_07_28_11_world_misc.sql @@ -0,0 +1,453 @@ +-- Twilight Ridge, Nagrand Update +SET @OGUID := 5479; +SET @CGUID := 77840; + +DELETE FROM `gameobject` WHERE `guid`=@OGUID; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 186177, 530, 1, 1, -1537.953, 9728.839, 202.396, 3.141593, 0, 0, 0, 1, 120, 255, 1); + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 22341, 530, 1, 1, -1442.521, 9847.013, 200.6711, 6.021386, 300, 0, 0), +(@CGUID+1, 22341, 530, 1, 1, -1455.099, 9854.964, 200.7248, 2.513274, 300, 0, 0), +(@CGUID+2, 22342, 530, 1, 1, -1452.337, 9837.591, 200.6221, 1.815142, 300, 0, 0); + +DELETE FROM creature WHERE id IN (22362); + +-- Deathshadow Overlord SAI +SET @ENTRY := 22393; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,15228,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Overlord - In Combat CMC - Cast 'Fireball'"), +(@ENTRY,0,1,0,0,0,100,0,3000,4000,6000,8000,11,15232,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Overlord - In Combat - Cast 'Shadow Bolt'"), +(@ENTRY,0,2,0,0,0,100,0,8000,15000,20000,35000,11,37579,32,0,0,0,0,6,0,0,0,0,0,0,0,"Deathshadow Overlord - In Combat - Cast 'Impending Doom'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Overlord - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Deathshadow Warlock SAI +SET @ENTRY := 22363; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM creature_addon WHERE guid IN (SELECT guid FROM creature WHERE id=@ENTRY); +UPDATE `creature_template_addon` SET `auras`= '39102' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,1000,1000,1800000,1800000,11,13787,1,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Warlock - Out of Combat - Cast 'Demon Armor'"), +(@ENTRY,0,1,0,25,0,100,1,3000,3000,0,0,11,38980,1,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Warlock - On Reset - Cast 'Summon Twilight Ridge Imp' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,0,0,2400,3800,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Warlock - In Combat CMC - Cast 'Shadow Bolt'"), +(@ENTRY,0,3,0,0,0,100,0,4000,8000,18000,24000,11,11962,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Warlock - In Combat - Cast 'Immolate'"), +(@ENTRY,0,4,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Warlock - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Deathshadow Hound SAI +SET @ENTRY := 22394; +DELETE FROM creature_addon WHERE guid=78726; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +UPDATE `creature_template_addon` SET `auras`= '18950' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,8000,8000,6000,12000,11,30639,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Hound - In Combat - Cast 'Carnivorous Bite'"); + +-- Deathshadow Imp SAI +SET @ENTRY := 22362; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,20801,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Imp - In Combat CMC - Cast 'Firebolt'"); + +-- Deathshadow Acolyte SAI +SET @ENTRY := 22341; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +UPDATE `creature_template_addon` SET `auras`= '39102' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,3000,8000,14000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Acolyte - In Combat - Cast 'Mind Sear'"); + +-- Deathshadow Spellbinder SAI +SET @ENTRY := 22342; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +UPDATE `creature_template_addon` SET `auras`= '39102' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,0,0,20000,20000,11,39123,0,0,0,0,0,19,22400,35,0,0,0,0,0,"Deathshadow Spellbinder - Out of Combat - Cast 'Purple Beam'"), +(@ENTRY,0,1,0,1,0,100,0,15000,15000,20000,20000,92,0,39123,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Spellbinder - Out of Combat - Interupt Cast 'Purple Beam'"), +(@ENTRY,0,2,0,0,0,100,0,0,40,2400,3800,11,34447,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Spellbinder - In Combat CMC - Cast 'Arcane Missiles'"), +(@ENTRY,0,3,0,0,0,100,0,9000,14000,14000,20000,11,22744,0,0,0,0,0,5,0,0,0,0,0,0,0,"Deathshadow Spellbinder - In Combat - Cast 'Chains of Ice'"), +(@ENTRY,0,4,0,0,0,100,0,6000,9000,7000,14000,11,31999,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Spellbinder - In Combat - Cast 'Counterspell'"), +(@ENTRY,0,5,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Spellbinder - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Deathshadow Archon SAI +SET @ENTRY := 22343; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,10000,10000,12000,18000,11,31996,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Archon - In Combat - Cast 'Bloodthirst'"), +(@ENTRY,0,1,2,2,0,100,1,0,20,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Archon - Between 0-20% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Archon - Between 0-20% Health - Say Line 0 (No Repeat)"); + +-- Twilight Ridge Target +UPDATE `creature` SET `spawndist`=0,`MovementType`=0 WHERE `guid` IN (78732,78733,78734); +UPDATE `creature` SET `spawndist`=5,`MovementType`=1 WHERE `id`=23026; +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=22400; + +-- Pathing for Reth'hedron the Subduer Entry: 22357 +SET @NPC := 86754; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1470.79,`position_y`=9695.277,`position_z`=201.9155 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1470.79,9695.277,201.9155,0,0,0,0,100,0), +(@PATH,2,-1463.57,9667.397,201.1194,0,0,0,0,100,0), +(@PATH,3,-1435.975,9657.146,201.4469,0,0,0,0,100,0), +(@PATH,4,-1413.262,9667.886,200.9825,0,0,0,0,100,0), +(@PATH,5,-1402.246,9689.202,200.9537,0,0,0,0,100,0), +(@PATH,6,-1414.642,9716.702,202.2037,0,0,0,0,100,0), +(@PATH,7,-1441.109,9724.775,200.4537,0,0,0,0,100,0), +(@PATH,8,-1461.794,9742.569,200.4468,0,0,0,0,100,0), +(@PATH,9,-1469.654,9771.815,199.9872,0,0,0,0,100,0), +(@PATH,10,-1469.748,9806.641,201.1348,0,0,0,0,100,0), +(@PATH,11,-1502.839,9806.935,199.2431,0,0,0,0,100,0), +(@PATH,12,-1514.049,9782.884,199.0504,0,0,0,0,100,0), +(@PATH,13,-1507.741,9758.235,200.8756,0,0,0,0,100,0), +(@PATH,14,-1497.913,9735.084,200.8304,0,0,0,0,100,0), +(@PATH,15,-1479.92,9715.552,200.603,0,0,0,0,100,0); + +-- Pathing for Deathshadow Overlord Entry: 22393 +SET @NPC := 78720; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1472.134,`position_y`=9677.515,`position_z`=200.7376 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1472.134,9677.515,200.7376,0,0,0,0,100,0), +(@PATH,2,-1491.902,9675.239,200.4876,0,0,0,0,100,0), +(@PATH,3,-1513.64,9685.378,199.8625,0,0,0,0,100,0), +(@PATH,4,-1520.162,9704.591,199.7671,0,0,0,0,100,0), +(@PATH,5,-1524.718,9729.45,200.9875,0,0,0,0,100,0), +(@PATH,6,-1530.212,9756.966,199.9298,0,0,0,0,100,0), +(@PATH,7,-1532.913,9774.135,199.8195,0,0,0,0,100,0), +(@PATH,8,-1530.212,9756.966,199.9298,0,0,0,0,100,0), +(@PATH,9,-1524.718,9729.45,200.9875,0,0,0,0,100,0), +(@PATH,10,-1520.162,9704.591,199.7671,0,0,0,0,100,0), +(@PATH,11,-1513.64,9685.378,199.8625,0,0,0,0,100,0), +(@PATH,12,-1491.902,9675.239,200.4876,0,0,0,0,100,0); + +-- Pathing for Deathshadow Overlord Entry: 22393 +SET @NPC := 78721; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1612.896,`position_y`=9760.403,`position_z`=201.8589 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1612.896,9760.403,201.8589,0,0,0,0,100,0), +(@PATH,2,-1607.772,9783.831,203.7104,0,0,0,0,100,0), +(@PATH,3,-1612.043,9799.692,204.3501,0,0,0,0,100,0), +(@PATH,4,-1619.067,9821.793,203.2391,0,0,0,0,100,0), +(@PATH,5,-1611.496,9847.096,202.69,0,0,0,0,100,0), +(@PATH,6,-1599.807,9862.187,202.3747,0,0,0,0,100,0), +(@PATH,7,-1581.539,9874.061,201.7294,0,0,0,0,100,0), +(@PATH,8,-1555.31,9883.893,201.0461,0,0,0,0,100,0), +(@PATH,9,-1526.078,9884.972,201.6419,0,0,0,0,100,0), +(@PATH,10,-1499.578,9886.692,200.8129,0,0,0,0,100,0), +(@PATH,11,-1526.078,9884.972,201.6419,0,0,0,0,100,0), +(@PATH,12,-1555.31,9883.893,201.0461,0,0,0,0,100,0), +(@PATH,13,-1581.539,9874.061,201.7294,0,0,0,0,100,0), +(@PATH,14,-1599.807,9862.187,202.3747,0,0,0,0,100,0), +(@PATH,15,-1611.496,9847.096,202.69,0,0,0,0,100,0), +(@PATH,16,-1619.067,9821.793,203.2391,0,0,0,0,100,0), +(@PATH,17,-1612.043,9799.692,204.3501,0,0,0,0,100,0), +(@PATH,18,-1607.772,9783.831,203.7104,0,0,0,0,100,0); + +-- Pathing for Deathshadow Overlord Entry: 22393 +SET @NPC := 78722; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1403.312,`position_y`=9723.152,`position_z`=202.818 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1403.312,9723.152,202.818,0,0,0,0,100,0), +(@PATH,2,-1401.001,9745.885,201.6062,0,0,0,0,100,0), +(@PATH,3,-1406.874,9760.674,203.3052,0,0,0,0,100,0), +(@PATH,4,-1421.809,9777.302,201.2571,0,0,0,0,100,0), +(@PATH,5,-1437.867,9789.925,200.9305,0,0,0,0,100,0), +(@PATH,6,-1439.766,9805.536,201.9659,0,0,0,0,100,0), +(@PATH,7,-1454.237,9824.521,199.9593,0,0,0,0,100,0), +(@PATH,8,-1472.978,9831.495,200.4266,0,0,0,0,100,0), +(@PATH,9,-1497.168,9823.096,199.8583,0,0,0,0,100,0), +(@PATH,10,-1472.978,9831.495,200.4266,0,0,0,0,100,0), +(@PATH,11,-1454.237,9824.521,199.9593,0,0,0,0,100,0), +(@PATH,12,-1439.766,9805.536,201.9659,0,0,0,0,100,0), +(@PATH,13,-1437.867,9789.925,200.9305,0,0,0,0,100,0), +(@PATH,14,-1421.809,9777.302,201.2571,0,0,0,0,100,0), +(@PATH,15,-1406.874,9760.674,203.3052,0,0,0,0,100,0), +(@PATH,16,-1401.001,9745.885,201.6062,0,0,0,0,100,0); + +-- Pathing for Deathshadow Overlord Entry: 22393 +SET @NPC := 78723; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1453.536,`position_y`=9636.821,`position_z`=201.6882 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1453.536,9636.821,201.6882,0,0,0,0,100,0), +(@PATH,2,-1432.65,9646.109,201.1936,0,0,0,0,100,0), +(@PATH,3,-1405.079,9634.173,200.4417,0,0,0,0,100,0), +(@PATH,4,-1376.064,9616.104,201.409,0,0,0,0,100,0), +(@PATH,5,-1359.878,9605.575,202.9046,0,0,0,0,100,0), +(@PATH,6,-1340.019,9602.568,203.2547,0,0,0,0,100,0), +(@PATH,7,-1324.825,9604.699,203.3278,0,0,0,0,100,0), +(@PATH,8,-1307.901,9605.091,203.8469,0,0,0,0,100,0), +(@PATH,9,-1324.825,9604.699,203.3278,0,0,0,0,100,0), +(@PATH,10,-1340.019,9602.568,203.2547,0,0,0,0,100,0), +(@PATH,11,-1359.878,9605.575,202.9046,0,0,0,0,100,0), +(@PATH,12,-1376.064,9616.104,201.409,0,0,0,0,100,0), +(@PATH,13,-1405.079,9634.173,200.4417,0,0,0,0,100,0), +(@PATH,14,-1432.65,9646.109,201.1936,0,0,0,0,100,0); + +-- Pathing for Deathshadow Overlord Entry: 22393 +SET @NPC := 78724; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1402.76,`position_y`=9588.803,`position_z`=204.4954 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1402.76,9588.803,204.4954,0,0,0,0,100,0), +(@PATH,2,-1419.219,9590.156,203.1769,0,0,0,0,100,0), +(@PATH,3,-1438.877,9599.831,202.1304,0,0,0,0,100,0), +(@PATH,4,-1453.35,9623.946,201.2587,0,0,0,0,100,0), +(@PATH,5,-1456.293,9653.96,201.7509,0,0,0,0,100,0), +(@PATH,6,-1453.35,9623.946,201.2587,0,0,0,0,100,0), +(@PATH,7,-1438.877,9599.831,202.1304,0,0,0,0,100,0), +(@PATH,8,-1419.219,9590.156,203.1769,0,0,0,0,100,0); + +-- Deathshadow Archon / Hound Formations +DELETE FROM `creature_formations` WHERE `leaderGUID` IN (78605,78607,78608,78609,78611); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES +(78605,78605,0,0,2),(78605,78725,3,90,2), +(78607,78607,0,0,2),(78607,78726,3,90,2), +(78608,78608,0,0,2),(78608,78727,3,90,2), +(78609,78609,0,0,2),(78609,78728,3,90,2), +(78611,78611,0,0,2),(78611,78729,3,90,2); + +-- Pathing for Deathshadow Archon Entry: 22343 +SET @NPC := 78605; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1534.346,`position_y`=9692.919,`position_z`=201.5745 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1534.346,9692.919,201.5745,0,0,0,0,100,0), +(@PATH,2,-1528.828,9701.563,200.6345,0,0,0,0,100,0), +(@PATH,3,-1524.337,9711.724,200.1727,0,0,0,0,100,0), +(@PATH,4,-1523.669,9722.655,200.5154,0,0,0,0,100,0), +(@PATH,5,-1526.62,9737.559,201.3112,0,0,0,0,100,0), +(@PATH,6,-1532.228,9749.707,201.0745,0,0,0,0,100,0), +(@PATH,7,-1541.164,9759.324,201.4725,0,0,0,0,100,0), +(@PATH,8,-1549.85,9760.534,201.3854,0,0,0,0,100,0), +(@PATH,9,-1556.002,9754.084,202.2479,0,0,0,0,100,0), +(@PATH,10,-1561.292,9745.524,202.4582,0,0,0,0,100,0), +(@PATH,11,-1556.002,9754.084,202.2479,0,0,0,0,100,0), +(@PATH,12,-1549.85,9760.534,201.3854,0,0,0,0,100,0), +(@PATH,13,-1541.164,9759.324,201.4725,0,0,0,0,100,0), +(@PATH,14,-1532.228,9749.707,201.0745,0,0,0,0,100,0), +(@PATH,15,-1526.62,9737.559,201.3112,0,0,0,0,100,0), +(@PATH,16,-1523.669,9722.655,200.5154,0,0,0,0,100,0), +(@PATH,17,-1524.337,9711.724,200.1727,0,0,0,0,100,0), +(@PATH,18,-1528.828,9701.563,200.6345,0,0,0,0,100,0); + +-- Pathing for Deathshadow Archon Entry: 22343 +SET @NPC := 78607; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1440.525,`position_y`=9826.043,`position_z`=200.2045 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1440.525,9826.043,200.2045,0,0,0,0,100,0), +(@PATH,2,-1450.976,9827.416,199.9427,0,0,0,0,100,0), +(@PATH,3,-1462.63,9831.848,200.9427,0,0,0,0,100,0), +(@PATH,4,-1473.203,9842.879,199.9138,0,0,0,0,100,0), +(@PATH,5,-1480.496,9852.528,200.9736,0,0,0,0,100,0), +(@PATH,6,-1482.375,9864.082,200.7059,0,0,0,0,100,0), +(@PATH,7,-1473.433,9874.989,200.3353,0,0,0,0,100,0), +(@PATH,8,-1455.629,9873.264,200.673,0,0,0,0,100,0), +(@PATH,9,-1441.467,9870.78,201.3422,0,0,0,0,100,0), +(@PATH,10,-1428.149,9859.59,200.5119,0,0,0,0,100,0), +(@PATH,11,-1425.271,9844.913,200.1369,0,0,0,0,100,0); + +-- Pathing for Deathshadow Archon Entry: 22343 +SET @NPC := 78608; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1380.653,`position_y`=9741.172,`position_z`=204.1218 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1380.653,9741.172,204.1218,0,0,0,0,100,0), +(@PATH,2,-1366.514,9729.669,205.0716,0,0,0,0,100,0), +(@PATH,3,-1358.867,9717.195,205.8663,0,0,0,0,100,0), +(@PATH,4,-1359.007,9702.771,204.7408,0,0,0,0,100,0), +(@PATH,5,-1362.371,9691.935,204.1954,0,0,0,0,100,0), +(@PATH,6,-1372.498,9687.396,203.4136,0,0,0,0,100,0), +(@PATH,7,-1382.632,9687.841,202.6673,0,0,0,0,100,0), +(@PATH,8,-1392.327,9693.781,202.8044,0,0,0,0,100,0), +(@PATH,9,-1401.115,9712.122,204.2574,0,0,0,0,100,0), +(@PATH,10,-1400.316,9733.862,202.404,0,0,0,0,100,0), +(@PATH,11,-1391.65,9744.087,202.7115,0,0,0,0,100,0); + +-- Pathing for Deathshadow Archon Entry: 22343 +SET @NPC := 78609; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1319.207,`position_y`=9624.372,`position_z`=202.1915 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1319.207,9624.372,202.1915,0,0,0,0,100,0), +(@PATH,2,-1313.734,9614.496,202.0793,0,0,0,0,100,0), +(@PATH,3,-1307.775,9608.104,203.4543,0,0,0,0,100,0), +(@PATH,4,-1296.253,9600.599,204.4624,0,0,0,0,100,0), +(@PATH,5,-1288.214,9592.333,205.6772,0,0,0,0,100,0), +(@PATH,6,-1281.956,9581.45,207.4987,0,0,0,0,100,0), +(@PATH,7,-1278.26,9572.817,209.6956,0,0,0,0,100,0), +(@PATH,8,-1274.736,9562.393,213.2931,0,0,0,0,100,0), +(@PATH,9,-1278.26,9572.813,209.7968,0,0,0,0,100,0), +(@PATH,10,-1281.956,9581.45,207.4987,0,0,0,0,100,0), +(@PATH,11,-1288.214,9592.333,205.6772,0,0,0,0,100,0), +(@PATH,12,-1296.253,9600.599,204.4624,0,0,0,0,100,0), +(@PATH,13,-1307.6,9607.918,203.4799,0,0,0,0,100,0), +(@PATH,14,-1313.734,9614.496,202.0793,0,0,0,0,100,0); + +-- Pathing for Deathshadow Archon Entry: 22343 +SET @NPC := 78611; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1404.827,`position_y`=9588.393,`position_z`=204.2825 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1404.827,9588.393,204.2825,0,0,0,0,100,0), +(@PATH,2,-1394.6,9596.54,203.1423,0,0,0,0,100,0), +(@PATH,3,-1383.312,9601.47,202.3112,0,0,0,0,100,0), +(@PATH,4,-1368.525,9602.146,202.7189,0,0,0,0,100,0), +(@PATH,5,-1356.474,9599.088,203.8475,0,0,0,0,100,0), +(@PATH,6,-1350.076,9591.939,205.7526,0,0,0,0,100,0), +(@PATH,7,-1356.474,9599.088,203.8475,0,0,0,0,100,0), +(@PATH,8,-1368.525,9602.146,202.7189,0,0,0,0,100,0), +(@PATH,9,-1383.312,9601.47,202.3112,0,0,0,0,100,0), +(@PATH,10,-1394.6,9596.54,203.1423,0,0,0,0,100,0); + +-- Pathing for Deathshadow Hound Entry: 22394 +SET @NPC := 78725; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1534.346,`position_y`=9692.919,`position_z`=201.5745 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1534.346,9692.919,201.5745,0,0,0,0,100,0), +(@PATH,2,-1528.828,9701.563,200.6345,0,0,0,0,100,0), +(@PATH,3,-1524.337,9711.724,200.1727,0,0,0,0,100,0), +(@PATH,4,-1523.669,9722.655,200.5154,0,0,0,0,100,0), +(@PATH,5,-1526.62,9737.559,201.3112,0,0,0,0,100,0), +(@PATH,6,-1532.228,9749.707,201.0745,0,0,0,0,100,0), +(@PATH,7,-1541.164,9759.324,201.4725,0,0,0,0,100,0), +(@PATH,8,-1549.85,9760.534,201.3854,0,0,0,0,100,0), +(@PATH,9,-1556.002,9754.084,202.2479,0,0,0,0,100,0), +(@PATH,10,-1561.292,9745.524,202.4582,0,0,0,0,100,0), +(@PATH,11,-1556.002,9754.084,202.2479,0,0,0,0,100,0), +(@PATH,12,-1549.85,9760.534,201.3854,0,0,0,0,100,0), +(@PATH,13,-1541.164,9759.324,201.4725,0,0,0,0,100,0), +(@PATH,14,-1532.228,9749.707,201.0745,0,0,0,0,100,0), +(@PATH,15,-1526.62,9737.559,201.3112,0,0,0,0,100,0), +(@PATH,16,-1523.669,9722.655,200.5154,0,0,0,0,100,0), +(@PATH,17,-1524.337,9711.724,200.1727,0,0,0,0,100,0), +(@PATH,18,-1528.828,9701.563,200.6345,0,0,0,0,100,0); + +-- Pathing for Deathshadow Hound Entry: 22394 +SET @NPC := 78726; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1440.525,`position_y`=9826.043,`position_z`=200.2045 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1440.525,9826.043,200.2045,0,0,0,0,100,0), +(@PATH,2,-1450.976,9827.416,199.9427,0,0,0,0,100,0), +(@PATH,3,-1462.63,9831.848,200.9427,0,0,0,0,100,0), +(@PATH,4,-1473.203,9842.879,199.9138,0,0,0,0,100,0), +(@PATH,5,-1480.496,9852.528,200.9736,0,0,0,0,100,0), +(@PATH,6,-1482.375,9864.082,200.7059,0,0,0,0,100,0), +(@PATH,7,-1473.433,9874.989,200.3353,0,0,0,0,100,0), +(@PATH,8,-1455.629,9873.264,200.673,0,0,0,0,100,0), +(@PATH,9,-1441.467,9870.78,201.3422,0,0,0,0,100,0), +(@PATH,10,-1428.149,9859.59,200.5119,0,0,0,0,100,0), +(@PATH,11,-1425.271,9844.913,200.1369,0,0,0,0,100,0); + +-- Pathing for Deathshadow Hound Entry: 22394 +SET @NPC := 78727; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1380.653,`position_y`=9741.172,`position_z`=204.1218 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1380.653,9741.172,204.1218,0,0,0,0,100,0), +(@PATH,2,-1366.514,9729.669,205.0716,0,0,0,0,100,0), +(@PATH,3,-1358.867,9717.195,205.8663,0,0,0,0,100,0), +(@PATH,4,-1359.007,9702.771,204.7408,0,0,0,0,100,0), +(@PATH,5,-1362.371,9691.935,204.1954,0,0,0,0,100,0), +(@PATH,6,-1372.498,9687.396,203.4136,0,0,0,0,100,0), +(@PATH,7,-1382.632,9687.841,202.6673,0,0,0,0,100,0), +(@PATH,8,-1392.327,9693.781,202.8044,0,0,0,0,100,0), +(@PATH,9,-1401.115,9712.122,204.2574,0,0,0,0,100,0), +(@PATH,10,-1400.316,9733.862,202.404,0,0,0,0,100,0), +(@PATH,11,-1391.65,9744.087,202.7115,0,0,0,0,100,0); + +-- Pathing for Deathshadow Hound Entry: 22394 +SET @NPC := 78728; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1319.207,`position_y`=9624.372,`position_z`=202.1915 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1319.207,9624.372,202.1915,0,0,0,0,100,0), +(@PATH,2,-1313.734,9614.496,202.0793,0,0,0,0,100,0), +(@PATH,3,-1307.775,9608.104,203.4543,0,0,0,0,100,0), +(@PATH,4,-1296.253,9600.599,204.4624,0,0,0,0,100,0), +(@PATH,5,-1288.214,9592.333,205.6772,0,0,0,0,100,0), +(@PATH,6,-1281.956,9581.45,207.4987,0,0,0,0,100,0), +(@PATH,7,-1278.26,9572.817,209.6956,0,0,0,0,100,0), +(@PATH,8,-1274.736,9562.393,213.2931,0,0,0,0,100,0), +(@PATH,9,-1278.26,9572.813,209.7968,0,0,0,0,100,0), +(@PATH,10,-1281.956,9581.45,207.4987,0,0,0,0,100,0), +(@PATH,11,-1288.214,9592.333,205.6772,0,0,0,0,100,0), +(@PATH,12,-1296.253,9600.599,204.4624,0,0,0,0,100,0), +(@PATH,13,-1307.6,9607.918,203.4799,0,0,0,0,100,0), +(@PATH,14,-1313.734,9614.496,202.0793,0,0,0,0,100,0); + +-- Pathing for Deathshadow Hound Entry: 22394 +SET @NPC := 78729; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1404.827,`position_y`=9588.393,`position_z`=204.2825 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1404.827,9588.393,204.2825,0,0,0,0,100,0), +(@PATH,2,-1394.6,9596.54,203.1423,0,0,0,0,100,0), +(@PATH,3,-1383.312,9601.47,202.3112,0,0,0,0,100,0), +(@PATH,4,-1368.525,9602.146,202.7189,0,0,0,0,100,0), +(@PATH,5,-1356.474,9599.088,203.8475,0,0,0,0,100,0), +(@PATH,6,-1350.076,9591.939,205.7526,0,0,0,0,100,0), +(@PATH,7,-1356.474,9599.088,203.8475,0,0,0,0,100,0), +(@PATH,8,-1368.525,9602.146,202.7189,0,0,0,0,100,0), +(@PATH,9,-1383.312,9601.47,202.3112,0,0,0,0,100,0), +(@PATH,10,-1394.6,9596.54,203.1423,0,0,0,0,100,0); diff --git a/sql/updates/world/2014_07_28_12_world_misc.sql b/sql/updates/world/2014_07_28_12_world_misc.sql new file mode 100644 index 00000000000..7d391eeca79 --- /dev/null +++ b/sql/updates/world/2014_07_28_12_world_misc.sql @@ -0,0 +1,261 @@ +-- Expedition Armory Fixup +-- Add Missing spawns +SET @CGUID := 78634; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+7; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 16904, 530, 1, 1, -1157.934, 2530.102, 50.09461, 4.869469, 120, 0, 0), +(@CGUID+1, 16904, 530, 1, 1, -1169.858, 2523.522, 51.36825, 4.904375, 120, 0, 0), +(@CGUID+2, 16904, 530, 1, 1, -1181.167, 2518.094, 52.19978, 4.939282, 120, 0, 0), +(@CGUID+3, 16904, 530, 1, 1, -1204.251, 2513.907, 50.62469, 4.991642, 120, 0, 0), +(@CGUID+4, 16904, 530, 1, 1, -1214.583, 2514.443, 48.68005, 5.026548, 120, 0, 0), +(@CGUID+5, 16904, 530, 1, 1, -1226.806, 2517.432, 45.69573, 5.061455, 120, 0, 0), +(@CGUID+6, 16904, 530, 1, 1, -1240.974, 2518.019, 42.89053, 5.096361, 120, 0, 0), +(@CGUID+7, 16904, 530, 1, 1, -1242.193, 2666.122, 5.166966, 0.8517824, 120, 5, 1); +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+6; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`emote`,`auras`) VALUES +(@CGUID+0,0,1,0, 333, ''),(@CGUID+1,0,1,0, 333, ''),(@CGUID+2,0,1,0, 333, ''),(@CGUID+3,0,1,0, 333, ''), +(@CGUID+4,0,1,0, 333, ''),(@CGUID+5,0,1,0, 333, ''),(@CGUID+6,0,1,0, 333, ''); + +-- Replace with proper spawn location and emote +DELETE FROM `creature` WHERE `guid`=58573; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(58573, 16904, 530, 1, 1, -1193.391, 2514.129, 52.23314, 4.974188, 120, 0, 0); +DELETE FROM `creature_addon` WHERE `guid`=58573; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`emote`,`auras`) VALUES (58573,0,1,0, 333, ''); + +-- Add Missing spawns +SET @CGUID := 45136; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 16906, 530, 1, 1, -1245.85, 2530.152, 39.89544, 0.3257069, 120, 0, 0); + +-- Unyielding Footman SAI +SET @ENTRY := 16904; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Footman - On Respawn - Cast 'Shroud of Death' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,5000,5000,10000,10000,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Footman - In Combat - Cast 'Shield Bash'"), +(@ENTRY,0,2,0,0,0,100,0,8000,8000,10000,10000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Footman - In Combat - Cast 'Strike'"); + +-- Unyielding Sorcerer SAI +SET @ENTRY := 16905; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Sorcerer - On Respawn - Cast 'Shroud of Death' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,0,0,2400,3800,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Sorcerer - In Combat CMC - Cast 'Fireball'"), +(@ENTRY,0,2,0,0,0,100,0,5000,9000,12000,15000,11,11829,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Sorcerer - In Combat - Cast 'Flamestrike'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Sorcerer - Between 0-15% Health - Cast 'Frost Nova' (No Repeat)"); + +-- Unyielding Knight SAI +SET @ENTRY := 16906; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Knight - On Respawn - Cast 'Shroud of Death' (No Repeat)"), +(@ENTRY,0,1,0,4,0,75,1,0,0,0,0,11,22911,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Knight - On Aggro - Cast 'Charge'"), +(@ENTRY,0,2,0,2,0,100,0,0,49,22000,22000,11,33910,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Knight - Between 0-50% Health - Cast 'Heal Other'"); + +-- Pathing for Unyielding Knight Entry: 16906 +SET @NPC := 58608; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1078.709,`position_y`=2658.081,`position_z`=9.177089 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1078.709,2658.081,9.177089,0,0,0,0,100,0), +(@PATH,2,-1096.243,2642.266,14.738,0,0,0,0,100,0), +(@PATH,3,-1105.353,2613.758,25.22659,0,0,0,0,100,0), +(@PATH,4,-1122.484,2589.949,32.58151,0,0,0,0,100,0), +(@PATH,5,-1141.678,2565.609,39.58993,0,0,0,0,100,0), +(@PATH,6,-1169.054,2546.374,42.65359,0,0,0,0,100,0), +(@PATH,7,-1201.852,2535.243,43.5426,0,0,0,0,100,0), +(@PATH,8,-1236.385,2534.726,39.98657,0,0,0,0,100,0), +(@PATH,9,-1270.036,2541.282,33.16335,0,0,0,0,100,0), +(@PATH,10,-1301.669,2538.872,24.4906,0,0,0,0,100,0), +(@PATH,11,-1270.036,2541.282,33.16335,0,0,0,0,100,0), +(@PATH,12,-1236.385,2534.726,39.98657,0,0,0,0,100,0), +(@PATH,13,-1201.852,2535.243,43.5426,0,0,0,0,100,0), +(@PATH,14,-1169.054,2546.374,42.65359,0,0,0,0,100,0), +(@PATH,15,-1141.854,2565.387,39.52779,0,0,0,0,100,0), +(@PATH,16,-1122.484,2589.949,32.58151,0,0,0,0,100,0), +(@PATH,17,-1105.353,2613.758,25.22659,0,0,0,0,100,0), +(@PATH,18,-1096.243,2642.266,14.738,0,0,0,0,100,0); + +-- Pathing for Unyielding Knight Entry: 16906 +SET @NPC := 58613; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1162.367,`position_y`=2607.771,`position_z`=29.40837 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1162.367,2607.771,29.40837,0,0,0,0,100,0), +(@PATH,2,-1164.079,2598.115,32.16755,0,0,0,0,100,0), +(@PATH,3,-1169.018,2589.196,34.63213,0,0,0,0,100,0), +(@PATH,4,-1179.051,2584.435,35.66524,0,0,0,0,100,0), +(@PATH,5,-1188.898,2584.126,34.93496,0,0,0,0,100,0), +(@PATH,6,-1197.719,2589.689,32.88239,0,0,0,0,100,0), +(@PATH,7,-1203.93,2597.356,30.07175,0,0,0,0,100,0), +(@PATH,8,-1203.094,2608.61,26.71258,0,0,0,0,100,0), +(@PATH,9,-1197.07,2618.492,23.25711,0,0,0,0,100,0), +(@PATH,10,-1204.688,2630.729,14.91746,0,0,0,0,100,0), +(@PATH,11,-1192.009,2621.045,23.11704,0,0,0,0,100,0), +(@PATH,12,-1180,2623.365,23.50857,0,0,0,0,100,0), +(@PATH,13,-1169.128,2618.959,25.65092,0,0,0,0,100,0); + +-- Pathing for Unyielding Knight Entry: 16906 +SET @NPC := 58609; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1157.924,`position_y`=2633.312,`position_z`=16.72635 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1157.924,2633.312,16.72635,0,0,0,0,100,0), +(@PATH,2,-1181.425,2651.707,10.95528,0,0,0,0,100,0), +(@PATH,3,-1199.719,2651.361,11.49239,0,0,0,0,100,0), +(@PATH,4,-1224.046,2633.264,15.18406,0,0,0,0,100,0), +(@PATH,5,-1222.288,2613.92,19.34373,0,0,0,0,100,0), +(@PATH,6,-1217.993,2590.402,25.86894,0,0,0,0,100,0), +(@PATH,7,-1200.087,2563.635,34.07263,0,0,0,0,100,0), +(@PATH,8,-1167.751,2566.861,36.42008,0,0,0,0,100,0), +(@PATH,9,-1147.493,2597.137,28.52765,0,0,0,0,100,0); + +-- Pathing for Unyielding Knight Entry: 16906 +SET @NPC := 58619; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1493.109,`position_y`=2718.145,`position_z`=-57.93349 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1493.109,2718.145,-57.93349,0,0,0,0,100,0), +(@PATH,2,-1468.903,2730.062,-50.4717,0,0,0,0,100,0), +(@PATH,3,-1433.335,2745.595,-43.2352,0,0,0,0,100,0), +(@PATH,4,-1405.03,2752.498,-40.70433,0,0,0,0,100,0), +(@PATH,5,-1390.104,2756.25,-43.58144,0,0,0,0,100,0), +(@PATH,6,-1376.017,2740.627,-32.08193,0,0,0,0,100,0), +(@PATH,7,-1352.832,2718.672,-21.35978,0,0,0,0,100,0), +(@PATH,8,-1376.017,2740.627,-32.08193,0,0,0,0,100,0), +(@PATH,9,-1390.104,2756.25,-43.58144,0,0,0,0,100,0), +(@PATH,10,-1405.03,2752.498,-40.70433,0,0,0,0,100,0), +(@PATH,11,-1433.335,2745.595,-43.2352,0,0,0,0,100,0), +(@PATH,12,-1468.903,2730.062,-50.4717,0,0,0,0,100,0); + +-- Pathing for Unyielding Knight Entry: 16906 +SET @NPC := 58620; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1386.777,`position_y`=2826.613,`position_z`=-40.38738 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1386.777,2826.613,-40.38738,0,0,0,0,100,0), +(@PATH,2,-1408.631,2819.229,-50.63119,0,0,0,0,100,0), +(@PATH,3,-1435.901,2797.797,-55.37954,0,0,0,0,100,0), +(@PATH,4,-1443.677,2772.503,-52.40151,0,0,0,0,100,0), +(@PATH,5,-1446.915,2736.08,-44.52816,0,0,0,0,100,0), +(@PATH,6,-1446.109,2711.511,-39.9799,0,0,0,0,100,0), +(@PATH,7,-1442.769,2677.443,-35.50436,0,0,0,0,100,0), +(@PATH,8,-1442.006,2654.465,-31.99123,0,0,0,0,100,0), +(@PATH,9,-1442.769,2677.443,-35.50436,0,0,0,0,100,0), +(@PATH,10,-1446.109,2711.511,-39.9799,0,0,0,0,100,0), +(@PATH,11,-1446.915,2736.08,-44.52816,0,0,0,0,100,0), +(@PATH,12,-1443.677,2772.503,-52.40151,0,0,0,0,100,0), +(@PATH,13,-1435.901,2797.797,-55.37954,0,0,0,0,100,0), +(@PATH,14,-1408.631,2819.229,-50.63119,0,0,0,0,100,0); + +-- Pathing for Unyielding Knight Entry: 16906 +SET @NPC := 58614; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1231.44,`position_y`=2673.48,`position_z`=3.212412 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1231.44,2673.48,3.212412,0,0,0,0,100,0), +(@PATH,2,-1254.712,2666.087,4.77948,0,0,0,0,100,0), +(@PATH,3,-1279.99,2669.128,2.280368,0,0,0,0,100,0), +(@PATH,4,-1292.908,2659.416,5.344853,0,0,0,0,100,0), +(@PATH,5,-1321.698,2645.006,3.804264,0,0,0,0,100,0), +(@PATH,6,-1347.104,2642.002,-3.149265,0,0,0,0,100,0), +(@PATH,7,-1364.082,2701.073,-19.61125,0,0,0,0,100,0), +(@PATH,8,-1368.983,2729.167,-27.60984,0,0,0,0,100,0), +(@PATH,9,-1353.149,2746.193,-30.35087,0,0,0,0,100,0), +(@PATH,10,-1309.631,2746.361,-26.77184,0,0,0,0,100,0), +(@PATH,11,-1291.355,2741.067,-22.2482,0,0,0,0,100,0), +(@PATH,12,-1283.964,2721.001,-15.59282,0,0,0,0,100,0), +(@PATH,13,-1245.741,2718.254,-10.36791,0,0,0,0,100,0), +(@PATH,14,-1228.433,2697.869,-3.761098,0,0,0,0,100,0); + +-- Pathing for Unyielding Knight Entry: 16906 +SET @NPC := 45136; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1245.85,`position_y`=2530.152,`position_z`=39.89544 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1245.85,2530.152,39.89544,0,0,0,0,100,0), +(@PATH,2,-1215.004,2524.66,46.13549,0,0,0,0,100,0), +(@PATH,3,-1199.705,2529.827,46.08618,0,0,0,0,100,0), +(@PATH,4,-1174.797,2530.012,49.23584,0,0,0,0,100,0), +(@PATH,5,-1148.801,2544.552,46.86727,0,0,0,0,100,0), +(@PATH,6,-1124.96,2558.433,43.62494,0,0,0,0,100,0), +(@PATH,7,-1109.299,2576.635,38.45712,0,0,0,0,100,0), +(@PATH,8,-1096.697,2593.505,33.96788,0,0,0,0,100,0), +(@PATH,9,-1087.887,2610.023,27.83411,0,0,0,0,100,0), +(@PATH,10,-1076.242,2628.693,21.12952,0,0,0,0,100,0), +(@PATH,11,-1087.887,2610.023,27.87952,0,0,0,0,100,0), +(@PATH,12,-1096.697,2593.505,33.96788,0,0,0,0,100,0), +(@PATH,13,-1109.299,2576.635,38.45712,0,0,0,0,100,0), +(@PATH,14,-1124.96,2558.433,43.62494,0,0,0,0,100,0), +(@PATH,15,-1148.801,2544.552,46.86727,0,0,0,0,100,0), +(@PATH,16,-1174.797,2530.012,49.23584,0,0,0,0,100,0), +(@PATH,17,-1199.705,2529.827,46.08618,0,0,0,0,100,0), +(@PATH,18,-1215.004,2524.66,46.13549,0,0,0,0,100,0); + +-- Pathing for Unyielding Sorcerer Entry: 16905 +SET @NPC := 58606; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1248.946,`position_y`=2795.938,`position_z`=-22.21242 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1248.946,2795.938,-22.21242,0,0,0,0,100,0), +(@PATH,2,-1279.016,2799.39,-25.40128,0,0,0,0,100,0), +(@PATH,3,-1291.09,2807.696,-25.71146,0,0,0,0,100,0), +(@PATH,4,-1304.905,2801.276,-26.05369,0,0,0,0,100,0), +(@PATH,5,-1318.396,2792.647,-27.12447,0,0,0,0,100,0), +(@PATH,6,-1332.008,2791.637,-29.05025,0,0,0,0,100,0), +(@PATH,7,-1349.991,2782.115,-31.00883,0,0,0,0,100,0), +(@PATH,8,-1332.008,2791.637,-29.05025,0,0,0,0,100,0), +(@PATH,9,-1318.396,2792.647,-27.12447,0,0,0,0,100,0), +(@PATH,10,-1304.905,2801.276,-26.05369,0,0,0,0,100,0), +(@PATH,11,-1291.09,2807.696,-25.71146,0,0,0,0,100,0), +(@PATH,12,-1279.016,2799.39,-25.40128,0,0,0,0,100,0); + +-- Pathing for Unyielding Sorcerer Entry: 16905 +SET @NPC := 58601; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1227.628,`position_y`=2677.318,`position_z`=2.078013 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1227.628,2677.318,2.078013,0,0,0,0,100,0), +(@PATH,2,-1226.847,2697.971,-3.660757,0,0,0,0,100,0), +(@PATH,3,-1232.792,2711.546,-7.570609,0,0,0,0,100,0), +(@PATH,4,-1249.994,2720.591,-11.24999,0,0,0,0,100,0), +(@PATH,5,-1271.9,2723.106,-14.73588,0,0,0,0,100,0), +(@PATH,6,-1293.75,2719.271,-15.91459,0,0,0,0,100,0), +(@PATH,7,-1312.421,2708.201,-14.32982,0,0,0,0,100,0), +(@PATH,8,-1314.915,2697.092,-10.55418,0,0,0,0,100,0), +(@PATH,9,-1299.07,2679.115,-3.104276,0,0,0,0,100,0), +(@PATH,10,-1272.621,2669.487,2.713473,0,0,0,0,100,0), +(@PATH,11,-1251.434,2666.855,4.773651,0,0,0,0,100,0), +(@PATH,12,-1237.163,2669.433,4.330657,0,0,0,0,100,0); diff --git a/sql/updates/world/2014_07_28_13_world_sai.sql b/sql/updates/world/2014_07_28_13_world_sai.sql new file mode 100644 index 00000000000..a4e110ac06b --- /dev/null +++ b/sql/updates/world/2014_07_28_13_world_sai.sql @@ -0,0 +1,45 @@ +UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`='' WHERE `entry`=8696; +DELETE FROM `smart_scripts` WHERE `entryorguid` =8696 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 +(8696,0,0,0,62,0,100,0,1443,2,0,0,85,13029,0,0,0,0,0,7,0,0,0,0,0,0,0,'Henry Stern - On Gossip Select - Cast Spell Goldthorn Tea'), +(8696,0,1,0,62,0,100,0,1443,3,0,0,85,13030,0,0,0,0,0,7,0,0,0,0,0,0,0,'Henry Stern - On Gossip Select - Cast Spell Major Trolls Blood Potion'), +(8696,0,2,0,38,0,100,0,1,1,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Henry Stern - On Data Set 1 1 - Set Phase 2'), +(8696,0,3,0,1,2,100,1,3000,3000,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'Henry Stern - OOC (Phase 2) - Say (No Repeat)'); + +DELETE FROM `creature_text` WHERE `entry`=8696; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(8696, 0, 0, 'Thank again, $n. Now I''ll just wait here until it''s safe to leave.', 12, 0, 100, 0, 0, 0, 'Henry Stern', 4575); + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI',`ScriptName`='' WHERE `entry`=157818; +DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid`=157818; + +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 +(157818,1,0,1,70,0,100,0,2,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Holding Pen - On State Changed - Store target'), +(157818,1,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,8696,0,0,0,0,0,0, 'Holding Pen - On State Changed - Send targetlist to Henry Stern'), +(157818,1,2,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,8696,0,0,0,0,0,0,'Holding Pen - On State Changed - Set data 1 1 on Henry Stern'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =8696; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1443; + +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,1443,0,0,0,7,0,185,1,0,0,0,'','Show gossip option only if player has cooking'), +(15,1443,0,0,0,25,0,13028,0,0,1,0,'','Show gossip option only if player does not already know goldthorn tea recipe'), +(15,1443,0,0,0,7,0,185,180,0,1,0,'','Show Gossip only if player does not have at least 180 skill in cooking'), +(15,1443,1,0,0,7,0,171,1,0,0,0,'','Show gossip option only if player has Alchemy'), +(15,1443,1,0,0,25,0,3451,1,0,1,0,'','Show gossip option only if player does not already know Major Trolls Blood Elixir'), +(15,1443,1,0,0,7,0,171,175,0,1,0,'','Show gossip only if player does not have at least 175 skill in Alchemy'), +(15,1443,2,0,0,7,0,185,1,0,0,0,'','Show gossip option only if player has cooking'), +(15,1443,2,0,0,25,0,13028,0,0,1,0,'','Show gossip option only if player does not already know goldthorn tea recipe'), +(15,1443,2,0,0,7,0,185,180,0,0,0,'','Show Gossip only if player has at least 180 skill in cooking'), +(15,1443,3,0,0,7,0,171,1,0,0,0,'','Show gossip option only if player has Alchemy'), +(15,1443,3,0,0,25,0,3451,1,0,1,0,'','Show gossip option only if player does not already know Major Trolls Blood Elixir'), +(15,1443,3,0,0,7,0,171,175,0,0,0,'','Show gossip only if player has at least 175 skill in Alchemy'); + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=1443; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES +(1443, 0, 0, 'You can cook? So can I! Is there a recipe you can teach me?', 4535, 1, 1, 1501, 0, 0, 0, NULL, 0), +(1443, 1, 0, 'You''re an alchemist? So am I. Perhaps you can teach me what you know...', 4537, 1, 1, 1502, 0, 0, 0, NULL, 0), +(1443, 2, 0, 'You can cook? So can I! Is there a recipe you can teach me?', 4535, 1, 1, 1444, 0, 0, 0, NULL, 0), +(1443, 3, 0, 'You''re an alchemist? So am I. Perhaps you can teach me what you know...', 4537, 1, 1, 1442, 0, 0, 0, NULL, 0); diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index e6f0b0f459a..8f90371c481 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -80,8 +80,6 @@ Group::~Group() delete(r); } - // it is undefined whether objectmgr (which stores the groups) or instancesavemgr - // will be unloaded first so we must be prepared for both cases // this may unload some instance saves for (uint8 i = 0; i < MAX_DIFFICULTY; ++i) for (BoundInstancesMap::iterator itr2 = m_boundInstances[i].begin(); itr2 != m_boundInstances[i].end(); ++itr2) diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp index 9e86039e4af..8cfa6a4e681 100644 --- a/src/server/game/Guilds/Guild.cpp +++ b/src/server/game/Guilds/Guild.cpp @@ -728,9 +728,10 @@ bool Guild::Member::LoadFromDB(Field* fields) if (!m_zoneId) { - TC_LOG_ERROR("guild", "Player (GUID: %u) has broken zone-data", GUID_LOPART(m_guid)); + TC_LOG_DEBUG("guild", "Player (GUID: %u) has broken zone-data", GUID_LOPART(m_guid)); m_zoneId = Player::GetZoneIdFromDB(m_guid); } + ResetFlags(); return true; } diff --git a/src/server/game/Instances/InstanceSaveMgr.cpp b/src/server/game/Instances/InstanceSaveMgr.cpp index e37e6847bdd..9f565c8d58d 100644 --- a/src/server/game/Instances/InstanceSaveMgr.cpp +++ b/src/server/game/Instances/InstanceSaveMgr.cpp @@ -39,8 +39,10 @@ uint16 InstanceSaveManager::ResetTimeDelay[] = {3600, 900, 300, 60}; InstanceSaveManager::~InstanceSaveManager() { - // it is undefined whether this or objectmgr will be unloaded first - // so we must be prepared for both cases +} + +void InstanceSaveManager::Unload() +{ lock_instLists = true; for (InstanceSaveHashMap::iterator itr = m_instanceSaveById.begin(); itr != m_instanceSaveById.end(); ++itr) { diff --git a/src/server/game/Instances/InstanceSaveMgr.h b/src/server/game/Instances/InstanceSaveMgr.h index 701776bb57d..72d180c2373 100644 --- a/src/server/game/Instances/InstanceSaveMgr.h +++ b/src/server/game/Instances/InstanceSaveMgr.h @@ -164,6 +164,8 @@ class InstanceSaveManager return &instance; } + void Unload(); + /* resetTime is a global propery of each (raid/heroic) map all instances of that map reset at the same time */ struct InstResetEvent diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index 46a1bf8f16d..9c46eac6896 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -191,7 +191,7 @@ void WorldSocket::AsyncWrite(WorldPacket& packet) bool needsWriteStart = _writeQueue.empty(); _authCrypt.EncryptSend(header.header, header.getHeaderLength()); - _writeQueue.emplace(header, std::move(packet)); + _writeQueue.emplace(header, packet); if (needsWriteStart) AsyncWrite(_writeQueue.front()); diff --git a/src/server/game/Server/WorldSocket.h b/src/server/game/Server/WorldSocket.h index 4e1cbe743fd..2cf6159cb38 100644 --- a/src/server/game/Server/WorldSocket.h +++ b/src/server/game/Server/WorldSocket.h @@ -58,7 +58,7 @@ struct WorldPacketBuffer typedef boost::asio::const_buffer const* const_iterator; - WorldPacketBuffer(ServerPktHeader header, WorldPacket&& packet) : _header(header), _packet(std::move(packet)) + WorldPacketBuffer(ServerPktHeader header, WorldPacket const& packet) : _header(header), _packet(packet) { _buffers[0] = boost::asio::const_buffer(_header.header, _header.getHeaderLength()); if (!_packet.empty()) diff --git a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp index a8df690f726..ef6d7da5116 100644 --- a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp +++ b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp @@ -38,73 +38,6 @@ EndContentData */ #include "CellImpl.h" /*### -# npc_henry_stern -####*/ - -enum Spells -{ - SPELL_TEACHING_GOLDTHORN_TEA = 13029, - SPELL_TEACHING_MIGHTY_TROLLS_BLOOD_POTION = 13030 -}; - -enum Gossips -{ - GOSSIP_COOKING_SKILL_HIGH = 1444, - GOSSIP_COOKING_SKILL_LOW = 1501, - GOSSIP_ALCHEMY_SKILL_HIGH = 1442, - GOSSIP_ALCHEMY_SKILL_LOW = 1502 -}; - -class npc_henry_stern : public CreatureScript -{ -public: - npc_henry_stern() : CreatureScript("npc_henry_stern") { } - - struct npc_henry_sternAI : public ScriptedAI - { - npc_henry_sternAI(Creature* creature) : ScriptedAI(creature) { } - - void sGossipSelect(Player* player, uint32 /*sender*/, uint32 action) override - { - if (action == 0) - { - if (player->GetBaseSkillValue(SKILL_COOKING) >= 175) - { - player->PrepareGossipMenu(me, GOSSIP_COOKING_SKILL_HIGH); - player->SendPreparedGossip(me); - DoCast(player, SPELL_TEACHING_GOLDTHORN_TEA); - } - else - { - player->PrepareGossipMenu(me, GOSSIP_COOKING_SKILL_LOW); - player->SendPreparedGossip(me); - } - } - - if (action == 1) - { - if (player->GetBaseSkillValue(SKILL_ALCHEMY) >= 180) - { - player->PrepareGossipMenu(me, GOSSIP_ALCHEMY_SKILL_HIGH); - player->SendPreparedGossip(me); - DoCast(player, SPELL_TEACHING_MIGHTY_TROLLS_BLOOD_POTION); - } - else - { - player->PrepareGossipMenu(me, GOSSIP_ALCHEMY_SKILL_LOW); - player->SendPreparedGossip(me); - } - } - } - }; - - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_henry_sternAI(creature); - } -}; - -/*###### ## npc_belnistrasz for Quest 3525 "Extinguishing the Idol" ######*/ @@ -460,7 +393,6 @@ public: void AddSC_razorfen_downs() { - new npc_henry_stern(); new npc_belnistrasz(); new npc_idol_room_spawner(); new npc_tomb_creature(); diff --git a/src/server/shared/Networking/Socket.h b/src/server/shared/Networking/Socket.h index 9c3ec180b0a..38d88e3592c 100644 --- a/src/server/shared/Networking/Socket.h +++ b/src/server/shared/Networking/Socket.h @@ -34,13 +34,40 @@ using boost::asio::ip::tcp; template<class T, class PacketType> class Socket : public std::enable_shared_from_this<T> { + typedef typename std::conditional<std::is_pointer<PacketType>::value, PacketType, PacketType const&>::type WritePacketType; + public: Socket(tcp::socket&& socket, std::size_t headerSize) : _socket(std::move(socket)), _headerSize(headerSize) { } virtual void Start() = 0; - boost::asio::ip::address GetRemoteIpAddress() const { return _socket.remote_endpoint().address(); }; - uint16 GetRemotePort() const { return _socket.remote_endpoint().port(); } + boost::asio::ip::address GetRemoteIpAddress() const + { + boost::system::error_code error; + auto ep = _socket.remote_endpoint(error); + + if (error) + { + TC_LOG_DEBUG("network", "Socket::GetRemoteIpAddress: errored with: %i (%s)", error.value(), error.message().c_str()); + return boost::asio::ip::address(); + } + else + return ep.address(); + } + + uint16 GetRemotePort() const + { + boost::system::error_code error; + auto ep = _socket.remote_endpoint(error); + + if (error) + { + TC_LOG_DEBUG("network", "Socket::GetRemotePort: errored with: %i (%s)", error.value(), error.message().c_str()); + return 0; + } + else + return ep.port(); + } void AsyncReadHeader() { @@ -68,7 +95,7 @@ public: } } - void AsyncWrite(PacketType const& data) + void AsyncWrite(WritePacketType data) { boost::asio::async_write(_socket, boost::asio::buffer(data), std::bind(&Socket<T, PacketType>::WriteHandler, this->shared_from_this(), std::placeholders::_1, std::placeholders::_2)); diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 206103608a4..02e6268cd26 100644 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -37,6 +37,7 @@ #include "RealmList.h" #include "World.h" #include "MapManager.h" +#include "InstanceSaveMgr.h" #include "ObjectAccessor.h" #include "ScriptMgr.h" #include "OutdoorPvP/OutdoorPvPMgr.h" @@ -251,6 +252,7 @@ extern int main(int argc, char** argv) // unload battleground templates before different singletons destroyed sBattlegroundMgr->DeleteAllBattlegrounds(); + sInstanceSaveMgr->Unload(); sMapMgr->UnloadAll(); // unload all grids (including locked in memory) sObjectAccessor->UnloadAll(); // unload 'i_player2corpse' storage and remove from world sScriptMgr->Unload(); @@ -537,7 +539,7 @@ variables_map GetConsoleArguments(int argc, char** argv, std::string& configFile { // Silences warning about configService not be used if the OS is not Windows (void)configService; - + options_description all("Allowed options"); all.add_options() ("help,h", "print usage message") |