SRD Stat Distribution Visual Bug

● ARCHIVED · READ-ONLY
Started by Deleted member 113412 14 posts View original ↗
  1. So I am using SRD's Stat Distribution plugin and when I playtest on web distribution, the Stat Boost option won't even show up at all like its not enabled.

    I am assuming this is a visual bug, because it works for desktop distribution.

    Help, if you can?

    :)
  2. Late bump
  3. Can you show a screenshot of actual vs expected?
    Also, can you test on a variety of different browsers (Firefox, Chrome, Edge/Safari, etc.) and see if any of them work?

    Edit: Also show a screenshot of the browser console to look for errors
  4. [bump]Jenova[/bump]
  5. Kes said:
    [bump]Jenova[/bump]

    OH, I thought it was 24 hours. Thanks.

    Aloe Guvner said:
    Can you show a screenshot of actual vs expected?
    Also, can you test on a variety of different browsers (Firefox, Chrome, Edge/Safari, etc.) and see if any of them work?

    Edit: Also show a screenshot of the browser console to look for errors

    Sorry it took so long. Elsword is hard to put down right now.

    Web version (bugged):

    Spoiler
    Web Version.png
    If you wanna test it yourself, you can try at the link in my signature.

    .Exe version:
    Spoiler
    Exe version.png

    Console:
    Spoiler
    2018-07-10 07_34_37-Window.png
    First error thrown code: _.isNewNWjs = process.versions['node-webkit'] >= "0.13.0" && Utils.RPGMAKER_VERSION >= "1.6.0";
    Second error thrown code: })(SRD.GameUpgrade); (????)
    Third error thrown code:
    _.isNewNWjs = process.versions['node-webkit'] >= "0.13.0";
    Fourth error thrown code: (Same as second)
    Fifth error thrown code: FileManager.checkDataExists("DistributionStats.json", JsonEx.stringify({
    Sixth error thrown code: (Same as fourth and second)

    From what I can see, it might be a few things:
    • MOST LIKELY I didn't completely downgrade when going from 1.6.1 to 1.5.1 and the errors from 1.6.1 are being thrown when using SRD's plugins (Could be a .js file or something, needs further testing)
    • Plugins aren't in the right order (but then it wouldn't work otherwise)
    • SRD's code and RPG Maker don't like each other and need to get over it.
    Thanks for your help, otherwise. :)
  6. Bumping...​
  7. I haven't used these plugins before, but I just skimmed through it to read what they do:

    The "process" keyword is for Node applications (such as nw.js, the browser that comes bundled with the .exe file). This won't work on a regular web browser.
    Because the "process" keyword causes an error in "SRD_SuperToolsEngine", none of the functions that are defined in that plugin get loaded. The "SRD_StatDistribution" depends on the SuperToolsEngine, therefore, it is trying to reference a function that doesn't exit (because SuperToolsEngine had an error).

    Basically, SuperToolsEngine and GameUpgrade are designed to be used by the nw.js browser, not a web browser like Firefox, Safari, etc. This is because a lot of what these plugins do is create and read local files on your computer, which a web browser is not really allowed to do.
  8. Aloe Guvner said:
    I haven't used these plugins before, but I just skimmed through it to read what they do:

    The "process" keyword is for Node applications (such as nw.js, the browser that comes bundled with the .exe file). This won't work on a regular web browser.
    Because the "process" keyword causes an error in "SRD_SuperToolsEngine", none of the functions that are defined in that plugin get loaded. The "SRD_StatDistribution" depends on the SuperToolsEngine, therefore, it is trying to reference a function that doesn't exit (because SuperToolsEngine had an error).

    Basically, SuperToolsEngine and GameUpgrade are designed to be used by the nw.js browser, not a web browser like Firefox, Safari, etc. This is because a lot of what these plugins do is create and read local files on your computer, which a web browser is not really allowed to do.

    So do I wait for an update or just go with .exe distribution only?

    I am ok with the .exe only version, I just wanted something where people didn't HAVE to download it (even though they are during loading screens and such).
  9. did you post it in the thread for that plugin?
  10. Shaz said:
    did you post it in the thread for that plugin?

    There are threads made for specific plugins?

    What?
  11. Jenova said:
    So do I wait for an update or just go with .exe distribution only?

    SumRndmDde dropped out of the RPG Maker plugin making game so you might be out of luck there. You might have to stick with the exe.
  12. Frogboy said:
    SumRndmDde dropped out of the RPG Maker plugin making game so you might be out of luck there. You might have to stick with the exe.

    That's fine, being what it is. Slowly but surely SumRndmDde is being replaced by Yanfly. I only have a few of his plugins left active in my game so...
  13. Jenova said:
    So do I wait for an update or just go with .exe distribution only?

    Yeah, if you want to use these plugins you can't use a web deployment.

    Even if SumRndmDde was active, it's not likely that a version would be released that could work with an HTML deployment. The Stat Distribution plugin, for example, saves/reads the data to/from a json file, courtesy of Node's filesystem module. Such a thing is not really possible on a web browser (imagine if a web browser could save files to your computer without your consent :o ).
    For the Stat Distribution plugin to work on a web browser, it would require a different strategy (to save the stats within the normal save data instead of a separate file).
  14. Because he's not making plugins any longer and this one is quite popular, there's a chance that I might make my own version of it sometime. I'll add it to my, admittedly long, list of ideas to work on. When I made my Talents plugin, I designed it took look and function a lot like this one as the similarities were obvious and I knew that some devs would end up using both. Since his Stat Distribution isn't going to be updated or expanded any longer, it might be time for a newer version to be implemented. I don't know when that'll be, though, so don't wait on me.