Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What's that packet for?

[DiscordArchive] What's that packet for?

[DiscordArchive] What's that packet for?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
12-27-2021, 08:58 AM
#1
Archived author: Claudiodfc • Posted: 2021-12-27T08:58:37.624000+00:00
Original source

What's that packet for?
rektbyfaith
12-27-2021, 08:58 AM #1

Archived author: Claudiodfc • Posted: 2021-12-27T08:58:37.624000+00:00
Original source

What's that packet for?

rektbyfaith
Administrator
0
12-27-2021, 09:31 AM
#2
Archived author: exec • Posted: 2021-12-27T09:31:04.784000+00:00
Original source

basically any time just about anything in the in-world changes in any way other than 1. player movement or 2. any unit casts a spell, it probably involves a SMSG_OBJECT_UPDATE packet
rektbyfaith
12-27-2021, 09:31 AM #2

Archived author: exec • Posted: 2021-12-27T09:31:04.784000+00:00
Original source

basically any time just about anything in the in-world changes in any way other than 1. player movement or 2. any unit casts a spell, it probably involves a SMSG_OBJECT_UPDATE packet

rektbyfaith
Administrator
0
12-27-2021, 09:32 AM
#3
Archived author: exec • Posted: 2021-12-27T09:32:21.971000+00:00
Original source

npc moves? Someone equips new gear? any game object enters or leaves render range? corpse appears, boat moves, someone accepts a quest, moves something in their inventory, changes their stats, etc etc
rektbyfaith
12-27-2021, 09:32 AM #3

Archived author: exec • Posted: 2021-12-27T09:32:21.971000+00:00
Original source

npc moves? Someone equips new gear? any game object enters or leaves render range? corpse appears, boat moves, someone accepts a quest, moves something in their inventory, changes their stats, etc etc

rektbyfaith
Administrator
0
12-27-2021, 09:32 AM
#4
Archived author: exec • Posted: 2021-12-27T09:32:36.615000+00:00
Original source

it's just one big, massive, complicated uber-format that tries to do it all
rektbyfaith
12-27-2021, 09:32 AM #4

Archived author: exec • Posted: 2021-12-27T09:32:36.615000+00:00
Original source

it's just one big, massive, complicated uber-format that tries to do it all

rektbyfaith
Administrator
0
12-27-2021, 09:51 AM
#5
Archived author: Claudiodfc • Posted: 2021-12-27T09:51:58.337000+00:00
Original source

Hmmm I can see a few issues it may cause, first of all pasta code. No one likes having one hook to rule them all
rektbyfaith
12-27-2021, 09:51 AM #5

Archived author: Claudiodfc • Posted: 2021-12-27T09:51:58.337000+00:00
Original source

Hmmm I can see a few issues it may cause, first of all pasta code. No one likes having one hook to rule them all

rektbyfaith
Administrator
0
12-27-2021, 10:36 AM
#6
Archived author: exec • Posted: 2021-12-27T10:36:40.554000+00:00
Original source

It is _definitely_ pasta.
rektbyfaith
12-27-2021, 10:36 AM #6

Archived author: exec • Posted: 2021-12-27T10:36:40.554000+00:00
Original source

It is _definitely_ pasta.

rektbyfaith
Administrator
0
12-27-2021, 10:37 AM
#7
Archived author: exec • Posted: 2021-12-27T10:37:20.152000+00:00
Original source

most have a 40-300 byte mask that's simply for signaling which fields out of hundreds it's actually passing data for, each for a specific type-subtype-subsubtype
rektbyfaith
12-27-2021, 10:37 AM #7

Archived author: exec • Posted: 2021-12-27T10:37:20.152000+00:00
Original source

most have a 40-300 byte mask that's simply for signaling which fields out of hundreds it's actually passing data for, each for a specific type-subtype-subsubtype

rektbyfaith
Administrator
0
12-27-2021, 10:37 AM
#8
Archived author: exec • Posted: 2021-12-27T10:37:44.733000+00:00
Original source

the order of the fields and what type they are is basically just pre-shared magic values per type-subtype-subsubtype set. If a bit is on, that specific pre-known field has data after the mask block. No seperators or anything.
rektbyfaith
12-27-2021, 10:37 AM #8

Archived author: exec • Posted: 2021-12-27T10:37:44.733000+00:00
Original source

the order of the fields and what type they are is basically just pre-shared magic values per type-subtype-subsubtype set. If a bit is on, that specific pre-known field has data after the mask block. No seperators or anything.

rektbyfaith
Administrator
0
12-27-2021, 10:38 AM
#9
Archived author: exec • Posted: 2021-12-27T10:38:18.722000+00:00
Original source

everything else, especially the movement stuff, is just a massive if/else if/else and swtich case tree based around dozens and dozens of flags.
rektbyfaith
12-27-2021, 10:38 AM #9

Archived author: exec • Posted: 2021-12-27T10:38:18.722000+00:00
Original source

everything else, especially the movement stuff, is just a massive if/else if/else and swtich case tree based around dozens and dozens of flags.

rektbyfaith
Administrator
0
12-27-2021, 10:38 AM
#10
Archived author: exec • Posted: 2021-12-27T10:38:41.438000+00:00
Original source

and then there's typically 7-20 of these 'update blocks' in a single SMSG_OBJECT_UPDATE
rektbyfaith
12-27-2021, 10:38 AM #10

Archived author: exec • Posted: 2021-12-27T10:38:41.438000+00:00
Original source

and then there's typically 7-20 of these 'update blocks' in a single SMSG_OBJECT_UPDATE

Pages (4): 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)