mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[0076] Some Cleans and highest lookup entries for 4.3.4 DB2.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
c032f556bf
commit
7a29bce931
13 changed files with 15 additions and 15 deletions
|
|
@ -15,4 +15,4 @@ INSERT INTO `account_access` VALUES
|
|||
(1,3,-1),
|
||||
(2,2,-1),
|
||||
(3,1,-1),
|
||||
(4,0,-1);
|
||||
(4,0,-1);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_0001_xxxxx_01_mangos required_0023_xxxxx_01_mangos_player_classlevelstats bit;
|
||||
|
||||
DROP TABLE IF EXISTS `player_classlevelstats`;
|
||||
DROP TABLE IF EXISTS `player_classlevelstats`;
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ CREATE TABLE `character_phase_data` (
|
|||
|
||||
-- ----------------------------
|
||||
-- Records of character_phase_data
|
||||
-- ----------------------------
|
||||
-- ----------------------------
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ CREATE TABLE `quest_phase_maps` (
|
|||
|
||||
-- ----------------------------
|
||||
-- Records of quest_phase_maps
|
||||
-- ----------------------------
|
||||
-- ----------------------------
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_0028_xxxxx_02_mangos_quest_phase_maps required_0028_xxxxx_03_mangos_playercreateinfo bit;
|
||||
|
||||
ALTER TABLE `playercreateinfo`
|
||||
ADD COLUMN `phaseMap` INT(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `orientation`;
|
||||
ADD COLUMN `phaseMap` INT(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `orientation`;
|
||||
|
|
|
|||
|
|
@ -102,4 +102,4 @@ INSERT INTO `playercreateinfo` VALUES
|
|||
(22,9,654,4756,-1451.53,1403.35,35.5561,0,0),
|
||||
(22,11,654,4756,-1451.53,1403.35,35.5561,0,0);
|
||||
/*!40000 ALTER TABLE `playercreateinfo` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
UNLOCK TABLES;
|
||||
|
|
|
|||
|
|
@ -9660,4 +9660,4 @@ INSERT INTO `player_levelstats` VALUES
|
|||
(22,1,82,204,133,188,56,80),
|
||||
(22,1,81,194,123,178,46,70);
|
||||
/*!40000 ALTER TABLE `player_levelstats` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
UNLOCK TABLES;
|
||||
|
|
|
|||
|
|
@ -871,4 +871,4 @@ INSERT INTO `player_classlevelstats` VALUES
|
|||
(11,84,38865,13335),
|
||||
(11,85,39533,21751);
|
||||
/*!40000 ALTER TABLE `player_classlevelstats` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
UNLOCK TABLES;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_0034_xxxxx_03_mangos_player_classlevelstats required_0038_xxxxx_01_mangos_player_classlevelstats bit;
|
||||
|
||||
DROP TABLE IF EXISTS `player_classlevelstats`;
|
||||
DROP TABLE IF EXISTS `player_classlevelstats`;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_0038_xxxxx_01_mangos_player_classlevelstats required_0040_xxxxx_01_mangos_playercreateinfo bit;
|
||||
|
||||
UPDATE playercreateinfo SET phaseMap=638 WHERE race=22;
|
||||
UPDATE playercreateinfo SET phaseMap=638 WHERE race=22;
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ INSERT INTO `player_xp_for_level` VALUES
|
|||
('81', '2121500'),
|
||||
('82', '4004000'),
|
||||
('83', '5203400'),
|
||||
('84', '9165100');
|
||||
('84', '9165100');
|
||||
|
|
|
|||
|
|
@ -123,9 +123,9 @@ void LoadDB2Stores(const std::string& dataPath)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
// Check loaded DBC files proper version
|
||||
if (!sItemStore.LookupEntry(68815) || // last client known item added in 4.2.0
|
||||
!sItemExtendedCostStore.LookupEntry(3652)) // last item extended cost added in 4.2.0
|
||||
// Check loaded DB2 files proper version
|
||||
if (!sItemStore.LookupEntry(83086) || // last item added in 4.3.4 (15595)
|
||||
!sItemExtendedCostStore.LookupEntry(3872) ) // last item extended cost added in 4.3.4 (15595)
|
||||
{
|
||||
sLog.outString("");
|
||||
sLog.outError("Please extract correct db2 files from build %s", AcceptableClientBuildsListStr().c_str());
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "0075"
|
||||
#define REVISION_NR "0076"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue