TAA_BookMenu (v1.3.6)

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

  1. ConfliKt

    ConfliKt Villager Member

    Messages:
    8
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Great, it seems to work like a charm, apart from your demo missing the graphics for "fancyA_45x38px.png", but i doubt that will have any effect on my project. :)
     
    #41
  2. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Sweet!

    I'll fix the file on git later (will also remove reference to that file, it shouldn't be there... thanks for the headsup hehe).
    Enjoy the plugin! :D
     
    #42
    xDRAGOONx likes this.
  3. aelwhin

    aelwhin Villager Member

    Messages:
    7
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Is there a way to update or add new entries without having to start the game from scratch? I'm making a game that will be updated on a constant basis, but the new entries I add don't show up in saved files and will only show up after starting a new game. Is there any way to work around this?

    Thank you so much!
     
    #43
  4. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    It will require a bit of coding, but it is possible.

    I'm out of town for a few days, but I'll take care of it sometime next week! :)
     
    #44
    aelwhin likes this.
  5. aelwhin

    aelwhin Villager Member

    Messages:
    7
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Thank you, that would be amazing!
     
    #45
  6. EseQueL

    EseQueL Veteran Veteran

    Messages:
    57
    Likes Received:
    20
    First Language:
    English
    Sadly, this workaround is not applicable to mobile. Furthermore, I don't know the minimum but the bug already exist at 18 lines. Rendering this plugin useless for mobile if you want to include long texts.
     
    Last edited: Nov 5, 2019
    #46
  7. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @EseQueL , have you tried the suggested workaround of using it along another plugin that provides wordwrapping functions?

    As there is a workaround already mapped for the issue I wasn't planning on tackling it (as I also strongly recommend using wordwrap on your books). If the workaround is somewhat not working I may consider giving this issue more attention though.
     
    #47
  8. EseQueL

    EseQueL Veteran Veteran

    Messages:
    57
    Likes Received:
    20
    First Language:
    English
    I only tried with Yanfly and I'm not willing to replace it just to make this plugin work though as I will lose a lot of the other great features from her message core and also might ran into incompatibility issues if I use other plugins aside from Yanfly's. It works on PC very well but not in mobile.
     
    #48
  9. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I see. I have tested it quite a bit with Yanfly Message Core on PC, and as far as I can tell it should be working on mobile as well.

    Can you PM me with one or more books you're using that are causing the issue so I can try to replicate the issue here? A printscreen would be helpful too, if possible.
    I'll see if I can fix it. I'll probably release a new version to fix the issue raised by aelwhin first, though, as it is quite simple.
     
    #49
    EseQueL likes this.
  10. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @aelwhin , just uploaded version 1.3.5 with some changes to allow reloading book list when loading a save file. I've run some tests and it should be working, but let me know if something goes wrong.

    Just a warning though: be careful not to change category names, order or ids, nor book names, otherwise you may have issues when loading your save file. If you're just adding more stuff you should be fine.
     
    #50
  11. KingGodzilla

    KingGodzilla King of the Monsters Veteran

    Messages:
    25
    Likes Received:
    7
    Location:
    United States
    First Language:
    English
    Hey, thanks again for this plugin, just have a small suggestion: Can we have a setting in the plugin parameters that makes it where book categories start collapsed? When there's multiple entries for a bunch of categories, they all start expanded and man that's a lot of scrolling or collapsing. Categories starting minimized/closed would be a great option for this.
     
    #51
  12. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    That's a nice idea, and rather simple to implement...
    I'll get into that later. I'll let you know when it's done! :D

    EDIT: @KingGodzilla , just released version 1.3.6, introducing the parameter "Load Closed Categories" in the List Window parameters. Update your plugin version and you're good to go!
    Now I'll try to focus on EseQueL issue... which may take some time :|
     
    Last edited: Nov 14, 2019
    #52
    KingGodzilla likes this.
  13. manofrain

    manofrain Warper Member

    Messages:
    3
    Likes Received:
    2
    First Language:
    Russian
    Primarily Uses:
    RMMV
    Colossal work. Very few plugins for working with arrays of text. This plugin for RMMV is a breath of clean air.

    (Can I load large blocks of text from an external *.txt files with basic formatting using this plugin? If someone knows, tell me this way, please.)
     
    Last edited: Nov 15, 2019
    #53
    taaspider likes this.
  14. KingGodzilla

    KingGodzilla King of the Monsters Veteran

    Messages:
    25
    Likes Received:
    7
    Location:
    United States
    First Language:
    English
    I keep getting an error whenever I have the new "Load Closed Categories" set to on. The error is: TypeError $dataBooks._categoryList.splice is not a function.

    I've even tried this in a brand new game with nothing but this plugin loaded and it still gives the same error. However, there's no error when the new setting is turned off, only when it's turned on.
     
    #54
  15. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    That's strange... I made a few more tests and I did find a bug, but could not replicate the issue you describe. Just in case both have the same root cause, try this test version. If it doesn't work, can you PM me your plugins.js file (so I can load your plugin configurations)? If you're using a JSON file as an external datasource I'm gonna need that too.

    What did you have in mind exactly?
    You mean referencing txt files as a book text and loading it when the book is requested?

    I did not plan on adding that, as you can just insert your text in a JSON file (basic formating would have to be escaped, but you can do that with a simple find and replace on notepad++, replacing line breaks with \n, for example).
     
    #55
  16. KingGodzilla

    KingGodzilla King of the Monsters Veteran

    Messages:
    25
    Likes Received:
    7
    Location:
    United States
    First Language:
    English
    Just to make sure, I created a new project with the most recent plugin only (and also tried your test version), but this new project doesn't even make it to the title screen. It's an immediate: Error - Uncaught Error: There was an error loading the file 'undefined. This happens in both the most recent version and the test version. What I said before was just me turning off all other plugins except the book plugin, this time is a brand new game with just the plugin.
     
    #56
  17. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Are you able to run the demo project?
    Also, what is your current steam version?
     
    #57
  18. KingGodzilla

    KingGodzilla King of the Monsters Veteran

    Messages:
    25
    Likes Received:
    7
    Location:
    United States
    First Language:
    English
    Steam version is most up to date.

    I was able to get the demo to work without getting an error, however... the new "Closed Category" parameter just doesn't work. Whether "Load Closed Categories" is set to true or false, the categories are always expanded when I go to main menu -> Books.
     
    #58
  19. taaspider

    taaspider Veteran Veteran

    Messages:
    48
    Likes Received:
    45
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I just commited a few changes that may fix that behvior on the demo project. Can you update the plugin and try again please?
    To speed things up, here's the link for the plugin only.
     
    #59
  20. KingGodzilla

    KingGodzilla King of the Monsters Veteran

    Messages:
    25
    Likes Received:
    7
    Location:
    United States
    First Language:
    English
    I can confirm that your update there has your demo working properly.

    I tried putting this file into my game, and while I'm no longer getting the error first reported, I'm getting a different one now. The categories still aren't closed by default (even with the parameter set to True), and when I try to close the category myself, I get this error: TypeError: this._closedBookCategories.push is not a function
     
    #60

Share This Page