Difference between revisions of "Game Opcodes:SetTargetTime"
From FFXIV Classic Wiki
(→Notes) |
(Documented wtf this was used for finally.) |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | This calls the "_onReceiveTimingPacket" function in any actor script that overrides it, providing the sent data. Only the Player actor responds to this packet. It calls a function in desktopWidget called "showGauge()" however this function doesn't do anything. It was formerly used in the Crafting minigame to set the timer gauge that was used to make the player choose an action within the given time set. | |
:; Opcode - 0x138 | :; Opcode - 0x138 | ||
Line 14: | Line 14: | ||
! width="60px" style="text-align: center; font-size: 14px;" | Variable | ! width="60px" style="text-align: center; font-size: 14px;" | Variable | ||
! style="text-align: center; font-size: 14px;" | Description | ! style="text-align: center; font-size: 14px;" | Description | ||
+ | |- | ||
+ | | 0x00 || uint32 || 4 Bytes || Timestamp || Current timestamp | ||
|- | |- | ||
| 0x00 || uint32 || 4 Bytes || unknown1 || | | 0x00 || uint32 || 4 Bytes || unknown1 || | ||
|- | |- | ||
| 0x00 || uint32 || 4 Bytes || unknown2 || | | 0x00 || uint32 || 4 Bytes || unknown2 || | ||
− | |||
− | |||
|} | |} | ||
== Notes == | == Notes == | ||
− | + | * This is a useful packet to trigger hooked lua calls since desktopWidget.showGauge() does not do anything. | |
== Visual Layout == | == Visual Layout == | ||
Line 35: | Line 35: | ||
|- | |- | ||
! 0x00 | ! 0x00 | ||
+ | | colspan="4" style="background:#CEE0F2" | '''Timestamp''' | ||
| colspan="4" style="background:#8FA6E8" | '''unknown1''' | | colspan="4" style="background:#8FA6E8" | '''unknown1''' | ||
− | | colspan="4" style="background:# | + | | colspan="4" style="background:#C0E8A7" | '''unknown2''' |
− | |||
| 00 || 00 || 00 || 00 | | 00 || 00 || 00 || 00 | ||
|} | |} | ||
[[Category:Unfinished]] | [[Category:Unfinished]] |
Latest revision as of 20:43, 1 April 2020
This calls the "_onReceiveTimingPacket" function in any actor script that overrides it, providing the sent data. Only the Player actor responds to this packet. It calls a function in desktopWidget called "showGauge()" however this function doesn't do anything. It was formerly used in the Crafting minigame to set the timer gauge that was used to make the player choose an action within the given time set.
- Opcode - 0x138
- Source - Server
- Data Size - 0x10 bytes
- Requirements - None
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | uint32 | 4 Bytes | Timestamp | Current timestamp |
0x00 | uint32 | 4 Bytes | unknown1 | |
0x00 | uint32 | 4 Bytes | unknown2 |
Notes
- This is a useful packet to trigger hooked lua calls since desktopWidget.showGauge() does not do anything.
Visual Layout
Game Opcode layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | Timestamp | unknown1 | unknown2 | 00 | 00 | 00 | 00 |