CGMV Encyclopedia w/ Bestiary

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
CGMV Encyclopedia
By: Casper Gaming (Casper667)
Last Update: 9/12/2018
Latest Version: 1.7


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

Features
  • 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)

Screenshots
Bestiary:

Items:

Armors:

Weapons:

Skills:

States:

Custom (example):

How to Use
Import into plugin manager and enable the plugin. Some customization options available.

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

Credit & Terms
http://caspergaming.com/dev/terms_of_use/

Version History

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.
 
Last edited:

Jrrkein

Insert Witty Title Here
Veteran
Joined
Apr 20, 2014
Messages
132
Reaction score
19
First Language
Indonesia
Primarily Uses
RMMV
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

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
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

Insert Witty Title Here
Veteran
Joined
Apr 20, 2014
Messages
132
Reaction score
19
First Language
Indonesia
Primarily Uses
RMMV
It would be nice just manually scroll, but please make it happen
 

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
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

Insert Witty Title Here
Veteran
Joined
Apr 20, 2014
Messages
132
Reaction score
19
First Language
Indonesia
Primarily Uses
RMMV
Nevermind, I forgot to update the plugin which requires to work properly
 
Last edited:

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
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
Member
Joined
Jun 4, 2016
Messages
25
Reaction score
9
First Language
Italiano
Primarily Uses
RMMV
Hello casper, thanks for this great plugin :)
I wanted to ask you how I could solve this problem.




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

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
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
Member
Joined
Jun 4, 2016
Messages
25
Reaction score
9
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

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
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

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
Small bug fix today in version 1.5

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

jbtwist

Veteran
Veteran
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:



Also, when I change to window mode does this:


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:





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

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
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).
 

jbtwist

Veteran
Veteran
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

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
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

Veteran
Veteran
Joined
Mar 15, 2012
Messages
60
Reaction score
76
First Language
English
Primarily Uses
RMMV
@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.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Hi, there.
I'm Creta Park, as Software engineer and Indie game developer.

Profile : creft.me/cretapark
GitHub : github.com/creta5164
Blog : creta5164.tumblr.com


My stuff

Who shares/sells their scripts/plugins on itch.io? Can I pick your brain?
If you ever need fantasy names and you're bored, make a fictional alphabet. Switch around the letters and see what you get :p
I JUST GOT PROMOTED TO 9TH GRADE BOIS!

Forum statistics

Threads
98,168
Messages
949,923
Members
129,455
Latest member
DeathByPiercing
Top