A list of the known Server to Client packets aka Game Client(GC
Structures
Here are the following packet content regarding the list:
GC Packet Character Add
- Header: 1 (0x01) Type: Constant
- Sequenced: True
- Description: A packet used to add a character instance
Name | Type | Size (bytes) | Description |
---|---|---|---|
vid | unsigned long | 8 | The virtual id of the character |
angle | float | 8 | The angle of the character |
x | long | 8 | The X position of the character |
y | long | 8 | The Y position of the character |
z | long | 8 | The Z position of the character |
type | unsigned char | 8 | The type of the character |
race | unsigned short | 8 | The race/sex of the character |
movementSpeed | unsigned char | 8 | The movement speed of the character |
attackSpeed | unsigned short | 8 | The attack speed of the character |
stateFlag | unsigned short | 1 | The state flag of the character |
affectFlags | unsigned long[2] | 16 | The affect flags of the character |
GC Packet Character Delete
- Header: 2 (0x02) Type: Constant
- Sequenced: True
- Description: A packet used to delete a character instance by virtual id
Name | Type | Size (bytes) | Description |
---|---|---|---|
vid | unsigned long | 8 | The virtual id of the character |
GC Packet Character Move
- Header: 3 (0x03) Type: Constant
- Sequenced: True
- Description: A packet used to move a character instance
Name | Type | Size (bytes) | Description |
---|---|---|---|
function | unsigned char | 1 | The function of the movement |
argument | unsigned char | 1 | The argument to the function |
rotation | unsigned char | 1 | The rotation of the character |
vid | unsigned long | 8 | The virtual id of the character |
x | long | 8 | The X position of the movement |
y | long | 8 | The Y position of the movement |
time | unsigned long | 8 | The time of the movement |
duration | unsigned long | 8 | The duration of the movement |
GC Packet Chat
- Header: 4 (0x04) Type: Constant
- Sequenced: True
- Description: A packet used to handle a new chat message
Name | Type | Size (bytes) | Description |
---|---|---|---|
size | unsigned short | 2 | The size of the message |
type | unsigned char | 1 | The type of the message |
vid | unsigned long | 8 | The virtual id of the sender(?) |
empire | unsigned char | 1 | The empire from where the message was sent |
message | char | 1012 (up to) | The chat message |
GC Packet Sync Position
- Header: 5 (0x05) Type: Constant
- Sequenced: True
- Description: A packet used to sync position
Name | Type | Size (bytes) | Description |
---|---|---|---|
vid (ordered, repeatable) | unsigned long | 8 | The virtual id of the entity |
x (ordered, repeatable) | long | 8 | The X position of the entity |
y (ordered, repeatable) | long | 8 | The Y position of the entity |
Report Doc