Welcome to PenUltima Online. Click to login or register.
Downloadable Version (2021-10-20)

Description

Packet Name: Update Statics (God Client)
Last Modified: 2009-03-02 08:16:01
Modified By: Turley


Packet: 0x3F
Sent By: Server
Size: variable


Packet Build
BYTE[1] Cmd
BYTE[2] Length
BYTE[4] 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).
BYTE[4] # of static items in grid.
BYTE[4] "Extra" Value in statics index file.
Item Loop:

  • BYTE[2] Item ID
  • BYTE[1] Item's X pos relative to top left corner of grid.
  • BYTE[1] Item's Y pos relative to top left corner of grid.
  • BYTE[1] Item's Z pos.
  • BYTE[2] Item's Hue.


Subcommand Build
N/A


Notes
N/A

Packets