YEP message core issues

Hi everyone, I'm trying to establish my game's text box functions with the YEP_Message Core plugin which can help place character names and icons in a small box above the mugshots. But the problem is that the text still displaces itself by a few spaces and it's increadibly hard to manage the text box with all the dialogue and plugin functions without it cutting the messages.

This is the Js.YEP_MessageCore.js

Here is a visual example of the issues.

The area's highlighted red indicate the problems, the first red part is a space text would normally begin at. But with the codes in place it displaces them and If I try to cut back on the spaces- the colours and icons get messed up. So it's really awkward trying to navigate through.

This transcript here is a direct copy and paste from the text box, I can't seem to work this out properly so I'm going to need some help to clarify things.

\n<\C[1]Vincent Vonkile \I[338]>\C Look all i'm saying is

that the Arachin Directorate territories are dying to get


a hold of this stuff- if we set up a partnership with him


we'll be sitting on a pile that'll make your head spin!


I have been focusing on so many things other than the message boxes as of late, it seems really noobish of me to only come to it now.
I'm not sure but I think you need to remove the space inbetween \C and L.
The first word of your text should be properly aligned then.
As for the other problem with the text being cut off, the only solution I know is to playtest and then correct accordingly.
You could try the word wrapping function of the plugin but I don't have used it myself. So I don^t know if it works properly.
The problem is if I cut that space inbetween \C and L the first word gets cut off.
Like so:
Ah, okay.
Then try changing \C to \C[0]. I can't try it right now but that should do the trick.
@Skurge that is because \C is an incomplete and useless textcode and forces the plugin to delete that textcode, and if there is no space the plugin assumes that the next word is part of that nonsense-sequence.

Either delete \C or complete it into a working textcode like \C[1] and then remove the space. Both variants will work where a nonsense-code like \C can't.

Moderator note: Please do NOT attach plugins from other people here, but link to the website where you got the plugin
That is to make sure that every reference goes to the latest version and all bugfixes, as well as the fact that most plugin writers do not allow their plugins or scripts to be reposted. I've deleted your attachment
To return to the normal color, use \C[0] rather than \C.

My instinct is that the first line's "cutoff" (where it doesn't run all the way to the end of the message box) is because you used a manual line break. I could be wrong - I haven't use Yanfly's Message Core. But my instinct is that it would work if you just typed in the text rather than adding manual breaks, Word Wrap will take care of what you need. If that doesn't work, then just remake your message boxes so that there's a lot of text on the first line (since the name and the escape codes won't show up on Line One in the final version). That's tedious, but with a lot of guess-and-check, you can get it right.
The use of \C[0] rather than \C seems to work better of now, thanks for the help here!
Unfortunately the core message plugin is quite difficult for me to use. Under different circumstances depending on what the dialogue in the text box is can sometimes determine a different cut off and it's hard to keep track on what areas will be cut off and such. I'm trying to think of a formula
to understand where the cut off point will be with the use of the plugins additions without the painful process of investigating each dialogue box in playtest. Though it seems that's the only way to trial it.
In your plugin parameters for YEP_MessageCore, is Word Wrapping set to true? I'm using the same plugin and it word wraps automatically and properly for me with that setting. Once Word Wrapping is turned on, you can either have all the text as one line or use enter to start a new line in the preview box (so that you can see the text more easily). Pressing enter only starts a new line in the preview box, but to insert an actual line break in the game itself you have to use <br> or <line break>, as described in the help section of the plugin.

If Word Wrapping is turned on but it's not working for you, perhaps there's another plugin that's modifying the message box?

Original thread: https://forums.rpgmakerweb.com/threads/yep-message-core-issues.77953/