[DiscordArchive] Yes but are guids unique when compared to creature entries? I mean, are there *any* guid used that a
[DiscordArchive] Yes but are guids unique when compared to creature entries? I mean, are there *any* guid used that a
Archived author: Foe • Posted: 2023-06-17T01:02:04.317000+00:00
Original source
check SendListInventory in the core
Archived author: Foe • Posted: 2023-06-17T01:02:13.932000+00:00
Original source
you can infer the structure from that function
Archived author: Foe • Posted: 2023-06-17T01:05:29.687000+00:00
Original source
https://github.com/Foereaper/Eluna-AIO-S...t.lua#L350
[Embed: Eluna-AIO-StoreSystem/Server/Store_System/Store_DataStruct.lua at m...]
Contribute to Foereaper/Eluna-AIO-StoreSystem development by creating an account on GitHub.
https://github.com/Foereaper/Eluna-AIO-S...Struct.lua
Archived author: Foe • Posted: 2023-06-17T01:05:38.832000+00:00
Original source
There's an example of how to create a packet in Lua
![[Image: image.png?ex=690c1a2b&is=690ac8ab&hm=98f...050c8070e&]](https://cdn.discordapp.com/attachments/284323424032129024/1119473205971791882/image.png?ex=690c1a2b&is=690ac8ab&hm=98fbe973705186a0ad77f17ae2aa56c869ce35c1a8bc9157342bcaa050c8070e&)
Archived author: ritzmenardi • Posted: 2023-06-17T03:46:51.176000+00:00
Original source
Is it just me or will count always be 0 when pushed to the data packet?
from azerothcore-wotlk/src/server/game/Handlers/ItemHandler.cpp
![[Image: image.png?ex=690c1a2b&is=690ac8ab&hm=98f...050c8070e&]](https://cdn.discordapp.com/attachments/284323424032129024/1119473205971791882/image.png?ex=690c1a2b&is=690ac8ab&hm=98fbe973705186a0ad77f17ae2aa56c869ce35c1a8bc9157342bcaa050c8070e&)
![[Image: image.png?ex=690c1c28&is=690acaa8&hm=a07...c368945ab&]](https://cdn.discordapp.com/attachments/284323424032129024/1119475342659289198/image.png?ex=690c1c28&is=690acaa8&hm=a0748581fb85286d27320d3adc64736380bdfc8e13b5b6301b5b56fc368945ab&)
Archived author: ritzmenardi • Posted: 2023-06-17T03:55:20.592000+00:00
Original source
ohhhhh okay I get it now, it updates the count at the end once it has iterated through the list and knows how many items there are. Makes sense.
![[Image: image.png?ex=690c1c28&is=690acaa8&hm=a07...c368945ab&]](https://cdn.discordapp.com/attachments/284323424032129024/1119475342659289198/image.png?ex=690c1c28&is=690acaa8&hm=a0748581fb85286d27320d3adc64736380bdfc8e13b5b6301b5b56fc368945ab&)
Archived author: ritzmenardi • Posted: 2023-06-17T04:29:11.651000+00:00
Original source
Does anyone know what these numbers mean?
https://github.com/azerothcore/azerothco...2-L1078C70
I'm pretty sure they add up to the size of the packet, for memory allocation purposes I'm guessing. But I don't know where 8 + 1 + itemCount * 8 * 4 comes from.