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

Skills Limit

imback1

Unknown member
Joined
Jul 11, 2013
Messages
785
Solutions
1
Reaction score
46
How can i decrease losing exp in skills when dying, and the limit of skills how can i increase it?
Using Client 8.6//TFS 0.4.
 
How can i decrease losing exp in skills when dying, and the limit of skills how can i increase it?
Using Client 8.6//TFS 0.4.
You cannot increase the limit of skills if you're using Cipsoft tibia. Since they are using some kind of bit system that limits that. And the magic number is 255 <--- else it will just count down if you try to add more or you will get a tibia crash.
 
You cannot increase the limit of skills if you're using Cipsoft tibia. Since they are using some kind of bit system that limits that. And the magic number is 255 <--- else it will just count down if you try to add more or you will get a tibia crash.
Its the data type not a bit system. ;)
 
So magic/skills Limit is 255?
What about Decreasing losing EXP at skills/magic when character dies?
@Codex NG

It is in the config.lua

Code:
    -- Battle
    -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
    -- loginProtectionPeriod is the famous Tibia anti-magebomb system.
    -- deathLostPercent set to nil enables manual mode.
    worldType = "open"
    protectionLevel = 1
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 60 * 1000
    huntingDuration = 60 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = true
    removeWeaponCharges = true
    removeRuneCharges = true
    whiteSkullTime = 15 * 60 * 1000
    noDamageToSameLookfeet = false
    showHealingDamage = false
    showHealingDamageForMonsters = false
    fieldOwnershipDuration = 5 * 1000
    stopAttackingAtExit = false
    loginProtectionPeriod = 10 * 1000
    deathLostPercent = 10

deathLostPercent = 10
 
It is in the config.lua

Code:
    -- Battle
    -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
    -- loginProtectionPeriod is the famous Tibia anti-magebomb system.
    -- deathLostPercent set to nil enables manual mode.
    worldType = "open"
    protectionLevel = 1
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 60 * 1000
    huntingDuration = 60 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = true
    removeWeaponCharges = true
    removeRuneCharges = true
    whiteSkullTime = 15 * 60 * 1000
    noDamageToSameLookfeet = false
    showHealingDamage = false
    showHealingDamageForMonsters = false
    fieldOwnershipDuration = 5 * 1000
    stopAttackingAtExit = false
    loginProtectionPeriod = 10 * 1000
    deathLostPercent = 10

deathLostPercent = 10
Deathlostpercent isn't it level lose? I need to lose exp normally but about magic and skills no lose exp.
 
Deathlostpercent isn't it level lose? I need to lose exp normally but about magic and skills no lose exp.
So use an onDeath or an onPrepareDeath script.
Code:
onDeath(cid, corpse, deathList)
onPrepareDeath(cid, deathList)
They are a creature event.
 
In the updated config.lua it is listed as:

Code:
-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1

So that would include experience and skills.

I would have to look at the sources in order to know if it used to be only for experience, but I'm not sure why they would allow you customization of how much you lose when you die, and not include skills/magic with that.

Edit:

Sorry. I misread and didn't see at first that you still want to lose exp. I know you can remove the skills/magic loss in the sources.
 
Last edited:
I tried this way
SQL:
UPDATE `players` SET `loss_mana` = 0, `loss_skills` = 0;
to set Sample Druid/sorc/etc to 0 at lose_skills/mana and worked good, my question is.
Is it safe way to be used? or there will be problems with it?
 
Back
Top