Join Room: Difference between revisions
Jump to navigation
Jump to search
imported>Jadbalout No edit summary |
imported>Lisured No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{PacketInfobox | ||
|title = Join Room | |||
The packet is sent by the client to the server requesting a user | |handler = j | ||
If the client meets the other requirements; | |name = jr | ||
}} | |||
The packet is sent by the client to the server requesting a user to be added to the room. In response, the server can deny the the client room if the room ID doesn’t exist. If the client meets the other requirements; the server would send the response packet with the room string. The server also sends the [[Add Player]] packet. | |||
Alternatively the client can join a room using a [[Join Game Response]] when joining a game. | |||
== Examples == | == Examples == | ||
{| | {{Examples | ||
|client = %xt%s%j#jr%1%800%644%243% | |||
|server = %xt%jr%35%800%101|Jadbalout|45|4|0|0|0|0|0|0|0|0|0|0|1|1|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false}% | |||
| | }} | ||
== Structure == | == Structure == | ||
Line 21: | Line 24: | ||
| align="center"| 101|Jadbalout|45|4|0|0|0|0|0|0|0|0|0|0|1|1|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false} | | align="center"| 101|Jadbalout|45|4|0|0|0|0|0|0|0|0|0|0|1|1|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false} | ||
|} | |} | ||
[[Category:Navigation Handlers]] |
Latest revision as of 18:33, 2 May 2015
Join Room | |
---|---|
Handler | j
|
Name | jr
|
The packet is sent by the client to the server requesting a user to be added to the room. In response, the server can deny the the client room if the room ID doesn’t exist. If the client meets the other requirements; the server would send the response packet with the room string. The server also sends the Add Player packet.
Alternatively the client can join a room using a Join Game Response when joining a game.
Examples
Client side | %xt%s%j#jr%1%800%644%243%
|
Server side | %xt%jr%35%800%101
|
Structure
Room ID | Room String |
---|---|
800 | 101|Jadbalout|45|4|0|0|0|0|0|0|0|0|0|0|1|1|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false} |