Merge pull request #15029 from AriDEV/6.x

Server/DataStores: Updated DBC version checks to 6.2.0 (20216)
This commit is contained in:
Duarte Duarte
2015-07-08 14:29:36 -07:00
2 changed files with 7 additions and 7 deletions

View File

@@ -482,8 +482,8 @@ void DB2Manager::LoadStores(std::string const& dataPath)
}
// Check loaded DB2 files proper version
if (!sItemStore.LookupEntry(120406) || // last item added in 6.0.3 (19342)
!sItemExtendedCostStore.LookupEntry(5491) ) // last item extended cost added in 6.0.3 (19342)
if (!sItemStore.LookupEntry(128706) || // last item added in 6.2.0 (20216)
!sItemExtendedCostStore.LookupEntry(5923) ) // last item extended cost added in 6.2.0 (20216)
{
TC_LOG_ERROR("misc", "You have _outdated_ DB2 files. Please extract correct versions from current using client.");
exit(1);

View File

@@ -519,11 +519,11 @@ void LoadDBCStores(const std::string& dataPath)
}
// Check loaded DBC files proper version
if (!sAreaStore.LookupEntry(6133) || // last area (areaflag) added in 6.0.3 (19342)
!sCharTitlesStore.LookupEntry(444) || // last char title added in 6.0.3 (19342)
!sGemPropertiesStore.LookupEntry(2534) || // last gem property added in 6.0.3 (19342)
!sMapStore.LookupEntry(1447) || // last map added in 6.0.3 (19342)
!sSpellStore.LookupEntry(178987) ) // last spell added in 6.0.3 (19342)
if (!sAreaStore.LookupEntry(6420) || // last area (areaflag) added in 6.2.0 (20216)
!sCharTitlesStore.LookupEntry(457) || // last char title added in 6.2.0 (20216)
!sGemPropertiesStore.LookupEntry(2544) || // last gem property added in 6.2.0 (20216)
!sMapStore.LookupEntry(1497) || // last map added in 6.2.0 (20216)
!sSpellStore.LookupEntry(191981) ) // last spell added in 6.2.0 (20216)
{
TC_LOG_ERROR("misc", "You have _outdated_ DBC files. Please extract correct versions from current using client.");
exit(1);