Game Opcodes:Set Actor Position

From FFXIV Classic Wiki
Revision as of 10:23, 29 July 2018 by Ioncannon (talk | contribs) (Created page with "Sets the spawn parameters for an actor that was just instantiated. :; Opcode - 0x0CE :; Source - Server :; Data Size - 48 bytes :; Requirements - None == Data == {| class="...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sets the spawn parameters for an actor that was just instantiated.

Opcode - 0x0CE
Source - Server
Data Size - 48 bytes
Requirements - None

Data

Offset Data Type Length Variable Description
0x00 uint32 4 Bytes unknown
0x04 uint32 4 Bytes actorID The actor ID that this applies to.
0x08 float 4 Bytes xPosition The X position of the spawning actor.
0x0C float 4 Bytes yPosition The Y position of the spawning actor.
0x10 float 4 Bytes zPosition The Z position of the spawning actor.
0x14 float 4 Bytes rotation The rotation of the spawning actor.
0x24 uint16 2 Bytes spawnType The animation to play when this actor spawns.
0x26 uint16 2 Bytes isZoningPlayer This has to be 1 if the actor is a player being zoned.


markerData - Index length 40 bytes, 16 indices max
Offset Data Type Length Variable Description
0x00 uint32 4 Bytes playerID The ID of a player in the group
0x08 uint32 4 Bytes unknown Each player has a different value assigned here. Unknown use case
0x14 uint32 4 Bytes playerX X position of the player. Floating point value.
0x18 uint32 4 Bytes playerY Y position of the player. Floating point value.
0x1C uint32 4 Bytes playerZ Z position of the player. Floating point value.
0x20 uint32 4 Bytes playerO Orientation of the player. Floating point value.

Notes

  • Sent from the server at a regular interval, likely due to client not being programmed to send a request for such data when the player opens the map.


Visual Layout

Packet Data layout
0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x00 playerGroupID groupType 00 00 00 00
0x10 markerData
0x20
0x30
0x40
0x50
0x60
0x70
0x80
0x90
0xA0
0xB0
0xC0
0xD0
0xE0
0xF0
0x100
0x120
0x130
0x140
0x150
0x160
0x170
0x180
0x190
0x1A0
0x1B0
0x1C0
0x1D0
0x1E0
0x1F0
0x200
0x210
0x220
0x230
0x240
0x250
0x260
0x270
0x280
0x290 numEntries 00 00 00 00


markerData layout
0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x00 playerID[0] 00 00 00 00 unknown[0] 00 00 00 00
0x10 00 00 00 00 playerX[0] playerY[0] playerZ[0]
0x20 playerO[0] 00 00 00 00