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
294
Reaction score
118
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
294
Reaction score
118
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
294
Reaction score
118
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
294
Reaction score
118
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

Feeling overwhelmed by this project's scope lately, and lured by other projects; but it also feels like I'm on the verge of a turning point, almost finished laying the "foundations" and can soon start building the real structure. In other words, the dreaded "middle phase lull." I recognize and will resist it. So, the latest work: battle sprite for the second major party member.

If you REALLY want to slow a loop down... stick a console.log statement in it. lol
welp... YED_Sideview Battler works on MZ with FOSSIL, and it even works with the new MZ Battle Core. problem is I dunno if the new battle core allows for custom motions with YED like the MV one does.
My first game is gonna be a really ambitious one. But it's costing me a lot of money to make lol. it'll be worth it though
Ugh...Guests always put the Ketchup in the fridge....bloody savages the lot of them! :)

Forum statistics

Threads
113,961
Messages
1,078,672
Members
148,065
Latest member
Anilex
Top