From 8758c757bdb845801bea2d722378f6ff1379d056 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 5 Mar 2013 20:49:44 +0000 Subject: ProtoProxy: log PlayerPositionLook packet decoded data git-svn-id: http://mc-server.googlecode.com/svn/trunk@1260 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- ProtoProxy/Connection.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ProtoProxy/Connection.cpp b/ProtoProxy/Connection.cpp index 0f5963587..f1a6efbe4 100644 --- a/ProtoProxy/Connection.cpp +++ b/ProtoProxy/Connection.cpp @@ -956,8 +956,10 @@ bool cConnection::HandleClientPlayerPositionLook(void) HANDLE_CLIENT_PACKET_READ(ReadBEFloat, float, Pitch); HANDLE_CLIENT_PACKET_READ(ReadChar, char, IsOnGround); Log("Received a PACKET_PLAYER_POSITION_LOOK from the client"); - - // TODO: list packet contents + Log(" Pos = {%.03f, %.03f, %.03f}", PosX, PosY, PosZ); + Log(" Stance = %.03f", Stance); + Log(" Y, P = %.03f, %.03f", Yaw, Pitch); + Log(" IsOnGround = %s", IsOnGround ? "true" : "false"); COPY_TO_SERVER(); return true; -- cgit v1.2.3