Difference between revisions of "Game Opcodes:Set Actor Speeds"

From FFXIV Classic Wiki
Jump to: navigation, search
(Move States)
Line 36: Line 36:
 
== Move States ==
 
== Move States ==
  
Only four states have been discovered. They correspond to the same value given by the [[]] and [[]] packets.
+
Only four states have been discovered. They correspond to the same value given by the [[]] and [[Game_Opcodes:Position_Update]] packets.
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"

Revision as of 14:42, 31 July 2018

Sets the speed of all moveStates. The packet is strangely large, allowing multiple states to be updated at once. However because there are only four known states (so far), it's mostly wasted space.

Opcode - 0x0D0
Source - Server
Data Size - 0x88 bytes
Requirements - None

Entry

Offset Data Type Length Variable Description
0x00 float 4 Bytes speedValue The speed for this specific moveState.
0x04 uint32 4 Bytes moveState The moveState being modified.

Data

Offset Data Type Length Variable Description
0x00 entry 0x80 Bytes speedEntries Up to 16 entries that can be updated.
0x80 uint32 4 Bytes numEntries The number of entries being updated.

Move States

Only four states have been discovered. They correspond to the same value given by the [[]] and Game_Opcodes:Position_Update packets.

State Name Retail PC Actor Value
0x00 Stopped 0.0
0x01 Walking 2.0
0x02 Running 5.0
0x03 Active 5.0

Visual Layout

Game Opcode layout
0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x00 data
0x10
0x20
0x30
0x40
0x50
0x60
0x70
0x80 numEntries 00 00 00 00 00 00 00 00 00 00 00 00