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

[LUA] NPC Modules Error

musmash

New Member
Joined
Nov 12, 2008
Messages
22
Reaction score
0
Hi people, in my otserver i'm get this error every time that a player call a NPC

[09/01/2011 03:43:42] [Error - Npc interface]
[09/01/2011 03:43:42] (Unknown script file)
[09/01/2011 03:43:42] Description:
[09/01/2011 03:43:42] data/npc/lib/npcsystem/modules.lua:1157: bad argument #2 to 'error' (number expected, got string)
[09/01/2011 03:43:42] stack traceback:
[09/01/2011 03:43:42] [C]: in function 'error'
[09/01/2011 03:43:42] data/npc/lib/npcsystem/modules.lua:1157: in function 'callbackOnBuy'
[09/01/2011 03:43:42] data/npc/lib/npcsystem/npchandler.lua:256: in function 'processModuleCallback'
[09/01/2011 03:43:42] data/npc/lib/npcsystem/npchandler.lua:433: in function 'onBuy'
[09/01/2011 03:43:42] data/npc/lib/npcsystem/modules.lua:1293: in function <data/npc/lib/npcsystem/modules.lua:1292>

how can i fix this^?

Thanksssssssssssssssssssss
 
Back
Top