Join Room: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Jadbalout
No edit summary
imported>Lisured
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Stub}}
{{PacketInfobox
[[Category:Navigation Handlers]]
|title = 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 ==
== Examples ==
{| class="wikitable"
{{Examples
| Client-side
|client = %xt%s%j#jr%1%800%644%243%
| %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}%
|-
}}
| Server-side
| %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 14: Line 19:
|-
|-
! scope="col"| Room ID
! scope="col"| Room ID
! scope="col"| Player String
! scope="col"| Room String
|-
|-
| align="center"| 800
| align="center"| 800
| 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}