[YEP] Yanfly Engine Plugins

A strange bug appear in my project. 🙂



From the front page/top of this page:


ALL bug reports MUST follow these guidelines and use this template: 


Plugin Name: (What is the name of the plugin?)


Bug Explanation: (What is the bug in your own words? Keep this detailed. "It isn't working right" is not a valid bug report.)


Error Report: (If you received an error message, press F8 when the message is received to open up the debug console, then copy/paste the entire error log and paste it here).


Exact Steps on How to Replicate Bug: (Write out IN DETAIL, a step-by-step guide on how to replicate the bug.)


Sample Project (REQUIRED): A sample project MUST be attached to the bug report. All steps MUSTbe followed. If a single step is ignored, the bug report is invalid and I will move on to the next bug report.


Follow these Instructions. All steps MUST be followed or I will require you to redo it.


1. Download all the newest updates of the plugin.2. Create a new project. Do NOT just copy over your game project folders. This should be just a stock, empty, new RPG Maker MV project. If I do not see an empty project with Harold, Therese, Marsha, and Lucius, I will not look any further.3. If the project's file size is above 200 MB, remove unnecessary audio and image files until you reach that size. Usehttp://forums.rpgmakerweb.com/index.php?/topic/47985-mvstripper-remove-unused-assets-from-your-mv-project/ if you need some help doing so.4. Install -only- the affected plugins. If you're using non-YEP plugins, do NOT include them.5. Do -NOT- rename the plugins' filenames. They cease to work if you do so.6. Make sure they're in the EXACT order listed on http://yanfly.moe/yep/. The ordering of plugins is important.7. Recreate the error in the sample project. MAKE SURE you are using notetags in the right place and haven't misspelled anything. DO NOT USE SAVES. I need to know exactly how to recreate the problem from start to finish. Simply giving me a save file tells me nothing.8. Archive the project with WinZip or WinRAR. Do not archive it multiple times. It does not compress it further.9. Do -NOT- deploy the project through File > Deployment. Upload the project online to a website like MediaFire.com or or Dropbox. Please do not use a website that involves timers like 4shared, RapidShare, etc. If I am time-gated from downloading the project, I will ask you to reupload it to somewhere else.10. Post the link here and I'll take a look at it.
Plugin Name: Limited Skill Use


Bug Explanation: I'm trying to create  a use pool for am actor's "Sword Arts" which is Skill Type 3. In the skills Note tag I have, 


<Limit Use: 5>


<SType 3 Limited Uses: -1>


<Skill 11 Limited Uses: +1>


(The third line changes to match the skill ID in this case, skill 11,12,13)


The object is if Skill 11 is used, then the Limited uses for Skills 12 and 13 go down as well, or vice versa so a skill use pulls from the use pool of the Skill Type (in this case Sword Arts). However, in Battle, It only uses for the individual skill and the other two lines of notes are seemingly ignored. I pasted the notes into the default template "Heal" Skill ID 8 and set it to SType 3 (Sword Arts) and it works as intended. Sample Project includes this for demonstration purposes. I've tried with leading 0's and without, changed note tag order but it also doesn't seem to work. The game doesn't crash so I don't have a Error Report.


Sample Project (REQUIRED): https://dl.dropboxusercontent.com/u/44951471/Test.zip



Please read through the instructions carefully:


 *   <Global Limited Uses: +x>
 *   <Global Limited Uses: -x>
 *   This will change the target's limited uses by +x or -x for all skills.
 *   +x will increase the amount of times the skills can be used. -x will
 *   decrease the amount of times the skills can be used.
 *
 *   <SType x Limited Uses: +y>
 *   <SType x Limited Uses: -y>
 *   This will change the target's limited uses by +y or -y for all skills of
 *   the skill type x. +y will increase the amount of times the skills can be
 *   used. -y will decrease the amount of times the skills can be used.
 *
 *   <Skill x Limited Uses: +y>
 *   <Skill x Limited Uses: -y>
 *   <Skill name Limited Uses: +y>
 *   <Skill name Limited Uses: -y>
 *   This will change the target's limited uses by +y or -y for skill x. If
 *   you use the named notetag varient and have multiple skills in the database
 *   with the same name, priority will be given to the skill with the highest
 *   ID. +y will increase the amount of times the skills can be used. -y will
 *   decrease the amount of times the skills can be used.
I have a very specific bug, I'm not sure if you can help, but I've got it narrowed down to only using your plugins and in the correct load order and it still happens.


here goes.


Plugin Name: Yep_Taunt, YEP_BattleAICore, YEP_AutoPassiveStates, YEP_X_SelectionControl, YEP_X_BattleSysCTB


Bug Explanation: 


When a taunt is in effect, on an actor that has an autopassive state, and that state has a custom react effect on it that has nested if statements, and that enemy was making use of BattleAICore, and the battle system is CTB, when the enemy attacks that actor, the next actor to act will see the CTB display messed up. This also caused massive lag in my own project, but doesn't seem to in the test project, so that might've been a plugin conflict.


normal.PNG


enemies.PNG


These first two images show the CTB at the beginning of combat, and right as the enemies attack harold


broken.PNG


this last image shows the CTB display when it is Therese' turn, immediately following the two bats, note that the only hero on the display is harold.


Error Report: N/A


Exact Steps on How to Replicate Bug:

  • In order to duplicate the problem, you need the following nine plugins, in the given order:
  • plugins.PNG
  • Harold needs to be inflicted with a passive state that has a custom react effect on it, like the following

  • <Custom React Effect>
    if (value > 0 && this.isHpEffect() && this.isPhysical()) {
    if ((Math.random()*100) < 100){ // in the real state this is a % check to see if an attack is blocked or not
    value -= value;
    if (target._classId == 1) { // in the real state, this is a check to see if a state is active to call another function
    console.log('butts?')
    }
    }
    }
    </Custom React Effect>


    Notice the multiple if statements on the state. If the third one is taken out, this issue doesn't happen at all.

  • You also need to have selection control active, although nothing in the test project is actually using it

  • You need to have the enemies using the BattleAICore plugin to get their AI.

  • When the battle starts, inflict the taunt on harold.

  • When an enemy is forced to attack harold, the actor whose turn immediately follows will see the CTB display messed up as in the third picture above

  • if the taunt isn't active, this doesn't happen.

  • if the state only has two or fewer if conditions in it, it will also not happen

  • if selection control is not activated, it will not happen

  • if the monster that hit harold did so without using BattleAI (it managed avoid using any of the ai skills, and instead used the 'always attack' thing from the regular AI), the problem will also not happen

Sample Project (REQUIRED): AI Issue


In my own project, when the CTB display was messed up, the framerate of the entire game dropped to single digits, which fixed itself with the display was fixed (by selecting a skill). This framerate drop might be a plugin conflict, as I have a number of non yanfliy plugins, but I am confident that it wouldn't be an issue anymore if whatever is causing the CTB display to be messed up were corrected.
Plugin Name: Animated Sideview Enemies


Bug Explanation: This isn't an actual "bug", per say, but whenever the breathing effect occurs in enemies, a little annoying black line shows up, as shown below.


It happens one to thrice every breathing cycle and only for a split second.


I suppose the breathing effect stretches out the images, and therefore, creates a little rift in the screen.


Note that the example picture was done in an image editing program because it was really hard to get a screencap of something that shows up for half a second.


Is there something you can do to smooth this out?


This problem was addressed here, and I saw that someone else was having the same issue.


Exact Steps on How to Replicate Bug:

  1. Start up the game.
  2. Run around until you enter a battle.
  3. Watch in despair as the enemies show a black line above their image.

Sample Project (REQUIRED): https://www.dropbox.com/s/ndskq1bpvgh3hm7/Yanfly%20SV%20Enemies%20Bug.zip?dl=0

Yanfly Animated Sideview Enemies Error.png
I have a very specific bug, I'm not sure if you can help, but I've got it narrowed down to only using your plugins and in the correct load order and it still happens.


here goes.


Plugin Name: Yep_Taunt, YEP_BattleAICore, YEP_AutoPassiveStates, YEP_X_SelectionControl, YEP_X_BattleSysCTB


Bug Explanation: 


When a taunt is in effect, on an actor that has an autopassive state, and that state has a custom react effect on it that has nested if statements, and that enemy was making use of BattleAICore, and the battle system is CTB, when the enemy attacks that actor, the next actor to act will see the CTB display messed up. This also caused massive lag in my own project, but doesn't seem to in the test project, so that might've been a plugin conflict.


View attachment 42535


View attachment 42536


These first two images show the CTB at the beginning of combat, and right as the enemies attack harold


View attachment 42537


this last image shows the CTB display when it is Therese' turn, immediately following the two bats, note that the only hero on the display is harold.


Error Report: N/A


Exact Steps on How to Replicate Bug:

  • In order to duplicate the problem, you need the following nine plugins, in the given order:
  • View attachment 42538
  • Harold needs to be inflicted with a passive state that has a custom react effect on it, like the following


  • <Custom React Effect>
    if (value > 0 && this.isHpEffect() && this.isPhysical()) {
    if ((Math.random()*100) < 100){ // in the real state this is a % check to see if an attack is blocked or not
    value -= value;
    if (target._classId == 1) { // in the real state, this is a check to see if a state is active to call another function
    console.log('butts?')
    }
    }
    }
    </Custom React Effect>


    Notice the multiple if statements on the state. If the third one is taken out, this issue doesn't happen at all.

  • You also need to have selection control active, although nothing in the test project is actually using it

  • You need to have the enemies using the BattleAICore plugin to get their AI.

  • When the battle starts, inflict the taunt on harold.

  • When an enemy is forced to attack harold, the actor whose turn immediately follows will see the CTB display messed up as in the third picture above

  • if the taunt isn't active, this doesn't happen.

  • if the state only has two or fewer if conditions in it, it will also not happen

  • if selection control is not activated, it will not happen

  • if the monster that hit harold did so without using BattleAI (it managed avoid using any of the ai skills, and instead used the 'always attack' thing from the regular AI), the problem will also not happen

Sample Project (REQUIRED): AI Issue


In my own project, when the CTB display was messed up, the framerate of the entire game dropped to single digits, which fixed itself with the display was fixed (by selecting a skill). This framerate drop might be a plugin conflict, as I have a number of non yanfliy plugins, but I am confident that it wouldn't be an issue anymore if whatever is causing the CTB display to be messed up were corrected.



The issue happens regardless of the lunatic mode command. It's most likely unrelated. However, I do see the issue with the CTB display and will look into it.


---

Plugin Name: Animated Sideview Enemies


Bug Explanation: This isn't an actual "bug", per say, but whenever the breathing effect occurs in enemies, a little annoying black line shows up, as shown below.


It happens one to thrice every breathing cycle and only for a split second.


I suppose the breathing effect stretches out the images, and therefore, creates a little rift in the screen.


Note that the example picture was done in an image editing program because it was really hard to get a screencap of something that shows up for half a second.


Is there something you can do to smooth this out?


This problem was addressed here, and I saw that someone else was having the same issue.


Exact Steps on How to Replicate Bug:

  1. Start up the game.
  2. Run around until you enter a battle.
  3. Watch in despair as the enemies show a black line above their image.

Sample Project (REQUIRED): https://www.dropbox.com/s/ndskq1bpvgh3hm7/Yanfly%20SV%20Enemies%20Bug.zip?dl=0


View attachment 42539



This is a Pixi engine issue and not caused by my plugins.
This is a Pixi engine issue and not caused by my plugins.

What does this means? 


...are we supposed to, uh, 'update' the pixi.js? 
What does this means? 


...are we supposed to, uh, 'update' the pixi.js? 



There is nothing you can do right now except to wait for the new release of MV 1.3.0 whenever that comes.
There is nothing you can do right now except to wait for the new release of MV 1.3.0 whenever that comes.

Ouch. Oh well, thanks for confirming ^^
I uhh, made an addon to your battle ai core plugin, to use TGR as a valid param, since TGR is otherwise completely ignored by the battle ai plugin.


I was wondering if you'd put it up on your site :3

View attachment YEP_X_BattleAITGRAddon.js
I uhh, made an addon to your battle ai core plugin, to use TGR as a valid param, since TGR is otherwise completely ignored by the battle ai plugin.


I was wondering if you'd put it up on your site :3


View attachment 42569



I could link it to a thread. 🙂  If you create a thread and get it approved, I'll make it like to there.
I don't think this is a "bug" per say, but it'd be nice to get some clarification on this issue:


I believe there is some "incompatibility" issues when you alter the screens resolution (using your core program) and the status/equip core plugins. If your alter the resolution and ensure that the height is any less than 624, specific stats get cut off the on status/equip menus.
I could link it to a thread. 🙂  If you create a thread and get it approved, I'll make it like to there.

And there we go.
I liked your Magic Guard T&T video! With a bit of modification to that, you could probably create Safeguard as well!
I don't think this is a "bug" per say, but it'd be nice to get some clarification on this issue:


I believe there is some "incompatibility" issues when you alter the screens resolution (using your core program) and the status/equip core plugins. If your alter the resolution and ensure that the height is any less than 624, specific stats get cut off the on status/equip menus.

All scenes modified by the plugins are not optimized for any resolution other than the default. 
How does one submit documentation error reports?

The extra enemy drops documentation suggests that conditional drops be in this format:

Code:
<Conditional Item x Drop>
condition: +y%
condition: -y%
<Conditional Item x Drop>


However, I tried that, and it didn't work. I opened up the code and saw:
 


...
} else if (line.match(/<CONDITIONAL[ ](.*)[ ]DROP>/i)) {
var evalMode = 'conditionalDrop';
conditionalLines = [];
} else if (line.match(/<\/CONDITIONAL[ ](.*)[ ]DROP>/i)) {
...



which implies that the correct tags should be as follows:
 

Code:
<Conditional Item x Drop>
condition: +y%
condition: -y%
</Conditional Item x Drop>

I tried that and it worked immediately.

Given that I know how to make it work so I don't need anything changed, and also given that it's more than likely a typo on Yanfly's part when writing the docs and doesn't require reproduction steps, the full "bug report" process seems unnecessary. Don't suppose there's an "express line" for documentation corrections?

If not, whatever. Given that it works fine for me and I know the "real" notetags, I'm just fine. No offense to Yanfly (if I were in his position, I'm sure I'd do the same) but this exacting bug report process makes it hard to submit minor bugs or corrections. 
No offense to Yanfly (if I were in his position, I'm sure I'd do the same) but this exacting bug report process makes it hard to submit minor bugs or corrections. 

Despite how strict the guidelines is, we still have people uploading their Game.rpgproject only via attachments without the rest of the files lel


I think it's meant to filter the people reporting bugs that doesn't exist in the first place. 
I have a question for you Yanfly.  Is there a way to use your X_ClassBaseParameters plugin to level up custom stats and not just stats provided by the engine?  We are using custom stats to determine our base stats in our game and can find no suitable way to level up the stats.  If it helps, I am using Quasi's ParamsPlus plugin.  I linked it to this post.  Any insight you can provide would be awesome.  You make amazing plugins and myself and my team use quite a few of them.  Thank you for your time.


Thanks again,


Donavan
I don't think this is a "bug" per say, but it'd be nice to get some clarification on this issue:


I believe there is some "incompatibility" issues when you alter the screens resolution (using your core program) and the status/equip core plugins. If your alter the resolution and ensure that the height is any less than 624, specific stats get cut off the on status/equip menus.



My policies for this is that you're in charge of your own game's screen real estate. If you intentionally shrink your game resolution to less than 624 in height, you must expect that your game will be "incompatible" with certain plugins. I will not accommodate for sizes smaller than the game's default size resolution. If you wish to have my plugins compatible with smaller screen sizes, I suggest you make a request on the request forum and find someone to pick up the job.


---

How does one submit documentation error reports?

The extra enemy drops documentation suggests that conditional drops be in this format:

Code:
<Conditional Item x Drop>
condition: +y%
condition: -y%
<Conditional Item x Drop>


However, I tried that, and it didn't work. I opened up the code and saw:
 



...
} else if (line.match(/<CONDITIONAL[ ](.*)[ ]DROP>/i)) {
var evalMode = 'conditionalDrop';
conditionalLines = [];
} else if (line.match(/<\/CONDITIONAL[ ](.*)[ ]DROP>/i)) {
...



which implies that the correct tags should be as follows:
 

Code:
<Conditional Item x Drop>
condition: +y%
condition: -y%
</Conditional Item x Drop>

I tried that and it worked immediately.

Given that I know how to make it work so I don't need anything changed, and also given that it's more than likely a typo on Yanfly's part when writing the docs and doesn't require reproduction steps, the full "bug report" process seems unnecessary. Don't suppose there's an "express line" for documentation corrections?

If not, whatever. Given that it works fine for me and I know the "real" notetags, I'm just fine. No offense to Yanfly (if I were in his position, I'm sure I'd do the same) but this exacting bug report process makes it hard to submit minor bugs or corrections. 



Thanks for the find! I had the documentation updated for the Help File already, but I'll get this updated for the plugin page as well.


---

I have a question for you Yanfly.  Is there a way to use your X_ClassBaseParameters plugin to level up custom stats and not just stats provided by the engine?  We are using custom stats to determine our base stats in our game and can find no suitable way to level up the stats.  If it helps, I am using Quasi's ParamsPlus plugin.  I linked it to this post.  Any insight you can provide would be awesome.  You make amazing plugins and myself and my team use quite a few of them.  Thank you for your time.


Thanks again,


Donavan



No. My plugins are made specifically for my works only and do not support the works of other plugin creators as stated from the front page:


NOTE: I'll only provide support for my own plugins and code that I, myself, have provided. This isn't because I disrespect other plugin makers or anything of the sort. If I did, I wouldn't go so far as to maximize compatibility with my plugins when possible. The reason behind is because of my lack of time, and I'd like to put my undivided attention to errors caused by my own plugins. That said, any modifications you've made to the plugins itself, any custom Lunatic Mode code you've made yourself that isn't provided by me, or problems with the source code will not be supported by me either.
I'm really sorry if I'm at the wrong thread... I know this is for bugs and plug ins updates, but I don't know where to ask you this. 


First thanks for everything Yanfly, I don't have words to describe how much you are helping my game 🙂


Ok...


I'm using the scripts item systhesis, item upgrade slots and item attachable augments.


Here is what I wanted to do:


You have a Sword 1 with 2 upgrade slots and 2 attachable augments.
I lv up the Sword 1 to Sword 2, and it now has 4 upgrade slots and 3 attachable augments.
Than lv up the Sword 2 to Sword 3, so it now has 6 upgrade slots and 4 attachable augments.


Etc...


I was going to do that using item systhesis: you take the Sword 1 mix it with an item so you upgrade the Sword 1 to lv 2. It makes the player loose the Sword 1 and get the Sword 2. The problem is that, in my game, the characters only have 1 weapon the hole game, wich means you have to upgrade it till the end of the game, so I cant unequip Sword 1 to create Sword 2 (because the RPG Maker MV does not let the character be without weapon).


Is there a way to let my character without weapon, so I can upgrade the Sword 1 to Sword 2?


Or is there a way to make Sword 1 gain more upgrade slots and more attachable augments? If so... I wanted the possibility to remove the upgrades, because the upgrades from Sword 1 can be useless for Sword 10, for example.


Maybe you have an idea for me, so I can make it work...
Hey, Yanfly, Just wanna say I've been a longtime follower of your work and I hope you keep doing your best at it.


I found a bug in YEP_X_ActorPartySwitch that's very similar to what used to happened to YEP_X_ChangeBattleEquip some months or so ago.


Plugin Name: YEP_X_ActorPartySwitch


Bug Explanation: The switch command cannot be hidden in battle, even if disabled by default on the plugin settings or manually hidden via plugin command.


Error Report: None


Exact Steps on How to Replicate Bug:


1.Start up the game


2.Enter battle with the slime.


3.By default, the actor party switching is both hidden and disabled, yet it's still in the battle menu.


4(Optional).Talk to the bat and/or the orc to hide and disable and show and enable respectively. (For confirmation purposes that actor switching can't be hidden.)


Sample Project (REQUIRED): https://www.mediafire.com/?b3bsor27pbnnfkf

Original thread: https://forums.rpgmakerweb.com/threads/yep-yanfly-engine-plugins.48860/