(11-08-2011, 05:55 AM)rs2k Wrote: Where's the error at? UI don't see any sort of rounding in cPacket_BlockPlace. It just reads the packet and puts the information it into a variable as far as I can tell.
I also was looking for rounding but it's just not there (could it be client bug? *notch coding*)
Put at case E_BLOCK_PLACE in cClientHandle, after cPacket_BlockPlace* PacketData = reinterpret_cast<cPacket_BlockPlace*>(a_Packet);
Code:
printf(" Placed block at %d, %d, %d\n", PacketData->m_PosX, PacketData->m_PosY, PacketData->m_PosZ);