diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index fc5cc0b1..d9cf49e1 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -12770,7 +12770,6 @@ void GameHandler::handleInitialSpells(network::Packet& packet) { knownSpells = {data.spellIds.begin(), data.spellIds.end()}; - LOG_INFO("SMSG_INITIAL_SPELLS: ", knownSpells.size(), " spells"); LOG_DEBUG("Initial spells include: 527=", knownSpells.count(527u), " 988=", knownSpells.count(988u), " 1180=", knownSpells.count(1180u)); diff --git a/src/game/world_packets.cpp b/src/game/world_packets.cpp index 91f5d36a..d64c6d49 100644 --- a/src/game/world_packets.cpp +++ b/src/game/world_packets.cpp @@ -2839,8 +2839,8 @@ bool InitialSpellsParser::parse(network::Packet& packet, InitialSpellsData& data size_t remainingAfterHeader = packetSize - 3; // subtract talentSpec(1) + spellCount(2) bool vanillaFormat = remainingAfterHeader < static_cast(spellCount) * 6 + 2; - LOG_INFO("SMSG_INITIAL_SPELLS: packetSize=", packetSize, " bytes, spellCount=", spellCount, - vanillaFormat ? " (vanilla uint16 format)" : " (WotLK uint32 format)"); + LOG_DEBUG("SMSG_INITIAL_SPELLS: packetSize=", packetSize, " bytes, spellCount=", spellCount, + vanillaFormat ? " (vanilla uint16 format)" : " (WotLK uint32 format)"); data.spellIds.reserve(spellCount); for (uint16_t i = 0; i < spellCount; ++i) { @@ -2876,14 +2876,13 @@ bool InitialSpellsParser::parse(network::Packet& packet, InitialSpellsData& data LOG_INFO("Initial spells parsed: ", data.spellIds.size(), " spells, ", data.cooldowns.size(), " cooldowns"); - // Log first 10 spell IDs for debugging if (!data.spellIds.empty()) { std::string first10; for (size_t i = 0; i < std::min(size_t(10), data.spellIds.size()); ++i) { if (!first10.empty()) first10 += ", "; first10 += std::to_string(data.spellIds[i]); } - LOG_INFO("First spells: ", first10); + LOG_DEBUG("Initial spell IDs (first 10): ", first10); } return true;