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

crital/ mana/life leech client 10.99

Nuelman

Member
Joined
Nov 9, 2017
Messages
98
Solutions
1
Reaction score
6
hello today observing options of my ot serv , I have seen that in the file "items" I have several items with " critical" "manaleech" etc..... but they do not work.
What can be the problem?
Or maybe it's incompatible with my version?

OTX tfs 1.x

thanks

Lua:
    <item id="25899" article="a" name="Blade of Mayhem (heavily charged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="32" />
        <attribute key="attack" value="50" />
        <attribute key="description" value="This weapon is heavily charged." />
        <attribute key="weaponType" value="sword" />   
        <attribute key="skillstatcriticalchance" value="15" />
        <attribute key="skillstatcriticaldamage" value="20" />
        <attribute key="decayTo" value="25879" />
        <attribute key="duration" value="36000" />
        <attribute key="showduration" value="1" />
    </item>
Code:
    <item id="25920" article="a" name="Blade of Remedy (charged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="32" />
        <attribute key="attack" value="49" />
        <attribute key="description" value="This weapon is charged." />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillstatlifeleechchance" value="25" />
        <attribute key="skillstatlifeleechdamage" value="5" />   
        <attribute key="decayTo" value="25919" />
        <attribute key="duration" value="72000" />
        <attribute key="showduration" value="1" />
    </item>
Code:
    <item id="25964" article="a" name="Slayer of Carving (charged)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="31" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is charged." />
        <attribute key="weaponType" value="sword" />
        <attribute key="slotType" value="two-handed" />   
        <attribute key="skillstatmanaleechchance" value="20" />
        <attribute key="skillstatmanaleechdamage" value="5" />   
        <attribute key="decayTo" value="25963" />
        <attribute key="duration" value="72000" />
        <attribute key="showduration" value="1" />
    </item>
 

Levi999x

AoT
Joined
Dec 14, 2017
Messages
1,873
Solutions
37
Reaction score
1,092
Location
Germany
I think the PC is not the problem, the problem is the server... is an old server,
What I don't understand is why the options come up on the server and aren't visible
laugh lol GIF by SpongeBob SquarePants
 

JayMeazy

Member
Joined
Sep 7, 2020
Messages
92
Solutions
2
Reaction score
24
hello today observing options of my ot serv , I have seen that in the file "items" I have several items with " critical" "manaleech" etc..... but they do not work.
What can be the problem?
Or maybe it's incompatible with my version?

OTX tfs 1.x

thanks

Lua:
    <item id="25899" article="a" name="Blade of Mayhem (heavily charged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="32" />
        <attribute key="attack" value="50" />
        <attribute key="description" value="This weapon is heavily charged." />
        <attribute key="weaponType" value="sword" />  
        <attribute key="skillstatcriticalchance" value="15" />
        <attribute key="skillstatcriticaldamage" value="20" />
        <attribute key="decayTo" value="25879" />
        <attribute key="duration" value="36000" />
        <attribute key="showduration" value="1" />
    </item>
Code:
    <item id="25920" article="a" name="Blade of Remedy (charged)">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="32" />
        <attribute key="attack" value="49" />
        <attribute key="description" value="This weapon is charged." />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillstatlifeleechchance" value="25" />
        <attribute key="skillstatlifeleechdamage" value="5" />  
        <attribute key="decayTo" value="25919" />
        <attribute key="duration" value="72000" />
        <attribute key="showduration" value="1" />
    </item>
Code:
    <item id="25964" article="a" name="Slayer of Carving (charged)">
        <attribute key="weight" value="7000" />
        <attribute key="defense" value="31" />
        <attribute key="attack" value="51" />
        <attribute key="description" value="This weapon is charged." />
        <attribute key="weaponType" value="sword" />
        <attribute key="slotType" value="two-handed" />  
        <attribute key="skillstatmanaleechchance" value="20" />
        <attribute key="skillstatmanaleechdamage" value="5" />  
        <attribute key="decayTo" value="25963" />
        <attribute key="duration" value="72000" />
        <attribute key="showduration" value="1" />
    </item>
does it display on the items when you look at them? also, i believe they have to be registered in movements.xml even if they're weapons
 

Levi999x

AoT
Joined
Dec 14, 2017
Messages
1,873
Solutions
37
Reaction score
1,092
Location
Germany
Are you sure its not working?

Maybe it just does not show the attribute on items
I have the problem on tfs 1.3 for Helmet,armor,legs,boots
 

JayMeazy

Member
Joined
Sep 7, 2020
Messages
92
Solutions
2
Reaction score
24
it's:
Code:
manaleechamount
manaleechchance
lifeleechamount
lifeleechchance
criticalhitamount
criticalhitchance
but in the 1.3 i grabbed a while back the critical was broken
 

JayMeazy

Member
Joined
Sep 7, 2020
Messages
92
Solutions
2
Reaction score
24
Well the attributes are working but it does not show on item but its fine for me
i forgot, i'm pretty sure i had to fix what you're talking about, it's easy if you guys want to make the source changes, here they are for 1.3:
item.cpp:
after
Code:
        if (it.abilities) {
            for (uint8_t i = SKILL_FIRST; i <= SKILL_LAST; i++) {
                if (!it.abilities->skills[i]) {
                    continue;
                }

                if (begin) {
                    begin = false;
                    s << " (";
                } else {
                    s << ", ";
                }

                s << getSkillName(i) << ' ' << std::showpos << it.abilities->skills[i] << std::noshowpos;
            }
put
Code:
            for (uint8_t i = SPECIALSKILL_FIRST; i <= SPECIALSKILL_LAST; i++) {
                if (!it.abilities->specialSkills[i]) {
                    continue;
                }

                if (begin) {
                    begin = false;
                    s << " (";
                } else {
                    s << ", ";
                }

                s << getSpecialSkillName(i) << ' ' << std::showpos << it.abilities->specialSkills[i] << '%' << std::noshowpos;
            }

and next find

Code:
            if (it.abilities->stats[STAT_MAGICPOINTS]) {
                if (begin) {
                    begin = false;
                    s << " (";
                } else {
                    s << ", ";
                }

                s << "magic level " << std::showpos << it.abilities->stats[STAT_MAGICPOINTS] << std::noshowpos;
            }
and after it put
Code:
            for (uint8_t i = SPECIALSKILL_FIRST; i <= SPECIALSKILL_LAST; i++) {
                if (!it.abilities->specialSkills[i]) {
                    continue;
                }

                if (begin) {
                    begin = false;
                    s << " (";
                } else {
                    s << ", ";
                }

                s << getSpecialSkillName(i) << ' ' << std::showpos << it.abilities->specialSkills[i] << '%' << std::noshowpos;
            }
 
Top