Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
97
Reaction score
20
First Language
English
Primarily Uses
RMMV
Hello!

There's a few new parameters added from version 1.3 to 1.6.3. The error you're getting is probably because some of them might not be set. I believe you just need to open the JSON config parameters, so the plugin can load default values for the new parameters, then save your settings and give it another go.

From the console error message it seems the crash is occurring because the plugin is trying to access specifically the parameters that defines which object inside your JSON describes the variable and visible text arrays. Having those parameters updated in the Plugin Manager should fix that!
Wow... I can't believe it was that simple. Thank you so much!
 

upaw

Villager
Member
Joined
Jan 30, 2013
Messages
8
Reaction score
1
Primarily Uses
Hello I cant seem to figure out how to add the book menu to yanfly's main menu manager it keeps showing an error

Edit: After some hours of fiddling with it I finally figured it out!
 
Last edited:

PLUEVNR

Veteran
Veteran
Joined
Jan 15, 2020
Messages
208
Reaction score
128
First Language
French
Primarily Uses
RMMV
Hello,
I'm having an issue when I'm putting icons one line after another
1644788068792.png
Is there anyway to modify the space between lines?
 

Foucal

Warper
Member
Joined
Sep 8, 2020
Messages
4
Reaction score
4
First Language
Français
Primarily Uses
RMMV
Hi,

Hello,
I'm having an issue when I'm putting icons one line after another
View attachment 216205
Is there anyway to modify the space between lines?

In the plugin options : Menu Text Window Config > Line Height (default 36).

Now, I started using this plugin in MV and it worked as expected so far. However, in a separated JSON file I tried to use the "visibleTexts" field but it gives me the following error :
JavaScript:
Uncaught TypeError : Cannot read property "visibleTexts" of undefined
So, apparently the book textArray (or texts in general) is not defined before getting its "visibleTexts" property, does someone know how to fix it ? I guess it should be a simple if condition but I don't know where to put it.
 

Foucal

Warper
Member
Joined
Sep 8, 2020
Messages
4
Reaction score
4
First Language
Français
Primarily Uses
RMMV
Is it in the menu or the detached entry ? If so, maybe it's in the Detached Text Window property.
 

PLUEVNR

Veteran
Veteran
Joined
Jan 15, 2020
Messages
208
Reaction score
128
First Language
French
Primarily Uses
RMMV
It's in the menu. I've changed it to 200 to make it too big and be able to see any changes. Nothing moves.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
183
Reaction score
220
First Language
Portuguese
Primarily Uses
RMMV
Already tried and it doesn't work
It should have worked. I'll take a look at it later.

Hi,



In the plugin options : Menu Text Window Config > Line Height (default 36).

Now, I started using this plugin in MV and it worked as expected so far. However, in a separated JSON file I tried to use the "visibleTexts" field but it gives me the following error :
JavaScript:
Uncaught TypeError : Cannot read property "visibleTexts" of undefined
So, apparently the book textArray (or texts in general) is not defined before getting its "visibleTexts" property, does someone know how to fix it ? I guess it should be a simple if condition but I don't know where to put it.
Can you show me the complete error message in the console?
My guess is that there may be something misconfigured in the plugin manager parameters, but I need more information to confirm.
 

Foucal

Warper
Member
Joined
Sep 8, 2020
Messages
4
Reaction score
4
First Language
Français
Primarily Uses
RMMV
It should have worked. I'll take a look at it later.


Can you show me the complete error message in the console?
My guess is that there may be something misconfigured in the plugin manager parameters, but I need more information to confirm.
Thanks for your quick answer. In the console I get :
JavaScript:
Uncaught TypeError: Cannot read property 'visibleTexts' of undefined
    at TAA_BookMenu.js:2695
    at XMLHttpRequest.xobj.onload (TAA_BookMenu.js:2751)
This is all I have. I double checked the spelling of the field in the JSON file and in the plugin parameters but no issue here, it does match.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
183
Reaction score
220
First Language
Portuguese
Primarily Uses
RMMV
Thanks for your quick answer. In the console I get :
JavaScript:
Uncaught TypeError: Cannot read property 'visibleTexts' of undefined
    at TAA_BookMenu.js:2695
    at XMLHttpRequest.xobj.onload (TAA_BookMenu.js:2751)
This is all I have. I double checked the spelling of the field in the JSON file and in the plugin parameters but no issue here, it does match.
There is something wrong with the source JSON file I think. The error happens exactly in the spot the code tests if the visibleText object exists (for error handling), but it is crashing because it is iterating through the books and one of them seems to be undefined.

Can you double check if there is any book key without its underlying objects, or with typos on their names?
If everythin is ok, please PM me your books JSON file so I can take a look in my test project.
 

Foucal

Warper
Member
Joined
Sep 8, 2020
Messages
4
Reaction score
4
First Language
Français
Primarily Uses
RMMV
I checked everything and even used a much shorter file to verify, same problem. Sending you a PM.
 

Seacliff

RPG Maker Mastermind
Veteran
Joined
Nov 8, 2012
Messages
3,028
Reaction score
1,199
First Language
Yes
Primarily Uses
RM2k
I am having issue using the Plugin Manager Books in MZ. The book titles are displayed, but the text is not.
Error.png

Error2.png

Tried the plugin by itself and tried reinserting it fresh into the project, same results.

The text was displaying earlier, but all of a sudden stopped doing so. I don't know what I did that could have caused this. Any help would be appreciated.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
183
Reaction score
220
First Language
Portuguese
Primarily Uses
RMMV
I am having issue using the Plugin Manager Books in MZ. The book titles are displayed, but the text is not.
Tried the plugin by itself and tried reinserting it fresh into the project, same results.

The text was displaying earlier, but all of a sudden stopped doing so. I don't know what I did that could have caused this. Any help would be appreciated.
Sorry for the delay... Have been pretty busy this week.
At glance I have no ideia what could have caused this. Anyways, I'll run some tests in the next few days and see if I can manage to replicate the issue by myself, but if you have a test project with the issue present and are able to send it to me (a download link, attached to a PM, whatever suits you better), that can speed things up! :)
 

Seacliff

RPG Maker Mastermind
Veteran
Joined
Nov 8, 2012
Messages
3,028
Reaction score
1,199
First Language
Yes
Primarily Uses
RM2k
@taaspider I figured out my issue. A new file had to be created for the books to load properly.

Apparently when you load a file all the books are loaded automatically, so I didn't realize that was the issue at first. Nothing needs to be fix after all.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
183
Reaction score
220
First Language
Portuguese
Primarily Uses
RMMV
It should have worked. I'll take a look at it later.


Can you show me the complete error message in the console?
My guess is that there may be something misconfigured in the plugin manager parameters, but I need more information to confirm.
Sorry for the delay @PLUEVNR ... I've piled up quite a backlog, took a while to get to this.

Ok, I've tested the LineHeight parameter, but using my test project changing the parameter value correctly changed the window behavior:

1648328891636.png

1648329241564.png

Are you still having this issue?
If so, make sure you are editing the correct parameter. I've added screenshots highlighting it in the spoiler tag below.

1648329168419.png
1648329187752.png

If it is correctly set and the issue is still present, then I'll need you to PM me a test project with it happening so I can try and debug it :/
 

Attachments

  • 1648328942139.png
    1648328942139.png
    33.2 KB · Views: 1

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
183
Reaction score
220
First Language
Portuguese
Primarily Uses
RMMV
Hello Everyone!

Has anyone made this plugin work with Luna Engine?

Thanks!
I've managed to add compatibility with Luna Engine with version 1.6.4.
You won't be able to customize the interface using Luna's yml files, you'll still have to configure it through the BookMenu's parameters (it's more a bypass to Luna's customizations, so the game won't crash, then a real compatibility patch). That's the best I can do on my side... anything more than this should be done by Luna's developers.
 

Latest Threads

Latest Profile Posts

Test game. Find something broken. Fix. Re-test game. Broken thing fixed but new thing broken that wasn't before. What?!?! Uhg! :kaoangry:
I watched this youtube video of this reporter that went to a Flat Earth Conference. And there was just a whole lot of stupid in one room.
What?! You want 2 more hours of a playthrough? Well you got it! Come hang out with us while we dive even deeper into the awesome game Kindred Novel by BirdBunch! :LZSjoy:
Well, shoot. I didn't mean for the title screen to be there in my previous post.
Can everyone here just forget about that until I'm actually ready to formally announce it?

Forum statistics

Threads
122,071
Messages
1,146,278
Members
160,350
Latest member
rayhanalka
Top