TAA_BookMenu (v1.3.6)

Discussion in 'JS Plugin Releases (RMMV)' started by taaspider, Dec 8, 2018.

  1. xDRAGOONx

    xDRAGOONx Villager Member

    Messages:
    15
    Likes Received:
    4
    Location:
    California
    First Language:
    English
    Primarily Uses:
    RMMV
    This is definitely one of my new favorites! Thank you so much for creating this, I plan to utilize this as much as possible.
     
    #21
    taaspider likes this.
  2. Uzuki

    Uzuki Kawaii on the streets, Senpai in the sheets Veteran

    Messages:
    1,859
    Likes Received:
    1,263
    Location:
    Georgia
    First Language:
    English
    Primarily Uses:
    RMMV
    @taaspider Hello! You've made an amazing plugin and I'm excited to have it in my current project. I've run into a problem with the menu going blank when I select an entry and freezing on that screen. I read about the issue in the OP about the word wrapping, but that didn't help. The only plugins that I'm using that would affect menus are the yanfly plugins. Is there a way I can fix this work around it?

    Edit: I found the problem! It seems that there's a compatibility issue with Olivia's StatetooltipDisplay plugin.
     
    Last edited: Jun 21, 2019
    #22
    taaspider likes this.
  3. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Thanks for the feedback @Uzuki , I'm glad you liked it! :D

    I don't know how far you have debugged the issue, but were you able to pinpoint which part of the code is causing issues?
    If you wish, send me Olivia's plugin through a PM so I can take a look (don't post it here, since it is a paid plugin... if you share it with me I'll use it for debugging purposes only).

    I have a busy week on my day job this week, but I'll take a few days off starting next week and will be happy to extend the plugin's compatibility :)
     
    #23
  4. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    If anyone else is having issues with Olivia StateTooltipDisplay plugin, compatibility has been fixed on version 1.3.1 :D
     
    #24
  5. RodrigoAijo

    RodrigoAijo Warper Member

    Messages:
    1
    Likes Received:
    0
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    N/A
    Hello. I noticed that the script is not compatible with Mog_MenuCursor.
    The book menu closes and the game freezes as I place the cursor over a book.
    Can you fix this? Thanks in advance.
     
    #25
  6. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hi there @RodrigoAijo .
    Sure, I'll take a look. It will probably take a few days though. I'll let you know as soon as I have a new version.
     
    #26
  7. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @RodrigoAijo , I think I figured it out. I did some testing and it seems to be fixed, but I would appreciate if you could test it further in your project and let me know as it goes. You can get the beta version here.
    I'll wait a few days for your feedback before merging this version to the master branch and updating the main post.

    If anyone is interested in the nasty details:
    I turned out to be a similar issue to what was found with Olivia's plugin on version 1.3.0, only the same workaround was not possible with MOG's plugin. I may, however, have found a way to prevent future issues with any plugin that creates additional layers over every scene as long as such layers are placed ABOVE the WindowLayer (as is the case in both the plugins I mentioned).
     
    #27
  8. Random Panda

    Random Panda Veteran Veteran

    Messages:
    45
    Likes Received:
    3
    First Language:
    English
    @taaspider
    Such an amazing Plugin! Thank you so much for making this.

    My only issue is a small one that hopefully you might be able to help with. I use the plugin RS_MessageAlign to make it easier to center text in dialog boxes. Unfortunately it seems to make it so I can't utilize the text alignment feature in your book plugin. Do you know of any way I can make a compatibility fix for these two? Any help would be greatly appreciated.

    That other question I have is if there is a way to change the color of the titles. I tried putting \c[x] bore the titles but that changes the color in both the list and the title section. Any help from you or anyone else would be greatly appreciated. Again this plugin is so great!!!
     
    Last edited: Aug 10, 2019
    #28
  9. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hi there @Random Panda
    I'll take a look at both compatibility with RS_MessageAlign and changing title section text color only.
    I'll keep you posted!
     
    #29
  10. Random Panda

    Random Panda Veteran Veteran

    Messages:
    45
    Likes Received:
    3
    First Language:
    English
    Thank you so much! If there's any thing I can do to help let me know!
     
    #30
  11. KingGodzilla

    KingGodzilla King of the Monsters Veteran

    Messages:
    25
    Likes Received:
    7
    Location:
    United States
    First Language:
    English
    There's a game breaking issue when there's different "Custom Backgrounds" for several books. It will load the first custom background fine, but clicking on the next book with a different custom background, the picture will be shown over the text, and clicking on a third book will cause both backgrounds to load and it removes the menu entirely, locking you out of all controls and forcing a restart. This even happens in your own demo. What I did to replicate this issue in the demo: Your "Custom Background" book is set to "Sword", so I configured the book above that, "Background Images" to be "Universe", and the one below, "Inline Images", to be "Gates" and then ran the demo. Talked to the first guy, had him show all books, and then read each of those three books, causing the issue.
     
    #31
  12. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hi there @KingGodzilla .
    I haven't done that specific test during development... thanks for pointing it out!
    From your description I think I know what's causing the problem. I just need to figure out how to fix it hehe

    I'll probably have some time to mess with the code this week. I still need to check things for Random Panda, but I'll prioritize a game breaking issue :blink:
    I'll let you know as soon as I have something.
     
    #32
  13. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @KingGodzilla ,
    I have fixed the bug you described. Please download the latest version and check it out.

    @Random Panda ,
    I have included a new parameter to each book that will allow you to set a custom color for the title that affects the title window only. So you can have default color on the book list and a custom one in the title.
    As for RS_MessageAlign compatibility, I haven't got time to take a proper look at it yet. I'll let you know when I do.
     
    #33
  14. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hello everybody... Version 1.3.4 is out now with a few bug fixes and a new feature added:

    [​IMG]

    @Random Panda , I managed to find what's wrong with RS_MessageAlign compatibility. So, I have good, bad and then some more good news.

    The first good news is that I found an issue that caused the first line of text never being aligned properly. That is fixed on version 1.3.4.

    The bad news is that I believe the issues you were experiencing are caused by a bug on RS_MessageAlign. I found that the way the plugin was written causes it to not work as intended if you mix different alignments on the same text accross multiple lines. To be more precise, it cycles alignment for each new line, so if you change alignment anywhere through your text it will actually be applied at the first line break, not at the precise point you include the alignment tag. I recommend reaching out to the plugin's owner and see if he can fix it.

    The other good news is that I found a workaround for you (it won't work with wordwrap active though). If you include an alignment tag at the start of each line of text on your book until the alignment change (do that for blank lines too), the cycling will align the text properly. That won't work with wordwrap because you won't know for sure where the line breaks are and where new lines begin. Not the ideal solution, but it will work if you can't get the plugin fixed.

    I hope this helps!
     
    #34
    Eliaquim likes this.
  15. ConfliKt

    ConfliKt Villager Member

    Messages:
    8
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey, i tried your plugin, but whenever i tried to boot the game it would say:
    "Uncaught TypeError: Cannot read property 'books' of undefined"

    so i tried to seek wisdom in your demo, but whenever i would try to open a book it would say
    "Imported is not defined"
     
    #35
  16. xDRAGOONx

    xDRAGOONx Villager Member

    Messages:
    15
    Likes Received:
    4
    Location:
    California
    First Language:
    English
    Primarily Uses:
    RMMV
    The very first option under plugin parameters, DataSource Config: DataSource type, is is set to JSON or plugin manager? if it's set to JSON the plugin will attempt to load a separate file in-game. If you set it to plugin manager, you can do all your book creation through the plugin.
     

    Attached Files:

    #36
  17. ConfliKt

    ConfliKt Villager Member

    Messages:
    8
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    I did just that, and now it doesn't crash on startup, however i still get the error:

    "Imported is not defined"

    whenever i open a book, in both the demo game, and a clean rmmv game with only EISLibrarium.
     
    #37
  18. xDRAGOONx

    xDRAGOONx Villager Member

    Messages:
    15
    Likes Received:
    4
    Location:
    California
    First Language:
    English
    Primarily Uses:
    RMMV
    Can you upload a screenshot of your plugin parameters menu?
     
    #38
    taaspider likes this.
  19. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hi there @ConfliKt ... @xDRAGOONx beat me to it, I was about to ask you the same thing (your plugin parameters settings)! :D
    Also, see if you can open the console (F8) and send a screenshot of that as well.

    Edit: Ok, I took a quick glance at the plugin and I think I may know whats happening. It may be an issue inadvertedly introduced on version 1.3.4. Try including the followind on line 11 and running it again (just after "TAA.bm.alias = {};"):
    var Imported = Imported || {};
    If that works I'll update the code at git later :)
     
    Last edited: Oct 24, 2019
    #39
    xDRAGOONx likes this.
  20. ConfliKt

    ConfliKt Villager Member

    Messages:
    8
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Untitled.png Untitled2.png Untitled3.png
     

    Attached Files:

    #40

Share This Page