Core: INFO->DEBUG cleanups in Player.cpp
This commit is contained in:
1 parent
15e56ed0b3
commit
6e509cf7c1
1 file changed
+9
-9
@@ -5002,7 +5002,7 @@ void Player::DeleteOldCharacters()
|
||||
*/
|
||||
void Player::DeleteOldCharacters(uint32 keepDays)
|
||||
{
|
||||
TC_LOG_INFO("entities.player", "Player::DeleteOldChars: Deleting all characters which have been deleted %u days before...", keepDays);
|
||||
TC_LOG_INFO("entities.player", "Player::DeleteOldChars: Removing characters older than %u day(s)", keepDays);
|
||||
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_CHAR_OLD_CHARS);
|
||||
stmt->setUInt32(0, uint32(time(NULL) - time_t(keepDays * DAY)));
|
||||
@@ -5010,7 +5010,7 @@ void Player::DeleteOldCharacters(uint32 keepDays)
|
||||
|
||||
if (result)
|
||||
{
|
||||
TC_LOG_DEBUG("entities.player", "Player::DeleteOldChars: Found " UI64FMTD " character(s) to delete", result->GetRowCount());
|
||||
TC_LOG_DEBUG("entities.player", "Player::DeleteOldChars: " UI64FMTD " character(s) to remove", result->GetRowCount());
|
||||
do
|
||||
{
|
||||
Field* fields = result->Fetch();
|
||||
@@ -6636,7 +6636,7 @@ void Player::SendActionButtons(uint32 state) const
|
||||
}
|
||||
|
||||
GetSession()->SendPacket(&data);
|
||||
TC_LOG_INFO("network", "SMSG_ACTION_BUTTONS sent '%u' spec '%u' Sent", GetGUIDLow(), m_activeSpec);
|
||||
TC_LOG_DEBUG("network", "SMSG_ACTION_BUTTONS sent '%u' spec '%u' Sent", GetGUIDLow(), m_activeSpec);
|
||||
}
|
||||
|
||||
bool Player::IsActionButtonDataValid(uint8 button, uint32 action, uint8 type)
|
||||
@@ -6883,7 +6883,7 @@ void Player::CheckAreaExploreAndOutdoor()
|
||||
GiveXP(XP, NULL);
|
||||
SendExplorationExperience(area, XP);
|
||||
}
|
||||
TC_LOG_INFO("entities.player", "Player %u discovered a new area: %u", GetGUIDLow(), area);
|
||||
TC_LOG_DEBUG("entities.player", "Player %u discovered a new area: %u", GetGUIDLow(), area);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7763,7 +7763,7 @@ void Player::_ApplyItemMods(Item* item, uint8 slot, bool apply)
|
||||
if (item->IsBroken())
|
||||
return;
|
||||
|
||||
TC_LOG_INFO("entities.player.items", "applying mods for item %u ", item->GetGUIDLow());
|
||||
TC_LOG_DEBUG("entities.player.items", "applying mods for item %u ", item->GetGUIDLow());
|
||||
|
||||
uint8 attacktype = Player::GetAttackBySlot(slot);
|
||||
|
||||
@@ -9774,7 +9774,7 @@ uint32 Player::GetXPRestBonus(uint32 xp)
|
||||
|
||||
SetRestBonus(GetRestBonus() - rested_bonus);
|
||||
|
||||
TC_LOG_INFO("entities.player", "Player gain %u xp (+ %u Rested Bonus). Rested points=%f", xp+rested_bonus, rested_bonus, GetRestBonus());
|
||||
TC_LOG_DEBUG("entities.player", "Player gain %u xp (+ %u Rested Bonus). Rested points=%f", xp+rested_bonus, rested_bonus, GetRestBonus());
|
||||
return rested_bonus;
|
||||
}
|
||||
|
||||
@@ -17999,7 +17999,7 @@ void Player::_LoadAuras(PreparedQueryResult result, uint32 timediff)
|
||||
|
||||
aura->SetLoadedState(maxduration, remaintime, remaincharges, stackcount, recalculatemask, &damage[0]);
|
||||
aura->ApplyForTargets();
|
||||
TC_LOG_INFO("entities.player", "Added aura spellid %u, effectmask %u", spellInfo->Id, effmask);
|
||||
TC_LOG_DEBUG("entities.player", "Added aura spellid %u, effectmask %u", spellInfo->Id, effmask);
|
||||
}
|
||||
}
|
||||
while (result->NextRow());
|
||||
@@ -25461,7 +25461,7 @@ void Player::LearnTalent(uint32 talentId, uint32 talentRank)
|
||||
LearnSpell(spellid, false);
|
||||
AddTalent(spellid, m_activeSpec, true);
|
||||
|
||||
TC_LOG_INFO("entities.player", "TalentID: %u Rank: %u Spell: %u Spec: %u\n", talentId, talentRank, spellid, m_activeSpec);
|
||||
TC_LOG_DEBUG("entities.player", "TalentID: %u Rank: %u Spell: %u Spec: %u\n", talentId, talentRank, spellid, m_activeSpec);
|
||||
|
||||
// update free talent points
|
||||
SetFreeTalentPoints(CurTalentPoints - (talentRank - curtalent_maxrank + 1));
|
||||
@@ -25596,7 +25596,7 @@ void Player::LearnPetTalent(ObjectGuid petGuid, uint32 talentId, uint32 talentRa
|
||||
|
||||
// learn! (other talent ranks will unlearned at learning)
|
||||
pet->learnSpell(spellid);
|
||||
TC_LOG_INFO("entities.player", "PetTalentID: %u Rank: %u Spell: %u\n", talentId, talentRank, spellid);
|
||||
TC_LOG_DEBUG("entities.player", "PetTalentID: %u Rank: %u Spell: %u\n", talentId, talentRank, spellid);
|
||||
|
||||
// update free talent points
|
||||
pet->SetFreeTalentPoints(CurTalentPoints - (talentRank - curtalent_maxrank + 1));
|
||||
|
||||
Reference in new issue
Block a user