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

Windows A few questions...

ecounlimited

New Member
Joined
Aug 7, 2013
Messages
53
Reaction score
3
I say 'trade' to NPC Soya and she opens up the shop window, but I can't sell my items to her. They're highlighted and everything but I click OK and nothing happens. Only way I can sell is if I say "sell boots of haste" "yes".

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


Found another error, when trying to sell a wand of vortex to Eryn. Same message as above.


Thanks for any and all help.
 
Last edited:
Its easier if u try to explain a little more about ur problem with ur npcs. Are you getting any error in ur console?
<I wont be able to help u with this though as I am not that good, yet! ;)>
 
Its easier if u try to explain a little more about ur problem with ur npcs. Are you getting any error in ur console?
<I wont be able to help u with this though as I am not that good, yet! ;)>

Thanks, didn't know a console error would show up for something like this.
 
Try with another modules.lua (e.g this)

Whatever you did worked! I'm very grateful for the help, but is there any way to make it so the item will be highlighted in the sell window once taken off of the character's equipment? Just for a flawless experience like real Tibia :p. If not that's alright, thanks a lot everyone!
 
Back
Top