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

Need help with NPCs addition.

Genionew

New Member
Joined
Oct 2, 2012
Messages
29
Reaction score
3
Hiii. I'm adding NPCs with Remere's ME, but when I log in to the OTS there's no NPCs... In what may lie the problem? I cannot give you more details because I'm inexperienced.. :(
 
Yes, for example:
[08/09/2013 13:43:40] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Richard.xml).
[08/09/2013 13:43:40] Info: failed to load external entity "data/npc/Richard.xml"

or

[08/09/2013 13:43:40] [Error - Npc interface]
[08/09/2013 13:43:40] data/npc/scripts/Obi.lua
[08/09/2013 13:43:40] Description:
[08/09/2013 13:43:40] data/npc/scripts/Obi.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[08/09/2013 13:43:40] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Obi.lua
 
Do you have those NPCs in your data/npc folder?
If not, you have to add them.

The KeywordHandler error means the directory in the npc.lua (and maybe also in the npcsystem.lua) isn't correct, so it can't find the npcsystem files.
You probably used a datapack that wasn't ment for your server version.
What you can do is change the directory or replace the lib folder in data/npc with the original one from your server.
If you want help to change the directory then I have to know which server you use.
 
Back
Top