chraft/c-raft — Issue #124: Client ignore the spawn point location for few moments
Author: Gremlin13
Created: 2011-10-26 16:44:13+00:00
State: open

The bug is that the client have its own mind about where he should be spawned.
Prolly the issue is in SendLoginSequence() method (Client.Send.cs, line 284). According to [Protocol FAQ] ((http://mc.kev009.com/Protocol_FAQ#What.27s_the_normal_login_sequence_for_a_client.3F) the initial position have to be send only when all the rest packets were received by the client. Client will respond with the same position.
In fact we send the packets to the client not in a strict order (don't know is it important tho) and the client always respond with the position X = 8.5, Y = 65, Z = 8.5. Few packets ago he sends a proper position and everything looks fine.
As a result - client suffocate for few moments. Also it could cause other bugs.