Difference between revisions of "Pocket Edition FAQ"
Jump to navigation
Jump to search
(→Connecting a server: more info) |
m (→Server searching: ocd) |
||
Line 7: | Line 7: | ||
=== Server searching === | === Server searching === | ||
#'''C->B''' 0x02 ID_UNCONNECTED_PING_OPEN_CONNECTIONS | #'''C->B''' 0x02 ID_UNCONNECTED_PING_OPEN_CONNECTIONS | ||
− | #'''S->C''' | + | #'''S->C''' 0x1C ID_UNCONNECTED_PONG |
+ | |||
=== Connecting a server === | === Connecting a server === | ||
#'''C->S''' 0x05 ID_OPEN_CONNECTION_REQUEST_1 (different packet sizes until a correct response is sent) | #'''C->S''' 0x05 ID_OPEN_CONNECTION_REQUEST_1 (different packet sizes until a correct response is sent) |
Revision as of 04:25, 6 December 2012
Normal Login Sequence
C = Client S = Server B = Broadcast
Server searching
- C->B 0x02 ID_UNCONNECTED_PING_OPEN_CONNECTIONS
- S->C 0x1C ID_UNCONNECTED_PONG
Connecting a server
- C->S 0x05 ID_OPEN_CONNECTION_REQUEST_1 (different packet sizes until a correct response is sent)
- S->C 0x06 ID_OPEN_CONNECTION_REPLY_1
- C->S 0x07 ID_OPEN_CONNECTION_REQUEST_2
- S->C 0x08 ID_OPEN_CONNECTION_REPLY_2
- C->S 0x09 DATA ClientConnect
- S->C 0x10 DATA
- C->S 0x13 DATA
- C->S 0x82 DATA Login (sends username)
- S->C 0x83 DATA LoginStatus
- S->C 0x87 DATA StartGame (send seed and spawn position)
- C Generates base map with seed
- C->S 0x84 DATA Ready (client spawns)