From 2e134b686dac89d9d42391a9f023671e23882990 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 18 Mar 2026 12:04:38 -0700 Subject: [PATCH] fix: correct BattlemasterList.dbc IDs for arenas and Isle of Conquest Arena and BG type IDs now match actual 3.3.5a BattlemasterList.dbc: Nagrand Arena=4, Blade's Edge=5, Ruins of Lordaeron=8, Dalaran Sewers=10, Ring of Valor=11, Isle of Conquest=30, Random BG=32. --- src/game/game_handler.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 63dae478..8980febd 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -16115,18 +16115,21 @@ void GameHandler::handleBattlefieldStatus(network::Packet& packet) { uint32_t statusId = packet.readUInt32(); // Map BG type IDs to their names (stable across all three expansions) + // BattlemasterList.dbc IDs (3.3.5a) static const std::pair kBgNames[] = { {1, "Alterac Valley"}, {2, "Warsong Gulch"}, {3, "Arathi Basin"}, + {4, "Nagrand Arena"}, + {5, "Blade's Edge Arena"}, + {6, "All Arenas"}, {7, "Eye of the Storm"}, + {8, "Ruins of Lordaeron"}, {9, "Strand of the Ancients"}, - {11, "Isle of Conquest"}, - {30, "Nagrand Arena"}, - {31, "Blade's Edge Arena"}, - {32, "Dalaran Sewers"}, - {33, "Ring of Valor"}, - {34, "Ruins of Lordaeron"}, + {10, "Dalaran Sewers"}, + {11, "Ring of Valor"}, + {30, "Isle of Conquest"}, + {32, "Random Battleground"}, }; std::string bgName = "Battleground"; for (const auto& kv : kBgNames) {