Core/DataStores: Updated outdated check to 9.2.7.45114

Port From (https://github.com/TrinityCore/TrinityCore/commit/889ea0eed416b60056ca71b661379708f5850592)
This commit is contained in:
hondacrx
2022-08-25 12:08:55 -04:00
parent 55a81d7e99
commit c18693a067
+7 -7
View File
@@ -400,13 +400,13 @@ namespace Game.DataStorage
} }
// Check loaded DB2 files proper version // Check loaded DB2 files proper version
if (!CliDB.AreaTableStorage.ContainsKey(14083) || // last area added in 9.0.2 (37176) if (!AreaTableStorage.ContainsKey(14083) || // last area added in 9.2.7 (45114)
!CliDB.CharTitlesStorage.ContainsKey(727) || // last char title added in 9.0.2 (37176) !CharTitlesStorage.ContainsKey(727) || // last char title added in 9.2.7 (45114)
!CliDB.GemPropertiesStorage.ContainsKey(3922) || // last gem property added in 9.0.2 (37176) !GemPropertiesStorage.ContainsKey(3922) || // last gem property added in 9.2.7 (45114)
!CliDB.ItemStorage.ContainsKey(193265) || // last item added in 9.0.2 (37176) !ItemStorage.ContainsKey(199202) || // last item added in 9.2.7 (45114)
!CliDB.ItemExtendedCostStorage.ContainsKey(7302) || // last item extended cost added in 9.0.2 (37176) !ItemExtendedCostStorage.ContainsKey(7316) || // last item extended cost added in 9.2.7 (45114)
!CliDB.MapStorage.ContainsKey(2559) || // last map added in 9.0.2 (37176) !MapStorage.ContainsKey(2559) || // last map added in 9.2.7 (45114)
!CliDB.SpellNameStorage.ContainsKey(375051)) // last spell added in 9.0.2 (37176) !SpellNameStorage.ContainsKey(387936)) // last spell added in 9.2.7 (45114)
{ {
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.");
Global.WorldMgr.ShutdownServ(10, ShutdownMask.Force, ShutdownExitCode.Error); Global.WorldMgr.ShutdownServ(10, ShutdownMask.Force, ShutdownExitCode.Error);