Problem with the text box. How do I fix it?

Whenever I put text in my game this happens:

Textproblem_zpsef56f21e.png


I just get a picture of a white line down the middle of the screen. Does anyone have any idea of what could be causing this problem?
Do you have any message-based custom scripts that use variables? Like for example Yanfly Message System uses two variables to control text box line options and that causes people problems.
Do you have any message-based custom scripts that use variables? Like for example Yanfly Message System uses two variables to control text box line options and that causes people problems.
Yes, infact I'm using Yanfly Message System. Do you know what I have to do to fix this problem? I was also using variables throughout the game myself, is that why it's mucking up?

And thank you for helping me.
Yes, infact I'm using Yanfly Message System. Do you know what I have to do to fix this problem? I was also using variables throughout the game myself, is that why it's mucking up?

And thank you for helping me.
Yeah, somewhere in the script's settings towards the top, there should be two Variable settings (I think it's set to 20 and 21 maybe)  If you are using these variable slots for your own purposes, it'll cause the interference. You can change these two variable settings to 0 to prevent their use, or assign it to a non-used slot and remember to name it something like "Yanfly Message Variable 1 & 2" in the editor so you don't change them in the future. (keeping them undefined)

I had the same issue when I first used the script myself. =P

Edit: This section specifically.

# This variable adjusts the number of visible rows shown in the message # window. If you do not wish to use this feature, set this constant to 0. # If the row value is 0 or below, it will automatically default to 4 rows. VARIABLE_ROWS = 21 # This variable adjusts the width of the message window shown. If you do # not wish to use this feature, set this constant to 0. If the width value # is 0 or below, it will automatically default to the screen width. VARIABLE_WIDTH = 22Change these to 0.
Go to around line 122 and you should see this 

    # This variable adjusts the width of the message window shown. If you do

    # not wish to use this feature, set this constant to 0. If the width value

    # is 0 or below, it will automatically default to the screen width.

    VARIABLE_WIDTH = 22

Have you edited that variable?
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Yeah, somewhere in the script's settings towards the top, there should be two Variable settings (I think it's set to 20 and 21 maybe)  If you are using these variable slots for your own purposes, it'll cause the interference. You can change these two variable settings to 0 to prevent their use, or assign it to a non-used slot and remember to name it something like "Yanfly Message Variable 1 & 2" in the editor so you don't change them in the future. (keeping them undefined)

I had the same issue when I first used the script myself. =P

Edit: This section specifically.

# This variable adjusts the number of visible rows shown in the message # window. If you do not wish to use this feature, set this constant to 0. # If the row value is 0 or below, it will automatically default to 4 rows. VARIABLE_ROWS = 21 # This variable adjusts the width of the message window shown. If you do # not wish to use this feature, set this constant to 0. If the width value # is 0 or below, it will automatically default to the screen width. VARIABLE_WIDTH = 22Change these to 0.
It worked, the problem is solved, thank you sooo much.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-the-text-box-how-do-i-fix-it.19936/