Merge pull request #13720 from AriDEV/6.x

Server/DataStore: Updated DBC & DB2 Checks For 6.0.3 (19342)
This commit is contained in:
Duarte Duarte
2014-12-20 16:06:54 +00:00
2 changed files with 8 additions and 8 deletions

View File

@@ -262,10 +262,10 @@ void LoadDB2Stores(std::string const& dataPath)
}
// 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)
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)
{
TC_LOG_ERROR("misc", "Please extract correct db2 files from client 4.3.4 15595.");
TC_LOG_ERROR("misc", "You have _outdated_ DB2 files. Please extract correct versions from current using client.");
exit(1);
}

View File

@@ -757,11 +757,11 @@ void LoadDBCStores(const std::string& dataPath)
}
// Check loaded DBC files proper version
if (!sAreaStore.LookupEntry(4713) || // last area (areaflag) added in 4.3.4 (15595)
!sCharTitlesStore.LookupEntry(287) || // last char title added in 4.3.4 (15595)
!sGemPropertiesStore.LookupEntry(2250) || // last gem property added in 4.3.4 (15595)
!sMapStore.LookupEntry(980) || // last map added in 4.3.4 (15595)
!sSpellStore.LookupEntry(121820) ) // last spell added in 4.3.4 (15595)
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)
{
TC_LOG_ERROR("misc", "You have _outdated_ DBC files. Please extract correct versions from current using client.");
exit(1);