From 01a2d34a9fe418530d0a8a71734e2ddeceb58bbb Mon Sep 17 00:00:00 2001 From: mik1893 Date: Wed, 6 Jul 2016 18:33:04 +0100 Subject: [PATCH] Core/Custom: Corrections to Transmog and PVPSTATS --- src/server/game/Battlegrounds/Battleground.cpp | 2 +- .../game/Transmogrification/Transmogrification.cpp | 2 +- src/server/worldserver/worldserver.conf.dist | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp index a82e01b0f5..eab769cb94 100644 --- a/src/server/game/Battlegrounds/Battleground.cpp +++ b/src/server/game/Battlegrounds/Battleground.cpp @@ -975,7 +975,7 @@ void Battleground::EndBattleground(TeamId winnerTeamId) BattlegroundScoreMap::const_iterator score = PlayerScores.find(player->GetGUID()); stmt->setUInt32(0, battlegroundId); - stmt->setUInt32(1, player->GetGUIDHigh()); + stmt->setUInt32(1, player->GetGUIDLow()); stmt->setBool(2, bgTeamId == winnerTeamId); stmt->setUInt32(3, score->second->GetKillingBlows()); stmt->setUInt32(4, score->second->GetDeaths()); diff --git a/src/server/game/Transmogrification/Transmogrification.cpp b/src/server/game/Transmogrification/Transmogrification.cpp index b61e1c4ebc..ffc15e8d8d 100644 --- a/src/server/game/Transmogrification/Transmogrification.cpp +++ b/src/server/game/Transmogrification/Transmogrification.cpp @@ -80,7 +80,7 @@ void Transmogrification::LoadPlayerSets(Player* player) player->presetMap[PresetID].slotMap[slot] = entry; } else - sLog->outError("custom.transmog", "Item entry (FakeEntry: %u, playerGUID: %u, slot: %u, presetId: %u) does not exist, ignoring.", entry, player->GetGUIDLow(), uint32(slot), uint32(PresetID)); + sLog->outError("Item entry (FakeEntry: %u, playerGUID: %u, slot: %u, presetId: %u) does not exist, ignoring.", entry, player->GetGUIDLow(), uint32(slot), uint32(PresetID)); } if (player->presetMap[PresetID].slotMap.empty()) diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist index b2fdb520eb..d4250493af 100644 --- a/src/server/worldserver/worldserver.conf.dist +++ b/src/server/worldserver/worldserver.conf.dist @@ -404,7 +404,7 @@ PidFile = "" # 2 - (Detail) # 3 - (Full/Debug) -LogLevel = 1 +LogLevel = 3 # # LogFile @@ -421,7 +421,7 @@ LogFile = "Server.log" # Default: 0 - (Disabled) # 1 - (Enabled) -LogTimestamp = 0 +LogTimestamp = 1 # # LogFileLevel @@ -431,7 +431,7 @@ LogTimestamp = 0 # 2 - (Detail) # 3 - (Full/Debug) -LogFileLevel = 0 +LogFileLevel = 3 # # Debug Log Mask @@ -467,13 +467,15 @@ LogFileLevel = 0 # 2097152 - Anything related to guilds # 4194304 - Anything related to transports # 8388608 - Anything related to Warden anti cheat +# 16777216 - Anything related to Battlefields +# 33554432 - Anything related to Transmog # # Simply add the values together to create a bitmask. # For more info see enum DebugLogFilters in Log.h # # Default: 0 (nothing) -DebugLogMask = 0 +DebugLogMask = 33554432 # # PacketLogFile @@ -1382,7 +1384,7 @@ BeepAtStart = 1 # Example: "Welcome to John\'s Server@This server runs on Trinity Core." # Default: "Welcome to a Trinity Core server." -Motd = "Welcome to a Trinity Core server." +Motd = "welcome to AzerothCore SW1.0" # # Server.LoginInfo @@ -2981,8 +2983,6 @@ PlayerDump.DisallowOverwrite = 1 # Example: "25 35674 5623" # Default: "" -Logger.custom.transmog = 3, Console Server - Transmogrification.EnableTransmogInfo = 1 Transmogrification.TransmogNpcText = 50000