1.8 Changes
#9
Code:
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.


Attached Files Thumbnail(s)
   
Reply
Thanks given by:


Messages In This Thread
1.8 Changes - by daniel0916 - 02-03-2014, 01:37 AM
RE: 1.8 Changes - by daniel0916 - 02-03-2014, 05:04 AM
RE: 1.8 Changes - by xoft - 02-03-2014, 05:18 AM
RE: 1.8 Changes - by daniel0916 - 02-03-2014, 05:38 AM
RE: 1.8 Changes - by daniel0916 - 02-04-2014, 12:41 AM
RE: 1.8 Changes - by worktycho - 02-04-2014, 02:56 AM
RE: 1.8 Changes - by daniel0916 - 02-04-2014, 04:12 AM
RE: 1.8 Changes - by worktycho - 02-04-2014, 04:27 AM
RE: 1.8 Changes - by daniel0916 - 02-04-2014, 05:00 AM
RE: 1.8 Changes - by xoft - 02-04-2014, 05:04 AM
RE: 1.8 Changes - by daniel0916 - 02-05-2014, 03:00 AM
RE: 1.8 Changes - by FakeTruth - 02-05-2014, 07:03 AM
RE: 1.8 Changes - by daniel0916 - 02-05-2014, 04:05 PM
RE: 1.8 Changes - by FakeTruth - 02-05-2014, 11:07 PM
RE: 1.8 Changes - by xoft - 02-06-2014, 01:30 AM
RE: 1.8 Changes - by daniel0916 - 02-07-2014, 03:20 AM
RE: 1.8 Changes - by daniel0916 - 02-09-2014, 05:42 AM
RE: 1.8 Changes - by xoft - 02-09-2014, 06:55 AM
RE: 1.8 Changes - by tigerw - 02-09-2014, 07:05 AM
RE: 1.8 Changes - by xoft - 02-09-2014, 07:07 AM
RE: 1.8 Changes - by daniel0916 - 02-09-2014, 08:41 PM



Users browsing this thread: 3 Guest(s)