Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
109
Reaction score
26
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
186
Reaction score
224
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
186
Reaction score
224
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,032
Reaction score
1,203
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
186
Reaction score
224
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,032
Reaction score
1,203
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
186
Reaction score
224
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
186
Reaction score
224
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
42
Reaction score
7
First Language
Italiano
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
186
Reaction score
224
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
109
Reaction score
26
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
186
Reaction score
224
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

Coin Locker title screen:
Still in progress...

Screenshot_134.png
the girls.png
So, these are all the girls of the party =3 (beside the protagonist if you play as a female.)
Now, I just have one more character sheet of the guys left and I'm done with their presentations =3
Can you recognize where this area is from? :kaocry:
Mq9QM3h.png
For those with up to 9 elements of magic; how do you structure your database. By element? Or by what is offensive vs supportive spells?
would anyone here be interested in rough concept art for the main protagonist of my game that might get changed later? :kaoswt2:

Forum statistics

Threads
124,442
Messages
1,163,679
Members
163,256
Latest member
onbetltd
Top