[DiscordArchive] lets retry
[DiscordArchive] lets retry
Archived author: Ashvory • Posted: 2023-12-23T20:05:45.159000+00:00
Original source
lets retry
I need to block the purchase from some Npc , some items. Do nt wanna remove Npc directly but only prevents the purchase
Any ideas ?
Archived author: Honey • Posted: 2023-12-23T20:10:58.835000+00:00
Original source
Sounds like you want to remove the items from the NPC in the database.
Archived author: Honey • Posted: 2023-12-23T20:11:13.745000+00:00
Original source
Or add conditions to buy them.
Archived author: Ashvory • Posted: 2023-12-23T20:12:15.978000+00:00
Original source
atm show the item but prevent purchase
Archived author: Ashvory • Posted: 2023-12-23T20:13:06.985000+00:00
Original source
if not possible , add condition to buy
![[Image: image.png?ex=690c5a67&is=690b08e7&hm=560...d8deec57a&]](https://cdn.discordapp.com/attachments/448835144564867094/1188214679605088256/image.png?ex=690c5a67&is=690b08e7&hm=5609373f8a3beab57cd777ced8304dcd58d140ca5024a5914c1e7e0d8deec57a&)
Archived author: Honey • Posted: 2023-12-23T20:20:55.644000+00:00
Original source
<https://www.azerothcore.org/wiki/conditions>
You don't need Eluna for this.
![[Image: image.png?ex=690c5a67&is=690b08e7&hm=560...d8deec57a&]](https://cdn.discordapp.com/attachments/448835144564867094/1188214679605088256/image.png?ex=690c5a67&is=690b08e7&hm=5609373f8a3beab57cd777ced8304dcd58d140ca5024a5914c1e7e0d8deec57a&)
Archived author: Honey • Posted: 2023-12-23T20:21:48.186000+00:00
Original source
Conditions hide the item from the NPC.
If you wanted to show them still, you would probably need to work with packets.
![[Image: image.png?ex=690c6916&is=690b1796&hm=c3b...501524b6b&]](https://cdn.discordapp.com/attachments/448835144564867094/1188230447478620200/image.png?ex=690c6916&is=690b1796&hm=c3b2a5423fd01f5484cd20c9379d9c9d224dee708eac908ce71b765501524b6b&)
Archived author: Ashvory • Posted: 2023-12-23T21:23:35.006000+00:00
Original source
As u suggestion i tryed :
But didn t work
![[Image: image.png?ex=690c6916&is=690b1796&hm=c3b...501524b6b&]](https://cdn.discordapp.com/attachments/448835144564867094/1188230447478620200/image.png?ex=690c6916&is=690b1796&hm=c3b2a5423fd01f5484cd20c9379d9c9d224dee708eac908ce71b765501524b6b&)
![[Image: image.png?ex=690c6958&is=690b17d8&hm=c1f...b2f477231&]](https://cdn.discordapp.com/attachments/448835144564867094/1188230722083901541/image.png?ex=690c6958&is=690b17d8&hm=c1f4fb2b91212236861a1c467dcd4408e72f51e6e12d4e280e337b3b2f477231&)
Archived author: Ashvory • Posted: 2023-12-23T21:24:40.473000+00:00
Original source
plus i made this script:
But crash whole server
![[Image: image.png?ex=690c6958&is=690b17d8&hm=c1f...b2f477231&]](https://cdn.discordapp.com/attachments/448835144564867094/1188230722083901541/image.png?ex=690c6958&is=690b17d8&hm=c1f4fb2b91212236861a1c467dcd4408e72f51e6e12d4e280e337b3b2f477231&)