MV Need help to remove 'undefined' on YEP_MessageCore and YR_ItemCrafting

Plugin link YR_ItemCraft and YEP_MessageCore
When the Description Wrap parameter is set to true on YEP_Message_Core
YEP3.png


It becomes like this in YR_Craft item description, suddenly word 'undefined' appears in item description.
YEP.png

I have already tried changing 'undefined' to a blank string like " " but still 'undefined' still appears.


Here for demo project if needed
I cannot use the window indentifier to see what the window is called.
but it seems for description and category to show.

so I dont know where you can set that or not.
Also keep in mind to leave paid plugins out of the demo, and they can
add it if they have it.

but I dont know why the category gives undefined or how to set it.
but I dont know why the category gives undefined or how to set it.
Yeah, this is very confusing, the undefined suddenly pops up out of nowhere, if Description Wrap parameter is set to false it removes undefined. But I really Wrap parameter to be on for tidying up the skill description.
YEP2.png

btw both of these plugins are free.
if you really need "wordwrap" from messageCore, than I can ask
if YR can check his plugin, as it might need a imported "messageCore"
function to read that window correctly without undefined.

not sure why it is undefined as I search both, but dont really get it.
if you really need "wordwrap" from messageCore, than I can ask
if YR can check his plugin, as it might need a imported "messageCore"
function to read that window correctly without undefined.

not sure why it is undefined as I search both, but dont really get it.
yes please 🙂 I really need that wordwrap feature.
he isn't home atm, and he need to look and find his demo for it as he
didn't touch it, but he might answer you later probably too.

I also gave him the link to this thread, so have some patience 🙂
He dont forget it though, but his system is terrible atm, so when lucky,
next week, maybe 2, he check it properly to see what is going on.
@SifDoge he fix the problem, download his YR plugin again and
it should work for you.
@SifDoge he fix the problem, download his YR plugin again and
it should work for you.
Thank you! now the 'Undefined' is gone 🙂

Edited: @ShadowDragon Now there is a problem, the ingredient window did not show up
1662434164032.png

But it can be fixed by adding
JavaScript:
this._helpWindow.setItem(this.item(this.index()));
on line 2200.
I check the code from 1.07 and 1.08 version it seems he accidentally remove that code on line 2175. This won't cause any crash or error right?😅 I'm afraid that the removed code is indented.
1662434546556.png
I didn't know that, if it works by adding it, I let him know to update that part.

if it works further more, good luck on your project.
Sorry. As ShadowDragon said, my old computer was... well, it is not exactly in good condition. Maybe even not good even for a 7 years old laptop, had to replace the hdd at least twice and could not even add a second one or an ssd because space.
The different position of some keys on this new keyboard did not help. So many times I still press up instead of shift

While on the way to fix it, CR4YON found out what the cause was, YEP_Message core trying to get a description for the categories, and not getting an error but getting no description either.

With this it was an easy time doing the actual fix...
But then, why stop at a fix? So I also added new descriptions for masked items. So you can, for example, put a blue potion for a High Potion, something like that.

Then... it has been some time since I coded it, and as we code we evolve. Since at the time I was not using item descriptions, the "help" window is the recipes window. Forgetting this, I thought it would not be needed to refresh the description twice, and was so focused working things on it that I didn't even notice the recipe window went blank.
This is why you need more than yourself testing things, everybody.
@SifDoge YR as applied also re-code it a bit to make the recipe window
work, same link which should now fully fix you issue.
yupyup. I renamed the version number as 1.08a, if you need to be sure it is the latest fix I made.

And explaining the end of my last post,
When I fixed the "undefined" issue, and ended up also adding the masked descriptions, I ended up so focused on checking what I knew I was changing, what I accidentally changed completelly slipped by me. Even as I was testing I did not notice the recipe window was empty.

So whenever you need to test something, you also need someone that does not know what exactly you are testing for or what was changed, so they won't have a biased idea of what is working or not.
Thank you guys! now it works perfectly and masked features is really amazing, now I can tell the player a hint for material items
1662533821955.png

Original thread: https://forums.rpgmakerweb.com/threads/need-help-to-remove-undefined-on-yep_messagecore-and-yr_itemcrafting.150737/