Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 19:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



remove the exp multiplier

Discussion on remove the exp multiplier within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2017
Posts: 380
Received Thanks: 60
remove the exp multiplier

Hi I just share what I did to remove the multiplication of group exp.
This article is precisely for remove this multiplication,
it is used to group or all alone is the same rate exp.

change

Code:
        private int GetXP(NpcMonsterDTO monster, Group group) //Level xp
        {
            int partySize = 1;
            double partyPenalty = 1d;
            int levelDifference = Level - monster.Level;

            if (group != null)
            {
                int levelSum = group.Characters.Sum(g => g.Character.Level);
                partySize = group.CharacterCount;
                partyPenalty = (6f / partySize) / levelSum;
            }

            int xpcalculation = levelDifference < 15 ? monster.XP : monster.XP / 3 * 2;

            int xp = (int)Math.Round(xpcalculation * CharacterHelper.ExperiencePenalty(Level, monster.Level) * ServerManager.Instance.Configuration.RateXP * MapInstance.XpRate);

            if (partySize > 1 && group != null)
            {
                xp = (int)Math.Round(xp / (Level * partyPenalty));
            }

            return xp;
        }
by

Code:
        private int GetXP(NpcMonsterDTO monster, Group group) //Level xp
        {
            int levelDifference = Level - monster.Level;

            if (group != null)
            {
                int levelSum = group.Characters.Sum(g => g.Character.Level);
            }

            int xpcalculation = levelDifference < 15 ? monster.XP : monster.XP / 3 * 2;

            int xp = (int)Math.Round(xpcalculation * CharacterHelper.ExperiencePenalty(Level, monster.Level) * ServerManager.Instance.Configuration.RateXP * MapInstance.XpRate);


            return xp;
        }
redbull2905 is offline  
Reply


Similar Threads Similar Threads
[RELEASE] SAS4 Beta - Infinite Skills, Money and EXP Multiplier
02/27/2015 - Facebook - 77 Replies
THIS IS NOW PATCHED. I'm leaving this up incase anyone wants to disect the script out of the trainer and attempt to update it. If Anyone wants my updated SAS4 hacks, Check out my Youtube Over at: https://www.youtube.com/user/KrayzonsFunBox Shoutouts to brother slobodas and also thanks brother Panraven for helping me get started on swf decomps, both of them are awesome people!! The Trainer includes 3 Hacks, Infinite Skills(can be used on level 1 character) , Money and Experience...
[Request Help] Remove mobs / remove eur items / remove npc
02/15/2013 - SRO Private Server - 0 Replies
Iam sure all now saies this guy is mad :D why not remove the db i want to know how i can remove mobs from samrkand and add alex mobs there and remove eur item from npc and drobs and remove some npcs ty guys _________________________ I see that there is too much help here it's my topic no.2 without any answer
12sky2 exp/money multiplier
06/21/2010 - 12Sky2 - 1 Replies
Hello hackers.I have been here for a while(3 days)and i found out that moneyisnt hackable,neither exp.I am just here to say that if these 2 arent hackable,why not to make a multiplier that multiplies the exp/money amount you receive.Or at least,a hack that gives fortune pouches every mob.Hope it will be one...one day....in one life...



All times are GMT +2. The time now is 19:43.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.