Im using TFS 1.0 and get this error from the npc.
this is the script.
http://pastebin.com/zYi24amM
Code:
Lua Script Error: [Npc interface]
data/npc/scripts/varkhal.lua:onCreatureSay
data/npc/scripts/varkhal.lua:33: attempt to call global 'getItemNameById' (a nil
value)
stack traceback:
[C]: in function 'getItemNameById'
data/npc/scripts/varkhal.lua:33: in function 'callback'
data/npc/lib/npcsystem/keywordhandler.lua:26: in function 'processMessag
e'
data/npc/lib/npcsystem/keywordhandler.lua:136: in function 'processNodeM
essage'
data/npc/lib/npcsystem/keywordhandler.lua:111: in function 'processMessa
ge'
data/npc/lib/npcsystem/npchandler.lua:390: in function 'onCreatureSay'
data/npc/scripts/varkhal.lua:8: in function <data/npc/scripts/varkhal.lu
a:8>
this is the script.
http://pastebin.com/zYi24amM