• 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!

Solved TFS 1.0 npcsystem problem

bybbzan

mapper
Joined
Aug 4, 2012
Messages
809
Solutions
2
Reaction score
136
Location
Sweden
Im using TFS 1.0 and get this error from the npc.
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
 
Back
Top