• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Unable to load items (XML)!

derkon

New Member
Joined
Oct 13, 2009
Messages
81
Reaction score
0
Location
UK, but im Polish!
I want to have crystal arrow on ots, but when i put that into items.xml. Then my TFS "cryingdamson5-gui" dont load it. Please Help.

[15/11/2009 11:49:41] [Warning - Items::loadFromXml] Cannot load items file.
[15/11/2009 11:49:41] Line: 781, Info: Extra content at the end of the document.

</item>
<item id="2352" article="a" name="crystal arrow" plural="crystal arrow">
<attribute key="description" value="This arrow seems not suitable for the use with ordinary bows. It seems to be rotting rapidly."/>
<attribute key="weight" value="100"/>
<attribute key="attack" value="150"/>
<attribute key="weaponType" value="ammunition"/>
<attribute key="ammoType" value="arrow"/>
<attribute key="shootType" value="arrow"/>
 
I guess you have used WordPad or Notepad to edit items.xml, ye?
 
Code:
<item id="2352" article="a" name="crystal arrow" plural="crystal arrow">
<attribute key="description" value="This arrow seems not suitable for the use with ordinary bows. It seems to be rotting rapidly."/>
<attribute key="weight" value="100"/>
<attribute key="attack" value="150"/>
<attribute key="weaponType" value="ammunition"/>
<attribute key="ammoType" value="arrow"/>
<attribute key="shootType" value="arrow"/> 
[B][COLOR="Red"]</item>[/COLOR][/B]
 
UP2x
I have used WordPad, is it wrong? If it is please tell me what should i use then. :)

UP1x
I just didnt copy everything ;s, i have "</item>" in the bottom.
 
Last edited:
Use notepad++ insteand of WordPad, wordpad does not support this encoding.
 
But what about this any help plzz ???

[05/01/2013 18:58:40] [Warning - Items::loadFromXml] Cannot load items file.
[05/01/2013 18:58:40] Line: 2576, Info: expected '>'

i dont get it
 
Back
Top