View Full Version : [SOLVED] Is this possible?

04-23-2013, 08:26 AM
I am just wondering if it is possible to sell an item and give it no gold, for example if I remove the buy and sell price from all items I want players to be able to sell the items instead of having to destroy them but I want them to get 0 gold in return.

04-23-2013, 08:32 AM
With a core edit I guess that'd be possible.

So what you want to do is go into ItemHandler..

More incoming helping him on Livestream and posting the rest here in 5 minutes for further refferences.

..Guide thingy:

Go into ItemHandler.cpp

Delete this code around line 591-594

_player->SendSellError(SELL_ERR_CANT_SELL_ITEM, creature, itemguid, 0);

and this code at around 560

if (pProto->SellPrice > 0)

and it should work. :-)

04-23-2013, 08:49 AM
Thanks bud.