Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] These packets are going from server -> player, right? So I'd have to watch for the packet that had t

[DiscordArchive] These packets are going from server -> player, right? So I'd have to watch for the packet that had t

[DiscordArchive] These packets are going from server -> player, right? So I'd have to watch for the packet that had t

rektbyfaith
Administrator
0
06-17-2023, 12:45 AM
#1
Archived author: ritzmenardi • Posted: 2023-06-17T00:45:56.317000+00:00
Original source

These packets are going from server -> player, right? So I'd have to watch for the packet that had the data about the NPC's inventory and then add the data about the random items to it?
rektbyfaith
06-17-2023, 12:45 AM #1

Archived author: ritzmenardi • Posted: 2023-06-17T00:45:56.317000+00:00
Original source

These packets are going from server -> player, right? So I'd have to watch for the packet that had the data about the NPC's inventory and then add the data about the random items to it?

rektbyfaith
Administrator
0
06-17-2023, 12:47 AM
#2
Archived author: Foe • Posted: 2023-06-17T00:47:23.335000+00:00
Original source

yes
rektbyfaith
06-17-2023, 12:47 AM #2

Archived author: Foe • Posted: 2023-06-17T00:47:23.335000+00:00
Original source

yes

rektbyfaith
Administrator
0
06-17-2023, 12:47 AM
#3
Archived author: ritzmenardi • Posted: 2023-06-17T00:47:55.205000+00:00
Original source

That does sound considerably easier
rektbyfaith
06-17-2023, 12:47 AM #3

Archived author: ritzmenardi • Posted: 2023-06-17T00:47:55.205000+00:00
Original source

That does sound considerably easier

rektbyfaith
Administrator
0
06-17-2023, 12:48 AM
#4
Archived author: Foe • Posted: 2023-06-17T00:48:29.716000+00:00
Original source

you'd check the packet opcode for the specific vendor list inventory packet, then grab the guid and figure out which creature it is by guid, then grab amount of items so you can increase the count and append the new info
rektbyfaith
06-17-2023, 12:48 AM #4

Archived author: Foe • Posted: 2023-06-17T00:48:29.716000+00:00
Original source

you'd check the packet opcode for the specific vendor list inventory packet, then grab the guid and figure out which creature it is by guid, then grab amount of items so you can increase the count and append the new info

rektbyfaith
Administrator
0
06-17-2023, 12:49 AM
#5
Archived author: Foe • Posted: 2023-06-17T00:49:08.837000+00:00
Original source

do mind, that only takes care of the inventory part, you'd have to intercept the buy packet as well and handle that yourself
rektbyfaith
06-17-2023, 12:49 AM #5

Archived author: Foe • Posted: 2023-06-17T00:49:08.837000+00:00
Original source

do mind, that only takes care of the inventory part, you'd have to intercept the buy packet as well and handle that yourself

rektbyfaith
Administrator
0
06-17-2023, 12:49 AM
#6
Archived author: ritzmenardi • Posted: 2023-06-17T00:49:38.274000+00:00
Original source

Interesting!
rektbyfaith
06-17-2023, 12:49 AM #6

Archived author: ritzmenardi • Posted: 2023-06-17T00:49:38.274000+00:00
Original source

Interesting!

rektbyfaith
Administrator
0
06-17-2023, 12:49 AM
#7
Archived author: ritzmenardi • Posted: 2023-06-17T00:49:50.547000+00:00
Original source

Okay I'll look around for some documentation on those opcodes and such
rektbyfaith
06-17-2023, 12:49 AM #7

Archived author: ritzmenardi • Posted: 2023-06-17T00:49:50.547000+00:00
Original source

Okay I'll look around for some documentation on those opcodes and such

rektbyfaith
Administrator
0
06-17-2023, 12:50 AM
#8
Archived author: Foe • Posted: 2023-06-17T00:50:36.668000+00:00
Original source

SMSG_LIST_INVENTORY = 0x19F,
CMSG_BUY_ITEM = 0x1A2,
CMSG_BUY_ITEM_IN_SLOT = 0x1A3,
rektbyfaith
06-17-2023, 12:50 AM #8

Archived author: Foe • Posted: 2023-06-17T00:50:36.668000+00:00
Original source

SMSG_LIST_INVENTORY = 0x19F,
CMSG_BUY_ITEM = 0x1A2,
CMSG_BUY_ITEM_IN_SLOT = 0x1A3,

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)