• 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 Cannot Load Items.xml

25193323

New Member
Joined
Jun 13, 2013
Messages
91
Reaction score
0
[Warning - Items::loadFromXml] Cannot load items file.
Line: 16036, Info: Extra content at the end of the document
ERROR: Unable to load items (XML)

The line 16036 is the first line

<item id="7408" article="a" name="wyvern fang">
<attribute key="weight" value="2000"/>
<attribute key="defense" value="19"/>
<attribute key="attack" value="32"/>
<attribute key="weaponType" value="sword"/>
<attribute key="extradef" value="1"/>
</item>

Here is my items/xml who can help please?


items.rar

- - - Updated - - -

I knew the wrong thing and I fixed, now it telling me the line 16037
 
[Warning - Items::loadFromXml] Cannot load items file.
Line: 16036, Info: Extra content at the end of the document
ERROR: Unable to load items (XML)

The line 16036 is the first line

<item id="7408" article="a" name="wyvern fang">
<attribute key="weight" value="2000"/>
<attribute key="defense" value="19"/>
<attribute key="attack" value="32"/>
<attribute key="weaponType" value="sword"/>
<attribute key="extradef" value="1"/>
</item>

Here is my items/xml who can help please?


items.rar

- - - Updated - - -

I knew the wrong thing and I fixed, now it telling me the line 16037

Hi 25193323,

The error was with the Rich Boots, as stated below.

Change:
Lua:
<item id="2641" name="Rich boots">
<attribute key="weight" value="900"/>
<attribute key="armor" value="20"
<attribute key="slotType" value="feet"/>
<attribute key="healthGain" value="50"/>
<attribute key="healthTicks" value="2000"/>
<attribute key="manaGain" value="50"/>
<attribute key="manaTicks" value="2000"/>
<attribute key="speed" value="60"/>
</item>

to:

Lua:
<item id="2641" name="Rich boots">
<attribute key="weight" value="900"/>
<attribute key="armor" value="20"/>
<attribute key="slotType" value="feet"/>
<attribute key="healthGain" value="50"/>
<attribute key="healthTicks" value="2000"/>
<attribute key="manaGain" value="50"/>
<attribute key="manaTicks" value="2000"/>
<attribute key="speed" value="60"/>
</item>

See the missing XML tag info at the end of the attribute key="armor" line?

Cheers,
Yodot.
 
Well I Deleted It All And The Same Problem I Have... in the same line !!

- - - Updated - - -

First, Really Thanks but I got the same problem in onther line

Line: 16036, Info: Extra content at the end of the document

- - - Updated - - -

gotta onther line :S :S please help what the fuck that :S
 
Hi 25193323,

I think you may have chanegd something else while trying to fix your problem.

Anyway, you might find this site a great resource. Load your items.xml and it will show you where the errors are. Of course, depending on the type of syntax error it may or may not show where the problem is, but it has been helpful for me.

XML Validation: XML Validation

Cheers.
 
Hi 25193323,

Try the items.xml from this link (it's your items.xml just extracted from the rar) items.xml.

The extra errors were nested <item> tag info terminating prematurely.

Let me know how it goes.

Cheers,
Yodot.
 
Back
Top