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

Movements.xml error

Himii

Premium User
Premium User
Joined
Jan 19, 2011
Messages
1,267
Solutions
5
Reaction score
183
Location
Sweden
Yo guys!

I´ve cleaned out my movements.xml and now im getting a freaking error!!!
God bless u if u help me!!(Repp ++)

Code:
[13/8/2013 17:31:56] [Warning - BaseEvents::loadFromXml] Cannot open movements.xml file.
[13/8/2013 17:31:56] Line: 528, Info: Premature end of data in tag movements line 2


[13/8/2013 17:31:56] > ERROR: Unable to load MoveEvents!

View attachment movements.rar
 
You are getting an error on line 528, so if you put the piece of code where was this line it would be helpful to discover which error is.
 
Last edited:
You where missing a lot of ending tags to close each line, like this:

This is good:
Code:
<movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem"/>

This is not closed (bad):
Code:
<movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem">

However, this is also good:
Code:
	<movevent event="Equip" itemid="16112" slot="shield" level="150" function="onEquipItem">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer" showInDescription="0"/>
		<vocation name="Druid"/>
		<vocation name="Elder Druid" showInDescription="0"/>
	</movevent>
 

Attachments

You where missing a lot of ending tags to close each line, like this:

This is good:
Code:
<movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem"/>

This is not closed (bad):
Code:
<movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem">

However, this is also good:
Code:
    <movevent event="Equip" itemid="16112" slot="shield" level="150" function="onEquipItem">
        <vocation name="Sorcerer"/>
        <vocation name="Master Sorcerer" showInDescription="0"/>
        <vocation name="Druid"/>
        <vocation name="Elder Druid" showInDescription="0"/>
    </movevent>

Noticed that now xD buuuut still not working :/

Code:
[13/8/2013 19:14:3] [Warning - BaseEvents::loadFromXml] Cannot open movements.xml file.
[13/8/2013 19:14:3] Line: 528, Info: Premature end of data in tag movements line 2


[13/8/2013 19:14:3] > ERROR: Unable to load MoveEvents!
 
Code:
<movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem">
to
Code:
<movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem"/>
 
Back
Top