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

Problem with movement.xml :Ss help

wafuboe

Active Member
Joined
Dec 24, 2010
Messages
884
Solutions
2
Reaction score
26
Well i got a problem with my movements.xml i dont understand the error message fromt the console;

Loading movements... [Warning - BaseEvents::loadFromXml] Cannot open data/movements/movements.xml file.
[6/7/2013 15:31:55] Line: 1148, Info: Premature end of data in tag movements line 2



help i dont see and error in the end of the xml
 
edit movements.xml

Go to

Code:
<movement>

Change that to

Code:
<movements>

or vise versa. And don't forget to have the same ending as the beginning.. If it's movement/movements you need to have the same in the end

Example Code:
Code:
<movements>
...
...
...
...
...
...
...
</movements>


If that's not the case, you probably need to go to line 1148 and check that you've made the ending like this

Example Code:
Code:
<movevent type="Equip" itemid="####" slot="head" event="function" value="onEquipItem">

to
Code:
<movevent type="Equip" itemid="####" slot="head" event="function" value="onEquipItem[COLOR="#FF0000"]"/[/COLOR]>
 
Last edited:
Back
Top