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

Solved Can't load NPC's

Dylanaw

Godly Member
Joined
Feb 18, 2009
Messages
473
Reaction score
10
Hi there,

I runned in a problem.
Whenever i map a NPC wich i added on rme like : Xodet. I got it in my server files (XML+Script).
But whenever i map Xodet on RME and when i save it and start my server then it doesn't show xodet.. (and yes i place the creature spawn first then i place the NPC)

And when i try to summon Xodet i get this error:

Code:
[09/09/2012 15:06:06] [Error - Npc interface] 
[09/09/2012 15:06:06] data/npc/scripts/Xodet.lua
[09/09/2012 15:06:06] Description: 
[09/09/2012 15:06:06] data/npc/scripts/Xodet.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[09/09/2012 15:06:06] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Xodet.lua

I got this problem with every NPC.

Rep++ if helped, Thanks.
 
Last edited:
Check npc.lua if this line leads the target file.
Code:
dofile(getDataDir() .. 'npc/lib/npcsystem/npcsystem.lua')
Same in npcsystem.lua with lines:
Code:
dofile(getDataDir() .. 'npc/lib/npcsystem/keywordhandler.lua')
dofile(getDataDir() .. 'npc/lib/npcsystem/queue.lua')
dofile(getDataDir() .. 'npc/lib/npcsystem/npchandler.lua')
dofile(getDataDir() .. 'npc/lib/npcsystem/modules.lua')
 
Last edited:
I don't got those lines at npcsystem.lua / npc.lua

Could u maby send ur lib folder to me?
I might work then.

- - - Updated - - -

Thanks to Nothxbye its fixed.
I just downloaded from a other 8.6 server the lib folder and placed it on my server.
Now it's fixed.
Thank u,

#can be closed
 
use the latest Lib files keywordhandler.lua etc etc... wich fallows ur server when you download it just exchange the old One with the Files that fallowing server and it shud work!
 
Back
Top