MZ Visustella Bestiary - error

Hi everybody,

I'm trying to use the Visustella Bestiary plugin (here) with my game and I seem to encounter a few issues.

Everything is on the pictures but I'll type it here again :

I have 4 categories (Common, Elite, Miniboss and Boss) but I currently only have common, miniboss and boss enemies in the database. However, only the "common" category is showing at first.
So there are only 4 enemies on the list while the game says there are 7 of them in the database (which is correct).
PB_bestiary_1.png


However, I kept playing and fought the miniboss "Milza" (and I won, yay !) and she appears now in the list. It also says I fought 1/7 enemies which is correct.

PB_bestiary_2.png


The REAL problem is when I want to check the bestiary entry for "Milza". As soon as I try to navigate in the list (if I try to select anything that is not a subcategory, i.e a discovered or unknown enemy), I get this error : Uncaught TypeError: _0x5e6113.addLoadListener is not a function

PB_bestiary_3.png


I know I must do something wrong but I can't say what.

Thanks if you can help me and happy new year to all !
Did you use the Bestiary Custom Picture tag at all?
It won't be very helpful in this case, but as a general rule: when you get an error, press F8, go to the Console tab and provide a screenshot of the full error trace there.
It won't be very helpful in this case, but as a general rule: when you get an error, press F8, go to the Console tab and provide a screenshot of the full error trace there.
PB_bestiary_4.png

As you said, I didn't find it very helpful but I'm glad to screenshot anything if it can help.

Did you use the Bestiary Custom Picture tag at all?
Yes and the issue seems to come from that notetag. Thanks for helping !
I removed it from one of my undiscovered enemies and I could examine its bestiary entry.
I removed it from my "Milza" miniboss and I could see her stats.
Here are the tags I used :
<Bestiary Custom Picture: 1_Milza_1>
<Bestiary Custom Picture: Bestiaire_4>
Those files do exist in my img/pictures/ folder so what do I do wrong ?
View attachment 290505
As you said, I didn't find it very helpful but I'm glad to screenshot anything if it can help.


Yes and the issue seems to come from that notetag. Thanks for helping !
I removed it from one of my undiscovered enemies and I could examine its bestiary entry.
I removed it from my "Milza" miniboss and I could see her stats.
Here are the tags I used :
<Bestiary Custom Picture: 1_Milza_1>
<Bestiary Custom Picture: Bestiaire_4>
Those files do exist in my img/pictures/ folder so what do I do wrong ?
They need to be in img/enemies or img/sv_enemies depending on whether you're using side-view or not.
As you said, I didn't find it very helpful but I'm glad to screenshot anything if it can help.
Well, no, it wouldn't be helpful to you, but it would be to the coders trying to help you 😉

I said it wouldn't be very helpful in this case because we know you're working with VisuStella plugins - their code is obfuscated, so even with the line numbers we can't go into the file and see what the source of the error is.

Also, that's not the Console tab.
Well, no, it wouldn't be helpful to you, but it would be to the coders trying to help you 😉

I said it wouldn't be very helpful in this case because we know you're working with VisuStella plugins - their code is obfuscated, so even with the line numbers we can't go into the file and see what the source of the error is.

Also, that's not the Console tab.
This one actually wasn't hard to figure out even with the obfuscation issue: addLoadListener is generally to do with bitmaps, and the only thing that would really be involved in it in the bestiary is the enemy image, so I figured they were using a custom image and either misnamed it or had it in the wrong place. ^_^
This one actually wasn't hard to figure out even with the obfuscation issue
And that's cool - you knew what the problem was from the first post. That's why I didn't actually ask the OP to give that screenshot here, just gave the advice for other cases.
They need to be in img/enemies or img/sv_enemies depending on whether you're using side-view or not.
Sooo... I just tried to put my 7 images in img/sv_enemies (since I'm using side-view battlers) : the game crashes again (same error)
I also tried to add them in img/enemies : still crashing
I checked the pugin help file AND the website : they say the custom pictures are supposed to be in img/pictures

At this point, I dont *really* need to use a custom picture for my bestiary but I'm a bit curious about this one : why is it crashing ? Could it be an image size thing ?
Sooo... I just tried to put my 7 images in img/sv_enemies (since I'm using side-view battlers) : the game crashes again (same error)
I also tried to add them in img/enemies : still crashing
I checked the pugin help file AND the website : they say the custom pictures are supposed to be in img/pictures

At this point, I dont *really* need to use a custom picture for my bestiary but I'm a bit curious about this one : why is it crashing ? Could it be an image size thing ?
Huh, you're right. Doesn't make much sense to use the pictures folder to me, but VS gonna VS I guess. XD

Can you show me a screenshot of your pictures folder showing the files in it?

Size shouldn't be an issue here. It's not that it *can't* load the bitmap, it's that it doesn't have a bitmap there to load.
Huh, you're right. Doesn't make much sense to use the pictures folder to me, but VS gonna VS I guess. XD

Can you show me a screenshot of your pictures folder showing the files in it?

Size shouldn't be an issue here. It's not that it *can't* load the bitmap, it's that it doesn't have a bitmap there to load.

Of course.
Here my img/pictures folder with the 7 files needed :
PB_bestiary_6.png
Yeah, you definitely have the case right on that. I would put together a bug report and submit it to VisuStella.
Yeah, you definitely have the case right on that. I would put together a bug report and submit it to VisuStella.
And uh... How do I do that ?
😛

For me, it's the top result.
Many thanks (I was looking on here, not on google ><).
I'll take a look at it.

Original thread: https://forums.rpgmakerweb.com/threads/visustella-bestiary-error.164391/