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

data/lib/050-function.lua:234: attempt to index a boolean value

Arkangel Nyx

Member
Joined
Feb 23, 2012
Messages
176
Reaction score
6
Location
U.S.A.
[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:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end

npcHandler:addModule(FocusModule:new())
 
I downloaded a new npc pack and i got this error:


[26/08/2012 10:20:30] [Error - Npc interface]
[26/08/2012 10:20:30] data/npc/scripts/default.lua
[26/08/2012 10:20:30] Description:
[26/08/2012 10:20:30] data/npc/scripts/default.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[26/08/2012 10:20:30] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/default.lua
[26/08/2012 10:20:30] cannot open data/npc/scripts/marriage.lua: No such file or directory

[26/08/2012 10:20:31] [Error - Npc interface]
[26/08/2012 10:20:31] data/npc/scripts/Basilisk.lua
[26/08/2012 10:20:31] Description:
[26/08/2012 10:20:31] data/npc/scripts/Basilisk.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[26/08/2012 10:20:31] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Basilisk.lua
[26/08/2012 10:20:31] cannot open data/npc/scripts/marriage.lua: No such file or directory

[26/08/2012 10:20:31] [Error - Npc interface]
[26/08/2012 10:20:31] data/npc/scripts/Brodrosch.lua
[26/08/2012 10:20:31] Description:
[26/08/2012 10:20:31] data/npc/scripts/Brodrosch.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[26/08/2012 10:20:31] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Brodrosch.lua
[26/08/2012 10:20:32] cannot open data/npc/scripts/marriage.lua: No such file or directory

[26/08/2012 10:20:32] [Error - Npc interface]
[26/08/2012 10:20:32] data/npc/scripts/Gurbasch.lua
[26/08/2012 10:20:32] Description:
[26/08/2012 10:20:32] data/npc/scripts/Gurbasch.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[26/08/2012 10:20:32] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Gurbasch.lua
[26/08/2012 10:20:32] cannot open data/npc/scripts/marriage.lua: No such file or directory

[26/08/2012 10:20:32] [Error - Npc interface]
[26/08/2012 10:20:32] data/npc/scripts/Markwin.lua
[26/08/2012 10:20:32] Description:
[26/08/2012 10:20:32] data/npc/scripts/Markwin.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[26/08/2012 10:20:32] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Markwin.lua
[26/08/2012 10:20:33] cannot open data/npc/scripts/marriage.lua: No such file or directory

etc..etc..

Everyone is telling me that its the npcs...but to me the common denominator has been the default.lua, tell me what you think.
 
Back
Top