This is the error msg that comes in console.
I find this error msg confusing, since the npc doesn't sell anything as you can see from these scripts.
I use TFS 04, Rev 3884
Does anyone have a clue as to what this might be? The console is spammed with different npc who have these errors, and none of the sells anything.
Code:
[Warning - Markwin] NpcSystem:
ShopModule.onBuy - Item not found on shopItems list
I find this error msg confusing, since the npc doesn't sell anything as you can see from these scripts.
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Markwin" script="data/npc/scripts/Markwin.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="23" head="0" body="0" legs="0" feet="0" addons="0"/>
</npc>
Lua:
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())
I use TFS 04, Rev 3884
Does anyone have a clue as to what this might be? The console is spammed with different npc who have these errors, and none of the sells anything.