casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
CGMV Encyclopedia
By: Casper Gaming (Casper667)
Last Update: 9/7/2020
Latest Version: 1.8
dxEPbU0.png

This plugin creates an encyclopedia system. It includes enemies, items, weapons, armors, skills, and states by default. You can also add as many custom categories with as many entries as you want. This plugin works well with the achievement plugin for achievements based on encyclopedia completion percentages.
nlUIeRv.png

  • Encyclopedia Scene displaying all categories of the encyclopedia the user wants
  • All setup is done through the plugin manager
  • Entries automatically or manually tracked
  • Compatible with CGMV Achievements
  • Custom encyclopedia categories (as many as you want)
zvfGt10.png

Bestiary:
RXkyLgr.png

Items:
qaHEMQ3.png

Armors:
XiOsZgb.png

Weapons:
RfksCLk.png

Skills:
uZia2mY.png

States:
sY6lqEe.png

Custom (example):
Sscbvxt.png
lWNLTGy.png

Import into plugin manager and enable the plugin. Some customization options available.
3AzjNYV.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmv/encyclopedia/
For achievements related to the encyclopedia, use CGMV Achievements: https://www.caspergaming.com/plugins/cgmv/achievements/
Requires CGMV Core (1.3+), which can be found here: https://www.caspergaming.com/plugins/cgmv/core/
l8DkDBW.png

http://caspergaming.com/terms-of-use/
KbfnB7j.png

Version 1.0
- Initial Release

1.1:
- Can now scroll with Arrow Keys and Mouse Wheel
- No longer relies on deprecated CGMV Core commands

1.2:
- Fixed an issue with states not tracking properly for achievements

1.3:
- Compatibility patch for SRD SuperToolsEngine

1.4:
- Fixed bug that could cause game to crash when discovering the last item in the database

1.5:
- Fixed bug with skills mixing up TP and MP cost.

1.6:
- Fixed initialization bug that could occur with some other plugins.

1.7:
- Fixed bug with Discover plugin command not working.

1.8:
- Fixed weird display when currency unit began with a space
- Fixed bug with description beginning new line too early when description contained newline character
 
Last edited:

Jrrkein

Drago Royale
Regular
Joined
Apr 20, 2014
Messages
341
Reaction score
146
First Language
Indonesian
Primarily Uses
RMMZ
Just a suggestion, It would be nice to just scroll using mouse wheel or arrow keys. also I didn't know it's yanfly supported
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
I will work on getting it to scroll by the user controls rather than automatically. I'm not sure what other plugins will work with it since I only test with my own CGMV plugins.
 

Jrrkein

Drago Royale
Regular
Joined
Apr 20, 2014
Messages
341
Reaction score
146
First Language
Indonesian
Primarily Uses
RMMZ
It would be nice just manually scroll, but please make it happen
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
Updated to version 1.1. This version adds a much requested feature of allowing the user to manually scroll the display window.

1.1:
- Can now scroll with Arrow Keys and Mouse Wheel
- No longer relies on deprecated CGMV Core commands

Sorry, forgot to say that this requires CGMV Core 1.3+ not 1.2+ like last version.
 
Last edited:

Jrrkein

Drago Royale
Regular
Joined
Apr 20, 2014
Messages
341
Reaction score
146
First Language
Indonesian
Primarily Uses
RMMZ
Nevermind, I forgot to update the plugin which requires to work properly
 
Last edited:

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
Small update today, just fixing a bug that only appeared if used with the achievement plugin

1.2:
- Fixed an issue with states not tracking properly for achievements
 

ArtikDart

Dream Developer
Regular
Joined
Jun 4, 2016
Messages
31
Reaction score
26
First Language
Italiano
Primarily Uses
RMMV
Hello casper, thanks for this great plugin :)
I wanted to ask you how I could solve this problem.

6JU8xKf

6JU8xKf.jpg


The plugin conflicts with SuperToolsEngine of SumRndmDde if I move the "CGMV_Window_EncyclopediaDisplay" window.
The error, however, does not create problems in the game, but it is annoying to see it there in the console.
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
I'm not too sure, the _discovered property it apparently can't read is whether or not the encyclopedia entry is discovered. This probably means for some reason it has been passed a null entry (for example if it is trying to refresh and the cursor hasn't selected an entry). SRD's plugin might refresh the window when it moves (not entirely sure what his plugin all does - I only test with my own plugins and the default RMMV code).

I can add an additional check for the refresh method to do nothing if the data is null, but since it doesn't seem to cause problems outside of reporting an error in the console I will probably just include this in the next update to this plugin whenever that may be.

If you want to test this fix out you should be able to put the following code at the bottom of the plugin and let me know if that fixes it:

//-----------------------------------------------------------------------------
// Refresh
//-----------------------------------------------------------------------------
CGMV_Window_EncyclopediaDisplay.prototype.refresh = function() {
this.setupWindowForNewEntry();
if(this._data) this.drawEncyclopediaEntry();
};
 

ArtikDart

Dream Developer
Regular
Joined
Jun 4, 2016
Messages
31
Reaction score
26
First Language
Italiano
Primarily Uses
RMMV
Perfect, it works!!! :D
Thank you so much Casper.
 

Rindai3

Warper
Member
Joined
Apr 2, 2015
Messages
2
Reaction score
1
First Language
Francais
Primarily Uses
Great plugin but can you add a option of search in the encyclopedia because i want to create a giant encyclopedia of my universe.If i (and the player) can go directly where he want i think it's good.

(Sorry for my english,i am french.
 
Last edited:

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
Small update today, fixing a crash that could occur in some cases.

1.4:
- Fixed bug that could cause game to crash when discovering the last item in the database
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
Small bug fix today in version 1.5

1.5:
- Fixed bug with skills mixing up TP and MP cost.
 

jbtwist

Regular
Regular
Joined
Jun 4, 2017
Messages
49
Reaction score
6
First Language
Spanish
Primarily Uses
RMMV
I am also having problems with loading this plugin: just after start the game appears this:

81088eedec53037e758056e96d8381c7.png


Also, when I change to window mode does this:
9c8efe7a74615c490da0031ad6fea3a5.png


And if there i push keys, message changes to property 'onKeyDown'

I know you will hate me forever for this, but, just for helping you a little bit, here is my list of plugins:
0e7700dc44f5710bdd6dc3845a51cc39.png

32d2a083eee2aeb425d9f68f277d7afa.png

89923d913d636f2efc9eed66acf92be9.png

e5938ddc50bc7e2e925d3742906571db.png


I would add debugger console, but the error appears b4 it opens :(
 
Last edited:

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
Does this happen on every startup? What version of MV are you on?

I have made a possible fix (hard to know for sure since this doesn't happen in my test projects) for you, please try downloading a new version of CGMV Core here: http://www.mediafire.com/file/616j6abwh506j1s/CGMV_Core.zip/file and let me know if that fixes the issue (should fix the onKeyUp and onKeyDown problem).
 

jbtwist

Regular
Regular
Joined
Jun 4, 2017
Messages
49
Reaction score
6
First Language
Spanish
Primarily Uses
RMMV
Does this happen on every startup? What version of MV are you on?

I have made a possible fix (hard to know for sure since this doesn't happen in my test projects) for you, please try downloading a new version of CGMV Core here: http://www.mediafire.com/file/616j6abwh506j1s/CGMV_Core.zip/file and let me know if that fixes the issue (should fix the onKeyUp and onKeyDown problem).

Sorry for not answering until now, i was fixing another thing and until end with that didn't wanted to start with this.

Ive applied your fix and it remains equal, never works, not even the battle test
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
Could you test with a brand new project with only my plugins? This will let me know whether it is an incompatibility somewhere or if there is an issue with my plugin somewhere that for some reason is not occurring in my test project.

Could you send me a PM with your project, or any project that has the error (unencrypted), so that I can open it in the editor and test because right now I am not really able to reproduce the bug so any fix I might try would just be an educated guess as to what might be causing it.
 

Tsuru

Villager
Member
Joined
Aug 7, 2018
Messages
11
Reaction score
0
First Language
Japanese
Primarily Uses
RMMV
Hello Casper. Thank you for your great plugin.
Please upload sample project because I can not set the plugin for custom encyclopedia categories.Thank you.
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
491
Reaction score
600
First Language
English
Primarily Uses
RMMZ
@jbtwist The newest update should have fixed the issue now. Let me know if it is working once you redownload my Encyclopedia plugin.

Version 1.6:
- Fixed initialization bug that could occur with some other plugins.
 

Latest Threads

Latest Posts

Latest Profile Posts

New character incoming!

Compilation of some of the last few days onto my testing map.
Finished all the tools! Really happy with how they turned out. For clarification, when using the portal tool, if you spawn into a wall, it kills ya.
I've figured out how to implement abilities into Snapdrake. My fav is prolly Hell or High Water, considering its essentially "go big or go home" the ability.

Forum statistics

Threads
134,732
Messages
1,250,172
Members
177,490
Latest member
ATMnou
Top