Full Login

From Club Penguin Protocol
Revision as of 21:28, 28 February 2016 by imported>Valwex
Jump to navigation Jump to search

Une connexion complète sur Club Penguin nécessite appels via l'API SmartFoxServer. Ceux-ci sont nécessaires pour s'authentifier avant que nous puissions réellement tout envoyer Standard Packets. Ceux-ci sont effectuées à l'aide de XML Packets

API Verification

First, we must send an Version Check packet to the server, which returns a API Response.

Random Key

Before we can login, for verification purposes, we need to generate a random key. This ensures login requests cannot be resent to spoof a login. Read the Random Key page.

Login Request

And finally, we send a Login Request. The server will send out a response, or an error. You can probably guess which one means which.

Finally, we can send Standard Packets (and some XML Packets too!)