• 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 NPC problem

haxborn

server dominando, cry is free
Joined
Dec 1, 2011
Messages
126
Reaction score
7
Location
Sweden
I've got a problem with my server, some NPC isn't working. I don't know which one but this is the error I got.

PHP:
[25/05/2013 09:34:57] [Error - Npc interface] 
[25/05/2013 09:34:57] (Unknown script file)
[25/05/2013 09:34:57] Description: 
[25/05/2013 09:34:57] data/npc/lib/npcsystem/modules.lua:1229: bad argument #2 to 'error' (number expected, got string)
[25/05/2013 09:34:57] stack traceback:
[25/05/2013 09:34:57] 	[C]: in function 'error'
[25/05/2013 09:34:57] 	data/npc/lib/npcsystem/modules.lua:1229: in function 'callbackOnSell'
[25/05/2013 09:34:57] 	data/npc/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
[25/05/2013 09:34:57] 	data/npc/lib/npcsystem/npchandler.lua:450: in function 'onSell'
[25/05/2013 09:34:57] 	data/npc/lib/npcsystem/modules.lua:1296: in function <data/npc/lib/npcsystem/modules.lua:1295>

Anyone knows where to start?
Really need to fix this!

Regards Haxborn

- - - Updated - - -

I found the problem, it's my custom DJINN NPC that don't work. Anyone got a working npc lootbuyer script?

Regards Hax
 
Have you changed your npcs lately? replaced any scripts? etc
Otherwise have you updated your server from ex. 0.3.4 to 0.3.6pl1 or smth.
Either you are using an old script or old libs, What I can read its not getting the functions.
LUA:
function 'callbackOnSell' 
in function 'processModuleCallback'
in function 'onSell' 
in function <data/npc/lib/npcsystem/modules.lua:1295
WibbenZ
 

Similar threads

Back
Top