This is a project dedicated to reverse engineering the network protocol of the popular (but now defunct) online game Club Penguin. It attempts to document all of the relevant network messages in their entirety as well as the general control flow of the game server(s).
This documentation is separated into two distinct branches/versions: AS2 and AS3 - the names represent the original protocol and when the protocol underwent major changes between 2008 and 2012, respectively.
The Club Penguin network protocol revolves around a string-based packet format. The client sends extra precursory information with each packet while the server sends (generally) shorter messages in response. The login scheme also makes use of XML for a few initial checks, but the vast majority of network operations use this format (the game server format, or SmartFoxServer format).