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 Aug 5, 2018

[RoomUserTalk] [f9fded0fea632758324e629ea60a3f87]
Receive speech bubble in a room
Direction: Incoming
Structure: {l}{u:326}{i:0}{s:hi}{i:0}{i:0}{i:0}{i:0}

i:Room entity index
s:Message
i:
i:Speech bubble type (e.g. color)
i:
i: Speech bubble index (increases with every speech bubble in the room)

@xnumad
Copy link
Author

xnumad commented Jul 7, 2019

[RemoveFloorItem] [4c8f399778e5901bd951fb01f322677a]
Direction: Incoming

s:itemId
s:(always 3?) random letters
i:0

@xnumad
Copy link
Author

xnumad commented Jul 7, 2019

[HopperTeleport] [39f55a7c92eca6840b66b3fd1027f160]
Direction: Outgoing
i:type
	1
		val12_hopper1
		val12_hopper2
		val12_hopper_3
	4
		horse_hopper
	6
		vip_hopper 
	7
		gate_of_eternity
	8
		hween12_costume_hopper
//costume_gate furniture (https://www.habbo.de/hotel?room=21391004 https://www.habbo.com/hotel?room=71087563) is not a hopper even though it returns a generic alert message box with the external_flash_variable costumehopper.costumerequired which in its value also contains "To use this Hopper". This presumably is because both hween12_costume_hopper and costume_gate were made at the same time (both furniline habboween_2012) and both included the effect condition so the generic alert message box pointing out the condition was used for both. If you enable any of the two pumpkin effects and enter the gate, it just opens. Furthermore, if the room containing it is loaded, you can't hop to it with this packet.
i:any

https://www.habbo.com/hotel?room=68772042

@xnumad
Copy link
Author

xnumad commented Jul 9, 2019

Direction: Incoming
[ClubData] [84f15278eb7f617b085f4261b39a2334]

s:club_habbo //productName
i:1
i:0
i:0
i:3
b:true
b:true
i:0
i:3
i:remaining club membership time in seconds
optional i:2942

@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