speakerName translation in FFXIVIpcChat

Hello everyone, I'm using ffxiv-pcap to read chat messages using the Sapphire Struct for chat messages. /** * Structural representation of the packet sent by the server * carrying chat messages */ struct FFXIVIpcChat : FFXIVIpcBasePacket< ChatToChannel > { uint16_t type; uint8_t padding1; uint8_t padding2; uint32_t entityId; uint64_t characterId; uint32_t __unknown3; char speakerName[32]; char message[1024]; }; And I can't seem to be able to figure out how to use the speakerName string as it's encoded and incorrectly cut. How should I proceed ? Kind regards
4 Replies
Favna
Favna2y ago
You seem to be on the incorrect server. This server is for the Sapphire framework, a framework for the DiscordJS library, a JavaScript/TypeScript API wrapper for the Discord API. This server has nothing to do with ... I'm thinking this is C or C++ and Sapphire structs.
Rebecca Weiss
Rebecca Weiss2y ago
Alright that makes sense. Where should I go for C/CPP structs ?
Favna
Favna2y ago
I have no idea honestly. I don't program in those languages.
Rebecca Weiss
Rebecca Weiss2y ago
Ok so there are no other Sapphire discord servers ? Found it I close the ticket, thank you ♥ https://discord.com/invite/xxcdCER
Want results from more Discord servers?
Add your server