From 1a95399a7e12426a73882e12f2f7f5ffd6990113 Mon Sep 17 00:00:00 2001 From: NotAdam Date: Wed, 8 Aug 2018 22:57:16 +1000 Subject: [PATCH 1/2] update FFXIVIpcNpcSpawn --- src/common/Network/PacketDef/Zone/ServerZoneDef.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index 6524d7fc..ffa31310 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -481,7 +481,7 @@ struct FFXIVIpcNpcSpawn : FFXIVIpcBasePacket uint32_t u19; uint32_t directorId; uint32_t ownerId; - uint32_t u22; + uint32_t parentOwnerId; uint32_t hPMax; uint32_t hPCurr; uint32_t displayFlags; @@ -520,6 +520,11 @@ struct FFXIVIpcNpcSpawn : FFXIVIpcBasePacket uint8_t look[26]; char fcTag[6]; uint32_t unk30; + uint32_t unk31; + uint8_t bnpcPartSlot; + uint8_t unk32; + uint16_t unk33; + uint32_t unk34; }; /** From 06df14f41ab8a17a34f04aed28a6ef1b4b12a8fc Mon Sep 17 00:00:00 2001 From: Mordred <30826167+SapphireMordred@users.noreply.github.com> Date: Fri, 10 Aug 2018 08:03:16 +0200 Subject: [PATCH 2/2] Changed some fieldnames for consistency --- src/common/Network/PacketDef/Zone/ServerZoneDef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index ffa31310..c2bdbe2e 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -481,7 +481,7 @@ struct FFXIVIpcNpcSpawn : FFXIVIpcBasePacket uint32_t u19; uint32_t directorId; uint32_t ownerId; - uint32_t parentOwnerId; + uint32_t parentActorId; uint32_t hPMax; uint32_t hPCurr; uint32_t displayFlags; @@ -521,7 +521,7 @@ struct FFXIVIpcNpcSpawn : FFXIVIpcBasePacket char fcTag[6]; uint32_t unk30; uint32_t unk31; - uint8_t bnpcPartSlot; + uint8_t bNPCPartSlot; uint8_t unk32; uint16_t unk33; uint32_t unk34;