mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 22:37:04 +00:00
Update build version 5.4.7 (18019)
This commit is contained in:
parent
b5d47185ed
commit
67d329f0a0
2 changed files with 9 additions and 7 deletions
|
|
@ -134,8 +134,8 @@ void LoadDB2Stores(const std::string& dataPath)
|
|||
}
|
||||
|
||||
// Check loaded DB2 files proper version
|
||||
if (!sItemStore.LookupEntry(107499) || // last item added in 5.4.1 (17538)
|
||||
!sItemExtendedCostStore.LookupEntry(5268) ) // last item extended cost added in 5.4.1 (17538)
|
||||
if (!sItemStore.LookupEntry(109014) || // last item added in 5.4.7 (18019)
|
||||
!sItemExtendedCostStore.LookupEntry(5268) ) // last item extended cost added in 5.4.7 (18019)
|
||||
{
|
||||
sLog.outString("");
|
||||
sLog.outError("Please extract correct db2 files from build %s", AcceptableClientBuildsListStr().c_str());
|
||||
|
|
|
|||
|
|
@ -673,6 +673,7 @@ void LoadDBCStores(const std::string& dataPath)
|
|||
break;
|
||||
}
|
||||
|
||||
if (spellEffect->EffectSpellId < MAX_EFFECT_INDEX && spellEffect->Difficulty == 0)
|
||||
sSpellEffectMap[spellEffect->EffectSpellId].effects[spellEffect->EffectIndex] = spellEffect;
|
||||
}
|
||||
}
|
||||
|
|
@ -906,11 +907,11 @@ void LoadDBCStores(const std::string& dataPath)
|
|||
}
|
||||
|
||||
// Check loaded DBC files proper version
|
||||
if (!sAreaStore.LookupEntry(5491) || // last area (areaflag) added in 5.4.1 17538
|
||||
!sCharTitlesStore.LookupEntry(389) || // last char title added in 5.4.1 17538
|
||||
!sGemPropertiesStore.LookupEntry(2467) || // last gem property added in 5.4.1 17538
|
||||
!sMapStore.LookupEntry(1173) || // last map added in 5.4.1 17538
|
||||
!sSpellStore.LookupEntry(152028) ) // last added spell in 5.4.1 17538
|
||||
if (!sAreaStore.LookupEntry(5491) || // last area (areaflag) added in 5.4.7 (18019)
|
||||
!sCharTitlesStore.LookupEntry(389) || // last char title added in 5.4.7 (18019)
|
||||
!sGemPropertiesStore.LookupEntry(2467) || // last gem property added in 5.4.7 (18019)
|
||||
!sMapStore.LookupEntry(1173) || // last map added in 5.4.7 (18019)
|
||||
!sSpellStore.LookupEntry(155748) ) // last added spell in 5.4.7 (18019)
|
||||
{
|
||||
sLog.outError("\nYou have mixed version DBC files. Please re-extract DBC files for one from client build: %s", AcceptableClientBuildsListStr().c_str());
|
||||
Log::WaitBeforeContinueIfNeed();
|
||||
|
|
@ -1196,6 +1197,7 @@ ContentLevels GetContentLevelsForMapAndZone(uint32 mapId, uint32 zoneId)
|
|||
case 1: return CONTENT_61_70;
|
||||
case 2: return CONTENT_71_80;
|
||||
case 3: return CONTENT_81_85;
|
||||
case 4: return CONTENT_86_90;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue