Full Login: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Valwex
No edit summary
imported>Lisured
Reverted edits by Valwex (talk) to last revision by Refractor
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:Stub}}
{{Template:Stub}}
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]]
A full login on Club Penguin requires several SmartFoxServer API calls. These are necessary to authenticate before we can actually send any [[Standard Packets]]. These are done using [[XML Packets]]


==Vérification de l'API==
==API Verification==


Premièrement, nous devons envoyer un packet [[Version Check]] au serveur, qui renvoie une [[API Response]].
First, we must send an [[Version Check]] packet to the server, which returns a [[API Response]].


==Clé aléatoire==
==Random Key==


Avant que nous puissions nous identifier, à des fins de vérification, nous avons besoin de générer une clé aléatoire. Cela garantit des demandes de connexion qui ne peuvent pas être présents pour usurper une connexion. Lire la page [[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.


==Demande de connexion==
==Login Request==


Et enfin, nous envoyons un [[Login Request]]. Le serveur envoie un [[Login Response|response]], ou une [[Error|error]]. You can probably guess which one means which.
And finally, we send a [[Login Request]]. The server will send out a [[Login Response|response]], or an [[Error|error]]. You can probably guess which one means which.


Enfin, nous pouvons envoyer un [[Standard Packets]] (and some [[XML Packets]] too!)
Finally, we can send [[Standard Packets]] (and some [[XML Packets]] too!)


[[Category:Protocol structure]]
[[Category:Protocol structure]]
[[Category:XML Packets]]
[[Category:XML Packets]]

Latest revision as of 10:41, 29 February 2016

A full login on Club Penguin requires several SmartFoxServer API calls. These are necessary to authenticate before we can actually send any Standard Packets. These are done using 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!)