mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
Updated DBC version check. Thanks to yad02.
This commit is contained in:
parent
a9e148edac
commit
04af237d2a
1 changed files with 7 additions and 7 deletions
|
|
@ -481,13 +481,13 @@ void LoadDBCStores(const std::string& dataPath)
|
|||
}
|
||||
|
||||
// Check loaded DBC files proper version
|
||||
if( !sSpellStore.LookupEntry(100034) || // last added spell in 3.1.0
|
||||
!sMapStore.LookupEntry(624) || // last map added in 3.1.0
|
||||
!sGemPropertiesStore.LookupEntry(1557) || // last gem property added in 3.1.0
|
||||
!sItemExtendedCostStore.LookupEntry(2595) || // last item extended cost added in 3.1.0
|
||||
!sCharTitlesStore.LookupEntry(154) || // last char title added in 3.1.0
|
||||
!sAreaStore.LookupEntry(2833) || // last area (areaflag) added in 3.1.0
|
||||
!sItemStore.LookupEntry(45704) ) // last client known item added in 3.1.0
|
||||
if( !sSpellStore.LookupEntry(65509) || // last added spell in 3.1.1
|
||||
!sMapStore.LookupEntry(624) || // last map added in 3.1.1
|
||||
!sGemPropertiesStore.LookupEntry(1609) || // last gem property added in 3.1.1
|
||||
!sItemExtendedCostStore.LookupEntry(2670) || // last item extended cost added in 3.1.1
|
||||
!sCharTitlesStore.LookupEntry(166) || // last char title added in 3.1.1
|
||||
!sAreaStore.LookupEntry(2905) || // last area (areaflag) added in 3.1.1
|
||||
!sItemStore.LookupEntry(46379) ) // last client known item added in 3.1.1
|
||||
{
|
||||
sLog.outError("\nYou have _outdated_ DBC files. Please extract correct versions from current using client.");
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue