Hello ive updated all your plugin to their newest versions and now im having a issue when I try to open the Encyclopedia it gives the "Cannot read property 'match' of undefined" before I updated I could use a common event and set it to "true" and everything worked fine, however in this newer version it no longer has that option and instead has "catagory = " I have no idea what i need to put here Ive also tried using the "SceneManager.push(CGMZ_Scene_Encyclopedia); " but that gives the same effect in both the visustella mainmenu core and your own menu command window plugin. I must be overlooking somthing as your achievements, crafting and other pluging work as before just this one.
MZ [CGMZ] Encyclopedia and Bestiary
JS Plugin Releases (RMMZ)@Ethomas2000 Hi, it sounds like your version was very out of date. Calling it with just SceneManager.push(CGMZ_Scene_Encyclopedia); will work. I think the error is probably there was a new parameter added which the scene is trying to display since you updated that you need to configure. One common issue back when it was first added for people updating was the new Command Text parameter under the Categories parameter, which can't be blank.
If you include the full error from the dev tools console I could look at it a little better and see what is going wrong.
If you include the full error from the dev tools console I could look at it a little better and see what is going wrong.
Is this what you wanted, I dont really know my way around the dev tool, I just kinda trial and error and read the forums when I have an issue, Thank you for your help. EDIT: Is this what your taking about @ATT_Turan
That tab says Sources, not Console.
A bit of it is at the bottom, but not the full error trace.
@Ethomas2000 It looks like a custom message plugin is having problems parsing some of the text. It could be because you have a text parameter that is empty, which the other plugin might not expect. It does look like it is text from the Encyclopedia Category window it is trying to parse, so chances are it is as said before, you have no Command Text parameter for a command in the category window. This was added in an update a while ago, so if you are updating from a very old version you will need to open up your Categories parameter and each Category in there to make sure they all have the Command Text parameter filled out.
That fixed it thank you for the help, I love your plugins keep up the good work.
Hi all, this plugin has been updated to version 1.7.3 today for a bug fix 👋
When adding functionality to patch old save files for the new actor category, I forgot to also initialize something for new games so it was "patching" new games for the first save only which resulted in actor entries resetting after the first save only. This should be fixed now.
Version 1.7.3
- Bugfix for actor entries resetting after first save
When adding functionality to patch old save files for the new actor category, I forgot to also initialize something for new games so it was "patching" new games for the first save only which resulted in actor entries resetting after the first save only. This should be fixed now.
Version 1.7.3
- Bugfix for actor entries resetting after first save
Does this not support text codes such as \i[14] etc.?
@Okralord Hi, it does support text codes. Is there a specific piece of text where a text code is not working for you?
@Okralord Text codes should work there:
You might be using an outdated version of the encyclopedia if it doesn't work for you, as text code support was not a feature in early versions of this plugin. Make sure your encyclopedia says it is version 1.7.3.
You might be using an outdated version of the encyclopedia if it doesn't work for you, as text code support was not a feature in early versions of this plugin. Make sure your encyclopedia says it is version 1.7.3.
I'm posting in the wrong thread -_- I'm using the MV version. My posts can be deleted.
I fixed it by using the VE Control Text plugin BTW
I fixed it by using the VE Control Text plugin BTW
Hi all, this plugin was updated to version 1.8.0 today 👋
This update adds the ability for your players to listen to battle music when they select a Bestiary entry. This can be either a default battle BGM, or you can set up a unique track for an enemy. Enemies without unique tracks will "fallback" to the default BGM if there is one.
This update also adds a discover date to each entry, and the option to display this date on the entry in the encyclopedia. If upgrading to this version with a released game that has save files already, you can still use this option but entries discovered prior to the update will not have a discover date. In this case, a new Text parameter will allow you to choose what is displayed if there is no discover date, by default it is "Unknown".
This update also added a QOL feature that allows you to autodiscover skills when they are used, either by enemies or by actors. You can turn this OFF while keeping the older auto-discover functionality for skills (when they were learned) if you want. Another QOL feature is that this plugin should no longer crash (in most cases) when one of your JSON parameters is not set up properly. Instead, it will warn you in the dev tools console. If something is not working correctly after updating, please check the dev tool console for warnings from CGMZ Encyclopedia before reporting an issue.
Lastly, this plugin will now integrate with [CGMZ] Difficulty to display enemy stats according to the current difficulty modifier. You can turn this off as well if you want the encyclopedia to always display the base stats of an enemy before the difficulty modifier is applied.
Version 1.8.0
- Added ability to play BGMs while viewing enemies in bestiary
- Added option to display the date an entry was discovered
- Added option to autodiscover skills when they are used
- This plugin can now integrate with CGMZ Difficulty to show enemy stats/gold/exp based on the current difficulty
- This plugin now reports JSON parameter errors instead of crashing. If something isn't working right, please check dev tool console before reporting a bug
Hi all, this plugin has been updated to version 1.9.0 today!
This update adds the option to display the skills an enemy can potentially use in the Bestiary. You can optionally have these skills numbered, and they will appear in the order they are in the database. This comes with a new skills header as well. With this, I also added options to change the header line gradient colors, to better match your label colors.
This update also added custom scene backgrounds for each category, including custom categories! See updated documentation for how to set these up for the default categories. When no background is set up for a category, the background will default to the blurry map. With this change, I also added the option of making the windows transparent.
See below gif for scene backgrounds, header colors, and enemy skills:
This update also adds a few quality of life options. You can now have it automatically ignore blank database entries, or database entries that include a user-defined string. You can also make the encyclopedia opt-in, which reverses the function of the note tag. Finally, a plugin command was added to check if a specific entry has been discovered already, for use in eventing.
Version 1.9.0
- Added option to display the skills an enemy can use
- Added option to have a custom scene background image for each category
- Added option to change header line gradient colors
- Added option to have windows be transparent
- Added plugin command to check if an entry has been discovered
- Added option to automatically hide entries that have no name or a user defined string in their name
- Added option to make entries in the encyclopedia opt-in
I seem to have encountered an error when hiding bestiary entries.
Hiding undiscovered hides the entries but when you press ok on bestiary it highlights an empty row and if you hit ok again it causes a crash error.
Here is some additional info:
Hiding undiscovered hides the entries but when you press ok on bestiary it highlights an empty row and if you hit ok again it causes a crash error.
@Oggy Thank you for the bug report, there should be a fix released this week. In the meantime, you should be able to paste this into the bottom of the plugin js file (in a new line) and it should fix the issue:
JavaScript:
CGMZ_Window_EncyclopediaList.prototype.canPlayBGM = function() {
return (this._symbol === "bestiary" && this.item() && this.item().isDiscovered && this.item().isDiscovered() && this.hasBGMToPlay());
};
Np. Thanks for the fix.
Hi all, this plugin received a small bug fix update today 👋
This update fixes a crash that could occur on the Bestiary list, when all entries were hidden and selecting a blank entry.
This update also fixes an issue of potentially displaying a previous item's information when selecting a blank entry if all entries are hidden for a category.
Version 1.9.1
- Fixed crash when selecting empty enemy entry (all entries hidden)
- Fix bug with empty entry showing last selected non-empty entry info
Thank you for your support
Hi Casper Gaming, I was wondering how to go about adding a space so that the words/numbers aren't so close to the colon as shown in the picture courtesy of @ShadowDragon
Original thread: https://forums.rpgmakerweb.com/threads/cgmz-encyclopedia-and-bestiary.126388/