02-04-2014, 05:00 AM
Code:
And in the Protocol17x.h:
The error from the client is in the attachment.
cPacketizer Pkt(*this, 0x05); // Spawn Position packet Pkt.WriteLong(((int)a_World.GetSpawnX() & 0x3FFFFFF) << 38 | ((int)a_World.GetSpawnY() & 0xFFF) << 26 | ((int)a_World.GetSpawnZ() & 0x3FFFFFF));
And in the Protocol17x.h:
void WriteLong(long a_Value) { m_Out.WriteBEInt64(a_Value); }
The error from the client is in the attachment.