[Solved] Exp Visual Updates

I know I know, I just made a thread. But...

Anyone know a way to either use a plugin or code or SOMETHING to update the visual EXP you recieve with the actual EXP you recieve after exp buffs? Getting a (visual) 10 EXP from a goblin shouldn't level me up from 1 to 2, although there is a 1000% EXP rate which would allow such a thing.

I have the 8 wave Visustella plugins too, so that's an option if anyone has any ideas.

Thanks. Sorry for posting so much. I hope the servers can handle the load.
Bumping...

Note: iirc, this was also an issue in MV but it's been so long since I used it...
Bumping
I assume you're talking about this.

1718079768568.png


The trick is, that's showing the sum of the experience from the enemies, but the modifier to experience rate is an individual parameter.

So Reid might have it from something and get 2,000% of that 30, but everyone else is only getting the 30.

So there's no sensible way to print that information unless you get rid of that line and print it for each actor individually (which would probably be unnecessarily spammy since it's usually the same).

If you're using a visual aftermath plugin, that should display the correct amount of individual experience.

Edit: I suppose you could do conditional additions. Something like:
30 EXP received!
Reid multiplied that by 2000%!
I assume you're talking about this.

View attachment 308138

The trick is, that's showing the sum of the experience from the enemies, but the modifier to experience rate is an individual parameter.

So Reid might have it from something and get 2,000% of that 30, but everyone else is only getting the 30.

So there's no sensible way to print that information unless you get rid of that line and print it for each actor individually (which would probably be unnecessarily spammy since it's usually the same).

If you're using a visual aftermath plugin, that should display the correct amount of individual experience.

Edit: I suppose you could do conditional additions. Something like:
30 EXP received!
Reid multiplied that by 2000%!

Ok ill look into that since I figured the same thing about the aftermath plugin, even though it seems like it isnt. Ill update later.
Well, Yanfly's would - it records the actual experience values of the actors before and after the gain.

I assume the VisuStella equivalent would also be decently coded and do the same, but I haven't used it. What I described above for the default text wouldn't be too hard to do if you don't think it looks cheesy.
So the aftermath plugin doesn't show actual exp gained, but reflects the boost in the gaining part of the aftermath. See how it shows 10 but from level 1 to 2 is 50 exp. 1000% of 10 is 100 so 50 exp being earned on level 2 is correct.

Screenshot 2024-06-10 210946.png


Note: This is with only Reid, no parameters have been touched except adding a 1000% EXP bonus as a passive effect.
there is a work around, but require states, and there is a tutorial how to do it,
as it was based on enemy level checks on which state it gets.

as it has state of 10% exp (passive state),
up to 100% exp.

I think if you add this to the actor during battle, it will be calculated automatically
as well.
there is a work around, but require states, and there is a tutorial how to do it,
as it was based on enemy level checks on which state it gets.

as it has state of 10% exp (passive state),
up to 100% exp.

I think if you add this to the actor during battle, it will be calculated automatically
as well.
really confused. So I messed with the troop page and now the goblin gives the state to me and now it only has exp * 100% which only gives me 10 EXP??? Sorry if I don't understand what you are saying. i didnt implement Enemy Levels yet so I assume I should do that first?
if you create a passive state that gives 400% exp and give it to the actor,
it should show 40 exp, as well for giving 40 exp.

the passive state I mention on exp was one giving on enemy levels to give
more or lower exp from the enemies, this is also doable without enemies levels,
but depending how the plugin calculate the exp from the static enemy exp or
by group.

that is why I mention passive state in diferent % of exp that could work out
to show the same amount of exp, otherwise, it need to be patch in the plugin.
if you create a passive state that gives 400% exp and give it to the actor,
it should show 40 exp, as well for giving 40 exp.
No. Look at the screenshot I posted in post #4. The engine says the amount of experience from the enemies added up, it does not say anything about what individual actors earn with their sp-parameters.

If you do what you're talking about with enemy levels calculating their experience, that is different from the Experience sp-parameter. That will make the entire party earn more experience from the enemies, not just one actor.

@Jenova I'm not sure that you still have a question. You said the aftermath plugin displays it correctly, do you need something else?
No. Look at the screenshot I posted in post #4. The engine says the amount of experience from the enemies added up, it does not say anything about what individual actors earn with their sp-parameters.

If you do what you're talking about with enemy levels calculating their experience, that is different from the Experience sp-parameter. That will make the entire party earn more experience from the enemies, not just one actor.

@Jenova I'm not sure that you still have a question. You said the aftermath plugin displays it correctly, do you need something else?

It still shows the 10 on EXP (top exp display) but shows the correct when gaining exp (bottom exp display with exp bar). I would like both to be displayed correctly, not just the gained exp.
It still shows the 10 on EXP (top exp display)...I would like both to be displayed correctly
...I feel like we're talking past each other.

That's the exact same thing I already explained in post #4. That's the sum of all the enemies, and any experience modifying traits apply individually to each actor.

If you changed that number, you'd have the opposite problem, where that number is higher but some individual actors are receiving less because they don't have a boosting trait.

Do you have only one actor? Or some system set up wherein all actors in your party have the same sp-parameter at all times?
...I feel like we're talking past each other.

That's the exact same thing I already explained in post #4. That's the sum of all the enemies, and any experience modifying traits apply individually to each actor.

If you changed that number, you'd have the opposite problem, where that number is higher but some individual actors are receiving less because they don't have a boosting trait.

Do you have only one actor? Or some system set up wherein all actors in your party have the same sp-parameter at all times?
Sorry, I was getting confused so I just thought I would try to explain better. Yes I only have one actor and, for the foreseeable future, will remain one actor. I just have a buff set up at the beginning of the game that grants a state which adds 1000% exp to the one character I have set up.
Okay. This should make the default message window pop up display the first actor's modified experience as the gain.

Code:
BattleManager.displayExp = function() {
// This is the line I modified, it was just this._rewards.exp
    const exp = Math.round(this._rewards.exp * $gameParty.members()[0].finalExpRate());
    if (exp > 0) {
        const text = TextManager.obtainExp.format(exp, TextManager.exp);
        $gameMessage.add("\\." + text);
    }
};

I don't know if that display in VisuStella's Aftermath uses the same function call, or if they provide a plugin parameter for you to edit the display of the window; if they do, I showed you which line I changed and how.
Okay. This should make the default message window pop up display the first actor's modified experience as the gain.

Code:
BattleManager.displayExp = function() {
// This is the line I modified, it was just this._rewards.exp
    const exp = Math.round(this._rewards.exp * $gameParty.members()[0].finalExpRate());;
    if (exp > 0) {
        const text = TextManager.obtainExp.format(exp, TextManager.exp);
        $gameMessage.add("\\." + text);
    }
};

I don't know if that display in VisuStella's Aftermath uses the same function call, or if they provide a plugin parameter for you to edit the display of the window; if they do, I showed you which line I changed and how.
Apologies for taking forever. Work has been brutal.

So this is the parameter screen I have:

Screenshot 2024-06-14 222941.png


I not only commented out the old code, but also changed this.to BattleManager. and still it shows "undefined" as the base exp. Returning the code fixes it.

Is this the place I am supposed to be putting the code?
I'm not sure what all that means - it would've been more helpful to actually paste in what code you had there 😛

But it should be, according to the line I marked as changed above:
Code:
return Math.round(BattleManager._rewards.exp * $gameParty.members()[0].finalExpRate());
I'm not sure what all that means - it would've been more helpful to actually paste in what code you had there 😛

But it should be, according to the line I marked as changed above:
Code:
return Math.round(BattleManager._rewards.exp * $gameParty.members()[0].finalExpRate());

Sorry I thought you would understand what I meant but I need to learn how to not be so impatient and explain everything in full detail. I tend to leave things out because I dont think its important so it comes off kind of weird to people who help me, especially on this forum.

In any event, the code worked! That was what I needed, thank you so much for putting up with me!

Proof:

Screenshot 2024-06-15 085150.png

Original thread: https://forums.rpgmakerweb.com/threads/solved-exp-visual-updates.169240/