Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
120
Reaction score
31
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
209
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

Villager
Member
Joined
Sep 8, 2020
Messages
5
Reaction score
8
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

Villager
Member
Joined
Sep 8, 2020
Messages
5
Reaction score
8
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
209
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
212
Reaction score
247
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

Villager
Member
Joined
Sep 8, 2020
Messages
5
Reaction score
8
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
212
Reaction score
247
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

Villager
Member
Joined
Sep 8, 2020
Messages
5
Reaction score
8
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,052
Reaction score
1,218
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
212
Reaction score
247
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,052
Reaction score
1,218
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
212
Reaction score
247
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: 2

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
212
Reaction score
247
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.
 

Super015

Veteran
Veteran
Joined
May 12, 2013
Messages
84
Reaction score
14
First Language
Italian
Primarily Uses
RMMV
Hi, congratulations on the great plugin!
I've only one problem, if I add a book during a game that has already started I can't see it in the menu, this is a problem because if I want to update the game with some corrections or new information I have to force the player to restart the game.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
212
Reaction score
247
First Language
Portuguese
Primarily Uses
RMMV
Hi, congratulations on the great plugin!
I've only one problem, if I add a book during a game that has already started I can't see it in the menu, this is a problem because if I want to update the game with some corrections or new information I have to force the player to restart the game.
Which version you are using?

Up to version 1.4.0 the plugin used to store the whole library in the save file, which would cause the issue you describe. On later versions I have changed the way save files are handled, and we only store which books have been read, if they are marked as new, and which variable text indexes are visible. So adding a new book or changing the text of an existing one should be automatically reflected on the the game the next time it boots (you need to at least close and open the game again, or press F5, to force it to reload your settings). I just tested this with the latest version and it works perfectly :)
 

Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
120
Reaction score
31
First Language
English
Primarily Uses
RMMV
Hi Taaspider,

I am using this plugin in MV and found an issue where if you deploy a game with encryption, the images used in the book don't load. Is there a way to make this work? Any help would be greatly appreciated.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
212
Reaction score
247
First Language
Portuguese
Primarily Uses
RMMV
Hi Taaspider,

I am using this plugin in MV and found an issue where if you deploy a game with encryption, the images used in the book don't load. Is there a way to make this work? Any help would be greatly appreciated.
Hello there!

Is the parameter Check Files First enabled?
Unfortunately, this feature is not compatible with encrypted deployments, as I have not yet found a way to discover and use the encrypted file names in the code. In this scenario the plugin won't find any images, since it is looking for their unencrypted names, and that's why none of them are loaded (the plugin assumes they don't exist). The workaround, for now, is to disable this parameter or not to encrypt the deployment. I've spent some time looking into making it compatible, but haven't found a way to do so yet.
 

Latest Threads

Latest Posts

Latest Profile Posts

For some reason a vegan webpage was suggested for me on FB. So I thought let's troll them. Because some of the posters needed a reality check.
I intended to start losing some weight starting today but It's apparently my birthday and I was given 2 big Toblerone's. So....Tomorrow then :p
JR.png
design for 1920's Jazz-singer
(can you guess what character inspired me here? xD )
Another brief AD video. Pretty proud of this.
new to game making and open to any help on getting started

Forum statistics

Threads
129,822
Messages
1,205,506
Members
170,943
Latest member
MikeC_
Top