User Tools

Site Tools


developer:legacy_protocol

This is an old revision of the document!


Legacy Protocol

A networking protocol used by the legacy client/server. It is built on the message format of the Http Dll 2 GameMaker extension. Every message may be optionally compressed with deflate. Client and server will always attempt to decompress messages.

Data types

All data types are little-endian.

Type Format
String Null terminated UTF-8
Byte 8-bit byte
Float 32-bit float
Boolean 8-bit byte, non-zero meaning true
Uint32
Varint todo

Server to client

Login (0x01)

Used for identifying the player logging in and creates the brick loading message.

Type Description
Uint32 Net ID of player
Uint32 Brick count of world
Uint32 User ID of player
String Username of player
Boolean Is admin
Byte Membership type
Uint32 Set ID
String Set Name

Message (0x06)

Appends a message to the chat log.

Type Description
String Message

Client to server

todo

developer/legacy_protocol.1735443108.txt.gz · Last modified: 2024/12/29 04:31 by bunnynabbit