He's most likely using generic shop system, and not scripted buyables.Please show us the NPC script's
Server version?
The XML and LUA files associated with the NPC would be helpful in determining why it is not taking player gold.
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Legolas" script="default.lua" walkinterval="0" floorchange="0">
<health now="100" max="100"/>
<look type="159" head="57" body="59" legs="40" feet="76" addons="0"/>
<parameters>
<parameter key="module_shop" value="1"/>
<parameter key="shop_sellable" value="item,id,cost"/>
<parameter key="shop_buyable" value="item,id,cost"/>
</parameters>
</npc>
Then something is wrong with your NPC handling system, the part which handles all of the NPC's basic functions.
Have you replaced the original data folder, or NPC folder, with a custom one from some "RLServer distro" or similar?
I think its been replaced
I had a problem with my NPC's before they wouldn't talk at all
Then i got a new folder for my NPC's and they talk but dont take money
Thanks
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
npcHandler:addModule(FocusModule:new())