From bb1e6777f3fb406b34dd3f1d556042e04d1a835d Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 10 Nov 2024 17:42:27 -0500 Subject: [PATCH] Core/DataStores: Update startup id checks for 11.0.2 and require FlightCapability id = 1 as well Port From (https://github.com/TrinityCore/TrinityCore/commit/c5b94d471e96f6b8252cfaaf6acdd0f4a634c75e) --- Source/Game/DataStorage/CliDB.cs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Source/Game/DataStorage/CliDB.cs b/Source/Game/DataStorage/CliDB.cs index a6e6a2c83..22ac6122a 100644 --- a/Source/Game/DataStorage/CliDB.cs +++ b/Source/Game/DataStorage/CliDB.cs @@ -449,13 +449,14 @@ namespace Game.DataStorage } // Check loaded DB2 files proper version - if (!AreaTableStorage.ContainsKey(15151) || // last area added in 10.2.5 (53007) - !CharTitlesStorage.ContainsKey(805) || // last char title added in 10.2.5 (53007) - !GemPropertiesStorage.ContainsKey(4081) || // last gem property added in 10.2.5 (53007) - !ItemStorage.ContainsKey(215160) || // last item added in 10.2.5 (53007) - !ItemExtendedCostStorage.ContainsKey(8510) || // last item extended cost added in 10.2.5 (53007) - !MapStorage.ContainsKey(2708) || // last map added in 10.2.5 (53007) - !SpellNameStorage.ContainsKey(438878)) // last spell added in 10.2.5 (53007) + if (!AreaTableStorage.ContainsKey(15786) || // last area added in 11.0.2 (56647) + !CharTitlesStorage.ContainsKey(854) || // last char title added in 11.0.2 (56647) + !FlightCapabilityStorage.ContainsKey(1) || // default flight capability (required) + !GemPropertiesStorage.ContainsKey(4251) || // last gem property added in 11.0.2 (56647) + !ItemStorage.ContainsKey(232498) || // last item added in 11.0.2 (56647) + !ItemExtendedCostStorage.ContainsKey(9369) || // last item extended cost added in 11.0.2 (56647) + !MapStorage.ContainsKey(2786) || // last map added in 11.0.2 (56647) + !SpellNameStorage.ContainsKey(471174)) // last spell added in 11.0.2 (56647) { Log.outFatal(LogFilter.ServerLoading, "You have _outdated_ DB2 files. Please extract correct versions from current using client."); Environment.Exit(1);