Empty Text Box?

Korten12

Working on, The Border. :)
Veteran
Joined
Apr 25, 2012
Messages
175
Reaction score
22
First Language
English
Primarily Uses
I googled to find a solution, however to no avail. :(

I'm encountering this problem:



It's not that it's not displaying text, but for some reason it's an empty text box that has snuck in between other text. So no text is being skipped.

The red lines are where it's happening.



Anyone know why this is happening? I am using Yanfly's Ace Message script, however it started recently, the only script added was a small one which allowed to display the face of the player

character in the text box (needed it since you can pick your gender, among other things.)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Please give links to both scripts - most probaly this is indeed a compatibility issue between the scripts.
 

Korten12

Working on, The Border. :)
Veteran
Joined
Apr 25, 2012
Messages
175
Reaction score
22
First Language
English
Primarily Uses
Please give links to both scripts - most probaly this is indeed a compatibility issue between the scripts.
https://dl.dropboxusercontent.com/u/17078211/Scripts/YEA/Ace_Message_System.rb

Trying to find the link for the second script, but it's so small:

class Window_Base < Window  alias shaz_ffa_convert_escape_characters convert_escape_characters  def convert_escape_characters(text)    result = shaz_ffa_convert_escape_characters(text)    result.gsub!(/\eF\[(\d+)\]/i) {      $game_message.face_name = $game_actors[$1.to_i].face_name      $game_message.face_index = $game_actors[$1.to_i].face_index      ''    }    result  endendI also did some tests, it ONLY seems to happen when you have a large amount of text in a chat box.

Edit: Actually discovered something just now.

In all of the text boxes that it happens there follows a pattern:

[text line 1]

[text line 2]

[text line 3]

[\n<Name>]
If I do this.

[text line 1]

[text line 2]

[text line 3 \n<Name>]
It removes the problem. No idea why it's doing that though...
 
Last edited by a moderator:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Or you could put the name on the first line, on its own.  That's what I do.
 

Korten12

Working on, The Border. :)
Veteran
Joined
Apr 25, 2012
Messages
175
Reaction score
22
First Language
English
Primarily Uses
Or you could put the name on the first line, on its own.  That's what I do.
Hm... I guess I will just have to ensure that the \n<Name> is not on the last line. Not the worst thing, but slightly annoying.

Also when you say on it's own, do you mean:

[\n<Name>]

[Text Line 1...]

(sorry for keeping using that example, makes it easier for me to understand.)

Or are you using a different method of showing the characters name?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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, it's intended that you put that on the same line as the text, not on its own line (or at best it'd create a message with a blank line). I'd normally say to put it at the beginning, but it really shouldn't matter.


I'd be interested to see if it's a problem with the script combination - try it in a brand new project JUST with my little script snippet. Then remove mine and try it with JUST the message system script. Does it happen with either of those scripts on their own? Now put them together, with NO other scripts except the default, and see if it happens again. All in a brand new project with everything else RTP.
 

Korten12

Working on, The Border. :)
Veteran
Joined
Apr 25, 2012
Messages
175
Reaction score
22
First Language
English
Primarily Uses
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, it's intended that you put that on the same line as the text, not on its own line (or at best it'd create a message with a blank line). I'd normally say to put it at the beginning, but it really shouldn't matter.

I'd be interested to see if it's a problem with the script combination - try it in a brand new project JUST with my little script snippet. Then remove mine and try it with JUST the message system script. Does it happen with either of those scripts on their own? Now put them together, with NO other scripts except the default, and see if it happens again. All in a brand new project with everything else RTP.
Hey, I apologize for putting it in the wrong section, and for taking so long to get back to you.

I tested it in a new project, it seems that it's just a Yanfly issue. As without your face script, the issue occurs. 
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top