mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-11 03:13:10 +00:00
Core/Custom: Corrections to Transmog and PVPSTATS
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user