Skip to content

Instantly share code, notes, and snippets.

@xnumad
Last active December 21, 2020 12:30
Show Gist options
  • Save xnumad/0dedea4184f4d0b20019326c26baf2f8 to your computer and use it in GitHub Desktop.
Save xnumad/0dedea4184f4d0b20019326c26baf2f8 to your computer and use it in GitHub Desktop.
Collection or library of Habbo packet structures

Outdated, refer to the client source code instead: https://github.com/xnumad/HabboSwfOpenSource

This collection of packet structures for the game Habbo is intended to be an extension of Deadman's existing packet structure collection at https://www.sngforum.info/showthread.php?tid=5513.

I did not commit the newly found structures of packets to his thread in the forum because I think having it here is more suitable; you can easily add your own packet structures by commenting (or forking, but I don't know if that's good for this case) and don't have to wait for your packet structure being added to the collection by a maintainer.

This however does not reach my intended goal to have all packet structures collected by many contributors in a central, single, clear and overseeable place, but I do not know of any better way to achieve my goal. (A GitHub repository may be one but I almost have no experience with these and they seem to be made for multiple files. JSON maybe is also a good way to store these and then parse the information into a good UI.) If you have any idea or suggestion for this, feel free to write a comment.

Thanks, tonmAr (xnumad)

@xnumad
Copy link
Author

xnumad commented Jul 12, 2019

Direction: Incoming
[RoomUserEffect] [379974c2501be47ab1ae749f3cc2453a]
i:roomUserIndex
i:effectId
i:0

@xnumad
Copy link
Author

xnumad commented Jul 12, 2019

Direction: Incoming
[EffectsListAdd] [c158db8c0e60c1d02bc261558bf956b2]
i:effectId
i:1
i:2592000
b:true

Direction: Incoming
[EffectsListEffectEnable] [056ea2702e67687b4b1cf320d8a79775]
i:effectId
i:2592000
b:true

@xnumad
Copy link
Author

xnumad commented Jul 13, 2019

[UserActivityTracking] [3ee5fd5dfa15f86da55b41e9f8eba22e]

s:category
s:can be anything
s:action
s:can be anything
i:can be anything

Achievements in category "Learn about Habbo"
{s:InterfaceExplorer}{s:open}{s:room.filter.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:select}{s:room.settings.doormode.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:room.settings.walkthrough.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:room.settings.chat.scrollspeed.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:room.settings.chat.floodfilter.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:room.settings.chat.hearrange.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:avatar.ignore.hover}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:avatar.mute.hover}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:avatar.kick.hover}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:avatar.ban.hover}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:forum.can.read.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:forum.can.post.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:forum.can.start.thread.seen}{s:}{i:0}
{s:InterfaceExplorer}{s:hover}{s:forum.can.moderate.seen}{s:}{i:0}

@xnumad
Copy link
Author

xnumad commented Jul 13, 2019

[UserDuckets] [91507af8c7d327d276fbacbc4573b4ea]
Direction: Incoming

i:current amount of Duckets
i:difference to last amount (can be anything)
i:must be 0

@xnumad
Copy link
Author

xnumad commented Jul 14, 2019

[Report] [240b42b9d8229e9caa0beae348e4589f]
Direction: Outgoing

s:reporter_reason_description
i:report_category
i:userId
i:roomId
i:amount of following chat messages (selected by the reporter), for each
	i:userId of the user who said the message (always the reported user)
	s:message text (UTF-8)

@xnumad
Copy link
Author

xnumad commented Aug 1, 2019

[RoomThickness] [9d7412f604056fe0c05a08b05f2ce417]
Direction: Incoming

b:hide walls
i:wall thickness
i:floor thickness

thickness is -2 to 1 (thinnest/thin/normal/thick)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment