Difference between revisions of "Game Opcodes:Set Dream Result (Required for wakeup)"
From FFXIV Classic Wiki
(→Dream Codes) |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
:; Source - Server | :; Source - Server | ||
:; Data Size - 8 bytes | :; Data Size - 8 bytes | ||
− | :; Requirements - | + | :; Requirements - Must be sent before player bind script. Bed needs to be spawned or it will get stuck forever loading. |
== Data == | == Data == |
Latest revision as of 10:53, 27 July 2019
Used to handle waking up in the inn. Something is required to cause it to work as it's not working in 2019 but did in 2015.
- Opcode - 0x1A7
- Source - Server
- Data Size - 8 bytes
- Requirements - Must be sent before player bind script. Bed needs to be spawned or it will get stuck forever loading.
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | byte | 1 Bytes | dreamCode | Sets the dream result; see below. |
0x01 | byte | 1 Bytes | innCode | Sets what inn this dream is happening. Used to configure the nightmare and quest dreams. 0: Limsa, 1: Gridania, 2: Uldah. |
Dream Codes
Code | Description | Result |
---|---|---|
20 | Nael Van Darnus killing your friends nightmare (innCode changes result). | Most likely spawn the character after with 0x18 for the "You feel unsettled after the nightmare..." msg. |
01 | First Hildibrand quest | Used to start the quest In Plain Sight (innCode changes cutscene) |
02 | Second Hildibrand quest | Used to start the quest Prophecy Inspection (innCode changes cutscene) |
21 | You feel invigorated after a sound night's sleep. | Receive Hourglass Biscuit/Mizzenmast Biscuit/Roost Biscuit |
22 | You had a vivid dream that you were incubating an enormous egg... | Receive Boiled Egg |
23 | You had a vivid dream of sitting at a campfire by a bubbling brook... | Receive Grilled Carp |
24 | You had a vivid dream of running through vast fields in the company of cats... | Receive Meat Miq'abob |
25 | You had a horrifying nightmare of being turned into a biscuit by an evil sorcerer... | Receive Ginger Cookie |
26 | You had a vivid dream of seeing the light of succor shining down from the heavens... | Receive Potion |
27 | You had a vivid dream of being borne aloft upon magical wings... | Receive Ether |
28 | You had a vivid dream that a crystal fell from your hands and shattered upon the ground... | Receive 5x Crystal Shards |
29 | You had a vivid dream that a crystal fell from your hands and shattered upon the ground... | Receive 5x Crystal Shards |
30 | You had a vivid dream that a crystal fell from your hands and shattered upon the ground... | Receive 5x Crystal Shards |
31 | You had a vivid dream that a crystal fell from your hands and shattered upon the ground... | Receive 5x Crystal Shards |
32 | You had a vivid dream that a crystal fell from your hands and shattered upon the ground... | Receive 5x Crystal Shards |
33 | You had a vivid dream that a crystal fell from your hands and shattered upon the ground... | Receive 5x Crystal Shards |
35 | You feel somewhat refreshed. |
Visual Layout
Packet Data layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | dreamCode | innCode | 00 | 00 | 00 | 00 | 00 | 00 |