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

Could not load Npc .xml!

Kius Long

7.6 mapper
Joined
May 31, 2009
Messages
16
Reaction score
0
Location
Germany
Hi!
My server don't add my mapped npcs to the map in game.
In the npc.xml was:
<npclist>
</npclist>
I changed it to:
Code:
<npclist>
<npc name="Captain Jack" npc="data/npc/Captain_Jack.xml" access="3">

</npclist>



I restarted the server and saw following in the .bat and .exe data:

Code:
:: Loading npc.xml...     data/world/npc.xml:5: parser error : expected '>'
</npclist>
     ^
data/world/npc.xml:5: parser error : Premature end of data in tag npclist line 2

Error: Could not lod npc.xml!

I got no idea how to fix it. May you're able to help me?
The one who help me most get a REP+



- If this is the wrong section, feel free to move this thread -
 
Last edited:
You forgot to close the npc tag.
Make this:
Code:
<npc name="Captain Jack" npc="data/npc/Captain_Jack.xml" access="3">
Become this:
Code:
<npc name="Captain Jack" npc="data/npc/Captain_Jack.xml" access="3" />
 
Back
Top