Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is there a reason why npc_vendor dont have item quantity? Not supported by client?

[DiscordArchive] Is there a reason why npc_vendor dont have item quantity? Not supported by client?

[DiscordArchive] Is there a reason why npc_vendor dont have item quantity? Not supported by client?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
02-12-2025, 08:11 AM
#11
Archived author: OUTRAKE • Posted: 2025-02-12T08:11:39.040000+00:00
Original source

yea.. something like this but in npc_vendor would be cool
rektbyfaith
02-12-2025, 08:11 AM #11

Archived author: OUTRAKE • Posted: 2025-02-12T08:11:39.040000+00:00
Original source

yea.. something like this but in npc_vendor would be cool

rektbyfaith
Administrator
0
02-12-2025, 08:11 AM
#12
Archived author: OUTRAKE • Posted: 2025-02-12T08:11:49.026000+00:00
Original source

and BuyCount to remain as fallback
rektbyfaith
02-12-2025, 08:11 AM #12

Archived author: OUTRAKE • Posted: 2025-02-12T08:11:49.026000+00:00
Original source

and BuyCount to remain as fallback

rektbyfaith
Administrator
0
02-12-2025, 08:13 AM
#13
Archived author: Ryan Turner • Posted: 2025-02-12T08:13:18.050000+00:00
Original source

You mean npc vendor having a overwritten column for the buycount, idk if the client would accept it but im not knowledable enough
rektbyfaith
02-12-2025, 08:13 AM #13

Archived author: Ryan Turner • Posted: 2025-02-12T08:13:18.050000+00:00
Original source

You mean npc vendor having a overwritten column for the buycount, idk if the client would accept it but im not knowledable enough

rektbyfaith
Administrator
0
02-12-2025, 08:13 AM
#14
Archived author: OUTRAKE • Posted: 2025-02-12T08:13:38.856000+00:00
Original source

yea
rektbyfaith
02-12-2025, 08:13 AM #14

Archived author: OUTRAKE • Posted: 2025-02-12T08:13:38.856000+00:00
Original source

yea

rektbyfaith
Administrator
0
02-12-2025, 08:25 AM
#15
Archived author: OUTRAKE • Posted: 2025-02-12T08:25:21.815000+00:00
Original source

i can do it if you don't come again with the magic sentence
rektbyfaith
02-12-2025, 08:25 AM #15

Archived author: OUTRAKE • Posted: 2025-02-12T08:25:21.815000+00:00
Original source

i can do it if you don't come again with the magic sentence

rektbyfaith
Administrator
0
02-12-2025, 08:26 AM
#16
Archived author: Ryan Turner • Posted: 2025-02-12T08:26:45.847000+00:00
Original source

If you open a PR someone more knowledge with probably give more input or you can ask in the dev-core
rektbyfaith
02-12-2025, 08:26 AM #16

Archived author: Ryan Turner • Posted: 2025-02-12T08:26:45.847000+00:00
Original source

If you open a PR someone more knowledge with probably give more input or you can ask in the dev-core

rektbyfaith
Administrator
0
02-12-2025, 08:26 AM
#17
Archived author: OUTRAKE • Posted: 2025-02-12T08:26:57.958000+00:00
Original source

`How would as user would use this?`
rektbyfaith
02-12-2025, 08:26 AM #17

Archived author: OUTRAKE • Posted: 2025-02-12T08:26:57.958000+00:00
Original source

`How would as user would use this?`

rektbyfaith
Administrator
0
02-12-2025, 08:27 AM
#18
Archived author: OUTRAKE • Posted: 2025-02-12T08:27:03.581000+00:00
Original source

thats the magic sentence
rektbyfaith
02-12-2025, 08:27 AM #18

Archived author: OUTRAKE • Posted: 2025-02-12T08:27:03.581000+00:00
Original source

thats the magic sentence

rektbyfaith
Administrator
0
02-12-2025, 08:29 AM
#19
Archived author: Ryan Turner • Posted: 2025-02-12T08:29:54.294000+00:00
Original source

But with this scenario of adding the same behaviour to another table, if npc vendor has that value set overwrites the item_template value, otherwise always fallsback to it.

The PR with the multi-trainer how does the user uses it (not in-game beacuse youve a video) on the server side, since people have to test it is what i told you in the pr
rektbyfaith
02-12-2025, 08:29 AM #19

Archived author: Ryan Turner • Posted: 2025-02-12T08:29:54.294000+00:00
Original source

But with this scenario of adding the same behaviour to another table, if npc vendor has that value set overwrites the item_template value, otherwise always fallsback to it.

The PR with the multi-trainer how does the user uses it (not in-game beacuse youve a video) on the server side, since people have to test it is what i told you in the pr

rektbyfaith
Administrator
0
02-12-2025, 08:35 AM
#20
Archived author: OUTRAKE • Posted: 2025-02-12T08:35:05.342000+00:00
Original source

can't be used pretty much in game, it is mostly an eluna hook

in-game can be used as following, you can open an *external trainer* interface from any creature even if that doens't have a trainer flag

```
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) override
{
ClearGossipMenuFor(player);
switch (action)
{
case GOSSIP_ACTION_TRAIN:
player->GetSession()->SendTrainerList(creature->GetGUID(), $targetTrainer);
break;
}
return true;
}

```
rektbyfaith
02-12-2025, 08:35 AM #20

Archived author: OUTRAKE • Posted: 2025-02-12T08:35:05.342000+00:00
Original source

can't be used pretty much in game, it is mostly an eluna hook

in-game can be used as following, you can open an *external trainer* interface from any creature even if that doens't have a trainer flag

```
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) override
{
ClearGossipMenuFor(player);
switch (action)
{
case GOSSIP_ACTION_TRAIN:
player->GetSession()->SendTrainerList(creature->GetGUID(), $targetTrainer);
break;
}
return true;
}

```

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)