• 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 NPCS wont buy items. Only sell.

Soul Baker

New Member
Joined
Dec 8, 2015
Messages
16
Reaction score
0
[24/12/2015 21:51:38] [Error - Npc interface]
[24/12/2015 21:51:38] (Unknown script file)
[24/12/2015 21:51:38] Description:
[24/12/2015 21:51:38] data/npc/lib/npcsystem/modules.lua:1234: bad argument #2 to 'error' (number expected, got string)
[24/12/2015 21:51:38] stack traceback:
[24/12/2015 21:51:38] [C]: in function 'error'
[24/12/2015 21:51:38] data/npc/lib/npcsystem/modules.lua:1234: in function 'callbackOnSell'
[24/12/2015 21:51:38] data/npc/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
[24/12/2015 21:51:38] data/npc/lib/npcsystem/npchandler.lua:450: in function 'onSell'
[24/12/2015 21:51:38] data/npc/lib/npcsystem/modules.lua:1296: in function <data/npc/lib/npcsystem/modules.lua:1295>


thats what im getting when i try to sell items to rashid or xodet or any of my npcs. but i can buy items and supplies from them. i think this has to do with npchandler script and models. im using tfs 0.3.6 does anyone have a working scripts for those two>?
 
Back
Top