Core/DataStores: Updated outdated check to 10.0.5.47660

Port From (https://github.com/TrinityCore/TrinityCore/commit/b5176eb6c2ae640a1cdf22d3d0a483d1b48ecbb6)
This commit is contained in:
hondacrx
2023-01-30 10:09:15 -05:00
parent 08fcedaf21
commit 5c2fae99dd
+7 -7
View File
@@ -412,13 +412,13 @@ namespace Game.DataStorage
} }
// Check loaded DB2 files proper version // Check loaded DB2 files proper version
if (!AreaTableStorage.ContainsKey(14618) || // last area added in 10.0.2 (46741) if (!AreaTableStorage.ContainsKey(14618) || // last area added in 10.0.5 (47660)
!CharTitlesStorage.ContainsKey(749) || // last char title added in 10.0.2 (46741) !CharTitlesStorage.ContainsKey(753) || // last char title added in 10.0.5 (47660)
!GemPropertiesStorage.ContainsKey(4028) || // last gem property added in 10.0.2 (46741) !GemPropertiesStorage.ContainsKey(4028) || // last gem property added in 10.0.5 (47660)
!ItemStorage.ContainsKey(202712) || // last item added in 10.0.2 (46741) !ItemStorage.ContainsKey(203716) || // last item added in 10.0.5 (47660)
!ItemExtendedCostStorage.ContainsKey(7862) || // last item extended cost added in 10.0.2 (46741) !ItemExtendedCostStorage.ContainsKey(7882) || // last item extended cost added in 10.0.5 (47660)
!MapStorage.ContainsKey(2582) || // last map added in 10.0.2 (46741) !MapStorage.ContainsKey(2582) || // last map added in 10.0.5 (47660)
!SpellNameStorage.ContainsKey(399311)) // last spell added in 10.0.2 (46741) !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."); Log.outError(LogFilter.Misc, "You have _outdated_ DB2 files. Please extract correct versions from current using client.");
Environment.Exit(1); Environment.Exit(1);