• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

(War server) Too much exp bonus for killing high lvls

wafuboe

Active Member
Joined
Dec 24, 2010
Messages
884
Solutions
2
Reaction score
26
Well im having problems with my war server exp..

If im a player with lvl 100 and i kill another one with lvl 100. i gain experience for one level, okay good.
However when a lvl 100 kills a lvl 300 form example mass amount of exp is gained, like in this picture..

If this normal? I think it is a multiplier of exp, depending on the difference of lvl, anyway to remover that feature? So the exp depends only on the lvl of the victim and no bonusses of level difference?

here is another post i opened but with no concrete results:S
http://otland.net/threads/exp-for-war-servers-help.213382/#post-2048472

Srry bout my bad english, do you undestand my problem?

pacos_zps1ee29707.png
 
Check at creatureevents for onDeath or onKill scripts, then paste it here.

Most likely you'll just have to look (or make) another formula.
 
mmm nope nothing:( only war server scripts..

but look at this formula on sources

Code:
/*
        Formula
        a = attackers level * 0.9
        b = victims level
        c = victims experience

        result = (1 - (a / b)) * 0.05 * c
        Not affected by special multipliers(!)
    */
    uint32_t a = (uint32_t)std::floor(attackerLevel * 0), b = level;
    uint64_t c = getExperience();
    return (double)std::max((uint64_t)0, (uint64_t)std::floor(getDamageRatio(attacker)
        * std::max((double)0, ((double)(1 - (((double)a / b))))) * 0.01 * (c * 10 / 100))) * rate;
 
Back
Top