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

error at data

jwthbb

New Member
Joined
Apr 22, 2013
Messages
37
Reaction score
0
hey you guys i got an error

line 3, :info: extra content at the end of the document

this is my data xml

<?xml version="1.0" encoding="UTF-8"?>

</actions>


<action itemid="2112" event="script" value="vipmedal.lua"/>
<!-- Quests -->
<action actionid="2000" event="script" value="quests/system.lua"/>
<action actionid="2001" event="script" value="quests/system.lua"/>
<action uniqueid="30015" event="script" value="quests/annihilator.lua"/>

<!-- Weapons enchanting (Gems) -->
<action itemid="2146" event="script" value="other/enchanting.lua"/>
<action itemid="2147" event="script" value="other/enchanting.lua"/>
<action itemid="2150" event="script" value="other/enchanting.lua"/>
<action itemid="2149" event="script" value="other/enchanting.lua"/>
<action itemid="7759" event="script" value="other/enchanting.lua"/>
<action itemid="7760" event="script" value="other/enchanting.lua"/>
<action itemid="7761" event="script" value="other/enchanting.lua"/>
<action itemid="7762" event="script" value="other/enchanting.lua"/>

<!-- Tools -->
<action itemid="2420" event="script" value="tools/machete.lua"/>
<action itemid="2442" event="script" value="tools/machete.lua"/>
<action itemid="2550" event="script" value="tools/scythe.lua"/>
<action itemid="2580" event="script" value="tools/fishing.lua" allowfaruse="1"/>
<action itemid="10223" event="script" value="tools/fishing.lua" allowfaruse="1"/>
<action itemid="2554" event="script" value="tools/shovel.lua"/>
<action itemid="5710" event="script" value="tools/shovel.lua"/>
<action itemid="2120" event="script" value="tools/rope.lua"/>
<action itemid="7731" event="script" value="tools/rope.lua"/>
<action itemid="2553" event="script" value="tools/pick.lua"/>
<action itemid="5908" event="script" value="tools/obsidian_knife.lua"/>
<action itemid="5942" event="script" value="tools/blessed_wooden_stake.lua"/>
 
The first tag should not have a slash, i.e. it's only <actions>

The last line is missing the closing tag, </actions>

So it is:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<actions>
(...)
</actions>
 
Back
Top