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

TFS 1.X+ Two ring slots problem

Tbol

Well-Known Member
Joined
Apr 7, 2019
Messages
625
Reaction score
71
Followed this tutorial TFS 1.X+ - Help new inventory slot TFS 1.3 and OTClient (https://otland.net/threads/help-new-inventory-slot-tfs-1-3-and-otclient.264537/) everything is good but when i define in items.xml like this
XML:
    <item id="1530" article="a" name="Test Ring">
        <attribute key="description" value="all skills +5" />
        <attribute key="weight" value="500" />
        <attribute key="skillsword" value="5"/>
        <attribute key="skillaxe" value="5"/>
        <attribute key="skillclub" value="5"/>
        <attribute key="skilldist" value="5"/>
        <attribute key="skillfish" value="5"/>
        <attribute key="skillshield" value="5"/>
        <attribute key="skillfist" value="5"/>
        <attribute key="slotType" value="ring" />
        <attribute key="slotType" value="ring2" />
    </item>
XML:
    <movevent event="Equip" itemid="1530" slot="ring" function="onEquipItem" />
    <movevent event="DeEquip" itemid="1530" slot="ring" function="onDeEquipItem" />
    <movevent event="Equip" itemid="1530" slot="ring2" function="onEquipItem" />
    <movevent event="DeEquip" itemid="1530" slot="ring2" function="onDeEquipItem" />
I can put the ring to those two slots, but problem becomes that it doesnt add any if the attributes only one slot adds the attributes but the second slot doesnt, and overall it seems glitched up you have to requip multiple times to see the attribute change, but if i remove <attribute key="slotType" value="ring2" /> now its not glitched up anymore it adds attributes fine, but i cant put this ring to the second slot anymore. Any ideas?
Post automatically merged:

Tried deleting
XML:
<attribute key="slotType" value="ring" />
    <movevent event="Equip" itemid="1530" slot="ring" function="onEquipItem" />
    <movevent event="DeEquip" itemid="1530" slot="ring" function="onDeEquipItem" />
so only one slot remains so seems like ring2 slot is completetly ignoring any of the attribute stat giving
 
Last edited:
Back
Top