fix(matchmaking): filter Air Realistic missions by layout and BR

Limit classic Air Realistic and Tactical Skies to historical mission variants. Read stock airfield ranges, select against the rank sent to the mission loader, and keep fixed-layout limits in battle tuning.

Inspected mission data from 2.61.0.37 and 2.61.0.43. Root and launcher type checks pass. Gameplay awaits manual acceptance.
This commit is contained in:
N0VAN0M4LY committed 2026-12-01 12:13:53 +08:00
1 parent 7ba66340b6
commit d165a80a4a
12 files changed
+175 -25

No files matched your search

+4 -2
View File
@@ -81,9 +81,11 @@ export async function startServer(options: ServerOptions): Promise<RunningServer
const gameFiles = new GameFiles(options.gameFolder);
// Static data and stores first, before the port opens.
const datasets = new DatasetCache(options.dataFolder, gameFiles, report);
const gameModes = new GameModes(datasets.load(multiplayerMissions), datasets.load(shopCountries), report);
const accounts = new AccountStore(options.dataFolder);
const tuning = loadTuning(options.dataFolder, report);
const gameModes = new GameModes(
datasets.load(multiplayerMissions), datasets.load(shopCountries), report, tuning.battle.fixedAirRealisticMaxMrank,
);
const accounts = new AccountStore(options.dataFolder);
const clans = new ClanStore(options.dataFolder, tuning.clans);
const cloudSettings = new CloudSettingsStore(options.dataFolder);
const vehicles = datasets.load(vehicleCatalogue);