Arkangel Nyx
Member
[25/08/2012 20:48:46] data/lib/050-function.lua:234: attempt to index a boolean value
[25/08/2012 20:48:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/default.lua
Anyone else ever gotten this error?
Rep+ for anyone that helps. Thanks.
- - - Updated - - -
I'm also getting this error:
[25/08/2012 21:53:26] [Error - Npc interface]
[25/08/2012 21:53:26] data/npc/scripts/default.lua
[25/08/2012 21:53:26] Description:
[25/08/2012 21:53:26] (luaGetThing) Thing not found
- - - Updated - - -
I think it may be in the default script, maybe someone can find an error:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler
nCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler
nCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler
nCreatureSay(cid, type, msg) end
function onThink() npcHandler
nThink() end
npcHandler:addModule(FocusModule:new())
[25/08/2012 20:48:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/default.lua
Anyone else ever gotten this error?
Rep+ for anyone that helps. Thanks.
- - - Updated - - -
I'm also getting this error:
[25/08/2012 21:53:26] [Error - Npc interface]
[25/08/2012 21:53:26] data/npc/scripts/default.lua
[25/08/2012 21:53:26] Description:
[25/08/2012 21:53:26] (luaGetThing) Thing not found
- - - Updated - - -
I think it may be in the default script, maybe someone can find an error:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler
function onCreatureDisappear(cid) npcHandler
function onCreatureSay(cid, type, msg) npcHandler
function onThink() npcHandler
npcHandler:addModule(FocusModule:new())