How does a Habbo CMS "pass" the logged "session" users information (username, coins....) to the emulator, so the user can access/log in the client and play?
Could somebody explain that with an example (if possible)?
It's done through swf and sso ticket,
php generates sso ticket and updates in database.
javascript passes sso ticket parameter to swf .
swf passes sso ticket to emulator along with packets.
emulator checks that sso ticket in database, gets every data from database related to that user and uses them accordingly.
Personally, if you already have a working cms, just copy the client.php into the skin you wanna use, and change the link in client.php app/tpl/skins/to the skin of the old cms if it says {skin} then that should do it, obviously this isnt something you probably wanna do but its a suggestion only really done that in rev dont know about other content managment systems,