diff options
author | Brian <runningnak3d@gmail.com> | 2010-02-14 19:13:14 -0700 |
---|---|---|
committer | Brian <runningnak3d@gmail.com> | 2010-02-14 19:13:14 -0700 |
commit | 486c00891ba34884e5b2cdd8d44b4d8496f11283 (patch) | |
tree | 7df304b9020ed21b87bd66978d2dc6e6683edce7 /src/game/DBCStores.cpp | |
parent | 7799ade4da0da17034039439d692122e976c0138 (diff) |
* Core switch to client 3.3.2 (11403)
* Credits (in no particular order) to:
* n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo,
* thenecromancer, Xanadu, Trazom, Zor, kiper
* Additional credits to:
* TOM_RUS and NoFantasy from MaNGOS
* Thanks for testing Aokromes and XTElite1
* SoTA still needs some work, but is very playable (huge thanks to raczman and
* kiper)
* To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the
* last rev you are on
* and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world
* DBs
* Known problem with guild banks.
--HG--
branch : trunk
Diffstat (limited to 'src/game/DBCStores.cpp')
-rw-r--r-- | src/game/DBCStores.cpp | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/game/DBCStores.cpp b/src/game/DBCStores.cpp index 97985a23363..989e94fb2d5 100644 --- a/src/game/DBCStores.cpp +++ b/src/game/DBCStores.cpp @@ -108,7 +108,8 @@ MapDifficultyMap sMapDifficultyMap; DBCStorage <MovieEntry> sMovieStore(MovieEntryfmt); DBCStorage <QuestSortEntry> sQuestSortStore(QuestSortEntryfmt); - +DBCStorage <QuestXPEntry> sQuestXPStore(QuestXPfmt); +DBCStorage <QuestFactionRewEntry> sQuestFactionRewardStore(QuestFactionRewardfmt); DBCStorage <RandomPropertiesPointsEntry> sRandomPropertiesPointsStore(RandomPropertiesPointsfmt); DBCStorage <ScalingStatDistributionEntry> sScalingStatDistributionStore(ScalingStatDistributionfmt); DBCStorage <ScalingStatValuesEntry> sScalingStatValuesStore(ScalingStatValuesfmt); @@ -215,7 +216,7 @@ void LoadDBCStores(const std::string& dataPath) { std::string dbcPath = dataPath+"dbc/"; - const uint32 DBCFilesCount = 82; + const uint32 DBCFilesCount = 83; barGoLink bar(DBCFilesCount); @@ -328,6 +329,8 @@ void LoadDBCStores(const std::string& dataPath) LoadDBC(availableDbcLocales,bar,bad_dbc_files,sMovieStore, dbcPath,"Movie.dbc"); LoadDBC(availableDbcLocales,bar,bad_dbc_files,sQuestSortStore, dbcPath,"QuestSort.dbc"); + LoadDBC(availableDbcLocales,bar,bad_dbc_files,sQuestXPStore, dbcPath,"QuestXP.dbc"); + LoadDBC(availableDbcLocales,bar,bad_dbc_files,sQuestFactionRewardStore, dbcPath,"QuestFactionReward.dbc"); LoadDBC(availableDbcLocales,bar,bad_dbc_files,sRandomPropertiesPointsStore, dbcPath,"RandPropPoints.dbc"); LoadDBC(availableDbcLocales,bar,bad_dbc_files,sScalingStatDistributionStore, dbcPath,"ScalingStatDistribution.dbc"); LoadDBC(availableDbcLocales,bar,bad_dbc_files,sScalingStatValuesStore, dbcPath,"ScalingStatValues.dbc"); @@ -523,13 +526,13 @@ void LoadDBCStores(const std::string& dataPath) } // Check loaded DBC files proper version - if( !sSpellStore.LookupEntry(69599) || // last added spell in 3.2.2 - !sMapStore.LookupEntry(650) || // last map added in 3.2.2 - !sGemPropertiesStore.LookupEntry(1629) || // last gem property added in 3.2.2 - !sItemExtendedCostStore.LookupEntry(2723) || // last item extended cost added in 3.2.2 - !sCharTitlesStore.LookupEntry(171) || // last char title added in 3.2.2 - !sAreaStore.LookupEntry(3091) || // last area (areaflag) added in 3.2.2 - !sItemStore.LookupEntry(49667) ) // last client known item added in 3.2.2 + if( !sSpellStore.LookupEntry(74445) || // last added spell in 3.3.2 + !sMapStore.LookupEntry(718) || // last map added in 3.3.2 + !sGemPropertiesStore.LookupEntry(1629) || // last gem property added in 3.3.2 + !sItemExtendedCostStore.LookupEntry(2982) || // last item extended cost added in 3.3.2 + !sCharTitlesStore.LookupEntry(177) || // last char title added in 3.3.2 + !sAreaStore.LookupEntry(3461) || // last area (areaflag) added in 3.3.2 + !sItemStore.LookupEntry(52686) ) // last client known item added in 3.3.2 { sLog.outError("\nYou have _outdated_ DBC files. Please extract correct versions from current using client."); exit(1); |