developer:legacy_protocol
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
developer:legacy_protocol [2025/03/08 17:46] – Legacy client info dump lunabat | developer:legacy_protocol [2025/03/12 11:24] (current) – [Legacy Protocol] Clarify packet types in messages bunnynabbit | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Sandpile is owned by furry weirdos do not play this | + | ====== Legacy Protocol ====== |
- | Mixamega supports porn sites and does not care if people are spreading the word about them in their website full of kids. | + | |
- | Mixamega has sent death threaths to a minor for being depressed and a furry. FURFWHEEL. | + | |
- | Mixamega is reviving a pedophile' | + | |
- | List goes on (Harrassment, | + | A networking protocol used by the legacy client/ |
+ | |||
+ | |||
+ | ===== Data types ===== | ||
+ | All data types are little-endian. | ||
+ | ^ Type ^ Format | ||
+ | | String | ||
+ | | Byte | 8-bit byte | | ||
+ | | Float | 32-bit float | | ||
+ | | Boolean | ||
+ | | Uint32 | ||
+ | | Varint | ||
+ | ===== Server to client ===== | ||
+ | ==== Login (0x01) ==== | ||
+ | Used for identifying the player logging in and creates the brick loading message. | ||
+ | ^ Type ^ Description | ||
+ | | Uint32 | ||
+ | | Uint32 | ||
+ | | Uint32 | ||
+ | | String | ||
+ | | Boolean | ||
+ | | Byte | Membership type | | ||
+ | | Uint32 | ||
+ | | String | ||
+ | |||
+ | ==== Message (0x06) ==== | ||
+ | Appends a message to the chat log. | ||
+ | ^ Type ^ Description | ||
+ | | String | ||
+ | ==== Set brick attribute (0x09) ==== | ||
+ | ^ Type ^ Description | ||
+ | | Uint32 | ||
+ | | String | ||
+ | === Type: pos === | ||
+ | Sets position of brick. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Float | X position | ||
+ | | Float | Y position | ||
+ | | Float | Z position | ||
+ | === Type: rot === | ||
+ | Old method of setting brick rotation. Only allows Z rotation to be set. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Uint32 | Z rotation | ||
+ | === Type: rot2 === | ||
+ | Sets brick rotation. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Int32 | X rotation | ||
+ | | Int32 | Y rotation | ||
+ | | Int32 | Z rotation | ||
+ | === Type: scale === | ||
+ | Sets brick scale. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Uint32 | X scale | | ||
+ | | Uint32 | Y scale | | ||
+ | | Uint32 | Z scale | | ||
+ | Time is in milliseconds. | ||
+ | === Type: kill === | ||
+ | Activates physics on brick and remove brick from world after set time. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Uint32 | Time | | ||
+ | Time is in milliseconds. | ||
+ | === Type: destroy === | ||
+ | Deletes brick from world. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Float | Color | | ||
+ | === Type: col === | ||
+ | Sets color of brick. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Float | Color | | ||
+ | === Type: alpha === | ||
+ | Sets transparency of brick. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Float | Alpha | | ||
+ | Alpha value ranges from 0 to 1. | ||
+ | === Type: lightcol === | ||
+ | Sets light color of brick. | ||
+ | ^ Type ^ Description ^ | ||
+ | | Uint32 | ||
+ | === Type: lightrange === | ||
+ | Sets light range of brick. | ||
+ | ^ Type ^ Description | ||
+ | | Uint32 | ||
+ | === Type: model === | ||
+ | Sets mesh on brick. | ||
+ | ^ Type ^ Description | ||
+ | | String | ||
+ | | String | ||
+ | A mesh UUID of '' | ||
+ | === Type: clickable === | ||
+ | Sets clickable status on brick. | ||
+ | ^ Type ^ Description | ||
+ | | Boolean | Clickable enabled | | ||
+ | | Uint32 | ||
+ | === Type: collide === | ||
+ | Sets collision of brick. | ||
+ | ^ Type ^ Description | ||
+ | | Boolean | Collision enabled | | ||
+ | === Type: global === | ||
+ | Moves brick to the internal global cluster model. | ||
+ | ==== Delete bricks (0x10) ==== | ||
+ | Delete bricks from the world. | ||
+ | ==== Create bricks (0x11) ==== | ||
+ | Loads bricks into the world. | ||
+ | ==== Clear world (0x0E) ==== | ||
+ | Deletes all bricks from the world. No message data is specified. | ||
+ | ==== Brick model (0x14) ==== | ||
+ | <WRAP todo> | ||
+ | What happens if a brick model is defined for an already existing mesh ID? Knowing what happens may be useful information. | ||
+ | </ | ||
+ | Defines a mesh made out of bricks to the mesh cache. The model can then be used as a brick model or a hat by using the newly defined mesh ID. | ||
+ | ^ Type ^ Description | ||
+ | | String | ||
+ | | Uint32 | ||
+ | Bricks are defined for the number of bricks in model. | ||
+ | ^ Type ^ Description | ||
+ | | Float | X position | ||
+ | | Float | Y position | ||
+ | | Float | Z position | ||
+ | | Float | X scale | | ||
+ | | Float | Y scale | | ||
+ | | Float | Z scale | | ||
+ | | Int32 | X rotation | ||
+ | | Int32 | Y rotation | ||
+ | | Int32 | Z rotation | ||
+ | | Uint32 | ||
+ | | Float | Alpha | | ||
+ | ===== Client to server ===== | ||
+ | todo |
developer/legacy_protocol.1741452417.txt.gz · Last modified: 2025/03/08 17:46 by lunabat