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

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
1,492
Solutions
27
Reaction score
858
Location
Santiago - Chile
GitHub
ralke23
Twitch
ralke23
im getting this error in console, and is provoked by a player (i already banned him) but i need some help with a solution! thanks in advance. Using OTX 2.5 as always ^^

a6b5006d2a.png


a6b4f6d29f.png


bump

found this error too after a week in console:
Ralke said:
[26/2/2017 12:54:47] [Warning - [Magic] Dark Rodo] NpcSystem:
[26/2/2017 12:54:47] ShopModule.onBuy - Item not found on shopItems list

bump

bump

bump

bump

bump
 
Last edited by a moderator:
Solution
sorry for doubleposting! this is now solved i dont know why but when Xodet (or any magic npc) have this line on the script

Lua:
shopModule:addBuyableItem({'spellbook'}, 2175, 150, 1, 'spellbook')

modules react with this error
Lua:
[27/3/2017 16:46:55] [Warning - Xodet] NpcSystem:
[27/3/2017 16:46:55] ShopModule.onBuy - Item not found on shopItems list

hope this helps someone![/code]

Try this;
Lua:
shopModule:addBuyableItem({'spellbook'}, 2175, 150, 'spellbook')
ralke said:
[27/3/2017 16:46:55] [Warning - Xodet] NpcSystem:
[27/3/2017 16:46:55] ShopModule.onBuy - Item not found on shopItems list

got this error today, i talked to player and he said he was not using any kind of bot, i'll be checking anyways

here is my modules.lua uploaded to github

modules.lua · Issue #1 · ralke23/stuff · GitHub

@WibbenZ sorry i just repond the answer

please help!
 
sorry for doubleposting! this is now solved i dont know why but when Xodet (or any magic npc) have this line on the script

Lua:
shopModule:addBuyableItem({'spellbook'}, 2175, 150, 1, 'spellbook')

modules react with this error
Lua:
[27/3/2017 16:46:55] [Warning - Xodet] NpcSystem:
[27/3/2017 16:46:55] ShopModule.onBuy - Item not found on shopItems list

hope this helps someone![/code]
 
sorry for doubleposting! this is now solved i dont know why but when Xodet (or any magic npc) have this line on the script

Lua:
shopModule:addBuyableItem({'spellbook'}, 2175, 150, 1, 'spellbook')

modules react with this error
Lua:
[27/3/2017 16:46:55] [Warning - Xodet] NpcSystem:
[27/3/2017 16:46:55] ShopModule.onBuy - Item not found on shopItems list

hope this helps someone![/code]

Try this;
Lua:
shopModule:addBuyableItem({'spellbook'}, 2175, 150, 'spellbook')
 
Solution
Back
Top