gambitben

Veteran
Veteran
Joined
Jun 8, 2013
Messages
163
Reaction score
128
First Language
Spanish English
Primarily Uses
RMMV
I don't know why but I seem unable to make the pop ups work... it just looks like the normal thing, it doens't even change the font. I used to be able to use your 1.2 version and it worked wonders. Do I have to write something inside the code for it to show the popups?

PS: I don't really know javascript, if the code is required for the pop ups to show, could you post the basic outline for each? Thank you very much, your plugins are amazing.
 

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
Edit: Though I was wondering if I could turn off the state popups for some specific states? I would like to only have popups for the primary status conditions like poison, etc.

Do a filter on the addedStates array inside the drawState Parameter. Just copy all code from the function drawDefaultState and copy it inside the "Draw State Popup Code" parameter's note box.

Code:
addedStates = addedStates.filter(function(state){
   if (state.id === 4) {
       return state;
   }
});

Then past this code somewhere below "var addedStates = result.addedStateObjects();" and above the "for( ; ; )" loop.
 
Last edited:

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
I don't know why but I seem unable to make the pop ups work... it just looks like the normal thing, it doens't even change the font. I used to be able to use your 1.2 version and it worked wonders. Do I have to write something inside the code for it to show the popups?

PS: I don't really know javascript, if the code is required for the pop ups to show, could you post the basic outline for each? Thank you very much, your plugins are amazing.

Sorry for the inconvenience!

Since 1.2 worked on your end, it should work for the current one. Remove the plugin from your Plugin Manager. After applying the changes select the plugin again and put it somewhere below the required plugins.

If this didn't work then my code might caused an error with another one (open the debugger, then you should see it better). If you see something along the lines of "DRAW CUSTOM BLA BLA POPUP ERROR". and then bunch of red text, screenshot it and send it to me. I can fix the problem. Although you can try to delete all custom code inside the plugin parameters by yourself. This might temporary solve your problem.

To your last thing. Coding isn't needed. Everything is already done and setup. It should immediately work like the older version.

if nothing helped. Reach out for me.
 

Zinnherz

Villager
Member
Joined
Jul 3, 2017
Messages
28
Reaction score
7
First Language
German
Primarily Uses
RMMV
Do a filter on the addedStates array inside the drawBuff Parameter. Just copy all code from the function drawDefaultBuff and copy it inside the "Draw State Popup Code" parameter's note box.

Code:
addedStates = addedStates.filter(function(state){
   if (state.id === 4) {
       return state;
   }
});

Then past this code somewhere below "var addedStates = result.addedStateObjects();" and above the "for( ; ; )" loop.

Thank you for the quick reply, it took me a while to get it to work since I'm a noob with Javascript, but I got it after using the code from drawDefaultState instead of drawDefaultBuff.
Thanks again, works like a charm now! :D It's perfect.
 

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
Thank you for the quick reply, it took me a while to get it to work since I'm a noob with Javascript, but I got it after using the code from drawDefaultState instead of drawDefaultBuff.
Thanks again, works like a charm now! :D It's perfect.

Oh crap. How did I not see this. I'm a genius at this. Welp. You still got it though. Happy it worked.
 

gambitben

Veteran
Veteran
Joined
Jun 8, 2013
Messages
163
Reaction score
128
First Language
Spanish English
Primarily Uses
RMMV
I tried it in a new project and still doesn't work for me. I took a screenshot of the console, but I can't upload it now cause the server is giving me an error, so in the mean time: it says SyntaxError: unexpected token ) in line 1056. Hope it helps, thank you.

Image here:
a>


o75eqfp
 
Last edited:

Jrrkein

Drago Royale
Veteran
Joined
Apr 20, 2014
Messages
295
Reaction score
119
First Language
Indonesian
Primarily Uses
RMMZ
@Azel : I think it's broken, I can't see the damage popup anymore and just boring bouncing damage pop up
 

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
@Azel : I think it's broken, I can't see the damage popup anymore and just boring bouncing damage pop up

Read the red text on the first thread good sir. I just added it. Version 1.2 used to have variables that no longer belong in version 1.3. If its broken, press f8 during battle test and read the text for me. Then we might have a real error.
 

Jrrkein

Drago Royale
Veteran
Joined
Apr 20, 2014
Messages
295
Reaction score
119
First Language
Indonesian
Primarily Uses
RMMZ
@Azel:
/C:/Users/sony/Documents/Games/NINJA%20GO/js/plugins/LGP_BetterDamagePopup.js:1056 Uncaught SyntaxError: Unexpected token )
 

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
@Azel:
/C:/Users/sony/Documents/Games/NINJA%20GO/js/plugins/LGP_BetterDamagePopup.js:1056 Uncaught SyntaxError: Unexpected token )
Well. Look at that!
Code:
bitmap.drawText(string, 0, 0, w, h,);
I fixed the problem. Thanks for help.
Why didn't I get an error, this puzzles me the most.
 

Jrrkein

Drago Royale
Veteran
Joined
Apr 20, 2014
Messages
295
Reaction score
119
First Language
Indonesian
Primarily Uses
RMMZ
Uncaught SyntaxError: Unexpected token )
 

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
Uncaught SyntaxError: Unexpected token )

Yep. found another one. Please download it again. If you get another error, I'll go mental.
Why does it work on my game? This puzzles me the most.
Welp. There goes my reputation.
 
Last edited:

Jrrkein

Drago Royale
Veteran
Joined
Apr 20, 2014
Messages
295
Reaction score
119
First Language
Indonesian
Primarily Uses
RMMZ
The error is gone and no longer showing in the node.js
 

SoSick.

Veteran
Veteran
Joined
Jun 29, 2016
Messages
224
Reaction score
192
First Language
english
Primarily Uses
RMMV
plugin is great @Azel thank you so much! :D
 

Gregaur

Veteran
Veteran
Joined
Jan 3, 2017
Messages
134
Reaction score
20
First Language
french
Primarily Uses
RMMV
Hi Azel,

Your pluggin seems to be great, but doesn't work for me :

I download the 1.4 directly. The states pop-up and Miss pop-up work but not the damage pop up. Even the vanilla one don't show up anymore

I have nothing in the developer tools... Kind of odd...

Thanks a lot for your work anyway !

Greg
 

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
I assume you...
...never had a previous version of my plugin in your game.
...saw no error in the debugger.

It's kind off odd indeed. All I can think off right now is that another plugin changed the behavior of some "Battler" or "ActionResult" code that are only being used by the damage numbers.

Try to deactivate all plugins besides the few ones that are required to run LGP_BetterDamagePopup and test it again.
 

Gregaur

Veteran
Veteran
Joined
Jan 3, 2017
Messages
134
Reaction score
20
First Language
french
Primarily Uses
RMMV
Indeed it was the first installation.

So I tried to deactivate everythings except the few needed. But still nothing. State and miss pop up work but not the numbers...

That sad, it would be a great feature in my game...
 

Azel

Seeker
Veteran
Joined
Jul 14, 2018
Messages
32
Reaction score
48
First Language
German
Primarily Uses
RMMV
Let me help you. I might learn something. Let's start a conversation.
 

Zinnherz

Villager
Member
Joined
Jul 3, 2017
Messages
28
Reaction score
7
First Language
German
Primarily Uses
RMMV
I just noticed something; when buffing my characters, the buff shows as intended (icon and name), but when debuffing an enemy, it only shows the icon without the name of the affected stat.

While this isn't an issue, I was just wondering if this was the way you intended it to be, or if there was something missed. (Or maybe I messed someting up on my end. *shrug*)
 

Latest Threads

Latest Posts

Latest Profile Posts

It makes sense that you try to focus on the squishy mages at the back of the party first, right? If the mage can out-DPS the enemy DPS before the latter can kill the tank in front, the fight becomes boring.
finally got footage of my main character running around the main hub world. I've fixed a few things tho even since this video unsurprisingly lol.
 …I think I might need to switch from standard ATK/DEF up/down buffs to parameter altering states. I just had an actor whose usual attack against an enemy does ~25 do a buffed attack against a debuffed enemy for ~600…
just saw that titan quest is free on steam until the 23rd

Forum statistics

Threads
115,227
Messages
1,088,236
Members
149,819
Latest member
CorrupterJ
Top