[0156] Fix playercreateinfo_action, playercreateinfo, playercreateinfo_spell

Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
Salja 2012-08-21 23:56:38 +02:00 committed by Antz
parent f0615fdbb4
commit df10192b79
6 changed files with 10469 additions and 2994 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,378 @@
ALTER TABLE db_version CHANGE COLUMN required_0155_xxxxx_02_playercreateinfo_action required_0156_xxxxx_01_playercreateinfo_action bit;
--
-- Table structure for table `playercreateinfo_action`
--
DROP TABLE IF EXISTS `playercreateinfo_action`;
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(11) unsigned NOT NULL default '0',
`type` smallint(5) unsigned NOT NULL default '0',
KEY `playercreateinfo_race_class_index` (`race`,`class`),
PRIMARY KEY (`race`,`class`,`button`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `playercreateinfo_action`
--
LOCK TABLES `playercreateinfo_action` WRITE;
/*!40000 ALTER TABLE `playercreateinfo_action` DISABLE KEYS */;
INSERT INTO `playercreateinfo_action` VALUES
(1,1,72,88163,0),
(1,1,73,88161,0),
(1,1,81,59752,0),
(1,1,84,6603,0),
(1,1,96,6603,0),
(1,1,108,6603,0),
(1,2,0,35395,0),
(1,2,9,59752,0),
(1,3,0,3044,0),
(1,3,9,59752,0),
(1,3,10,9,48),
(1,3,11,982,0),
(1,4,0,1752,0),
(1,4,9,59752,0),
(1,5,0,585,0),
(1,5,9,59752,0),
(1,8,0,133,0),
(1,8,9,59752,0),
(1,9,0,686,0),
(1,9,9,59752,0),
(1,9,10,10,48),
(1,6,0,6603,0),
(1,6,1,49576,0),
(1,6,2,45477,0),
(1,6,3,45462,0),
(1,6,4,45902,0),
(1,6,5,47541,0),
(1,6,11,59752,0),
(2,1,72,88163,0),
(2,1,73,88161,0),
(2,1,81,20572,0),
(2,1,84,6603,0),
(2,1,96,6603,0),
(2,1,108,6603,0),
(2,3,0,3044,0),
(2,3,9,20572,0),
(2,3,10,9,48),
(2,3,11,982,0),
(2,4,0,1752,0),
(2,4,9,20572,0),
(2,7,0,403,0),
(2,7,9,20572,0),
(2,7,72,403,0),
(2,8,0,133,0),
(2,8,9,33702,0),
(2,9,0,686,0),
(2,9,9,33702,0),
(2,9,10,10,48),
(2,6,0,6603,0),
(2,6,1,49576,0),
(2,6,2,45477,0),
(2,6,3,45462,0),
(2,6,4,45902,0),
(2,6,5,47541,0),
(2,6,10,20572,0),
(3,1,72,88163,0),
(3,1,73,88161,0),
(3,1,81,20594,0),
(3,1,84,6603,0),
(3,1,96,6603,0),
(3,1,108,6603,0),
(3,2,0,35395,0),
(3,2,9,20594,0),
(3,3,0,3044,0),
(3,3,9,20594,0),
(3,3,10,9,48),
(3,3,11,982,0),
(3,3,75,20594,0),
(3,4,0,1752,0),
(3,4,9,20594,0),
(3,5,0,585,0),
(3,5,9,20594,0),
(3,7,0,6603,0),
(3,7,1,403,0),
(3,7,9,20594,0),
(3,7,72,403,0),
(3,8,0,133,0),
(3,8,9,20594,0),
(3,9,0,686,0),
(3,9,9,20594,0),
(3,9,10,10,48),
(3,6,0,6603,0),
(3,6,1,49576,0),
(3,6,2,45477,0),
(3,6,3,45462,0),
(3,6,4,45902,0),
(3,6,5,47541,0),
(4,1,72,88163,0),
(4,1,73,88161,0),
(4,1,81,58984,0),
(4,1,84,6603,0),
(4,1,96,6603,0),
(4,1,108,6603,0),
(4,3,0,3044,0),
(4,3,9,58984,0),
(4,3,10,9,48),
(4,3,11,982,0),
(4,3,81,58984,0),
(4,4,0,1752,0),
(4,4,9,58984,0),
(4,4,81,58984,0),
(4,5,0,585,0),
(4,5,9,58984,0),
(4,5,81,58984,0),
(4,8,0,133,0),
(4,8,9,58984,0),
(4,11,0,5176,0),
(4,11,9,58984,0),
(4,11,72,6603,0),
(4,11,74,58984,0),
(4,11,84,6603,0),
(4,11,96,6603,0),
(4,11,108,6603,0),
(4,6,0,6603,0),
(4,6,1,49576,0),
(4,6,2,45477,0),
(4,6,3,45462,0),
(4,6,4,45902,0),
(4,6,5,47541,0),
(4,6,10,58984,0),
(4,6,83,58984,0),
(5,1,72,88163,0),
(5,1,73,88161,0),
(5,1,81,20577,0),
(5,1,84,6603,0),
(5,1,96,6603,0),
(5,1,108,6603,0),
(5,3,0,3044,0),
(5,3,9,20577,0),
(5,3,10,9,48),
(5,3,11,982,0),
(5,4,0,1752,0),
(5,4,9,20577,0),
(5,5,0,585,0),
(5,5,9,20577,0),
(5,8,0,133,0),
(5,8,9,20577,0),
(5,9,0,686,0),
(5,9,9,20577,0),
(5,9,10,10,48),
(5,6,0,6603,0),
(5,6,1,49576,0),
(5,6,2,45477,0),
(5,6,3,45462,0),
(5,6,4,45902,0),
(5,6,5,47541,0),
(5,6,10,20577,0),
(6,1,72,88163,0),
(6,1,73,88161,0),
(6,1,81,20549,0),
(6,1,84,6603,0),
(6,1,96,6603,0),
(6,1,108,6603,0),
(6,2,0,35395,0),
(6,2,9,20549,0),
(6,3,0,3044,0),
(6,3,9,20549,0),
(6,3,10,9,48),
(6,3,11,982,0),
(6,3,75,20549,0),
(6,5,0,585,0),
(6,5,9,20549,0),
(6,7,0,403,0),
(6,7,9,20549,0),
(6,7,75,20549,0),
(6,11,0,403,0),
(6,11,9,20549,0),
(6,11,72,6603,0),
(6,11,75,20549,0),
(6,11,84,6603,0),
(6,11,96,6603,0),
(6,11,108,6603,0),
(6,6,0,6603,0),
(6,6,1,49576,0),
(6,6,2,45477,0),
(6,6,3,45462,0),
(6,6,4,45902,0),
(6,6,5,47541,0),
(6,6,10,20549,0),
(6,6,75,20549,0),
(7,1,72,88163,0),
(7,1,73,88161,0),
(7,1,84,6603,0),
(7,1,96,6603,0),
(7,1,108,6603,0),
(7,4,0,1752,0),
(7,5,0,585,0),
(7,8,0,133,0),
(7,9,0,686,0),
(7,9,10,10,48),
(7,6,0,6603,0),
(7,6,1,49576,0),
(7,6,2,45477,0),
(7,6,3,45462,0),
(7,6,4,45902,0),
(7,6,5,47541,0),
(7,6,10,20589,0),
(7,6,72,6603,0),
(7,6,83,117,128),
(7,6,84,6603,0),
(7,6,96,6603,0),
(7,6,108,6603,0),
(8,1,72,88163,0),
(8,1,73,88161,0),
(8,1,81,26297,0),
(8,1,84,6603,0),
(8,1,96,6603,0),
(8,1,108,6603,0),
(8,3,0,3044,0),
(8,3,9,26297,0),
(8,3,10,9,48),
(8,3,11,982,0),
(8,4,0,1752,0),
(8,4,9,26297,0),
(8,4,76,26297,0),
(8,5,0,585,0),
(8,5,9,26297,0),
(8,7,0,403,0),
(8,7,9,26297,0),
(8,7,72,403,0),
(8,8,0,133,0),
(8,8,9,26297,0),
(8,9,0,686,0),
(8,9,9,26297,0),
(8,9,10,10,48),
(8,11,0,5176,0),
(8,11,9,26297,0),
(8,11,72,6603,0),
(8,11,84,6603,0),
(8,11,96,6603,0),
(8,6,0,6603,0),
(8,6,1,49576,0),
(8,6,2,45477,0),
(8,6,3,45462,0),
(8,6,4,45902,0),
(8,6,5,47541,0),
(8,6,10,26297,0),
(9,1,72,88163,0),
(9,1,73,88161,0),
(9,1,81,69070,0),
(9,1,82,69041,0),
(9,3,0,3044,0),
(9,3,8,982,0),
(9,3,9,69070,0),
(9,3,10,69041,0),
(9,3,11,9,48),
(9,4,0,1752,0),
(9,4,9,69070,0),
(9,4,10,69041,0),
(9,5,0,585,0),
(9,5,9,69070,0),
(9,5,10,69041,0),
(9,7,0,403,0),
(9,7,9,69070,0),
(9,7,10,69041,0),
(9,7,72,403,0),
(9,8,0,133,0),
(9,8,9,69070,0),
(9,8,10,69041,0),
(9,9,0,686,0),
(9,9,9,69070,0),
(9,9,10,69041,0),
(9,9,11,10,48),
(9,6,0,6603,0),
(9,6,1,49576,0),
(9,6,2,45477,0),
(9,6,3,45462,0),
(9,6,4,45902,0),
(9,6,5,47541,0),
(9,6,9,69070,0),
(9,6,10,69041,0),
(9,6,11,69046,0),
(10,1,72,88163,0),
(10,1,73,88161,0),
(10,1,81,69179,0),
(10,2,0,35395,0),
(10,2,9,28730,0),
(10,3,0,3044,0),
(10,3,9,80483,0),
(10,3,10,9,48),
(10,3,11,982,0),
(10,4,0,1752,0),
(10,4,9,25046,0),
(10,5,0,585,0),
(10,5,9,28730,0),
(10,8,0,133,0),
(10,8,9,28730,0),
(10,9,0,686,0),
(10,9,9,28730,0),
(10,9,10,10,48),
(10,6,0,6603,0),
(10,6,1,49576,0),
(10,6,2,45477,0),
(10,6,3,45462,0),
(10,6,4,45902,0),
(10,6,5,47541,0),
(10,6,6,50613,0),
(11,1,72,88163,0),
(11,1,73,88161,0),
(11,1,81,28880,0),
(11,1,84,6603,0),
(11,1,96,6603,0),
(11,1,108,6603,0),
(11,2,0,35395,0),
(11,2,9,59542,0),
(11,2,83,4540,128),
(11,3,0,3044,0),
(11,3,9,59543,0),
(11,3,10,9,48),
(11,3,11,982,0),
(11,3,72,6603,0),
(11,3,74,75,0),
(11,3,82,159,128),
(11,3,83,4540,128),
(11,5,0,585,0),
(11,5,9,59544,0),
(11,5,83,4540,128),
(11,7,0,403,0),
(11,7,9,59547,0),
(11,8,0,133,0),
(11,8,9,59548,0),
(11,8,83,4540,128),
(11,6,0,6603,0),
(11,6,1,49576,0),
(11,6,2,45477,0),
(11,6,3,45462,0),
(11,6,4,45902,0),
(11,6,5,47541,0),
(11,6,10,59545,0),
(22,1,72,88163,0),
(22,1,73,88161,0),
(22,3,0,3044,0),
(22,3,10,9,48),
(22,3,11,982,0),
(22,4,0,1752,0),
(22,5,0,585,0),
(22,8,0,133,0),
(22,9,0,686,0),
(22,9,10,10,48),
(22,11,0,5176,0),
(22,11,72,6603,0),
(22,11,84,6603,0),
(22,11,96,6603,0),
(22,6,0,6603,0),
(22,6,1,49576,0),
(22,6,2,45477,0),
(22,6,3,45462,0),
(22,6,4,45902,0),
(22,6,5,47541,0),
(22,6,9,68992,0),
(22,6,10,68996,0),
(22,6,11,87840,0);
/*!40000 ALTER TABLE `playercreateinfo_action` ENABLE KEYS */;
UNLOCK TABLES;

View file

@ -0,0 +1,120 @@
ALTER TABLE db_version CHANGE COLUMN required_0156_xxxxx_01_playercreateinfo_action required_0156_xxxxx_02_playercreateinfo bit;
--
-- Table structure for table `playercreateinfo`
--
DROP TABLE IF EXISTS `playercreateinfo`;
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',
`phaseMap` smallint(5) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`race`,`class`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `playercreateinfo`
--
LOCK TABLES `playercreateinfo` WRITE;
/*!40000 ALTER TABLE `playercreateinfo` DISABLE KEYS */;
INSERT INTO `playercreateinfo` VALUES
(1,9,0,9,-8914.57,-133.909,80.5378,0,0),
(1,8,0,9,-8914.57,-133.909,80.5378,0,0),
(1,5,0,9,-8914.57,-133.909,80.5378,0,0),
(1,4,0,9,-8914.57,-133.909,80.5378,0,0),
(1,2,0,9,-8914.57,-133.909,80.5378,0,0),
(1,1,0,9,-8914.57,-133.909,80.5378,0,0),
(1,3,0,9,-8914.57,-133.909,80.5378,0,0),
(1,6,609,0,2355.84,-5664.77,426.028,0,0),
(2,1,1,14,-618.518,-4251.67,38.718,0,0),
(2,3,1,14,-618.518,-4251.67,38.718,0,0),
(2,4,1,14,-618.518,-4251.67,38.718,0,0),
(2,7,1,14,-618.518,-4251.67,38.718,0,0),
(2,9,1,14,-618.518,-4251.67,38.718,0,0),
(2,6,609,0,2358.44,-5666.9,426.023,0,0),
(2,8,1,14,-618.518,-4251.67,38.718,0,0),
(3,1,0,1,-6240.32,331.033,382.758,6.17716,0),
(3,2,0,1,-6240.32,331.033,382.758,6.17716,0),
(3,3,0,1,-6240.32,331.033,382.758,6.17716,0),
(3,4,0,1,-6240.32,331.033,382.758,6.17716,0),
(3,5,0,1,-6240.32,331.033,382.758,6.17716,0),
(3,6,609,0,2358.44,-5666.9,426.023,0,0),
(3,7,0,1,-6240.32,331.033,382.758,6.17716,0),
(3,8,0,1,-6240.32,331.033,382.758,6.17716,0),
(3,9,0,1,-6240.32,331.033,382.758,6.17716,0),
(4,1,1,141,10311.3,832.463,1326.41,5.69632,0),
(4,3,1,141,10311.3,832.463,1326.41,5.69632,0),
(4,4,1,141,10311.3,832.463,1326.41,5.69632,0),
(4,5,1,141,10311.3,832.463,1326.41,5.69632,0),
(4,11,1,141,10311.3,832.463,1326.41,5.69632,0),
(4,8,1,141,10311.3,832.463,1326.41,5.69632,0),
(4,6,609,0,2356.21,-5662.21,426.026,0,0),
(5,9,0,5692,1699.85,1706.56,135.928,0,0),
(5,8,0,5692,1699.85,1706.56,135.928,0,0),
(5,5,0,5692,1699.85,1706.56,135.928,0,0),
(5,3,0,5692,1699.85,1706.56,135.928,0,0),
(5,1,0,5692,1699.85,1706.56,135.928,0,0),
(5,4,0,5692,1699.85,1706.56,135.928,0,0),
(5,6,609,0,2356.21,-5662.21,426.026,0,0),
(6,7,1,221,-2915.55,-257.347,59.2693,0,0),
(6,5,1,221,-2915.55,-257.347,59.2693,0,0),
(6,2,1,221,-2915.55,-257.347,59.2693,0,0),
(6,1,1,221,-2915.55,-257.347,59.2693,0,0),
(6,3,1,221,-2915.55,-257.347,59.2693,0,0),
(6,11,1,221,-2915.55,-257.347,59.2693,0,0),
(6,6,609,0,2358.17,-5663.21,426.027,0,0),
(7,9,0,5495,-4983.42,877.7,274.31,0,0),
(7,1,0,5495,-4983.42,877.7,274.31,0,0),
(7,4,0,5495,-4983.42,877.7,274.31,0,0),
(7,8,0,5495,-4983.42,877.7,274.31,0,0),
(7,5,0,5495,-4983.42,877.7,274.31,0,0),
(7,6,609,0,2355.05,-5661.7,426.026,0,0),
(8,9,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,8,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,7,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,5,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,3,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,1,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,4,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,11,1,5691,-1171.45,-5263.65,0.847728,0,0),
(8,6,609,0,2355.05,-5661.7,426.026,0,0),
(9,6,609,0,2355.05,-5661.7,426.026,0,0),
(9,1,648,4765,-8423.81,1361.3,104.671,0,0),
(9,3,648,4765,-8423.81,1361.3,104.671,0,0),
(9,4,648,4765,-8423.81,1361.3,104.671,0,0),
(9,5,648,4765,-8423.81,1361.3,104.671,0,0),
(9,7,648,4765,-8423.81,1361.3,104.671,0,0),
(9,8,648,4765,-8423.81,1361.3,104.671,0,0),
(9,9,648,4765,-8423.81,1361.3,104.671,0,0),
(10,2,530,3431,10349.6,-6357.29,33.4026,5.31605,0),
(10,3,530,3431,10349.6,-6357.29,33.4026,5.31605,0),
(10,4,530,3431,10349.6,-6357.29,33.4026,5.31605,0),
(10,5,530,3431,10349.6,-6357.29,33.4026,5.31605,0),
(10,8,530,3431,10349.6,-6357.29,33.4026,5.31605,0),
(10,9,530,3431,10349.6,-6357.29,33.4026,5.31605,0),
(10,6,609,0,2355.84,-5664.77,426.028,0,0),
(10,1,530,3431,10349.6,-6357.29,33.4026,5.31605,0),
(11,1,530,3526,-3961.64,-13931.2,100.615,2.08364,0),
(11,2,530,3526,-3961.64,-13931.2,100.615,2.08364,0),
(11,3,530,3526,-3961.64,-13931.2,100.615,2.08364,0),
(11,5,530,3526,-3961.64,-13931.2,100.615,2.08364,0),
(11,7,530,3526,-3961.64,-13931.2,100.615,2.08364,0),
(11,8,530,3526,-3961.64,-13931.2,100.615,2.08364,0),
(11,6,609,0,2358.17,-5663.21,426.027,0,0),
(22,1,654,4756,-1451.53,1403.35,35.5561,0,638),
(22,3,654,4756,-1451.53,1403.35,35.5561,0,638),
(22,4,654,4756,-1451.53,1403.35,35.5561,0,638),
(22,5,654,4756,-1451.53,1403.35,35.5561,0,638),
(22,8,654,4756,-1451.53,1403.35,35.5561,0,638),
(22,9,654,4756,-1451.53,1403.35,35.5561,0,638),
(22,11,654,4756,-1451.53,1403.35,35.5561,0,638),
(22,6,609,0,2356.21,-5662.21,426.026,0,0);
/*!40000 ALTER TABLE `playercreateinfo` ENABLE KEYS */;
UNLOCK TABLES;

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "0155"
#define REVISION_NR "0156"
#endif // __REVISION_NR_H__

View file

@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_0099_xxxxx_01_characters_character_phase_data"
#define REVISION_DB_MANGOS "required_0155_xxxxx_02_playercreateinfo_action"
#define REVISION_DB_MANGOS "required_0156_xxxxx_03_playercreateinfo_spell"
#define REVISION_DB_REALMD "required_0014_xxxxx_01_realmd_account_access"
#endif // __REVISION_SQL_H__