[YEP] Yanfly Engine Plugins

● ARCHIVED · READ-ONLY
Started by Yanfly 6167 posts Page 82 of 309 View original ↗
  1. I get this error when the Aftermath Level Up screen is supposed to come up. Help? ^^;;

    console.png
  2. Roguedeus said:
    Yanfly, I apologize for the my issue/question taking more time than either of us expected. I am not new to code (having written extensive Ruby scripts for VXAce) so if I am doing something obviously wrong I am totally missing it.

    If anyone else sees my mistake, please tell me. :)

    I may not have been clear in my last post. But this solution doesn't seem to work.

    attachicon.gif16_0116_limitesUses_issue_1.PNG

    The skill being used is skill:235. That note tag should be removing an extra use, asn removing 2 uses from skill:240, but neither happens.

    skill:235 simply loses one use (as normal). Nothing more.

    Trying this one, fails as well.

    attachicon.gif16_0116_limitesUses_issue_1b.PNG

    I asked if there was a specific lunatic note tag I should be using. But after trying the most obvious (from Limited Uses), I tried the more generic (from Skill Core)... None have worked.

    I didn't want to suggest making even more work for you, but this difficulty has me wondering if it wouldn't simply be easier for you to add user versions of the note tags that already alter uses for targets of the action?

    Again, thanks for your time. I know it's at a premium.
    I just tried this and it works:

    <Custom Execution>user.paySkillLimitedUseCost(236, 1);</Custom Execution>From what I understood before, I didn't know if you wanted to make it raise the limited uses remaining or to spend them. If you're to spend them, the value needs to be positive.

     

    Ichida za Zeal said:
    I get this error when the Aftermath Level Up screen is supposed to come up. Help? ^^;;
     

    Update your Victory Aftermath.
  3. Yanfly said:
    I just tried this and it works:

    <Custom Execution>user.paySkillLimitedUseCost(236, 1);</Custom Execution>From what I understood before, I didn't know if you wanted to make it raise the limited uses remaining or to spend them. If you're to spend them, the value needs to be positive.
    That's what it was... I REALLY really hate my brain sometimes. It always seems to be the simplest mistakes that cost me the most time.
  4. Roguedeus said:
    That's what it was... I REALLY really hate my brain sometimes. It always seems to be the simplest mistakes that cost me the most time.
    Haha, no worries about. Sometimes, we're so used to thinking of complex mechanics that we overlook the simplest of things. I do it often, too. :)
  5. I only wish there was a way to hide the number of recipes... is there?
  6. jvcscasio said:
    I only wish there was a way to hide the number of recipes... is there?
    You can. :) Just leave these blank: 

    GKLqmgY.jpg
  7. @Yanfly

    Thanks!
  8. Yanfly said:
    Update your Victory Aftermath.
    I did, and now the error happens AFTER the new Aftermath Level Up screens. Same error.
  9. Hey Yanfly, I get this error when i use the aftermath level up plugin.

    don't know what to do with it.

    Spoiler
    VggICnV.png
  10. Yanfly said:
    Haha, no worries about. Sometimes, we're so used to thinking of complex mechanics that we overlook the simplest of things. I do it often, too. :)

    Here is my final solution for anyone looking to do similar.

    It is added as a note tag to all skills that belong to the group. All lose uses if any one in the group is used.

    <Custom Execution>var uses = 2; //Number removed//Array of skill types to qualifyfunction checkID(id) { var n = [52,62,33,43,14,24,71,81]; for(var i = 0; i < n.length; ++i) { if(n === id) { return true; } }}//Remove cost from all skills of qualified typefor (var i = 0; i < user.skills().length; ++i) { var skill = user.skills(); if (!skill) continue; if (item.id === skill.id){ user.paySkillLimitedUseCost(skill.id, uses - 1); continue; } if (checkID(skill.stypeId) === true) { user.paySkillLimitedUseCost(skill.id, uses); }}</Custom Execution>This seems to work fine so far. But use at your own risk. :)
  11. Ichida za Zeal said:
    I did, and now the error happens AFTER the new Aftermath Level Up screens. Same error.
    Since I cannot reproduce the error, I'm going to ask you to do the following.

     

    1. Download all the newest updates of the plugin.

    2. Create a new project.

    3. Install -only- the affected plugins. If you're using non-YEP plugins, do NOT include them.

    4. Make sure they're in the right order listed on http://yanfly.moe/yep/

    5. Recreate the error.

    6. Upload the project online (do -not- deploy it).

    7. Post the link here and I'll take a look at it.

     

    Thanks for helping!

    Aidensmercy said:
    Hey Yanfly, I get this error when i use the aftermath level up plugin.

    don't know what to do with it.

    Spoiler
    VggICnV.png
    Please update your Victory Aftermath plugin.
  12. Hello again, Yanfly! Another noob question:

    How can you increase Ex-Parameters and Sp-Parameters using the Item Upgrade Slots plugin? Like for example, an upgrade scroll will increase evasion by 20% when applied to an armor.

    Thanks again and sorry for the inconvenience. 
  13. @Yanfly, can I ask for a small thing?

    Can we have "or" choices for multiple currencies? Like, buy using 5000 gold OR 3 ruby jewels....
  14. Marcus Giltan said:
    Hello again, Yanfly! Another noob question:

    How can you increase Ex-Parameters and Sp-Parameters using the Item Upgrade Slots plugin? Like for example, an upgrade scroll will increase evasion by 20% when applied to an armor.

    Thanks again and sorry for the inconvenience. 
    Ex and Sp parameters can't be natively increased as they're rates determined by traits. You'd have to use this method and create a state with traits that modify the affected ex or sp parameters.

    jvcscasio said:
    @Yanfly, can I ask for a small thing?

    Can we have "or" choices for multiple currencies? Like, buy using 5000 gold OR 3 ruby jewels....
    Yes~
  15. @Yanfly.

    Is it possible with the party system plugin, to force the player to have a full party?

    While not locking or forcing specific actors.
  16. I want to change the gradient bars in the Core Engine to draw their gradients down/up instead of left/right, and I'm pretty sure that the solution is editing something in this block of code:

    Spoiler
    Window_Base.prototype.drawGauge = function(dx, dy, dw, rate, color1, color2) { var color3 = this.gaugeBackColor(); var fillW = Math.floor(dw * rate).clamp(0, dw); var gaugeH = this.gaugeHeight(); var gaugeY = dy + this.lineHeight() - gaugeH - 2; if (eval(Yanfly.Param.GaugeOutline)) { color3.paintOpacity = this.translucentOpacity(); this.contents.fillRect(dx, gaugeY - 1, dw, gaugeH, color3); fillW = Math.max(fillW - 2, 0); gaugeH -= 2; dx += 1; } else { var fillW = Math.floor(dw * rate); var gaugeY = dy + this.lineHeight() - gaugeH - 2; this.contents.fillRect(dx, gaugeY, dw, gaugeH, color3); } this.contents.gradientFillRect(dx, gaugeY, fillW, gaugeH, color1, color2);};
    But I don't know exactly which part of it. I'd really appreciate it if you could help me.
  17. Yanfly said:
    Ex and Sp parameters can't be natively increased as they're rates determined by traits. You'd have to use this method and create a state with traits that modify the affected ex or sp parameters.
    *facepalm... I can't believe I overlooked that video. Thank you, Yanfly. Your plugins are amazing! :D
  18. I dont know if someone already asked this question, but it is possible to let the actors subclass, from the subclass plugin, gain exp and lvlup just like the normal class?
  19. Nik0405 said:
    I dont know if someone already asked this question, but it is possible to let the actors subclass, from the subclass plugin, gain exp and lvlup just like the normal class?
    Basically letting the subclass have it's own level separate from the level of the main class correct?