Core/DataStores: Updated outdated check to 10.0.5.47660
Port From (https://github.com/TrinityCore/TrinityCore/commit/b5176eb6c2ae640a1cdf22d3d0a483d1b48ecbb6)
This commit is contained in:
@@ -412,13 +412,13 @@ namespace Game.DataStorage
|
||||
}
|
||||
|
||||
// Check loaded DB2 files proper version
|
||||
if (!AreaTableStorage.ContainsKey(14618) || // last area added in 10.0.2 (46741)
|
||||
!CharTitlesStorage.ContainsKey(749) || // last char title added in 10.0.2 (46741)
|
||||
!GemPropertiesStorage.ContainsKey(4028) || // last gem property added in 10.0.2 (46741)
|
||||
!ItemStorage.ContainsKey(202712) || // last item added in 10.0.2 (46741)
|
||||
!ItemExtendedCostStorage.ContainsKey(7862) || // last item extended cost added in 10.0.2 (46741)
|
||||
!MapStorage.ContainsKey(2582) || // last map added in 10.0.2 (46741)
|
||||
!SpellNameStorage.ContainsKey(399311)) // last spell added in 10.0.2 (46741)
|
||||
if (!AreaTableStorage.ContainsKey(14618) || // last area added in 10.0.5 (47660)
|
||||
!CharTitlesStorage.ContainsKey(753) || // last char title added in 10.0.5 (47660)
|
||||
!GemPropertiesStorage.ContainsKey(4028) || // last gem property added in 10.0.5 (47660)
|
||||
!ItemStorage.ContainsKey(203716) || // last item added in 10.0.5 (47660)
|
||||
!ItemExtendedCostStorage.ContainsKey(7882) || // last item extended cost added in 10.0.5 (47660)
|
||||
!MapStorage.ContainsKey(2582) || // last map added in 10.0.5 (47660)
|
||||
!SpellNameStorage.ContainsKey(401848)) // last spell added in 10.0.5 (47660)
|
||||
{
|
||||
Log.outError(LogFilter.Misc, "You have _outdated_ DB2 files. Please extract correct versions from current using client.");
|
||||
Environment.Exit(1);
|
||||
|
||||
Reference in New Issue
Block a user