• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Sell only items not equipped

scorpionfight

New Member
Joined
Sep 21, 2008
Messages
111
Reaction score
1
Location
Brazil
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 just get to pick up the containers of items such as backpacks. I tested two systems of NPC and the same thing happens if this function uses "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 nothing prevents them from removing the item that the player is using.
Would you like a code .lua or c++ to solve the problem with my NPCs.

Edit: OBS: Rev. 3884!

Thanks!
 
Last edited:
right click in shop window : Sell equipped. It were fixed in 0.4~, but you're not donator, so I wont spoil rev info. Btw, how come you got 0.4.....
 
Thats not working.. =s When i put ignored equipped, he sell equipped. Or if i put Sell equipped, he sell equipped.
How i got 0.4? Because I donated here few times. It must have somewhere to prove it. Sorry bad english.
 
is there support for 0.3.6?? :x

i got the same issue
This was way back when there was a work-in-progress distribution available on the premium boards. lol
There was no direct support available outside of the premium boards, since it was still in development.

I'd suggest to create your own thread over in the support section at this point .
 
This was way back when there was a work-in-progress distribution available on the premium boards. lol
There was no direct support available outside of the premium boards, since it was still in development.

I'd suggest to create your own thread over in the support section at this point .

sadly i have one.
NPCs buy from EQ Slots bug.

didn't help much :(
 
Back
Top