Core/LFG: Move 2 logs in trace
This commit is contained in:
@@ -732,12 +732,12 @@ struct SmartAction
|
||||
uint32 apply;
|
||||
} ingamePhaseId;
|
||||
|
||||
struct
|
||||
struct
|
||||
{
|
||||
uint32 groupId;
|
||||
uint32 apply;
|
||||
} ingamePhaseGroup;
|
||||
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 field;
|
||||
|
||||
@@ -1335,7 +1335,7 @@ SkillRaceClassInfoEntry const* GetSkillRaceClassInfo(uint32 skill, uint8 race, u
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
std::set<uint32> const& GetPhasesForGroup(uint32 group)
|
||||
{
|
||||
return sPhasesByGroup[group];
|
||||
|
||||
@@ -832,7 +832,7 @@ bool GameObject::LoadGameObjectFromDB(uint32 guid, Map* map, bool addToMap)
|
||||
|
||||
if (data->phaseid)
|
||||
SetInPhase(data->phaseid, false, true);
|
||||
|
||||
|
||||
if (data->phaseGroup)
|
||||
{
|
||||
// Set the gameobject in all the phases of the phasegroup
|
||||
|
||||
@@ -881,7 +881,7 @@ class GameObject : public WorldObject, public GridObject<GameObject>, public Map
|
||||
//! Following check does check 3d distance
|
||||
return IsInRange(obj->GetPositionX(), obj->GetPositionY(), obj->GetPositionZ(), dist2compare);
|
||||
}
|
||||
|
||||
|
||||
GameObjectAI* m_AI;
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -2871,7 +2871,7 @@ void WorldObject::SetInPhase(uint32 id, bool update, bool apply)
|
||||
_phases.insert(id);
|
||||
else
|
||||
_phases.erase(id);
|
||||
|
||||
|
||||
if (update && IsInWorld())
|
||||
UpdateObjectVisibility();
|
||||
}
|
||||
|
||||
@@ -9556,7 +9556,7 @@ bool Unit::IsImmunedToSpellEffect(SpellInfo const* spellInfo, uint32 index) cons
|
||||
|
||||
if (spellInfo->Attributes & SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY)
|
||||
return false;
|
||||
|
||||
|
||||
// If m_immuneToEffect type contain this effect type, IMMUNE effect.
|
||||
uint32 effect = spellInfo->Effects[index].Effect;
|
||||
SpellImmuneList const& effectList = m_spellImmune[IMMUNITY_EFFECT];
|
||||
@@ -14645,7 +14645,7 @@ void Unit::SetInPhase(uint32 id, bool update, bool apply)
|
||||
|
||||
if (!IsInWorld())
|
||||
return;
|
||||
|
||||
|
||||
RemoveNotOwnSingleTargetAuras(0, true);
|
||||
|
||||
if (GetTypeId() == TYPEID_UNIT || (!ToPlayer()->IsGameMaster() && !ToPlayer()->GetSession()->PlayerLogout()))
|
||||
|
||||
@@ -1707,7 +1707,7 @@ void ObjectMgr::LoadCreatures()
|
||||
}
|
||||
|
||||
// Skip spawnMask check for transport maps
|
||||
if (!IsTransportMap(data.mapid) && data.spawnMask & ~spawnMasks[data.mapid])
|
||||
if (!IsTransportMap(data.mapid) && data.spawnMask & ~spawnMasks[data.mapid])
|
||||
TC_LOG_ERROR("sql.sql", "Table `creature` have creature (GUID: %u Entry: %u) that have wrong spawn mask %u including not supported difficulty modes for map (Id: %u) spawnMasks[data.mapid]: %u.", guid, data.id, data.spawnMask, data.mapid, spawnMasks[data.mapid]);
|
||||
|
||||
bool ok = true;
|
||||
@@ -9338,7 +9338,7 @@ void ObjectMgr::LoadPhaseInfo()
|
||||
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
||||
// 0 1 2
|
||||
// 0 1 2
|
||||
QueryResult result = WorldDatabase.Query("SELECT id, worldmapareaswap, terrainswapmap FROM `phase_info`");
|
||||
|
||||
if (!result)
|
||||
|
||||
@@ -28,7 +28,7 @@ void BuildPlayerLockDungeonBlock(WorldPacket& data, lfg::LfgLockMap const& lock)
|
||||
data << uint32(lock.size()); // Size of lock dungeons
|
||||
for (lfg::LfgLockMap::const_iterator it = lock.begin(); it != lock.end(); ++it)
|
||||
{
|
||||
TC_LOG_ERROR("misc", "DungeonID: %u Lock status: %u Required itemLevel: %u Current itemLevel: %f",
|
||||
TC_LOG_TRACE("lfg", "BuildPlayerLockDungeonBlock:: DungeonID: %u Lock status: %u Required itemLevel: %u Current itemLevel: %f",
|
||||
(it->first & 0x00FFFFFF), it->second.lockStatus, it->second.requiredItemLevel, it->second.currentItemLevel);
|
||||
|
||||
data << uint32(it->first); // Dungeon entry (id + type)
|
||||
@@ -599,8 +599,8 @@ void WorldSession::SendLfgJoinResult(lfg::LfgJoinResultData const& joinData)
|
||||
ObjectGuid playerGuid = it->first;
|
||||
for (lfg::LfgLockMap::const_iterator itr = it->second.begin(); itr != it->second.end(); ++itr)
|
||||
{
|
||||
TC_LOG_ERROR("misc", "DungeonID: %u Lock status: %u Required itemLevel: %u Current itemLevel: %f",
|
||||
(itr->first & 0x00FFFFFF), itr->second.lockStatus, itr->second.requiredItemLevel, itr->second.currentItemLevel);
|
||||
TC_LOG_TRACE("lfg", "SendLfgJoinResult:: PlayerGUID: " UI64FMTD " DungeonID: %u Lock status: %u Required itemLevel: %u Current itemLevel: %f",
|
||||
playerGuid, (itr->first & 0x00FFFFFF), itr->second.lockStatus, itr->second.requiredItemLevel, itr->second.currentItemLevel);
|
||||
|
||||
data << uint32(itr->second.lockStatus); // Lock status
|
||||
data << uint32(itr->second.currentItemLevel); // Current itemLevel
|
||||
|
||||
@@ -116,7 +116,7 @@ void WorldSession::HandleCreatureQueryOpcode(WorldPacket& recvData)
|
||||
}
|
||||
|
||||
TC_LOG_DEBUG("network", "WORLD: CMSG_CREATURE_QUERY '%s' - Entry: %u.", creatureInfo->Name.c_str(), entry);
|
||||
|
||||
|
||||
WorldPacket data(SMSG_CREATURE_QUERY_RESPONSE, 100); // guess size
|
||||
data << uint32(entry); // creature entry
|
||||
data << Name; // Name
|
||||
|
||||
@@ -487,7 +487,7 @@ void WorldSession::HandleQuestgiverCompleteQuest(WorldPacket& recvData)
|
||||
object = _player;
|
||||
else
|
||||
object = ObjectAccessor::GetObjectByTypeMask(*_player, guid, TYPEMASK_UNIT | TYPEMASK_GAMEOBJECT);
|
||||
|
||||
|
||||
if (!object)
|
||||
return;
|
||||
|
||||
|
||||
@@ -57,8 +57,8 @@ void WorldSession::SendTradeStatus(TradeStatus status, int8 clearSlot)
|
||||
data << uint32(0); // InventoryResult
|
||||
break;
|
||||
case TRADE_STATUS_ONLY_CONJURED: // Not Implemented
|
||||
case TRADE_STATUS_NOT_ELIGIBLE:
|
||||
// Used when trading loot soulbound items with people that are not eligible (TRADE_STATUS_NOT_ELIGIBLE),
|
||||
case TRADE_STATUS_NOT_ELIGIBLE:
|
||||
// Used when trading loot soulbound items with people that are not eligible (TRADE_STATUS_NOT_ELIGIBLE),
|
||||
// and when trying to trade items with players in other realms when in a cross realm BG, you can only trade conjured goods with them (TRADE_STATUS_ONLY_CONJURED)
|
||||
data.FlushBits();
|
||||
data << int8(clearSlot); // Trade slot to clear, -1 = Clear the money amount
|
||||
|
||||
@@ -151,7 +151,7 @@ enum QuestFlags
|
||||
QUEST_FLAGS_DISPLAY_ITEM_IN_TRACKER = 0x00020000, // Displays usable item in quest tracker
|
||||
QUEST_FLAGS_OBJ_TEXT = 0x00040000, // use Objective text as Complete text
|
||||
QUEST_FLAGS_AUTO_ACCEPT = 0x00080000, // The client recognizes this flag as auto-accept. However, NONE of the current quests (3.3.5a) have this flag. Maybe blizz used to use it, or will use it in the future.
|
||||
QUEST_FLAGS_UNK1 = 0x00100000, //
|
||||
QUEST_FLAGS_UNK1 = 0x00100000, //
|
||||
QUEST_FLAGS_AUTO_TAKE = 0x00200000, // Automatically suggestion of accepting quest. Not from npc.
|
||||
//QUEST_FLAGS_UNK2 = 0x00400000,
|
||||
//QUEST_FLAGS_UNK3 = 0x00800000, // Found in quest 14069
|
||||
|
||||
@@ -803,7 +803,7 @@ int WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
|
||||
std::string account;
|
||||
SHA1Hash sha;
|
||||
BigNumber k;
|
||||
bool wardenActive = sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED);
|
||||
bool wardenActive = sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED);
|
||||
WorldPacket addonsData;
|
||||
|
||||
recvPacket.read_skip<uint32>();
|
||||
|
||||
Reference in New Issue
Block a user