scorpionfight
New Member
Hello,
I use the svn 0.4 distro and my NPCs are picking up the item from the body(equipped items) of the players when the item is sold, I would get to just pick up the containers of items such as backpacks. I tested two systems of NPC and the same thing happens, one uses this function "doPlayerSellItem (cid, itemid, count, cost)" and the other uses this function "ShopModule: addSellableItem (names, itemid, cost, realname)".
When looking at the code of the functions mentioned above, I noticed that prevents them infirm to remove the item I'm using.
Thanks!!!
I use the svn 0.4 distro and my NPCs are picking up the item from the body(equipped items) of the players when the item is sold, I would get to just pick up the containers of items such as backpacks. I tested two systems of NPC and the same thing happens, one uses this function "doPlayerSellItem (cid, itemid, count, cost)" and the other uses this function "ShopModule: addSellableItem (names, itemid, cost, realname)".
When looking at the code of the functions mentioned above, I noticed that prevents them infirm to remove the item I'm using.
Thanks!!!
Last edited: