Difference between revisions of "Pocket Edition FAQ"

From wiki.vg
Jump to navigation Jump to search
Line 1: Line 1:
  
== Normal Login Sequence ==
+
See [[Pocket_Editon_Login]] for the login sequence for the MPCE protocol.
C = Client
 
S = Server
 
B = Broadcast
 
 
 
=== Server searching ===
 
#'''C->B''' <code>0x01</code> ID_UNCONNECTED_PING_OPEN_CONNECTIONS
 
#'''S->C''' <code>0x1C</code> ID_UNCONNECTED_PONG
 
 
 
=== Connecting a server ===
 
#'''C->S''' <code>0x05</code> ID_OPEN_CONNECTION_REQUEST_1 (different packet sizes until a correct response is sent)
 
#'''S->C''' <code>0x06</code> ID_OPEN_CONNECTION_REPLY_1
 
#'''C->S''' <code>0x07</code> ID_OPEN_CONNECTION_REQUEST_2
 
#'''S->C''' <code>0x08</code> ID_OPEN_CONNECTION_REPLY_2
 
#'''C->S''' <code>0x09</code> DATA ClientConnect
 
#'''S->C''' <code>0x10</code> DATA ServerHandshake
 
#'''C->S''' <code>0x13</code> DATA ClientHandshake
 
#'''C->S''' <code>0x82</code> DATA Login (sends username)
 
#'''S->C''' <code>0x83</code> DATA LoginStatus
 
#'''S->C''' <code>0x87</code> DATA StartGame (send seed and spawn position)
 
#'''C''' ''Generates base map with seed''
 
#'''C->S''' <code>0x84</code> DATA Ready (client spawns)
 
 
 
[[Category:Pocket Minecraft]]
 

Revision as of 13:40, 26 September 2014

See Pocket_Editon_Login for the login sequence for the MPCE protocol.