[YEP] Yanfly Engine Plugins

● ARCHIVED · READ-ONLY
Started by Yanfly 6167 posts Page 127 of 309 View original ↗
  1. StarWarrior00 said:
    Are your plugins in the right order as specified on the site itself?

    Yes, I always check where they go when I'm adding new plugins.
  2. ThePotatoOfFire said:
    Yes, I always check where they go when I'm adding new plugins.


    Try disabling target core and see if entering a battle works afterwards.
  3. Little reminder. In Limited Skill Uses:


    Yanfly.LSU.Window_SkillList_drawSkillCost =
    Window_SkillList.prototype.drawSkillCost;
    Window_SkillList.prototype.drawSkillCost = function(skill, wx, wy, width) {
    if (skill && this._actor.isSkillLimitedEmpty(skill)) {
    return this.drawSkillLimitEmpty(skill, wx, wy, width);
    }
    Yanfly.LSU.Window_SkillList_drawSkillCost.call(this, skill, wx, wy, width);
    };


    Can you make that a return Yanfly.LSU.Window_SkillList_drawSkillCost.call(this, skill, wx, wy, width);?


    Also


    Window_SkillList.prototype.drawSkillLimitEmpty = function(skill, wx, wy, ww) {
    if (Yanfly.Icon.LimitedEmpty > 0) {
    var iw = wx + ww - Window_Base._iconWidth;
    this.drawIcon(Yanfly.Icon.LimitedEmpty, iw, wy + 2);
    ww -= Window_Base._iconWidth + 2;
    }
    this.contents.fontSize = Yanfly.Param.LSUFontSize;
    this.changeTextColor(this.textColor(Yanfly.Param.LSUTextColor));
    var text = Yanfly.Param.LSUEmpty;
    this.drawText(text, wx, wy, ww, 'right');
    this.resetTextColor();
    this.resetFontSettings();
    };


    This needs a return value too. And one more:


    Window_SkillList.prototype.drawLimitedSkillUses = function(skill, wx, wy, dw) {
    if (!this._actor.isSkillLimitedUse(skill)) return dw;
    if (Yanfly.Param.LSUFormat === '') return dw;
    if (Yanfly.Icon.LimitedUse > 0) {
    var iw = wx + dw - Window_Base._iconWidth;
    this.drawIcon(Yanfly.Icon.LimitedUse, iw, wy + 2);
    dw -= Window_Base._iconWidth + 2;
    }
    this.contents.fontSize = Yanfly.Param.LSUFontSize;
    this.changeTextColor(this.textColor(Yanfly.Param.LSUTextColor));
    var fmt = Yanfly.Param.LSUFormat;
    var current = this._actor.skillLimitedUseCurrent(skill.id);
    current = Yanfly.Util.toGroup(current);
    var max = this._actor.skillLimitedUseMax(skill.id);
    max = Yanfly.Util.toGroup(max);
    var text = fmt.format(current, max);
    this.contents.fontSize = Yanfly.Param.LSUFontSize;
    this.drawText(text, wx, wy, dw, 'right');
    var returnWidth = dw - this.textWidth(text) - Yanfly.Param.SCCCostPadding;
    this.resetTextColor();
    this.resetFontSettings();
    return dw;
    };


    Return returnWidth (or just don't use it and dw -= in the fourth-to-last line instead.)
  4. lokirafael said:
    Sorry. Broken english. Perharps this will clarify: (It happens only when killed by the Death Mark damage)





    How did you have custom bars for the limit gauge?


    Also wanted to add this here for Yanfly's reference:

     


    EDIT: Heya. So I just tried out the codes. For the most part it works. Dual Skills + Item Costs still don't work. And for some reason Dual Skills that have limited use require the skills for the dual skill to also have limited use. For the most part, I think for my usage, I can work around that... but just a heads up. I tried sharing the problem with Yanfly on his youtube. Glad you contacted him too. Thanks so much. 


    EDIT 2: One more thing. When one of the required skills has a limited use. that limited use also applies to the dual skill. But as I said, the reverse (having only the dual skill have limited use) does not work. 


    Edited just now by HintonR
  5. HintonR said:
    How did you have custom bars for the limit gauge?



    Use a script called PrettyGauges (from Rocketmancer) and put it below Limit Gauge.
  6. Redacted because the question I answered is really meant for a different topic.
  7. Vasha said:
    So I was like 99% sure I had posted this already, but I guess not. I'm having a conflict with the StealSnatch and CTB  plugins. When I go to steal, the "you stole this item!" message shows up behind the icons for turn order, so you can't read it. I'm thinking moving down the icons like you do when you're selecting a skill would probably work? 



    Do you have the most updated versions of the plugins?


    http://yanfly.moe/yep/changelog/

    ThePotatoOfFire said:
    I'm getting a bug when entering battle, and I can't tell which plugin the problem is coming from:

    Spoiler
    TypeError: Cannot read property 'customTargetEval' of null
        at Game_Action.isForEval (YEP_TargetCore.js:569)
        at Game_Action.isForCustom (YEP_TargetCore.js:564)
        at Game_Action.makeTargets (YEP_TargetCore.js:651)
        at Game_Action.makeTargets (YEP_Taunt.js:444)
        at Function.BattleManager.startAction (YEP_BattleEngineCore.js:1860)
        at Function.BattleManager.startAction (YEP_BuffsStatesCore.js:804)
        at Function.BattleManager.startAction (YEP_InstantCast.js:316)
        at Function.BattleManager.startAction (YEP_WeaponUnleash.js:465)
        at Function.BattleManager.startAction (FollowUpSkills.js:134)
        at Function.BattleManager.processForcedAction (rpg_managers.js:2230)rpg_managers.js:1618 SceneManager.catchExceptionrpg_managers.js:1579 SceneManager.update

    I've gone through and updated all of the plugins on the log, but I still get this.



    You shouldn't be getting that error. Try disabling your non-Yanfly plugins.

    HeroicJay said:
    Little reminder. In Limited Skill Uses:



    Yanfly.LSU.Window_SkillList_drawSkillCost =
    Window_SkillList.prototype.drawSkillCost;
    Window_SkillList.prototype.drawSkillCost = function(skill, wx, wy, width) {
    if (skill && this._actor.isSkillLimitedEmpty(skill)) {
    return this.drawSkillLimitEmpty(skill, wx, wy, width);
    }
    Yanfly.LSU.Window_SkillList_drawSkillCost.call(this, skill, wx, wy, width);
    };


    Can you make that a return Yanfly.LSU.Window_SkillList_drawSkillCost.call(this, skill, wx, wy, width);?


    Also



    Window_SkillList.prototype.drawSkillLimitEmpty = function(skill, wx, wy, ww) {
    if (Yanfly.Icon.LimitedEmpty > 0) {
    var iw = wx + ww - Window_Base._iconWidth;
    this.drawIcon(Yanfly.Icon.LimitedEmpty, iw, wy + 2);
    ww -= Window_Base._iconWidth + 2;
    }
    this.contents.fontSize = Yanfly.Param.LSUFontSize;
    this.changeTextColor(this.textColor(Yanfly.Param.LSUTextColor));
    var text = Yanfly.Param.LSUEmpty;
    this.drawText(text, wx, wy, ww, 'right');
    this.resetTextColor();
    this.resetFontSettings();
    };


    This needs a return value too. And one more:



    Window_SkillList.prototype.drawLimitedSkillUses = function(skill, wx, wy, dw) {
    if (!this._actor.isSkillLimitedUse(skill)) return dw;
    if (Yanfly.Param.LSUFormat === '') return dw;
    if (Yanfly.Icon.LimitedUse > 0) {
    var iw = wx + dw - Window_Base._iconWidth;
    this.drawIcon(Yanfly.Icon.LimitedUse, iw, wy + 2);
    dw -= Window_Base._iconWidth + 2;
    }
    this.contents.fontSize = Yanfly.Param.LSUFontSize;
    this.changeTextColor(this.textColor(Yanfly.Param.LSUTextColor));
    var fmt = Yanfly.Param.LSUFormat;
    var current = this._actor.skillLimitedUseCurrent(skill.id);
    current = Yanfly.Util.toGroup(current);
    var max = this._actor.skillLimitedUseMax(skill.id);
    max = Yanfly.Util.toGroup(max);
    var text = fmt.format(current, max);
    this.contents.fontSize = Yanfly.Param.LSUFontSize;
    this.drawText(text, wx, wy, dw, 'right');
    var returnWidth = dw - this.textWidth(text) - Yanfly.Param.SCCCostPadding;
    this.resetTextColor();
    this.resetFontSettings();
    return dw;
    };


    Return returnWidth (or just don't use it and dw -= in the fourth-to-last line instead.)



    Ah sure, I can get that added in an update later.
  8. I did make sure I have the most recent versions of all of them. Though sidenote: when I download CTBv1.11, it shows up at as v1.10a in my game. I've tried downloading it multiple times and it's the same thing. Could that be affecting it?
  9. Are you following the instructions on the video in the link I've posted?
  10. Yanfly said:
    Make a Snatch skill and see if the items you placed inside the enemy notebox are showing up. If they aren't, then the problem is with not inputting them correctly.



    I did ... and it shows the items in the "Drop Items", both in the notes box !!!! What did I do wrong ??? :unsure:
  11. @Yanfly  Err okay that was my bad (on the request of the gold variable request in wrong thread) I'll make a proper post for it, but I got something that might constitute "Support" this time ^_^

    One of my play-testers encountered an error that I can't seem to replicate, still trying to get all the details I can from them in regards to their system, screen size, whether they were running the game on full windowed mode or actually what browser they were using at the time (hosted by Google Drive).

    The Problem: (see attached) they get this error
    The Plugin in Question (possibly): YEP - Gab Window  (v1.04)
    Why?: At the time they interact with the NPC about feeding (vampire RPG and all), cancelled and went back to talking to the NPC, a Gab Window appears. It's the only thing I can think of that would have a 'width" call other than the RMMV default window for messages
    ----------------
    I know it's not a lot to go on :( but I was just wondering or hoping you might have some idea what it might be already. 

    The error:
     

    Spoiler
    921247_186197465088773_8934692208455437106_o.jpg
  12. Lionheart_84 said:
    I did ... and it shows the items in the "Drop Items", both in the notes box !!!! What did I do wrong ??? :unsure:



    Try recreating this problem in an empty project.

    lordvalinar said:
    @Yanfly  Err okay that was my bad (on the request of the gold variable request in wrong thread) I'll make a proper post for it, but I got something that might constitute "Support" this time ^_^

    One of my play-testers encountered an error that I can't seem to replicate, still trying to get all the details I can from them in regards to their system, screen size, whether they were running the game on full windowed mode or actually what browser they were using at the time (hosted by Google Drive).

    The Problem: (see attached) they get this error
    The Plugin in Question (possibly): YEP - Gab Window  (v1.04)
    Why?: At the time they interact with the NPC about feeding (vampire RPG and all), cancelled and went back to talking to the NPC, a Gab Window appears. It's the only thing I can think of that would have a 'width" call other than the RMMV default window for messages
    ----------------
    I know it's not a lot to go on :( but I was just wondering or hoping you might have some idea what it might be already. 

    The error:
     

    Spoiler
    View attachment 32832



    ***No console error log:


    If you're getting an error, make sure you have all the plugins you're using updated.
    If you still get the error, can you press F8 to open up the debug console.
    From there, click the Console tab.
    Then, can you copy and paste all the error messages you see here?
  13. Tips & Tricks - The Bloodthirster












    The Bloodthirster is a weapon from League of Legends. It offers Life Steal properties and a unique passive for the user that if Life Steal would overheal the user, the user is granted a shield. In the case of RPG Maker MV, it will be in the form of an Absorption Barrier! Let's recreate this effect!


    You can grab the copy and paste code here:
    Yanfly.moe: http://yanfly.moe/2016/03/02/tips-tricks-the-bloodthirster/
    Pastebin: http://pastebin.com/raX4NHY9


    Enjoy!
  14. Well I would love to, except this screenshot was posted to me from the test user; not myself. I can't seem to recreate the error on my end :\


    One topic mentioned it might be an error loading in images. The feed script I use does use images ( I have a feed bar with 20-21 images that each represent 5% of each health taken ) and all the images are of the wrong resolution (816 x 642 - instead of the default 816 x 624 which I'm suspecting might also be causing the black bars on the side), but I don't see how that would cause a "width" issue? Hmm.


    ---------------------------


    I'll continue to try to see if I can replicate the error on my end. I have a feeling it might've been my own design issue (the feeding was used with the Loop event command, so it might've been loading/unloading images too fast) :\ I'll update this post tomorrow after a full test and let you know if I:
    a.) Find any issue at all
    b.) find the issue and it turns out to be my own fault (lol)
    c.) find the issue and something is conflicting with Gab Window; and I'll get those results to you
  15. Where is the new poll? I wanna vote :D
  16. Kyuukon said:
    Where is the new poll? I wanna vote :D

    Next Monday.  Polls are on every two week schedule.  We must have patience for all the goodness.
  17. Kyuukon said:
    Where is the new poll? I wanna vote :D

    It'll be on next Monday. It's a fortnightly thing. :)
  18. Yanfly said:
    Try recreating this problem in an empty project.



    I did ... and it continues shows the items in the "Drop Items", both in the notes box !!!! What did I do wrong ??? :(
  19. Kyuukon said:
    Where is the new poll? I wanna vote :D



    The next poll will be up on Monday. :)


    However, I may be changing up the system a bit to better fit the results.

    Lionheart_84 said:
    I did ... and it continues shows the items in the "Drop Items", both in the notes box !!!! What did I do wrong ??? :(



    Do you want the drop items to show up or not? Because if you don't, turn off the setting in the plugin parameters.
  20. Riff said:
    It'll be on next Monday. It's a fortnightly thing. :)

    Oooh, fortnightly, gonna have to remember that one.