[YEP] Yanfly Engine Plugins

Hello Yanfly, here a bug I report with 2 of your great plugins!


Plugin Name: YEP_RowFormation & YEP_BuffsStatesCore 


Bug Explanation: If I use the Row Formation plugin to give a Passive state to some Actor in a Active Row, the notetag from BuffstatesCore plugin seem to not work ex: <Custom Apply Effect>,  <Custom Remove Effect> doesn't trigger even if the requierement are done in battle.


Error Report: I dont have any report error from this bug.


Exact Steps on How to Replicate Bug: Just start the build I sent and you will see in battle that nothing Apply to the Actor when he go in Row 1 or Leave this one. State ID 35 used in this case.


Sample Project (REQUIRED): https://docs.google.com/uc?export=download&confirm=CRcO&id=0B4NXa6PZrIS_aF92OXcxM3NYcEk



Passives do not trigger apply and remove effects.


---

Think I may have found a bug with Button Common Events, as I've tried it with other Plugin Commands and it didn't affect them.

Plugin Name: Button Common Events


Bug Explanation: Adding a Wait frame any time after the Plugin Command "TriggerButton OK" in Common Events will prevent the plugin command from executing on button press.


Error Report: None


Exact Steps on How to Replicate Bug: Press 1 on the keyboard to try and interact with the NPC, and it will not work. Pressing 2 will trigger an exact copy of the common event without the wait frame in order to show you how it's supposed to work.


Sample Project (REQUIRED): https://www.dropbox.com/s/trla0z31zbxpz7l/_bugreport.zip?dl=0

The wait frame is kind of essential for what I'm trying to do because adding a variable = 0 after the Trigger Button Plugin Command will not let me trigger conditional branches that require variable = 1, even though the variable is set to = 1 before the plugin command is issued. Adding a wait frame between the variable and plugin command does not resolve this issue because the variable will immediately go back to 0 once the plugin command is issued.

EDIT: For the record, while it's not in the bug report, it looks like show choices and message window also breaks the plugin command. However, managing variables and gold don't seem to affect it. It's also possible the variable operations placed after the plugin command are being triggered before the command itself, which would explain why I'm having my predicament even without the wait frame.



This isn't a bug, but rather, something caused by MV itself. While an event is running, you cannot trigger other events (ie you cannot talk to them). Therefore, while the OK Trigger is occurring, if you have a wait, an event is still running, thus, blocking you from being able to talk to the NPC.


---

Bug report!


Plugin Name: YEP.111 Icon Balloons


Bug Explanation: The file "EmptyBalloon" will count as an "unused file" when excluding these; could be problematic for encrypt games.


Error Report: The error is simple, the EmptyBalloon could not be found.


Exact Steps on How to Replicate Bug: When doing a plugin command (f.ex: ShowIconBalloon 28 to 31 on Event 4, Wait) in a game (not the editors testgame), the EmptyBalloon will either not be shown (for me it lead to the game being stuck in the NPCs dialog during a encrypted version and in a non-encrypted version I get an error saying that "EmptyBalloon" was not found.


Sample Project (REQUIRED): http://www.mediafire.com/file/38cehn9lc88lby1/EmptyBalloon+%28Exclude+unused+files%29.rar


I plan on having a game that has encrypted files (images), I don't know how to add a encrypted version of the EmptyBalloon.png with a password into my game..


It makes this plugin unusable for games that want to encrypt their images~


It does work for games that have their pictures not encrypted, but it's still neccessary to manually add EmptyBalloon into the system folder afterwards.


(Which is what I'm doing now)


I hope this counts as a bug! If not, then I'm sorry..


I'm still reporting it! I feel that it's something the plugin is missing.


Edit:


I'm sorry if the game was no help at all, since all it's really doing is missing a file obviously..


That's why I added (Exclude unused files) into the name, to point it out that it was made with that option.



Do you mean when you check "Exclude Unsued Files"?


If anything, add this into the js file at line 22


* @require 1
* @dir img/system/
* @type file




Hope that helps!
[SIZE=10.5pt]Excuse me, If my report will be against the rules, I’m so sorry.[/SIZE]


[SIZE=10.5pt][/SIZE]


[SIZE=10.5pt]Plugin Name:[/SIZE][SIZE=10.5pt] Skill Cost Items[/SIZE]


[SIZE=10.5pt]Bug Explanation:[/SIZE][SIZE=10.5pt] Open Skill window in menu will be Error.[/SIZE]


[SIZE=10.5pt]Error Report:[/SIZE][SIZE=10.5pt] Cannot read property 'skillItemCost' of null[/SIZE]


[SIZE=10.5pt]Exact Steps on How to Replicate Bug:[/SIZE][SIZE=10.5pt] I use a plugin is jay_dualtechs, I just watch it in Tips & Tricks, But put jay_dualtechs plugin on the YEP_SkillCore and YEP_SkillCostItems will do not display Jay’s plugin (And the plugin almost can’t use), But put this plugin under your plugins, Open Skill menu will be error in game.[/SIZE]


[SIZE=10.5pt][/SIZE]


[SIZE=10.5pt][/SIZE]


[SIZE=10.5pt][/SIZE]


[SIZE=10.5pt]How can I do to cancel this error?[/SIZE]


[SIZE=10.5pt]Or I just can’t use Jay’s plugin?[/SIZE]


[SIZE=10.5pt][/SIZE]


[SIZE=10.5pt]Thank you of read this report.[/SIZE]


[SIZE=10.5pt]*I’m Taiwanese So my English is very poor. Sorry again.[/SIZE]
You can't, Yanfly does not suport plugins that are not made by him.
In my topic, you said you got it working. Go there and give more info. And keep it there; I strive to maintain Yanfly compatibility whenever possible.
@Yanfly, I created an expansion of your PartyLimitGauge plugin for someone that wanted a vertical gauge.


I know you let us use your plugins even in commercial games for free, but I'd still like to ask for approval to share it, both for the person and on my own topic like DreamX did in his BattleStatusWindow one.


I had to shrink the gauge by a third, since if I put it the same size as it is horizontal it goes in front of the text. But besides that it worlks about the same as your one, just... vertical.
Passives do not trigger apply and remove effects.


---


This isn't a bug, but rather, something caused by MV itself. While an event is running, you cannot trigger other events (ie you cannot talk to them). Therefore, while the OK Trigger is occurring, if you have a wait, an event is still running, thus, blocking you from being able to talk to the NPC.


---


Do you mean when you check "Exclude Unsued Files"?


If anything, add this into the js file at line 22



* @require 1
* @dir img/system/
* @type file




Hope that helps!



@"Exclude Unused Files"


Yes, the file will not be included when checking "Exclude Unused Files".


I tried adding the code into the .js file (on line 22-24) and tried out saving the game again excluding unused files..


But it didn't work again. :/ I don't know, I don't think I did anything wrong..


Here's a screenshot of the .js file!

Spoiler
sucreen.png



Thanks for the fast reply Yanfly! ♥ 
534.gif
@"Exclude Unused Files"


Yes, the file will not be included when checking "Exclude Unused Files".


I tried adding the code into the .js file (on line 22-24) and tried out saving the game again excluding unused files..


But it didn't work again. :/ I don't know, I don't think I did anything wrong..


Here's a screenshot of the .js file!




Thanks for the fast reply Yanfly! ♥ 
534.gif

Unless you use MV by default (meaning no plugins, no notetags, etc), it's a very bad idea to use this "exclude unused files" option. You have to exclude what isn't needed manually most of the time.
@Yanfly, I created an expansion of your PartyLimitGauge plugin for someone that wanted a vertical gauge.


I know you let us use your plugins even in commercial games for free, but I'd still like to ask for approval to share it, both for the person and on my own topic like DreamX did in his BattleStatusWindow one.


I had to shrink the gauge by a third, since if I put it the same size as it is horizontal it goes in front of the text. But besides that it worlks about the same as your one, just... vertical.



Sure thing! That's not a problem at all. Do you have a link to it? If anything, I can link back to it from my website as well for more exposure. 😀


---

@"Exclude Unused Files"


Yes, the file will not be included when checking "Exclude Unused Files".


I tried adding the code into the .js file (on line 22-24) and tried out saving the game again excluding unused files..


But it didn't work again. :/ I don't know, I don't think I did anything wrong..


Here's a screenshot of the .js file!




Thanks for the fast reply Yanfly! ♥ 
534.gif



I'm at a loss as to why it doesn't get excluded then. :/ Your best bet is to just manually include everything into the final product or to not use the Exclude function.
Bug with Target Core/Target Selection. This is from a mobile port of my test game, I can't reproduce this crash screen on a PC, but it happens on mobile. Once in a blue moon on the PC version, will NOT let me select an ally or enemy. It will be stuck on either enemy side or ally side. There is nothing showing up in console, mobile is the only place I see this error. I constantly check for updates to plugins, this was from Saturday night after the target update that was released.  I tested by only using the core engine and target core/selection and it still happens. It's not the easiest thing to produce but it happens at random moments only during battle. I tried everything to figure out how to reproduce it and I can't. Just putting this out there..


image.png
@Yanfly Thank you.


The script itself is here: https://www.dropbox.com/s/inn7g00eedy554o/YR_X_PartyLimitGaugeVertical.js?dl=0
My topic is: 




Hope everyone likes it.
Unless you use MV by default (meaning no plugins, no notetags, etc), it's a very bad idea to use this "exclude unused files" option. You have to exclude what isn't needed manually most of the time.



@Saneterre and Yanfly Okay..


Didn't know that, I always used as little as to no plugins in my games. O: 


Thanks~


But I just thought of something.. To encrypt files; I would have to save the project once excluding every non-used file, delete every files that are found in my project folder and then copy all the files in from the saved game back into my project folder (with files that were not copied; like the EmptyBalloon)..


To then be able to encrypt them, without having to worry about having unused files inside. :'3


Sorry, I might have made it sound complicated and senseless.. xD I'm poor at making sense sometimes.


But that would be the only way in encrypting a project by excluding unused files. =3


♥
Hi @Yanfly, 


I'm trying to wrap around my head on some 'variables' within your Row Formation. 


These equations below:

  • maxRowX - (maxRows - rowId) * 112 + rowIndex * 32
  • centerY + ((rowSize / -2 + 0.5) + rowIndex) * 32 



While they might be self-explanatory and I might be overthinking things, I just wanna confirm a few things below whether they are correct or not: 

  1. Max RowX is the Maximum Row X defined in the Position Settings of the Plugin Parameter.
  2. Max Rows, is the Maximum Row defined in General part of the Plugin Parameter.

    If it's true, how do I reference currently Maximum Rows of parties? Say, if party consist of Actor 1 (default in Row 1) +and there are no one else at the moment, so it would result in 1 as opposed to 3 (defined Maximum Rows).

[*]rowId is the ID of the row the formula is within (under Row 1 Settings or Row 2 Settings)

[*]rowIndex is the referred Actor. 

[*]centerY is the Center Row Y defined in Position Settings of the Plugin Parameter.


Since I see there are a lot of questions for you too in posts above me, please feel free to just yes/no to make it fast and clear for me. 


Another question: is it possible to limit how much people can occupy a row? Like there can only be 2 actor in the Row 1; If actor 1 and actor 2 is assigned to Row 1, actor 3 cannot be moved to Row 1. 


Also, is it possible to modify how much pixels an actor move forward when currently being selected?


Thank you for taking the time to answer. 
In regards to your latest T&T today, I wonder if there's a limit to how many buffs/debuffs you can have on someone? Because I was thinking of a similar thing possibly for my Priestess character, except the damage/healing rises the more buffs/debuffs they have.
Its not much of a bug report, im just curious why doodads plugin doesnt show up. I put it in the correct folders, but doesnt show up in the plugin menu ingame. I also got the correct version of rpgmaker
Hi @Yanfly, 


I'm trying to wrap around my head on some 'variables' within your Row Formation. 


These equations below:

  • maxRowX - (maxRows - rowId) * 112 + rowIndex * 32
  • centerY + ((rowSize / -2 + 0.5) + rowIndex) * 32 



While they might be self-explanatory and I might be overthinking things, I just wanna confirm a few things below whether they are correct or not: 

  1. Max RowX is the Maximum Row X defined in the Position Settings of the Plugin Parameter.
  2. Max Rows, is the Maximum Row defined in General part of the Plugin Parameter.

    If it's true, how do I reference currently Maximum Rows of parties? Say, if party consist of Actor 1 (default in Row 1) +and there are no one else at the moment, so it would result in 1 as opposed to 3 (defined Maximum Rows).

[*]rowId is the ID of the row the formula is within (under Row 1 Settings or Row 2 Settings)

[*]rowIndex is the referred Actor. 

[*]centerY is the Center Row Y defined in Position Settings of the Plugin Parameter.


Since I see there are a lot of questions for you too in posts above me, please feel free to just yes/no to make it fast and clear for me. 


Another question: is it possible to limit how much people can occupy a row? Like there can only be 2 actor in the Row 1; If actor 1 and actor 2 is assigned to Row 1, actor 3 cannot be moved to Row 1. 


Also, is it possible to modify how much pixels an actor move forward when currently being selected?


Thank you for taking the time to answer. 



That's correct except for a few things:


rowId = actor's current Row


rowIndex = the actor's index position in the said row


To change how much they move forward, that's handled in the Battle Engine Core.


---

In regards to your latest T&T today, I wonder if there's a limit to how many buffs/debuffs you can have on someone? Because I was thinking of a similar thing possibly for my Priestess character, except the damage/healing rises the more buffs/debuffs they have.



There's as many buffs as there are base parameters: 8.
I think they meant buff stacks.


If so, I think it is 2 per buff, but Yanfly made a plugin that lets you have more, Buff & States Core.
Ah, cool! Thanks!
Thank you for the answer @Yanfly ^^ it all makes sense now ~


Also, I want to ask regarding the Action Sequence. No one seem to know in the Action Sequence thread, so I figured confirming with you. 


I could not get nested ifs condition to work with action sequence. I wonder if it is not supported? 


Example code would be: 

Code:
if $gameSwitches.value(1) 
 motion spell: target
 if $gameSwitches.value(2)
  MP +variable 1: user
 else
  wait: 1
 end
else 
 TP +variable 1: user
end
@cekobico, did you try using {}s? Maybe even ;s?
@Waterguy I'm unfamiliar with that syntax. Would you mind showing me how the {}s or ;s implemented in my code above?

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