TAA_BookMenu (v1.3.6)

ConfliKt

Villager
Member
Joined
Jul 23, 2019
Messages
8
Reaction score
2
First Language
English
Primarily Uses
RMMV
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 :)
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. :)
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
53
Reaction score
47
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
 

aelwhin

Villager
Member
Joined
Aug 16, 2019
Messages
7
Reaction score
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!
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
53
Reaction score
47
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! :)
 

aelwhin

Villager
Member
Joined
Aug 16, 2019
Messages
7
Reaction score
0
First Language
English
Primarily Uses
RMMV
Thank you, that would be amazing!
 

EseQueL

Veteran
Veteran
Joined
Oct 10, 2016
Messages
57
Reaction score
20
First Language
English
Primarily Uses
If a book's text has too many line breaks (like, over 85 or so), there's some issue with the pixi filter I couldn't figure out that makes it crash and show the text window completely black, with no text. It will only happen for the books in this condition. However, I've tested it along with wordwrapping functions from other plugins, like Yanfly's Message Core for example, and I can have longer texts displayed without issue. So there's the workaround :D
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:

taaspider

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

EseQueL

Veteran
Veteran
Joined
Oct 10, 2016
Messages
57
Reaction score
20
First Language
English
Primarily Uses
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.
 

taaspider

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

taaspider

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

KingGodzilla

King of the Monsters
Veteran
Joined
Oct 25, 2015
Messages
25
Reaction score
7
First Language
English
Primarily Uses
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.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
53
Reaction score
47
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:

manofrain

Warper
Member
Joined
Jul 5, 2019
Messages
3
Reaction score
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:

KingGodzilla

King of the Monsters
Veteran
Joined
Oct 25, 2015
Messages
25
Reaction score
7
First Language
English
Primarily Uses
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 :|
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.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
53
Reaction score
47
First Language
Portuguese
Primarily Uses
RMMV
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.
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.

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.)
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).
 

KingGodzilla

King of the Monsters
Veteran
Joined
Oct 25, 2015
Messages
25
Reaction score
7
First Language
English
Primarily Uses
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.
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
53
Reaction score
47
First Language
Portuguese
Primarily Uses
RMMV
Are you able to run the demo project?
Also, what is your current steam version?
 

KingGodzilla

King of the Monsters
Veteran
Joined
Oct 25, 2015
Messages
25
Reaction score
7
First Language
English
Primarily Uses
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.
 

taaspider

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

KingGodzilla

King of the Monsters
Veteran
Joined
Oct 25, 2015
Messages
25
Reaction score
7
First Language
English
Primarily Uses
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I really need to stop thinking there are new freebies just because someone made a new post in the freebies subforum lol.
AND just like that..... I got STEAM DLC up and working! YES!
Game making is like a marathon, except the last 1/4 is more like sprint... a very long and intense sprint.
Finally got to finish the demo for my project!
Another week has gone by. Maybe you made changes to your project/s. Maybe you didn't. Nonetheless, THAT IS NO EXCUSE TO NOT BACK THEM UP O_O!

Forum statistics

Threads
93,440
Messages
912,435
Members
122,965
Latest member
Karic31
Top