Join Room: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Jadbalout
No edit summary
imported>Jadbalout
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
[[Category:Navigation Handlers]]
[[Category:Navigation Handlers]]
The packet is sent by the client to the server requesting a user  be added to the room. In response, the server can deny the the client room if the room ID doesn't exist.
The packet is sent by the client to the server requesting a user  be added to the room. In response, the server can deny the the client room if the room ID doesn't exist. The client could also join a game. If he does, the packet form would change. Learn more about this in the coming soon page: Join Game Response.
If the client meets the other requirements; The server would send the jr packet with the room string. The server also sends the ap (ADD PLAYER) packet. Learn more about this packet in the coming soon page: Add Player.
== Examples ==
== Examples ==
{| class="wikitable"
{| class="wikitable"

Revision as of 20:43, 1 May 2015

The packet is sent by the client to the server requesting a user be added to the room. In response, the server can deny the the client room if the room ID doesn't exist. The client could also join a game. If he does, the packet form would change. Learn more about this in the coming soon page: Join Game Response. If the client meets the other requirements; The server would send the jr packet with the room string. The server also sends the ap (ADD PLAYER) packet. Learn more about this packet in the coming soon page: Add Player.

Examples

Client-side %xt%s%j#jr%1%800%644%243%
Server-side 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

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}