*Remove some log spams. Add more info for some logs.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-07 21:13:21 -05:00
parent 6a695043e5
commit 46ecc1154b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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);
+2 -2
View File
@@ -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
View File
@@ -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