Yanfly Skill Learn - Gold causing crash

● ARCHIVED · READ-ONLY
Started by Blackpapalink 12 posts View original ↗
  1. I'm using the the YEP Skill Learn plugin and I'm running into some issues.
    I'm trying not use gold for skill costs and setting the Default Gold cost to zero as well as setting the Gold cost to zero in notetags causes the game to crash.
    Setting the Gold cost to one or more lets the game run fine and I'm able to buy skills accordingly.
    Core is version 1.5.2
  2. please show us a screenshot of your plugin manager with the list of all plugins.
    Most likely this is either a compatibility problem or some plugins in wrong order.
    additionally, please playtest to that error again and press F8, then screenshot the console with the full error sequence.
  3. I've tried placing the JP Plugin above the Skill learning plugin to no avail.
  4. Blackpapalink said:
    I've tried placing the JP Plugin above the Skill learning plugin to no avail.
    all yanfly plugins have to be exactly in the order given on his website, nothing can be placed out of that order (which means that the job point plugin has to follow after all skill plugins for example), that is what I meant with the comment.

    unfortunately the plugin manager is too small to be visible in your screenshots to check for the other possible problems - can you please repeat the screenshots using alt-prtscr instead of simple prtscr?

    and from the developer console the problem is purely within the skill learn plugin, nothing else involved...
    Does this error happen after you started a new game, or after you load a saved game?
  5. Sorry about that.
  6. The job plugin is not in the correct order, please correct that (see where the Party plugin is)
    Additionally, what is the answer to my question in the previous post?
  7. The error occurs with a new game.

    Edit:
    Updating to 1.6.1 did not help the issue, even after placing the plugins in the right order.
    But now turning off the JP plugin allows me to not use Gold as a requirement for learning skills.
  8. I recently had an issue with that same error. I had to edit yanflys code within the YEP_SkillLearnSystem.js plugin to resolve it.

    On Line 1182:
    var cost = skilllearnCostJp;

    I reverted back to this, which is what it was in a previous update:
    var cost = this._skilllearnCostJp;

    And it resolved the issue.
  9. Lear said:
    I recently had an issue with that same error. I had to edit yanflys code within the YEP_SkillLearnSystem.js plugin to resolve it.

    On Line 1182:
    var cost = skilllearnCostJp;

    I reverted back to this, which is what it was in a previous update:
    var cost = this._skilllearnCostJp;

    And it resolved the issue.


    Thanks that did work !
  10. Thank you! I was having this same issue as well.
  11. @Lear Not sure why my alerts never went off for this, but thank you so much for this. Can anyone mark this as solved?
  12. Just spoke with Yanfly about the bug. I was mistaken, while my input was a temporary work around that prevented the error, he said to replace the line 1182 with:

    var cost = skill.learnCostJp;