I'm using OTServ 0.6.4 for 8.6, I got a global map w/ npcs but I'm unable to buy anything from them.
Any tips on how to solve this? I already tried replacing libs of different ots but always error.
npcsystem.lua: http://pastebin.com/tEakrsiu
npchandler.lua: http://pastebin.com/k8p4jt8a
modules.lua: http://pastebin.com/cMkDqPum
keywordhandler.lua: http://pastebin.com/LerznDWu
in case you need the shop script: http://pastebin.com/v4bWx0ER
Any tips on how to solve this? I already tried replacing libs of different ots but always error.
Lua Script Error: [Npc interface]
(Unknown scriptfile)
data/npc/scripts/lib/npcsystem/npchandler.lua:265: bad argument #1 to 'unpack' (table expected, got nil)
stack traceback:
[C]: in function 'unpack'
data/npc/scripts/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
data/npc/scripts/lib/npcsystem/npchandler.lua:467: in function 'onBuy'
data/npc/scripts/lib/npcsystem/modules.lua:903: in function <data/npc/scripts/lib/npcsystem/modules.lua:903>
(Unknown scriptfile)
data/npc/scripts/lib/npcsystem/npchandler.lua:265: bad argument #1 to 'unpack' (table expected, got nil)
stack traceback:
[C]: in function 'unpack'
data/npc/scripts/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
data/npc/scripts/lib/npcsystem/npchandler.lua:467: in function 'onBuy'
data/npc/scripts/lib/npcsystem/modules.lua:903: in function <data/npc/scripts/lib/npcsystem/modules.lua:903>
npcsystem.lua: http://pastebin.com/tEakrsiu
npchandler.lua: http://pastebin.com/k8p4jt8a
modules.lua: http://pastebin.com/cMkDqPum
keywordhandler.lua: http://pastebin.com/LerznDWu
in case you need the shop script: http://pastebin.com/v4bWx0ER
Last edited: