[YEP] Yanfly Engine Plugins

● ARCHIVED · READ-ONLY
Started by Yanfly 6167 posts Page 78 of 309 View original ↗
  1. I'm quoting my post from a previous page because I think it got unnoticed due to it needing mod approval, and by the time it got approved, people where already on a later page.

    ArturoPP said:
    Hi, Yanfly. Thanks for your great work.

     

    Questions about Row Formations Plugin (v1.04):

     

    1): Is the plugin supposed the require Battle Engine Core? Because the description makes it looks like it is optional, but if I don't have it, this plugin throws me the following error at startup: 

     

    TypeError

    Cannot read property 'onlyUnique' of undefined

     

    2): What is the intended way to use "<Push Back User Row: x>" and "<Pull Forward User Row: x>"? When I write them in a skill or item. The user does not change rows. But, when I write the versions with "Target" they work (on the targets, included the user if it is a valid target).

     

    Example 1): If I use "<Push Back User Row: 1>" and "<Push Back Target Row: 1>" on a skill with scope "1 Enemy", only the target gets pushed back.

     

    Example 2): If I use "<Push Back Target Row: 1>" on a skill with a scope "The User", the user is pushed back because it is the target. But when using "<Push Back User Row: 1>", the user does not change row.

     

    Both questions where tested with a newly created project with only the Row Formation v1.04 and Battle Engine Core v1.28a.
    Since then, I tried Battle Engine Core v1.28b too, same result.
  2. ArturoPP said:
    I'm quoting my post from a previous page because I think it got unnoticed due to it needed mod approval, and by the time it got approved, people where already on a later page.

    Since then, I tried Battle Engine Core v1.28b too, same result.
    Thanks! I'll get this fixed in tonight's update!
  3. Yanfly, I know that you made some changes to the way that ticks are applied to turns recently. But I was under the impression that using the times states/buffs option in BattleCore would maintain that functionality.

    16_0112_bufffStates_issue_1.PNG

    Specifically that duration based effects lat until their individual timers expire, rather than the battlers action counts.

    However, as I started testing states today, I noticed that is not the case.

    This state:

    16_0112_bufffStates_issue_1b.PNG

    Is losing a turn, at the end of every action of the subject, rather than by timing. Which should be 480/turn according to the screen above.

    Am I misunderstanding this?

    I am using your BuffsStatesCore plugin and ATB Battle.
  4. Roguedeus said:
    Yanfly, I know that you made some changes to the way that ticks are applied to turns recently. But I was under the impression that using the times states/buffs option in BattleCore would maintain that functionality.

    attachicon.gif16_0112_bufffStates_issue_1.PNG

    Specifically that duration based effects lat until their individual timers expire, rather than the battlers action counts.

    However, as I started testing states today, I noticed that is not the case.

    This state:

    attachicon.gif16_0112_bufffStates_issue_1b.PNG

    Is losing a turn, at the end of every action of the subject, rather than by timing. Which should be 480/turn according to the screen above.

    Am I misunderstanding this?

    I am using your BuffsStatesCore plugin and ATB Battle.
    If you're using timed states, states that end on Turn End will go down 1 turn after the numbered amount of ticks. If it reaches 0, then it will remove itself.
  5. Yanfly said:
    If you're using timed states, states that end on Turn End will go down 1 turn after the numbered amount of ticks. If it reaches 0, then it will remove itself.
    Thanks for the quick reply. :)

    It seems then that I have found an issue. Because that's not whats happening. The above detailed state is losing a turn at the end of the battlers turn. Not at the end of the timed ticks.

    I'll try to isolate/verify it and make sure that its not a conflict of some sort.

    Edit:

    I've also noticed that the turns drop by 1 turn, each time a battler is hit with an attack... Not sure what the heck is going on.
  6. Roguedeus said:
    Thanks for the quick reply. :)

    It seems then that I have found an issue. Because that's not whats happening. The above detailed state is losing a turn at the end of the battlers turn. Not at the end of the timed ticks.

    I'll try to isolate/verify it and make sure that its not a conflict of some sort.

    Edit:

    I've also noticed that the turns drop by 1 turn, each time a battler is hit with an attack... Not sure what the heck is going on.
    Hmmm, this appears to be a refresh issue with the Battle Engine Core using timed states and a math issue with the Buffs & States Core. I'll get this fixed by tonight's update.
  7. What is wrong with my AI?

    <AI Priority>

    State === State 5: Apply eyedrops, Highest ATK

    HP% param <= 50%: Skill 24, Lowest HP%

    </AI Priority>

    <AI Level: 100>

    He never uses eyedrops.
  8. Tuomo L said:
    What is wrong with my AI?

    <AI Priority>

    State === State 5: Apply eyedrops, Highest ATK

    HP% param <= 50%: Skill 24, Lowest HP%

    </AI Priority>

    <AI Level: 100>

    He never uses eyedrops.
    Is the name of the skill 'Apply eyedrops' (case-sensitive)?
  9. I don't know what specifically was changed in Battle Engine Core 1.28b, but it solved the compatibility issue with Mouse System Ex, so thanks for that.

    All I had to do was update and put MSE above the BEC, and now it works perfectly.

    EDIT: Question. I want to create a state that's added at the start of a battle round when you choose certain specific skills. Basically, if a character selects a water spell (targeting an enemy), they'll gain a state that gives 50% water resistance as soon as the player finishes entering commands. Can I do this with the Buffs and States Core Lunatic Mode and BEC alone, or would I need an additional script? I've read the help for BSC Lunatic Mode, but it seems like it can only be used to run code when a state has been applied, not to apply a state at a specific time or when a specific skill is chosen.
  10. Yanfly said:
    Hmmm, this appears to be a refresh issue with the Battle Engine Core using timed states and a math issue with the Buffs & States Core. I'll get this fixed by tonight's update.
    Thanks for the attention to the issue Yanfly. I really appreciate your time.

    Unfortunately, I'm here to report that I just applied all the latest plugin updates and the issue I mentioned above remains.

    16_0112_bufffStates_issue_2c.PNG

    I have verified that it occurs in a clean build with only your plugins. If you like, I can link a demo.

    Just to recap (so you don't need to go looking), there are two issues.

    With these plugin settings: (They are the only ones I recall changing in the clean project)

    16_0112_bufffStates_issue_2.PNG

    16_0112_bufffStates_issue_2b.PNG

    • The turns of a state are reduced at the end of the battlers action (enemy or actor) not the end of the turn.
    • The turns of a state are reduced 1 turn each time the batter is struck.
    The issue seems to be related to the BuffStatesCore plugin. Using Liquidize's StateCore, in its place, resolves both.
  11. Tuomo L said:
    What is wrong with my AI?

    <AI Priority>

    State === State 5: Apply eyedrops, Highest ATK

    HP% param <= 50%: Skill 24, Lowest HP%

    </AI Priority>

    <AI Level: 100>

    He never uses eyedrops.
    Did you spell the skill name right? If all of that is fine:

    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!

    Riff said:
    Is the name of the skill 'Apply eyedrops' (case-sensitive)?
    Shouldn't need to be since I made the Skill names case-insensitive. It's either

    Porcelain said:
    I don't know what specifically was changed in Battle Engine Core 1.28b, but it solved the compatibility issue with Mouse System Ex, so thanks for that.

    All I had to do was update and put MSE above the BEC, and now it works perfectly.

    EDIT: Question. I want to create a state that's added at the start of a battle round when you choose certain specific skills. Basically, if a character selects a water spell (targeting an enemy), they'll gain a state that gives 50% water resistance as soon as the player finishes entering commands. Can I do this with the Buffs and States Core Lunatic Mode and BEC alone, or would I need an additional script? I've read the help for BSC Lunatic Mode, but it seems like it can only be used to run code when a state has been applied, not to apply a state at a specific time or when a specific skill is chosen.
    You'll need a different plugin effect for that. There's no commands currently that add on states for simply selecting a skill.

    Roguedeus said:
    Thanks for the attention to the issue Yanfly. I really appreciate your time.

    Unfortunately, I'm here to report that I just applied all the latest plugin updates and the issue I mentioned above remains.

    attachicon.gif16_0112_bufffStates_issue_2c.PNG

    I have verified that it occurs in a clean build with only your plugins. If you like, I can link a demo.

    Just to recap (so you don't need to go looking), there are two issues.

    With these plugin settings: (They are the only ones I recall changing in the clean project)

    attachicon.gif16_0112_bufffStates_issue_2.PNG

    attachicon.gif16_0112_bufffStates_issue_2b.PNG

    • The turns of a state are reduced at the end of the battlers action (enemy or actor) not the end of the turn.
    • The turns of a state are reduced 1 turn each time the batter is struck.
    The issue seems to be related to the BuffStatesCore plugin. Using Liquidize's StateCore, in its place, resolves both.
    Go ahead and create the problem in an empty project for me. I'll need to see what's going on with it from my own end.
  12. Yanfly said:
    Did you spell the skill name right?
    I had no idea that there was an empty space after the name, I guess it was registering in the name. Because it empty space, I hadn't realized it before I tried to copy and paste it. It now works, sorry for bothering.
  13. I have a monster that is like Gigas from Mother 3, and so his sideview battler is a giant square. I need the base of the square to touch the base of the window, but it appears that there is a limit, like a floor, that shows the background behind. Is there a way to move the sideview monster so that it's base touches the window's base?
  14. jvcscasio said:
    I have a monster that is like Gigas from Mother 3, and so his sideview battler is a giant square. I need the base of the square to touch the base of the window, but it appears that there is a limit, like a floor, that shows the background behind. Is there a way to move the sideview monster so that it's base touches the window's base?
    That's a little tricky. What you'd have to do would be to do a script call in an event and do $gameTroop.members()[the monster's index]._screenY = 600; You'll have to play around with these values to find the best position for it.
  15. Hello Yanfly. I am trying to create some sort of "timebomb" state, where after the state runs out, the person inflicted by it will deal damage to all party members dependent on how much HP they're missing from their MaxHP. I'm familiar with the custom leave effect:

    <Custom Leave Effect>yada yada</Custom Leave Effect>I am just now sure how to accomplish the rest. Ideally, upon the state running out, it would allow me to call a skill to do the damage portion. Thanks for your time! :D

    EDIT: Also, is it possible to call a common event with the above notetag? If so, how?
  16. Hi Yanfly. Just letting you know, I managed to cobble together that battle system I was talking about earlier, based off of your CTB script.

    http://forums.rpgmakerweb.com/index.php?/topic/54880-instant-turn-battle-system/

    Here's how it works:

    Battlers perform actions instantly in an order decided by their agility. A turn ends after each battler acts. The order will be adjusted in-turn if a battler's agility is increased or decreased. This means that an example action order could be Enemy-Actor-Enemy-Enemy-Actor-Actor-Enemy.

    It's working quite well as-is. It would be interesting if you yourself made a similar battle system someday, but in any case thank you so much for your scripts, you are quite an inspiration!
  17. Yanfly said:
    That's a little tricky. What you'd have to do would be to do a script call in an event and do $gameTroop.members()[the monster's index]._screenY = 600; You'll have to play around with these values to find the best position for it.
    When using the script call, it returns

    TypeError: Cannot set property '_screenY' of undefinedat Game_Interpreter.eval (eval at <anonymous> (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:10437:10), <anonymous>:1:35)at Game_Interpreter.command355 (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:10437:5)at Game_Interpreter.executeCommand (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:8895:34)at Game_Interpreter.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:8803:19)at Game_Map.updateInterpreter (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:6080:27)at Game_Map.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:5987:14)at Scene_Map.updateMain (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_scenes.js:417:14)at Scene_Map.updateMainMultiply (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_scenes.js:409:10)at Scene_Map.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_scenes.js:398:10)at Scene_Map.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/plugins/YEP_MapGoldWindow.js:148:33)And "Cannot set property 'ScreenY' of undefined.
  18. Found another bug with Row Formation + Battle Engine Core:

    If on Battle Engine Core you set Step Distance to 0. When you use a skill that changes your row. It won't update to the new location until some other action triggers the update (like getting hit or somebody else using the same skill).
  19. Yanfly said:
    Go ahead and create the problem in an empty project for me. I'll need to see what's going on with it from my own end.
    Thanks.

    Here is the OneDrive Public Folder with the demo. (Clean - BuffStatesCore Issue.zip)

    Hopefully I haven't done anything stupid this time. :)
  20. Fernyfer775 said:
    Hello Yanfly. I am trying to create some sort of "timebomb" state, where after the state runs out, the person inflicted by it will deal damage to all party members dependent on how much HP they're missing from their MaxHP. I'm familiar with the custom leave effect:

    <Custom Leave Effect>yada yada</Custom Leave Effect>I am just now sure how to accomplish the rest. Ideally, upon the state running out, it would allow me to call a skill to do the damage portion. Thanks for your time! :D

    EDIT: Also, is it possible to call a common event with the above notetag? If so, how?
    Hmm, I would recommend the common event way:

    <Custom Leave Effect>

    $gameTemp.reserveCommonEvent(x);

    </Custom Leave Effect>

    Replace x with the common event ID. I haven't tested this yet (at work now), but it should work.

    DreamX said:
    Hi Yanfly. Just letting you know, I managed to cobble together that battle system I was talking about earlier, based off of your CTB script.

    http://forums.rpgmakerweb.com/index.php?/topic/54880-instant-turn-battle-system/

    Here's how it works:

    Battlers perform actions instantly in an order decided by their agility. A turn ends after each battler acts. The order will be adjusted in-turn if a battler's agility is increased or decreased. This means that an example action order could be Enemy-Actor-Enemy-Enemy-Actor-Actor-Enemy.

    It's working quite well as-is. It would be interesting if you yourself made a similar battle system someday, but in any case thank you so much for your scripts, you are quite an inspiration!
    Nice work! :D

    jvcscasio said:
    When using the script call, it returns

    TypeError: Cannot set property '_screenY' of undefinedat Game_Interpreter.eval (eval at <anonymous> (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:10437:10), <anonymous>:1:35)at Game_Interpreter.command355 (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:10437:5)at Game_Interpreter.executeCommand (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:8895:34)at Game_Interpreter.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:8803:19)at Game_Map.updateInterpreter (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:6080:27)at Game_Map.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_objects.js:5987:14)at Scene_Map.updateMain (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_scenes.js:417:14)at Scene_Map.updateMainMultiply (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_scenes.js:409:10)at Scene_Map.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/rpg_scenes.js:398:10)at Scene_Map.update (file:///C:/Users/Usuario/Documents/Games/Spaghetti/js/plugins/YEP_MapGoldWindow.js:148:33)And "Cannot set property 'ScreenY' of undefined.
    Did you replace the "the monster's index" in $gameTroop.members()[the monster's index]._screenY = 600?

    You'll need to replace it with 0, 1, 2, 3, etc.

    ArturoPP said:
    Found another bug with Row Formation + Battle Engine Core:

    If on Battle Engine Core you set Step Distance to 0. When you use a skill that changes your row. It won't update to the new location until some other action triggers the update (like getting hit or somebody else using the same skill).
    That's an interesting bug. I would suggest you set it to 1 pixel at minimum for now until I can figure out the issue.

    Roguedeus said:
    Thanks.

    Here is the OneDrive Public Folder with the demo. (Clean - BuffStatesCore Issue.zip)

    Hopefully I haven't done anything stupid this time. :)
    Thanks. I'll go take a look.

    Edit: Haven't been able to test it yet, but I'm pretty sure this will fix it: http://yanfly.moe/plugins/en/YEP_BuffsStatesCore.js

    Let me know if it doesn't.