MV TSR_Popups by The Northern Frog

Thanks for the reply!

And forgive my ignorance (I'm still struggling with Java and coding in general), but what do you mean by comment it out?
Hello, "comment out' mean to add 2 slashes before a code line, thus turning it into a 'comment' which are ignored when the code is running. It's a way to rule out a code line without actually erasing it.

In the code I sent above, I've already add '//' before the relevant line. So just add // in front of the same line in the plugin (1853 I think), and that'll do the trick.
Hello, "comment out' mean to add 2 slashes before a code line, thus turning it into a 'comment' which are ignored when the code is running. It's a way to rule out a code line without actually erasing it.

In the code I sent above, I've already add '//' before the relevant line. So just add // in front of the same line in the plugin (1853 I think), and that'll do the trick.
Thanks for this!

It didn't fix the issue I'm having, but that is great to know going forward. I suppose my players will just be REALLY aware of any state resistances they have. lol

Thanks again for looking into it for me!
Hello again!
aware of any state resistances they have.
So I might have misread previously. Your problem is related to the 'state resist' popup (the 'no effect' popup according to my plugin 'vocabulary')?

The edit I gave above was for elemental resistance. If it's about the state popup, then we need to do it anotherway. If you can confirm it's about states and not elements, I'll give it another look.

Regards
Sorry for the confusion! Yes, it's for states, not elements.
Hello again @TheWillardofOz

Here's the first thing you can try:
Add the following line after line 2143: result._StateResistRequest = false; (see bellow)
Capture d’écran, le 2022-08-11 à 09.49.55.png

This should disable the 'state resist' popup after the first one is generated. Hope that help.

Regards.
Here's the first thing you can try:
Add the following line after line 2143: result._StateResistRequest = false;
That didn't fix it. :/
@TheWillardofOz there is a similair line on 2192, see if it works
if you place that line of code below that on, as I dont know if that
have any effect though, but you can leave the other code there
on line 2144.
@TheWillardofOz there is a similair line on 2192, see if it works
if you place that line of code below that on, as I dont know if that
have any effect though, but you can leave the other code there
on line 2144.
Thanks for the suggestions, but it is still sending extra popups at the end of the attack.
I would like to ask what method can be used to set the rate of weakness and resistance? Personally, I hope to set the rate of elements at weakness above 200% and resistance below 100%

The main reason is that as long as the enemy with 100% elemental rate has the state of increasing elemental rate, a weak message will pop up, which makes me a little headache
Hello.
I would like to ask what method can be used to set the rate of weakness and resistance
The plugin simply compare the damage value before element rates are applied and after.
If damage is lower after element rates, it is considered resistant, and if damage is higher after the element rates, the plugin see it as weak.

There's a method in the plugin call checkElementalResponse. You can change the condition if elementalResponse > 1 by > 2 so the weak popup will only appear if the damage is doubled by the element rates.

Regards.
Hello.

The plugin simply compare the damage value before element rates are applied and after.
If damage is lower after element rates, it is considered resistant, and if damage is higher after the element rates, the plugin see it as weak.

There's a method in the plugin call checkElementalResponse. You can change the condition if elementalResponse > 1 by > 2 so the weak popup will only appear if the damage is doubled by the element rates.

Regards.
Thanks, very useful
Hello Frog.I would like to ask you if you will launch a new version of RMMZ of this plugin in the future? I think I'll need it a lot!
Hi, fingers crossed this thread still gets traction. I'm using this plugin along with the yanfly battle engine and action sequences. its placed correctly in the load order. I'm having an issue where if I run an action effect multiple times, i.e. an attack does several strikes, the damage numbers stack up fine but critical hit pop ups end up behind the next damage number. see attached screenshot. any ideas how I can fix this? I tried adjusting the anchor, and it just anchors the critical hit and the next damage number lower, but still overlapped.
Hello!
Hi, fingers crossed this thread still gets traction. I'm using this plugin along with the yanfly battle engine and action sequences. its placed correctly in the load order. I'm having an issue where if I run an action effect multiple times, i.e. an attack does several strikes, the damage numbers stack up fine but critical hit pop ups end up behind the next damage number. see attached screenshot. any ideas how I can fix this? I tried adjusting the anchor, and it just anchors the critical hit and the next damage number lower, but still overlapped.
I'm not using MV anymore has it doesn't run correctly on my system. So the support I can offer will be very limited.
If I understand, you want the critical popup to stack under each damage popup that result in a critical hit. Like if there's 4 hits and the first and third hits are critical, it should appear like this:

0000
Critical
0000
0000
Critical
0000
Unless I'm wrong...

This can be a bit complex to acheive, but feasible. I can guide you a little to do it, but I hope you have some ease with coding. But first, I need to be sure how you want it to look.

Regards.
Thanks for getting back to me! That is what I was looking to do, but I actually ended up going a different route that worked a little better. I reduced the pop up time and then added delays after the action effects so the numbers pop up in the same spot as the previous one is fading out, and they don't have to deal with overlap or stacking at all now. Appreciate you following up, great plugin.
For reference for those using this and wanting to customise their TSR_Damage spritesheet (I wanted to make it x2 size due to being at 1080p resolution where it looks kinda small): it's 15 columns by 8 rows.

At double size this means each number is 48 x 64 pixels (the default is therefore 24 x 32)
Actually a question about something a bit odd whilst I'm here. I'm using your tweaks given to Dan from his thread to your Popup's (on Mog Battlehud) so I get states shown as a string when inflicted. All that works perfectly, so that's great.

For some really weird reason, though, it always puts a space before the last letter of the displayed state, as seen here, +Venom is printed as +Veno m. This also applied when changing the name (i.e. I changed it Envenomed and you guessed it, it become +Envenome d). Any idea what is causing that?
1762903401971.png
Actually a question about something a bit odd whilst I'm here. I'm using your tweaks given to Dan from his thread to your Popup's (on Mog Battlehud) so I get states shown as a string when inflicted. All that works perfectly, so that's great.

For some really weird reason, though, it always puts a space before the last letter of the displayed state, as seen here, +Venom is printed as +Veno m. This also applied when changing the name (i.e. I changed it Envenomed and you guessed it, it become +Envenome d). Any idea what is causing that?
View attachment 352957
Hello!
I have no idea what causing that. As I said in that thread you linked, I can't run MV on my system anymore, so the help I can offer is quite limited.
I just showed the basic process in that thread and didn't test it much, but the op seemed to be satisfied and didn't reported that issue as far as I know.
Also I never worked with Mog battle hud and the plugin wasn't planed for it. Maybe there's some incompatibility issue.
Sorry for not being of much help.
Regards!
Actually a question about something a bit odd whilst I'm here. I'm using your tweaks given to Dan from his thread to your Popup's (on Mog Battlehud) so I get states shown as a string when inflicted. All that works perfectly, so that's great.

For some really weird reason, though, it always puts a space before the last letter of the displayed state, as seen here, +Venom is printed as +Veno m. This also applied when changing the name (i.e. I changed it Envenomed and you guessed it, it become +Envenome d). Any idea what is causing that?
View attachment 352957
while the tweaks works without MOG_BattleHud (which you can test if MOG plugin is OFF.

if it's above the battle hud causing it, move it below it, if its below, move it up.

in case the problem persist, I could help you as I'm an active MV user so I can do
my best to help you out if needed.

the only issue is that I don't deal much with the battle scene, but I do learn a lot
along the way.

it may be helpful how your notetag looks like as well, and make sure your plugin order
are correct as well.
Sorry for not being of much help.
Regards!
No worries, I've also asked in Dan's thread.
while the tweaks works without MOG_BattleHud (which you can test if MOG plugin is OFF.

if it's above the battle hud causing it, move it below it, if its below, move it up.

in case the problem persist, I could help you as I'm an active MV user so I can do
my best to help you out if needed.

the only issue is that I don't deal much with the battle scene, but I do learn a lot
along the way.

it may be helpful how your notetag looks like as well, and make sure your plugin order
are correct as well.
For me, in actual fact, I did just test turning off MOG Battlehud just to be sure, and the same issue persists, so it's likely some other plugin.

I have tried putting it lower down on the list (with no effect) and it cannot go higher than YEP_Battlecore without causing instant crashes on attacks in battle.

The culprits I would expect (i.e. YEP_MessageCore and other text altering plugins, as well as battle plugins in general), I have just double checked disabling those and there is no change either. Also, yes, my YEP plugins are all organised exactly by the Yanfly website.

My only other thought is perhaps I have made a slight error in the script alterations?

I would post my changed version if TSR doesn't mind me posting his script into his topic for debug purposes (wanted to be sure though as I guess it's against the terms, strictly speaking?).

Original thread: https://forums.rpgmakerweb.com/threads/tsr_popups-by-the-northern-frog.118619/