Thaian Citizen
Hexenjäger
Hello everyone, I've been trying to fix this problem for some time now, I was searching the forum for different stuff but it all didnt work or links to modules.lua files were outdated...
I am using: The Forgotten Server - Edited By Cyko V8, version 0.3.6 - Edited By Cyko V8 (Crying Damson - Edited By Cyko V8)
My problem: I cannot sell single items through trade window. stackable items e.g. worms can be sold... non stackable items e.g. bow cant be sold, however this just affects the trade window, if I write sell bow, yes it can be sold, too.
Error print:
my npc.xml -> http://pastebin.com/qfiWZqq7
my modules.lua -> http://pastebin.com/QxGN3Qkc (the standard one that came with the distro)
I am using: The Forgotten Server - Edited By Cyko V8, version 0.3.6 - Edited By Cyko V8 (Crying Damson - Edited By Cyko V8)
My problem: I cannot sell single items through trade window. stackable items e.g. worms can be sold... non stackable items e.g. bow cant be sold, however this just affects the trade window, if I write sell bow, yes it can be sold, too.
Error print:
Code:
[06/12/2014 14:33:55] [Error - Npc interface]
[06/12/2014 14:33:55] (Unknown script file)
[06/12/2014 14:33:55] Description:
[06/12/2014 14:33:55] data/npc/lib/npcsystem/modules.lua:1234: bad argument #2 to 'error' (number expected, got string)
[06/12/2014 14:33:55] stack traceback:
[06/12/2014 14:33:55] [C]: in function 'error'
[06/12/2014 14:33:55] data/npc/lib/npcsystem/modules.lua:1234: in function 'callbackOnSell'
[06/12/2014 14:33:55] data/npc/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
[06/12/2014 14:33:55] data/npc/lib/npcsystem/npchandler.lua:450: in function 'onSell'
[06/12/2014 14:33:55] data/npc/lib/npcsystem/modules.lua:1296: in function <data/npc/lib/npcsystem/modules.lua:1295>
my npc.xml -> http://pastebin.com/qfiWZqq7
my modules.lua -> http://pastebin.com/QxGN3Qkc (the standard one that came with the distro)