Core/Logs: Log full guid instead of just low guid, part 2

This commit is contained in:
Giacomo Pozzoni
2020-04-05 14:28:24 +02:00
committed by jackpoz
parent 4f88be63e7
commit 3def52c1c4
33 changed files with 263 additions and 273 deletions

View File

@@ -98,8 +98,8 @@ void WorldSession::HandleMoveWorldportAck()
player->SendInitialPacketsBeforeAddToMap();
if (!player->GetMap()->AddPlayerToMap(player))
{
TC_LOG_ERROR("network", "WORLD: failed to teleport player %s (%d) to map %d (%s) because of unknown reason!",
player->GetName().c_str(), player->GetGUID().GetCounter(), loc.GetMapId(), newMap ? newMap->GetMapName() : "Unknown");
TC_LOG_ERROR("network", "WORLD: failed to teleport player %s %s to map %d (%s) because of unknown reason!",
player->GetName().c_str(), player->GetGUID().ToString().c_str(), loc.GetMapId(), newMap ? newMap->GetMapName() : "Unknown");
player->ResetMap();
player->SetMap(oldMap);
player->TeleportTo(player->m_homebindMapId, player->m_homebindX, player->m_homebindY, player->m_homebindZ, player->GetOrientation());