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

Donation Items won't work properly

Valania

Learning PHP/Lua
Joined
Oct 23, 2009
Messages
315
Reaction score
1
Location
Germany
Hello, I've been using the search function and I've been trying to figure out how to add stuff to my items, but they simply won't work. They will only display on the item but not actually work on the character itself. Here are some screenshots:

Movements.xml: Screenshot (http://prntscr.com/orw4hd)
items.xml: Screenshot (http://prntscr.com/orw5a5)
Ingame: Screenshot (http://prntscr.com/orw5e6)
Ingame 2: Screenshot (http://prntscr.com/orw5he)

Help is needed now, been on this issue for more than 6 hours <.<
 
Add <attribute key="showattributes" value="1"/> to the item in items.xml
Also, in your movements file, you should specify the vocation ID instead of the name.
 
Just edit your movements.xml, it should look like this.
XML:
    <movevent event="Equip" itemid="7886" slot="head" level="35" function="onEquipItem">
        <vocation name="Knight" />
        <vocation name="Elite Knight" showInDescription="0" />
        <vocation name="Paladin" />
        <vocation name="Royal Paladin" showInDescription="0" />
    </movevent>
    <movevent event="DeEquip" itemid="2471" slot="head" function="onDeEquipItem" />
 
Add <attribute key="showattributes" value="1"/> to the item in items.xml
Also, in your movements file, you should specify the vocation ID instead of the name.

All the vocations are displayed like that in the vocations.xml, so I might as well keep it like that?
 
Yeah edited the main reply, just copy what I posted and it will work 100%
 
I've recognized that NONE of my items that should upgrade (even standard ones like Master Archers Armor), are not adding any skills...
 
You have copied old movements.xml from other data-pack, TFS 1.3 doesn't work like this
You have to change all Equip lines like this
<moveevent type="Equip"
to
<movevent event="Equip"
also you will have to remove
event="function"
then you'll have to change
value="onEquipItem">
to
function="onEquipItem">
And then you'll have to change all DeEquip lines like this change
<moveevent type="DeEquip"
to
<movevent event="DeEquip"
also you will have to remove
event="function"
then you'll have to change
value="onDeEquipItem"/>
to
function="onDeEquipItem"/>
 
Last edited:
If you just followed the steps I mentioned above changing all Equip/DeEquip lines it won't take long time and you'll be done in few mints with all the movements.
 
Yo guys, I've fixed it. Thanks for the hints. The issue was the following: I did use an old movements.xml as you said, because my server did not copy the correct file - now those issues are gone, it all works fine. Thank you guys.
 
Back
Top