mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[9838] More log filters and macro uses.
* LogFilter_Weather * LogFilter_PeriodicAffects * LogFilter_PlayerMoves * LogFilter_SQLText * LogFilter_AIAndMovegens * LogFilter_PlayerStats
This commit is contained in:
parent
e83aa1ba9d
commit
722135b326
89 changed files with 996 additions and 997 deletions
|
|
@ -111,7 +111,7 @@ void WorldSession::HandleGMTicketCreateOpcode( WorldPacket & recv_data )
|
|||
recv_data.read_skip<uint32>(); // unk3, 0
|
||||
recv_data.read_skip<uint32>(); // unk4, 0
|
||||
|
||||
sLog.outDebug("TicketCreate: map %u, x %f, y %f, z %f, text %s", map, x, y, z, ticketText.c_str());
|
||||
DEBUG_LOG("TicketCreate: map %u, x %f, y %f, z %f, text %s", map, x, y, z, ticketText.c_str());
|
||||
|
||||
if(sTicketMgr.GetGMTicket(GetPlayer()->GetGUIDLow()) && !isFollowup)
|
||||
{
|
||||
|
|
@ -154,7 +154,7 @@ void WorldSession::HandleGMSurveySubmit( WorldPacket & recv_data)
|
|||
// GM survey is shown after SMSG_GM_TICKET_STATUS_UPDATE with status = 3
|
||||
uint32 x;
|
||||
recv_data >> x; // answer range? (6 = 0-5?)
|
||||
sLog.outDebug("SURVEY: X = %u", x);
|
||||
DEBUG_LOG("SURVEY: X = %u", x);
|
||||
|
||||
uint8 result[10];
|
||||
memset(result, 0, sizeof(result));
|
||||
|
|
@ -171,12 +171,12 @@ void WorldSession::HandleGMSurveySubmit( WorldPacket & recv_data)
|
|||
recv_data >> unk_text; // always empty?
|
||||
|
||||
result[i] = value;
|
||||
sLog.outDebug("SURVEY: ID %u, value %u, text %s", questionID, value, unk_text.c_str());
|
||||
DEBUG_LOG("SURVEY: ID %u, value %u, text %s", questionID, value, unk_text.c_str());
|
||||
}
|
||||
|
||||
std::string comment;
|
||||
recv_data >> comment; // addional comment
|
||||
sLog.outDebug("SURVEY: comment %s", comment.c_str());
|
||||
DEBUG_LOG("SURVEY: comment %s", comment.c_str());
|
||||
|
||||
// TODO: chart this data in some way
|
||||
}
|
||||
|
|
@ -184,7 +184,7 @@ void WorldSession::HandleGMSurveySubmit( WorldPacket & recv_data)
|
|||
void WorldSession::HandleGMResponseResolve(WorldPacket & recv_data)
|
||||
{
|
||||
// empty opcode
|
||||
sLog.outDebug("WORLD: %s", LookupOpcodeName(recv_data.GetOpcode()));
|
||||
DEBUG_LOG("WORLD: %s", LookupOpcodeName(recv_data.GetOpcode()));
|
||||
|
||||
sTicketMgr.Delete(GetPlayer()->GetGUIDLow());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue