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

items.xml error

molik

New Member
Joined
Jul 30, 2009
Messages
40
Reaction score
0
I added a few new items but when i putted them into the items.xml file it gave me this error when starting the server.

data/items/items.xml:21435: parser error : expected '>'
</items>
^
data/items/items.xml:21436: parser error : Premature end of data in tag items line 2

The items i added:
<item id="10544" article="a" name="heavy bow"/>
<attribute key="weight" value="60000"/>
<attribute key="slotType" value="two-handed"/>
<attribute key="weaponType" value="distance"/>
<attribute key="ammoType" value="arrow"/>
<attribute key="range" value="7"/>
<attribute key="hitChance" value="1"/>
<attribute key="attack" value="1"/>

<item id="10545" article="an" name="piercing arrow" plural="piercing arrows">
<attribute key="weight" value="70"/>
<attribute key="attack" value="38"/>
<attribute key="weaponType" value="ammunition"/>
<attribute key="ammoType" value="arrow"/>
<attribute key="shootType" value="onyxarrow"/>
<attribute key="ammoAction" value="removecount"/>
 
<item id="10545" article="an" name="piercing arrow" plural="piercing arrows">


to <item id="10545" article="an" name="piercing arrow" plural="piercing arrows"/>

Please +rep
 
PHP:
	<item id="10544" article="a" name="heavy bow">
		<attribute key="weight" value="60000"/>
		<attribute key="slotType" value="two-handed"/>
		<attribute key="weaponType" value="distance"/>
		<attribute key="ammoType" value="arrow"/>
		<attribute key="range" value="7"/>
		<attribute key="hitChance" value="1"/>
		<attribute key="attack" value="1"/>
	</item>
	<item id="10545" article="an" name="piercing arrow" plural="piercing arrows">
		<attribute key="weight" value="70"/>
		<attribute key="attack" value="38"/>
		<attribute key="weaponType" value="ammunition"/>
		<attribute key="ammoType" value="arrow"/>
		<attribute key="shootType" value="onyxarrow"/>
		<attribute key="ammoAction" value="removecount"/> 
	</item>
 
Back
Top