Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I found something close with the Flask vendors in Shattrath - if you have the right reputations, the

[DiscordArchive] I found something close with the Flask vendors in Shattrath - if you have the right reputations, the

[DiscordArchive] I found something close with the Flask vendors in Shattrath - if you have the right reputations, the

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
09-24-2023, 07:15 AM
#1
Archived author: KJack • Posted: 2023-09-24T07:15:54.151000+00:00
Original source

I found something close with the Flask vendors in Shattrath - if you have the right reputations, the vendor menu item will show up. But that controls access to the whole list - I want the vendor list itself to change.

If it's not possible in code today, would it be acceptable to make a second vendor menu item that contains the shoulder enchants and only shows up when the quest is done? Or is that cheating?
rektbyfaith
09-24-2023, 07:15 AM #1

Archived author: KJack • Posted: 2023-09-24T07:15:54.151000+00:00
Original source

I found something close with the Flask vendors in Shattrath - if you have the right reputations, the vendor menu item will show up. But that controls access to the whole list - I want the vendor list itself to change.

If it's not possible in code today, would it be acceptable to make a second vendor menu item that contains the shoulder enchants and only shows up when the quest is done? Or is that cheating?

rektbyfaith
Administrator
0
09-24-2023, 07:32 AM
#2
Archived author: KJack • Posted: 2023-09-24T07:32:28.600000+00:00
Original source

I think I found an answer - https://github.com/azerothcore/azerothco...#L457-L482

You can pull the creature's VendorItemData and then maniupate it before sending. Probably going to be better to have the shoulder enchants in the vendor's list and then dynamically remove them before sending if the quest hasn't been finished. A task for tomorrow.
[Embed: azerothcore-wotlk/src/server/game/Entities/Creature/CreatureData.h ...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...tureData.h
rektbyfaith
09-24-2023, 07:32 AM #2

Archived author: KJack • Posted: 2023-09-24T07:32:28.600000+00:00
Original source

I think I found an answer - https://github.com/azerothcore/azerothco...#L457-L482

You can pull the creature's VendorItemData and then maniupate it before sending. Probably going to be better to have the shoulder enchants in the vendor's list and then dynamically remove them before sending if the quest hasn't been finished. A task for tomorrow.
[Embed: azerothcore-wotlk/src/server/game/Entities/Creature/CreatureData.h ...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...tureData.h

rektbyfaith
Administrator
0
09-24-2023, 07:42 AM
#3
Archived author: Foe • Posted: 2023-09-24T07:42:29.500000+00:00
Original source

Just use separate vendor lists with the multivendor patch
rektbyfaith
09-24-2023, 07:42 AM #3

Archived author: Foe • Posted: 2023-09-24T07:42:29.500000+00:00
Original source

Just use separate vendor lists with the multivendor patch

rektbyfaith
Administrator
0
09-24-2023, 08:06 AM
#4
Archived author: KJack • Posted: 2023-09-24T08:06:08.907000+00:00
Original source

if i'm looking at the right module you're referring to, i'd rather fix it without modules so it can be integrated into core. I'm not trying to do a customization, I'm trying to fix:

https://github.com/azerothcore/azerothco...ssues/8476
https://github.com/azerothcore/azerothco...ssues/8359
[Embed: Mantle of the Dawn Quests - Multiple Issues · Issue #8476 · azeroth...]
What client do you play on? enUS Faction Alliance Horde Content Phase: Generic 1-19 20-29 30-39 40-49 50-59 Current Behaviour Original report: chromiecraft/chromiecraft#2006 Quest Mantles of the Da...
https://github.com/azerothcore/azerothco...ssues/8476

[Embed: Chromatic Mantle of the Dawn Quests - Multiple Issues · Issue #8359...]
What client do you play on? enUS Faction Alliance Horde Content Phase: Generic 1-19 20-29 30-39 40-49 50-59 Current Behaviour Original report: chromiecraft/chromiecraft#2007 Quest Chromatic Mantle ...
https://github.com/azerothcore/azerothco...ssues/8359
rektbyfaith
09-24-2023, 08:06 AM #4

Archived author: KJack • Posted: 2023-09-24T08:06:08.907000+00:00
Original source

if i'm looking at the right module you're referring to, i'd rather fix it without modules so it can be integrated into core. I'm not trying to do a customization, I'm trying to fix:

https://github.com/azerothcore/azerothco...ssues/8476
https://github.com/azerothcore/azerothco...ssues/8359
[Embed: Mantle of the Dawn Quests - Multiple Issues · Issue #8476 · azeroth...]
What client do you play on? enUS Faction Alliance Horde Content Phase: Generic 1-19 20-29 30-39 40-49 50-59 Current Behaviour Original report: chromiecraft/chromiecraft#2006 Quest Mantles of the Da...
https://github.com/azerothcore/azerothco...ssues/8476

[Embed: Chromatic Mantle of the Dawn Quests - Multiple Issues · Issue #8359...]
What client do you play on? enUS Faction Alliance Horde Content Phase: Generic 1-19 20-29 30-39 40-49 50-59 Current Behaviour Original report: chromiecraft/chromiecraft#2007 Quest Chromatic Mantle ...
https://github.com/azerothcore/azerothco...ssues/8359

rektbyfaith
Administrator
0
09-24-2023, 08:06 AM
#5
Archived author: KJack • Posted: 2023-09-24T08:06:19.413000+00:00
Original source

thanks for the idea though, wasn't aware of that module.
rektbyfaith
09-24-2023, 08:06 AM #5

Archived author: KJack • Posted: 2023-09-24T08:06:19.413000+00:00
Original source

thanks for the idea though, wasn't aware of that module.

rektbyfaith
Administrator
0
09-24-2023, 08:07 AM
#6
Archived author: Foe • Posted: 2023-09-24T08:07:00.822000+00:00
Original source

It's not a module, it's a core modification to allow sending different vendor id's
rektbyfaith
09-24-2023, 08:07 AM #6

Archived author: Foe • Posted: 2023-09-24T08:07:00.822000+00:00
Original source

It's not a module, it's a core modification to allow sending different vendor id's

rektbyfaith
Administrator
0
09-24-2023, 08:08 AM
#7
Archived author: Foe • Posted: 2023-09-24T08:08:50.936000+00:00
Original source

But yeah, you could always extend the logic of the vendor list inventory, and add a flag or a case for whether or not to include an item in a vendor packet
rektbyfaith
09-24-2023, 08:08 AM #7

Archived author: Foe • Posted: 2023-09-24T08:08:50.936000+00:00
Original source

But yeah, you could always extend the logic of the vendor list inventory, and add a flag or a case for whether or not to include an item in a vendor packet

rektbyfaith
Administrator
0
09-24-2023, 10:24 AM
#8
Archived author: Nyeriah • Posted: 2023-09-24T10:24:51.531000+00:00
Original source

afaik you can use conditions
rektbyfaith
09-24-2023, 10:24 AM #8

Archived author: Nyeriah • Posted: 2023-09-24T10:24:51.531000+00:00
Original source

afaik you can use conditions

rektbyfaith
Administrator
0
09-24-2023, 10:25 AM
#9
Archived author: Nyeriah • Posted: 2023-09-24T10:25:02.633000+00:00
Original source

they are already able to do this
rektbyfaith
09-24-2023, 10:25 AM #9

Archived author: Nyeriah • Posted: 2023-09-24T10:25:02.633000+00:00
Original source

they are already able to do this

rektbyfaith
Administrator
0
09-24-2023, 11:03 AM
#10
Archived author: Anchy • Posted: 2023-09-24T11:03:15.682000+00:00
Original source

didn't somebody make a transmog vendor
rektbyfaith
09-24-2023, 11:03 AM #10

Archived author: Anchy • Posted: 2023-09-24T11:03:15.682000+00:00
Original source

didn't somebody make a transmog vendor

Pages (2): 1 2 Next
Recently Browsing
 
Recently Browsing