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

Samaster

Raptorserver.ddns.net
Joined
Jun 9, 2013
Messages
291
Reaction score
23
Location
UK
I am trying to sell an item at Soya and this error comes up on my server:

Code:
[27/12/2013 16:53:21] [Error - Npc interface]
[27/12/2013 16:53:22] (Unknown script file)
[27/12/2013 16:53:22] Description:
[27/12/2013 16:53:22] data/npc/lib/npcsystem/modules.lua:1229: bad argument #2 to 'error' (number expected, got string)
[27/12/2013 16:53:22] stack traceback:
[27/12/2013 16:53:22]    [C]: in function 'error'
[27/12/2013 16:53:22]    data/npc/lib/npcsystem/modules.lua:1229: in function 'callbackOnSell'
[27/12/2013 16:53:22]    data/npc/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
[27/12/2013 16:53:22]    data/npc/lib/npcsystem/npchandler.lua:450: in function 'onSell'
[27/12/2013 16:53:22]    data/npc/lib/npcsystem/modules.lua:1296: in function <data/npc/lib/npcsystem/modules.lua:1295>

Can someone help me with this plz
 
I made downlaod of this module and it worked, only that it gave error in npc of the casino, it does not take the money of the punter!

[08/04/2019 20:07:20] [Error - Npc interface]
[08/04/2019 20:07:20] In a timer event called from:
[08/04/2019 20:07:20] data / npc / scripts / casino.lua: onCreatureSay
[08/04/2019 20:07:20] Description:
[08/04/2019 20:07:20] (luaDoRemoveItem) Item not found
 

Attachments

I made downlaod of this module and it worked, only that it gave error in npc of the casino, it does not take the money of the punter!

[08/04/2019 20:07:20] [Error - Npc interface]
[08/04/2019 20:07:20] In a timer event called from:
[08/04/2019 20:07:20] data / npc / scripts / casino.lua: onCreatureSay
[08/04/2019 20:07:20] Description:
[08/04/2019 20:07:20] (luaDoRemoveItem) Item not found
Add those also and try if you are still getting errors.
keywordhandler.lua
npchandler.lua
npcsystem.lua
 
[08/04/2019 20:53:58] [Error - Npc interface]
[08/04/2019 20:53:58] In a timer event called from:
[08/04/2019 20:53:58] data/npc/scripts/cassino.lua:eek:nCreatureSay
[08/04/2019 20:53:58] Description:
[08/04/2019 20:53:58] (luaDoRemoveItem) Item not found
 
Did it work before adding the modules? or it was bugged? I suggest you doing support thread and post your NPC script and maybe someone can help you.
 
Back
Top