Difference between revisions of "Game Opcodes:Position Update"

From FFXIV Classic Wiki
Jump to: navigation, search
(Created page with "Client update giving the current position and movement state the player actor is in. This is sent at a regular interval. :; Opcode - 0x0CA :; Source - Client :; Data Size - 2...")
 
m (Just making a note of one of the unknowns)
 
(6 intermediate revisions by one other user not shown)
Line 15: Line 15:
 
! style="text-align: center; font-size: 14px;" | Description
 
! style="text-align: center; font-size: 14px;" | Description
 
|-
 
|-
| 0x00 || uint64 || 8 Bytes || mapID || The map file the client should load.
+
| 0x00 || uint64 || 8 Bytes || timestamp || The client's current timestamp.
 
|-
 
|-
 
| 0x08 || float || 4 Bytes || posX || The x-horizontal position of the player in world coordinates.
 
| 0x08 || float || 4 Bytes || posX || The x-horizontal position of the player in world coordinates.
Line 26: Line 26:
 
|-
 
|-
 
| 0x18 || uint16 || 2 Bytes || moveState || The [[move state]] the player is currently in.
 
| 0x18 || uint16 || 2 Bytes || moveState || The [[move state]] the player is currently in.
 +
|-
 +
| 0x1A ||      || 6 Bytes || unknown || (likely is a uint16 + uint32):  Values change in relation to mouse movement & interactions with the screen and various widgets.
 
|}
 
|}
  
 
== Notes ==
 
== Notes ==
  
:* The pong packet seems to control the rate at which this packet is sent.
+
:* The [[Game Opcodes:Pong|Pong]] packet seems to control the rate at which this packet is sent.
 
:* Data at the end is unknown for now.
 
:* Data at the end is unknown for now.
 
  
 
== Visual Layout ==
 
== Visual Layout ==
Line 45: Line 46:
 
| colspan="4" style="background:#C0E8A7" | '''posY'''
 
| colspan="4" style="background:#C0E8A7" | '''posY'''
 
|-
 
|-
 +
! 0x10
 
| colspan="4" style="background:#C0E8A7" | '''posZ'''
 
| colspan="4" style="background:#C0E8A7" | '''posZ'''
 
| colspan="4" style="background:#C0E8A7" | '''rotation'''
 
| colspan="4" style="background:#C0E8A7" | '''rotation'''
 
| colspan="2" style="background:#C0E8A7" | '''moveState'''
 
| colspan="2" style="background:#C0E8A7" | '''moveState'''
 
| colspan="6" style="background:#C0E8A7" | '''unknown'''
 
| colspan="6" style="background:#C0E8A7" | '''unknown'''
|-
 
! 0x10
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x20
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x30
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x40
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x50
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x60
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x70
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x80
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0x90
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
|-
 
! 0xA0
 
|  ||  ||  ||  || || || || || || || || || || || ||
 
 
|}
 
|}

Latest revision as of 23:57, 14 August 2022

Client update giving the current position and movement state the player actor is in. This is sent at a regular interval.

Opcode - 0x0CA
Source - Client
Data Size - 20 bytes
Requirements - None

Data

Offset Data Type Length Variable Description
0x00 uint64 8 Bytes timestamp The client's current timestamp.
0x08 float 4 Bytes posX The x-horizontal position of the player in world coordinates.
0x0C float 4 Bytes posY The vertical position of the player in world coordinates.
0x10 float 4 Bytes posZ The y-horizontal position of the player in world coordinates.
0x14 float 4 Bytes posZ The current rotation of the player.
0x18 uint16 2 Bytes moveState The move state the player is currently in.
0x1A 6 Bytes unknown (likely is a uint16 + uint32): Values change in relation to mouse movement & interactions with the screen and various widgets.

Notes

  • The Pong packet seems to control the rate at which this packet is sent.
  • Data at the end is unknown for now.

Visual Layout

0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x00 timestamp posX posY
0x10 posZ rotation moveState unknown