TAA_BookMenu (v1.6.7)

● ARCHIVED · READ-ONLY
Started by taaspider 301 posts Page 13 of 16 View original ↗
  1. taaspider said:
    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!
  2. 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!
  3. 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?
  4. Hi,

    PLUEVNR said:
    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.
  5. Foucal said:
    In the plugin options : Menu Text Window Config > Line Height (default 36).
    Already tried and it doesn't work
  6. Is it in the menu or the detached entry ? If so, maybe it's in the Detached Text Window property.
  7. 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.
  8. PLUEVNR said:
    Already tried and it doesn't work
    It should have worked. I'll take a look at it later.

    Foucal said:
    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.
  9. taaspider said:
    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.
  10. Foucal said:
    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.
  11. I checked everything and even used a much shorter file to verify, same problem. Sending you a PM.
  12. I am having issue using the Plugin Manager Books in MZ. The book titles are displayed, but the text is not.
    Spoiler
    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.
  13. Seacliff said:
    I am having issue using the Plugin Manager Books in MZ. The book titles are displayed, but the text is not.
    Spoiler
    View attachment 217105

    View attachment 217108

    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! :)
  14. @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.
  15. taaspider said:
    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:

    Line Height at 68
    1648328891636.png

    Line Height at 200
    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.

    Parameters
    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 :/
  16. Strife250 said:
    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.
  17. 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.
  18. Super015 said:
    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 :)
  19. 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.
  20. Random Panda said:
    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.