• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Npc bug help

vvglex

New Member
Joined
Jan 2, 2015
Messages
162
Reaction score
2
hey i get this in console

Code:
[Warning - Sven] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
@Limos
 
Post your server version, the npc script and what you are buying.
tfs 0.4 , and like all npc is saying that
Code:
[Warning - The Forgotten King] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
[Warning - Boots Repairer] NpcSystem:
ShopModule.onBuy - Attempt to purchase an item which only sellable
 
You can try to use this modules (data/npc/lib/npcsystem/modules.lua).
http://www.speedy*****malware.localhost/aBceb/modules.lua
 
You can try to use this modules (data/npc/lib/npcsystem/modules.lua).
http://www.speedy*****malware.localhost/aBceb/modules.lua
okay i will and i also have this bug
Code:
[Error - CreatureScript Interface]
domodlib('teamFunctions')

function onLogout(cid)
clearTeamEventStorages(cid)
if thereIsAWinner() then
endTeamEvent("KO")
end
return true
end

:onLogout
Description:
(luaGetThingPosition) Thing not found

[Error - CreatureScript Interface]
domodlib('teamFunctions')

function onLogout(cid)
clearTeamEventStorages(cid)
if thereIsAWinner() then
endTeamEvent("KO")
end
return true
end

:onLogout
Description:
data/lib/032-position.lua:2: attempt to index local 'position' (a boolean value)
stack traceback:
        data/lib/032-position.lua:2: in function <data/lib/032-position.lua:1>
        (tail call): ?
        [string "domodlib('teamSetting')..."]:237: in function 'clearTeamEventStorages'
        [string "LuaInterface::loadBuffer"]:4: in function <[string "LuaInterface::loadBuffer"]:3>
 
Mod errors are usually hard to solve since it doesn't show specific lines, especially when the script is really big.
You can post the script, could be there are missing parts because of missing script tags and else you can also separate it and add it to the folders in data.
 
Back
Top