aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/CharacterHandler.cpp
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2016-08-11 09:10:20 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-11 23:15:24 +0100
commitd2dd5f9f02b9da1bc99764653177dfbf851d0f87 (patch)
tree272a1dca31c8590bf495e8be411535471c2036d7 /src/server/game/Handlers/CharacterHandler.cpp
parent9fffe777ec16f30e27cf48e0e29ad87c631bc8e6 (diff)
Core/Logs: Fine tune more logs
And move others to more logical appenders (cherry picked from commit 1ad24352acebbc4d7c8829cd111a2f3ba010891a) # Conflicts: # src/server/authserver/Server/AuthSession.cpp # src/server/game/Entities/Player/Player.cpp # src/server/game/Handlers/AuctionHouseHandler.cpp # src/server/game/Handlers/CharacterHandler.cpp # src/server/game/Handlers/GuildHandler.cpp # src/server/game/Handlers/LootHandler.cpp # src/server/game/Handlers/PetitionsHandler.cpp # src/server/game/Handlers/QuestHandler.cpp # src/server/game/Handlers/SpellHandler.cpp # src/server/game/Spells/SpellEffects.cpp
Diffstat (limited to 'src/server/game/Handlers/CharacterHandler.cpp')
-rw-r--r--src/server/game/Handlers/CharacterHandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp
index c9806ca8963..6f9b64d6cf5 100644
--- a/src/server/game/Handlers/CharacterHandler.cpp
+++ b/src/server/game/Handlers/CharacterHandler.cpp
@@ -445,7 +445,7 @@ void WorldSession::HandleCharCreateOpcode(WorldPackets::Character::CreateCharact
uint8 raceExpansionRequirement = sObjectMgr->GetRaceExpansionRequirement(charCreate.CreateInfo->Race);
if (raceExpansionRequirement > GetExpansion())
{
- TC_LOG_ERROR("network", "Expansion %u account:[%d] tried to Create character with expansion %u race (%u)", GetExpansion(), GetAccountId(), raceExpansionRequirement, charCreate.CreateInfo->Race);
+ TC_LOG_ERROR("entities.player.cheat", "Expansion %u account:[%d] tried to Create character with expansion %u race (%u)", GetExpansion(), GetAccountId(), raceExpansionRequirement, charCreate.CreateInfo->Race);
SendCharCreate(CHAR_CREATE_EXPANSION);
return;
}
@@ -454,7 +454,7 @@ void WorldSession::HandleCharCreateOpcode(WorldPackets::Character::CreateCharact
uint8 classExpansionRequirement = sObjectMgr->GetClassExpansionRequirement(charCreate.CreateInfo->Class);
if (classExpansionRequirement > GetExpansion())
{
- TC_LOG_ERROR("network", "Expansion %u account:[%d] tried to Create character with expansion %u class (%u)", GetExpansion(), GetAccountId(), classExpansionRequirement, charCreate.CreateInfo->Class);
+ TC_LOG_ERROR("entities.player.cheat", "Expansion %u account:[%d] tried to Create character with expansion %u class (%u)", GetExpansion(), GetAccountId(), classExpansionRequirement, charCreate.CreateInfo->Class);
SendCharCreate(CHAR_CREATE_EXPANSION_CLASS);
return;
}
@@ -482,7 +482,7 @@ void WorldSession::HandleCharCreateOpcode(WorldPackets::Character::CreateCharact
// prevent character creating with invalid name
if (!normalizePlayerName(charCreate.CreateInfo->Name))
{
- TC_LOG_ERROR("network", "Account:[%d] but tried to Create character with empty [name] ", GetAccountId());
+ TC_LOG_ERROR("entities.player.cheat", "Account:[%d] but tried to Create character with empty [name] ", GetAccountId());
SendCharCreate(CHAR_NAME_NO_NAME);
return;
}
@@ -1507,7 +1507,7 @@ void WorldSession::HandleCharCustomizeOpcode(WorldPackets::Character::CharCustom
{
if (!IsLegitCharacterForAccount(packet.CustomizeInfo->CharGUID))
{
- TC_LOG_ERROR("network", "Account %u, IP: %s tried to customise %s, but it does not belong to their account!",
+ TC_LOG_ERROR("entities.player.cheat", "Account %u, IP: %s tried to customise %s, but it does not belong to their account!",
GetAccountId(), GetRemoteAddress().c_str(), packet.CustomizeInfo->CharGUID.ToString().c_str());
KickPlayer();
return;
@@ -1785,7 +1785,7 @@ void WorldSession::HandleCharRaceOrFactionChangeOpcode(WorldPackets::Character::
{
if (!IsLegitCharacterForAccount(packet.RaceOrFactionChangeInfo->Guid))
{
- TC_LOG_ERROR("network", "Account %u, IP: %s tried to factionchange character %s, but it does not belong to their account!",
+ TC_LOG_ERROR("entities.player.cheat", "Account %u, IP: %s tried to factionchange character %s, but it does not belong to their account!",
GetAccountId(), GetRemoteAddress().c_str(), packet.RaceOrFactionChangeInfo->Guid.ToString().c_str());
KickPlayer();
return;