• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Solaxia Exp/Party Exp Rates

Junior Spellweaver
Joined
Nov 26, 2012
Messages
156
Reaction score
35
Hey there;
So I've been playing around with Solaxia's EXP rates and party exp rates but I can't seem to get it right. Now I read that if i remove worldz.getExpRate() completely and just put a static int it'll use that rate.
Now I want an exp rate of 5. I tested with a blue snail and i get 15xp but technically i should get 20exp since 4 exp by standard but a multiple of 5 to give 20xp.

My Server Constants:
Code:
public static final int EXP_RATE = 5;

Maple Character SetRates()
Code:
if ((haveItem(5211000) && hr > 17 && hr < 21) || (haveItem(5211014) && hr > 6 && hr < 12) || (haveItem(5211015) && hr > 9 && hr < 15) || (haveItem(5211016) && hr > 12 && hr < 18) || (haveItem(5211017) && hr > 15 && hr < 21) || (haveItem(5211018) && hr > 14) || (haveItem(5211039) && hr < 5) || (haveItem(5211042) && hr > 2 && hr < 8) || (haveItem(5211045) && hr > 5 && hr < 11) || haveItem(5211048)) {
            if (isBeginnerJob()) {
                this.expRate =  5; //Nerfed
            } else {
                this.expRate =  5; //Nerfed
            }
        } else {
            if (isBeginnerJob()) {
                this.expRate =  5;
            } else {
                this.expRate =  5;
            }
        }

MapleCharacter Private rates:
Code:
private int expRate = 5, mesoRate = 1, dropRate = 1;

Now comes the party exp: With my current exp if I create a party (1 Person); I'll get 10 exp, so yes i'm getting less when being in a party. Again i did experiment with the rates but still no luck.

Server Constants:
Code:
public static final int PARTY_EXPERIENCE_MOD = 2;

MapleMonster

Code:
final int partyModifier = numExpSharers > 1 ? (110 + (5 * (numExpSharers - 2))) : 0;

        int partyExp = 0;

        if (attacker.getHp() > 0) {
            int personalExp = exp * attacker.getExpRate();

            if (exp > 0) {
                if (partyModifier > 0) {
                    partyExp = (int) (personalExp * ServerConstants.PARTY_EXPERIENCE_MOD * partyModifier / 1000f);
                }

Maple Packet Creator is just used to show the exp gained i guess but i checked the actual exp gained aswell but it made no difference

AbstractPlayerInteraction

Code:
public void givePartyExp(int amount, List<MapleCharacter> party) {
		for (MapleCharacter chr : party) {
			chr.gainExp((amount * chr.getExpRate()), true, true);
		}
	}

So how exactly is the addtional party exp worked out; or in my case negative exp XD because below in the Abstract Player Interaction it says:
Code:
public void givePartyExp(String PQ, boolean instance) {
		//1 player = 0% bonus (100)
		//2 players = 0% bonus (100)
		//3 players = +0% bonus (100)
		//4 players = +10% bonus (110)
		//5 players = +20% bonus (120)
		//6 players = +30% bonus (130)
		MapleParty party = getPlayer().getParty();
		int size = party.getMembers().size();

Which I believe is for Party Quests which shouldn't apply to the standard party rates?

Thanks
 
Junior Spellweaver
Joined
Jan 2, 2014
Messages
150
Reaction score
50
Do @Rates, does it output 4x exp?

Should be the final output ">>Total Exp Rate: " Everything else will be looking at ServerConstants or the worlds rates.


I would also suggest looking into making sure c.getWorldServer().getExpRate() returns 5x and just make sure nothing you don't want modifying it modifies it.
 
Upvote 0
Junior Spellweaver
Joined
Nov 26, 2012
Messages
156
Reaction score
35
Do @Rates, does it output 4x exp?

Should be the final output ">>Total Exp Rate: " Everything else will be looking at ServerConstants or the worlds rates.


I would also suggest looking into making sure c.getWorldServer().getExpRate() returns 5x and just make sure nothing you don't want modifying it modifies it.

doing the Rates commands gives a total exp rate of 5X ; Im pretty sure im not getting the correct exp; cuz i should get 20exp from a blue snail right? Not 15

This is my commands.java
Code:
if(c.getWorldServer().getExpRate() > ServerConstants.EXP_RATE) 		
			player.message(">>Total EXP Rate: " + player.getExpRate() + "x");

#Edit Okayy it seems blue snails are just generally messed up. Killing other mobs is fine with 5x exp rate idk why blue snails gives the incorrect EXP unless they give 3xp originally and not 4? Idk

Just needa fix up this party exp now
 
Last edited:
Upvote 0
Back
Top