*Remove some log spams. Add more info for some logs.
--HG-- branch : trunk
This commit is contained in:
@@ -69,7 +69,7 @@ HomeMovementGenerator<Creature>::Update(Creature &owner, const uint32& time_diff
|
|||||||
// restore orientation of not moving creature at returning to home
|
// restore orientation of not moving creature at returning to home
|
||||||
if(owner.GetDefaultMovementType()==IDLE_MOTION_TYPE)
|
if(owner.GetDefaultMovementType()==IDLE_MOTION_TYPE)
|
||||||
{
|
{
|
||||||
sLog.outDebug("Entering HomeMovement::GetDestination(z,y,z)");
|
//sLog.outDebug("Entering HomeMovement::GetDestination(z,y,z)");
|
||||||
owner.SetOrientation(ori);
|
owner.SetOrientation(ori);
|
||||||
WorldPacket packet;
|
WorldPacket packet;
|
||||||
owner.BuildHeartBeatMsg(&packet);
|
owner.BuildHeartBeatMsg(&packet);
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ void WorldSession::HandlePetitionShowSignOpcode(WorldPacket & recv_data)
|
|||||||
QueryResult *result = CharacterDatabase.PQuery("SELECT type FROM petition WHERE petitionguid = '%u'", petitionguid_low);
|
QueryResult *result = CharacterDatabase.PQuery("SELECT type FROM petition WHERE petitionguid = '%u'", petitionguid_low);
|
||||||
if(!result)
|
if(!result)
|
||||||
{
|
{
|
||||||
sLog.outError("any petition on server...");
|
sLog.outError("Petition %u is not found for player %u %s", GUID_LOPART(petitionguid), GetPlayer()->GetGUIDLow(), GetPlayer()->GetName());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Field *fields = result->Fetch();
|
Field *fields = result->Fetch();
|
||||||
@@ -462,7 +462,7 @@ void WorldSession::HandlePetitionSignOpcode(WorldPacket & recv_data)
|
|||||||
|
|
||||||
if(!result)
|
if(!result)
|
||||||
{
|
{
|
||||||
sLog.outError("any petition on server...");
|
sLog.outError("Petition %u is not found for player %u %s", GUID_LOPART(petitionguid), GetPlayer()->GetGUIDLow(), GetPlayer()->GetName());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -20162,7 +20162,7 @@ void Player::HandleFall(MovementInfo const& movementInfo)
|
|||||||
{
|
{
|
||||||
// calculate total z distance of the fall
|
// calculate total z distance of the fall
|
||||||
float z_diff = m_lastFallZ - movementInfo.z;
|
float z_diff = m_lastFallZ - movementInfo.z;
|
||||||
sLog.outDebug("zDiff = %f", z_diff);
|
//sLog.outDebug("zDiff = %f", z_diff);
|
||||||
|
|
||||||
//Players with low fall distance, Feather Fall or physical immunity (charges used) are ignored
|
//Players with low fall distance, Feather Fall or physical immunity (charges used) are ignored
|
||||||
// 14.57 can be calculated by resolving damageperc formular below to 0
|
// 14.57 can be calculated by resolving damageperc formular below to 0
|
||||||
|
|||||||
Reference in New Issue
Block a user