CGMV Encyclopedia w/ Bestiary

Discussion in 'JS Plugin Releases (RMMV)' started by casper667, Apr 10, 2018.

  1. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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:
    [​IMG]
    Items:
    [​IMG]
    Armors:
    [​IMG]
    Weapons:
    [​IMG]
    Skills:
    [​IMG]
    States:
    [​IMG]
    Custom (example):
    [​IMG]

    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: Sep 13, 2018
    #1
  2. Jrrkein

    Jrrkein Veteran Veteran

    Messages:
    116
    Likes Received:
    7
    First Language:
    Indonesia
    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
     
    #2
  3. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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.
     
    #3
  4. Jrrkein

    Jrrkein Veteran Veteran

    Messages:
    116
    Likes Received:
    7
    First Language:
    Indonesia
    It would be nice just manually scroll, but please make it happen
     
    #4
  5. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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: Apr 19, 2018
    #5
  6. Jrrkein

    Jrrkein Veteran Veteran

    Messages:
    116
    Likes Received:
    7
    First Language:
    Indonesia
    Nevermind, I forgot to update the plugin which requires to work properly
     
    Last edited: Apr 19, 2018
    #6
  7. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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
     
    #7
  8. ArtikDart

    ArtikDart Dream Developer Member

    Messages:
    24
    Likes Received:
    8
    Location:
    Italia
    First Language:
    Italiano
    Primarily Uses:
    RMMV
    Hello casper, thanks for this great plugin :)
    I wanted to ask you how I could solve this problem.

    [​IMG]
    [​IMG]

    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.
     
    #8
  9. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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();
    };
     
    #9
  10. ArtikDart

    ArtikDart Dream Developer Member

    Messages:
    24
    Likes Received:
    8
    Location:
    Italia
    First Language:
    Italiano
    Primarily Uses:
    RMMV
    Perfect, it works!!! :D
    Thank you so much Casper.
     
    #10
  11. Rindai3

    Rindai3 Warper Member

    Messages:
    2
    Likes Received:
    1
    First Language:
    Francais
    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: Apr 26, 2018
    #11
  12. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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
     
    #12
  13. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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.
     
    #13
  14. jbtwist

    jbtwist Veteran Veteran

    Messages:
    49
    Likes Received:
    6
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    I am also having problems with loading this plugin: just after start the game appears this:

    [​IMG]

    Also, when I change to window mode does this:
    [​IMG]

    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:
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    I would add debugger console, but the error appears b4 it opens :(
     
    Last edited: Aug 15, 2018
    #14
  15. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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).
     
    #15
  16. jbtwist

    jbtwist Veteran Veteran

    Messages:
    49
    Likes Received:
    6
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    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
     
    #16
  17. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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.
     
    #17
  18. jbtwist

    jbtwist Veteran Veteran

    Messages:
    49
    Likes Received:
    6
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Last edited: Aug 29, 2018
    #18
  19. Tsuru

    Tsuru Villager Member

    Messages:
    11
    Likes Received:
    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.
     
    #19
  20. casper667

    casper667 Veteran Veteran

    Messages:
    60
    Likes Received:
    73
    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.
     
    #20

Share This Page