brunolopes
New Member
- Joined
- Nov 8, 2009
- Messages
- 49
- Reaction score
- 1
Hi ^_^.
My NPC's don't buy stackable items, like Potions, Runes and Creature Products.
When I try to sell, for example, 100 sandcrawler shell, a cancel message is shown:
Someone know how I can solve this problem?
Doesn't matter if the fix is in sources or in LUA. Please help
Thanks!
Edition
I already tried this source edition:
And nothing...
My NPC's don't buy stackable items, like Potions, Runes and Creature Products.
When I try to sell, for example, 100 sandcrawler shell, a cancel message is shown:
Code:
You do not have this object
Someone know how I can solve this problem?
Doesn't matter if the fix is in sources or in LUA. Please help
Thanks!
Edition
I already tried this source edition:
Code:
li.itemId = intValue;
const ItemType& it = Item::items[li.itemId];
if(readXMLInteger(tmpNode, "subtype", intValue))
li.subType = intValue;
else
{
if(it.stackable)
li.subType = 1;
else if(it.isFluidContainer() || it.isSplash())
li.subType = 0;
}
And nothing...
Last edited: