• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How does Habbo (shockwave-flash) communicate with servers?

Newbie Spellweaver
Joined
Feb 3, 2018
Messages
47
Reaction score
16
So I've had an idea for a while of writing a Habbo Hotel Retro server in node.js in order to expand my javascript knowledge and programming experience overall. I'm aware that an normal shockwave-flash habbo hotel client communicates over a TCP handle. I've got an idea of how to start but I'm unsure if that'd be the correct way. I'm not asking for any code, nor any things about "how to reverse engineer a software". I'm simply asking for how a client communicates with a server, and what 'packets' actually are.

Thank you.
 
Banned
Banned
Joined
Aug 25, 2009
Messages
431
Reaction score
190
The client connects through a TCP stream encrypted with RSA.

A packet is a bunch of bytes which the client is able to parse.

Packets always contain a Packet ID at the start.

Habbo change the Packet IDs every build to make it harder for us to upgrade our emulators to the latest client build.
BurakDev made a nice networking script in NodeJS at
 
Upvote 0
Back
Top