Packet # | Packet Name | Length | Client | Server | Obsolete |
---|---|---|---|---|---|
0x3F | Update Statics | dynamic | X | ||
Data Type | Description | ||||
byte 0x3F | The packet number. | ||||
ushort Size | The size of the packet. | ||||
uint Block_Num | The block number of the statics grid. This can be derived by the following formula: Block_Num = X / 8 * MapHeight + Y / 8 MapHeight is equal to the total number of tiles in the Y-axis divided by eight (0x0200 for map0.mul). |
||||
uint Statics | The number of static items in the grid. | ||||
uint Extra | The "Extra" value in the statics index file. | ||||
loop { ushort Artwork byte X byte Y sbyte Z ushort Hue } |
This loop contains the information below for each map cell in the 8x8 grid. Artwork: The item's artwork id. X: The item's X-axis position relative to the top-left corner of the grid. Y: The item's Y-axis position relative to the top-left corner of the grid. Z: The item's Z-axis position. Hue: The item's hue. |
||||
Packet Description: This is sent by the server to update an 8x8 statics grid. For this packet to work, the server must be an Edit Server and the map width and height must be correctly specified in the Login Confirm packet. |