MV Ramza's Plugin Suite Support topic MEGATHREAD

@ramza for the plugin settings, I have already set block chance to work on physical skills. I tried testing it again, and just to be doubly sure, I tried it both with and without the notetag of <BLOCKABLE> on the physical skills that the enemies was using. Just for completeness's sake, I also tested it without the notetag and setting to plugin to not block physical skills by default. In all 3 scenarios, the console log returned as attached, stating that the result is "unknown" after being struck by enemies in battle. The defending actor is not affected by any states (other than the block state).

EIDT 1: For some reason, there was a proc on a skill with Certain Hit. This skill has no notetags whatsoever to say that it is blockable. I am not sure why, but perhaps there is some plugins that somehow make Physical Hit be recognized differently. I am testing my game in a dry run first, but if I find out anything, will post again.
@ramza for the plugin settings, I have already set block chance to work on physical skills. I tried testing it again, and just to be doubly sure, I tried it both with and without the notetag of <BLOCKABLE> on the physical skills that the enemies was using. Just for completeness's sake, I also tested it without the notetag and setting to plugin to not block physical skills by default. In all 3 scenarios, the console log returned as attached, stating that the result is "unknown" after being struck by enemies in battle. The defending actor is not affected by any states (other than the block state).

EIDT 1: For some reason, there was a proc on a skill with Certain Hit. This skill has no notetags whatsoever to say that it is blockable. I am not sure why, but perhaps there is some plugins that somehow make Physical Hit be recognized differently. I am testing my game in a dry run first, but if I find out anything, will post again.
I just tested some blocks in my test project and it looks like ICFSoft_MainUtility is also causing damage popups to scroll off of the screen instead of popping up and fading like they're supposed to. I have no idea why it would be doing that, since it doesn't make any mention of changing anything about the popup.

My next question was going to be getting you to put in more console commands into the state note tag to see if we could tell exactly which step of it was failing, but it would appear based on your edit that we would've failed out at the first step, as if the incoming hit isn't blockable, it wouldn't ever pass the target.result().isBlocked() if check on the first line.

I'd have also asked you to check and make sure your shields are being held in equipslot 1 (the second slot on the equip scene), because the blocked check above would also fail if the plugin couldn't determine the defender actually had a shield equipped, and it only checks that one slot.

Failing both of those things, I'd have to get you to see if you could reproduce the problem in a new project, and then share that project with me, since I can't reproduce the issue myself, it's either a plugin incompatibility or something wrong with setup that I can't think of, and I'd need to play around with a project where it's happening to figure out what's causing it. Though with your last edit, it really does sound like something is interfering with a very core component of the engine at this point, since certain hit skills should only ever be blockable if they're tagged <blockable>.
I just tested some blocks in my test project and it looks like ICFSoft_MainUtility is also causing damage popups to scroll off of the screen instead of popping up and fading like they're supposed to. I have no idea why it would be doing that, since it doesn't make any mention of changing anything about the popup.

My next question was going to be getting you to put in more console commands into the state note tag to see if we could tell exactly which step of it was failing, but it would appear based on your edit that we would've failed out at the first step, as if the incoming hit isn't blockable, it wouldn't ever pass the target.result().isBlocked() if check on the first line.

I'd have also asked you to check and make sure your shields are being held in equipslot 1 (the second slot on the equip scene), because the blocked check above would also fail if the plugin couldn't determine the defender actually had a shield equipped, and it only checks that one slot.

Failing both of those things, I'd have to get you to see if you could reproduce the problem in a new project, and then share that project with me, since I can't reproduce the issue myself, it's either a plugin incompatibility or something wrong with setup that I can't think of, and I'd need to play around with a project where it's happening to figure out what's causing it. Though with your last edit, it really does sound like something is interfering with a very core component of the engine at this point, since certain hit skills should only ever be blockable if they're tagged <blockable>.
I really wonder where the issue is coming from. I doubt it is ICF-Soft's plugin, since this happens even with them turned off. The only thing is to test what the respective physical, magical and certain hit return as, since they should be returning 1, 2 and 0 respective (I think?), but I have no idea what code to use to test them in the console. I am also not able to determine which is impacting the core engine to switch them around. I will try with a new project once I complete my dry run of the game, just to make sure nothing else is broken before I continue. I also won't be surprise if I accidentally change some settings in my sleep (I have a terrible habit of falling asleep in front of my PC). Worse case scenario, I probably should just copy over a new project's js codes. Will try to respond again by tomorrow.

EDIT 1: The more I think about it, the less I think it has to do with just the hit type. The reason is because, when I tag a skill to be blockable using the notetag, somehow the skill does not proc the block animation. In any case, will test on a new project and let you know again.

EDIT2: Yep, something is terribly wrong with my RMMV. Even in a new project, where I only have YEP Core, YEP Battle Core, Shield Block, and YEP Auto Passive, keeping everything basic and default, and giving 100% Block Chance to the default shield, and having it block 100% damage (notetags below), and they don't block. I even give <BLOCKABLE> to the only skill given to the enemy and nothing. I am using the latest plugins (v2.26 of Shield Block).
<BLOCK CHANCE: 100>
<BLOCK PERCENT: 100>
<Passive State: 12>

I also added the Parry Chance (v1.09) and gave the weapons <PARRY CHANCE: 100>, and they don't work either (even if I add <CANPARRY> to the skill). Something is definitely interfering with recognizing the skill can blockable and can parry, but I have no idea what it could be.

I also tested the skill itself by changing it between the various hit types, and in none of the scenario, they were parried or blocked.

All in all, a major head scratcher.


FINAL EDIT!!: I found the issue! There was something wrong in my order (Parry should go above States/Buff Core, or at least this works for me). After fixing it, I turned off all ICF-Soft plugins, and everything worked like a charm. I then turned on all ICF-Soft plugins, and it definitely is interfering with the Shield Block somehow. I tested it by slowly turning each ICF-Soft plugins off, and turns out it's ICF-Soft Main Utility (I got it to work with the rest of the ICF-Soft plugins turned on). Unfortunately, I do need this plugin (most of ICF-Soft plugins seem to work fine without it, except for one sadly crucial one).

I managed to get everything by you to work as intended once I play around with the plugins, but then the issue you mentioned where the damage popup flies out the screen happens. In addition, once all battler has acted, the turn does not conclude for some reason if I have a full party.

All in all, this means I have to either choose Block+Parry Chance or the ICF-Soft plugins (or find alternative to ICF-Soft).
Hi again, haha. It seems the plugincommand for bringing up a specific craft menu stopped working after one of the updates

Neither CallCrafting Cooking and CallCrafting Blacksmithing seem to bring up the specific craft menus, and they don't crash the game either so I don't have an error log for troubleshooting
@desertbriar I definitely broke that plugin command at some point earlier, but I'd thought it fixed now, and had tested in the test project with no issue (except a category window that was stuck on screen), which was also fixed in version 1.17.

I tested with the current version (1.23) in the test project, because I break things all the time, so who knows, but it does appear to still work, it even works with custom categories, which I don't think I'd previously checked.

You wrote out the command correctly here, but I'd check to make sure you don't have a space between Call and Crafting in your command call. Other than that, I'd try updating to the latest version, since this definitely used to be a problem after 1.10 or so, and was corrected completely in 1.17.

@zelanius
FINAL EDIT!!: I found the issue! There was something wrong in my order (Parry should go above States/Buff Core, or at least this works for me). After fixing it, I turned off all ICF-Soft plugins, and everything worked like a charm. I then turned on all ICF-Soft plugins, and it definitely is interfering with the Shield Block somehow. I tested it by slowly turning each ICF-Soft plugins off, and turns out it's ICF-Soft Main Utility (I got it to work with the rest of the ICF-Soft plugins turned on). Unfortunately, I do need this plugin (most of ICF-Soft plugins seem to work fine without it, except for one sadly crucial one).
I'm not understanding how you ended up requiring the plugins in a different load order than I do in my test project without the ICF-Soft plugins. ParryChance in my test project loads after BuffsStatesCore, and works fine, although the animation could probably use some timing tweaks, but that's not relevant to the problem at hand.

You even tested in a brand new project, so I can't even say that maybe the issue is outdated core files, because those should be the most up to date when you make a new project.

The damage popup flying off the screen thing seems to be an issue with YEP_BattleEngineCore, or a weird incompatibility between those two plugins. BlockChance doesn't actually need BEC to work, so you can verify this yourself by turning it off to test. Although this probably wouldn't be a permanent solution, since most yanfly battle plugins do require that plugin to work, like the action sequences plugin, for example.

That probably means the turn end problem is also coming from an interaction between those two as well, since neither my block or parry plugins affect how a turn ends, aside from the block state note tags doing the standard BuffStatesCore react and deselect effects, and having just BEC and ICF-Soft main cause the damage popup to do that thing, meaning it isn't some weird interaction between all three.

I'd see if you can report this to ICF-Soft and see if they can fix it. I'd suggest trying Yanfly too, but I'm sure he's busy with all the VisuStella stuff he's got going on, and generally he doesn't fix incompatibility problems with other people's stuff, so you'll likely have better luck with the smaller creator.
Ah my bad! I left behind some blank recipe entries as templates to use and that was the source of the error. It works fine now after I deleted those
Hey!

I finally got a chance to download this. Wow, so complex. I feel like I need a study guide.

Right now, I'm having trouble with installing the plug in and the patch.
rpgcrafterror.png
I put the crafting system and item extension at the bottom of my plugin list. I loaded up the game, and when I tried to go to the main menu, I got this image.

What am I doing wrong?


Oh thank you for the tutorial https://www.rpgmakerweb.com/blog/pt-ramza

Now just gotta fix the error and I'll be on my way 😀
That error seems to indicate that the Ramza.CSParams.craftCategories is not defined when the extension goes to try to read it, which shouldn't happen, because it is immediately declared as '[]' in the beginning of the plugin. That means the Crafting plugin isn't loading at all. I'd bet if you open the console (f8) after getting this error, you'll see another red error at the top about an unexpected token u or something to that effect.

I'd bet the problem is that your recipe list is blank. Perhaps stupidly, the default recipe list parameter is just empty, but it requires an array in order for it to be parsed. Ordinarily, that wouldn't be an issue because when someone is creating their recipes they'd naturally put something in the box there. Since it seems like you only imported the plugins, and didn't start building anything in it yet, your param is probably still blank.

Just open the below parameter and then close it again and it should be replaced with the [] instead of nothing.

Edit:
Good news, I just duplicated this error by deleting my recipe list in the test plugin, which tells me the problem is almost definitely exactly what I said. 🙂
That error seems to indicate that the Ramza.CSParams.craftCategories is not defined when the extension goes to try to read it, which shouldn't happen, because it is immediately declared as '[]' in the beginning of the plugin. That means the Crafting plugin isn't loading at all. I'd bet if you open the console (f8) after getting this error, you'll see another red error at the top about an unexpected token u or something to that effect.

I'd bet the problem is that your recipe list is blank. Perhaps stupidly, the default recipe list parameter is just empty, but it requires an array in order for it to be parsed. Ordinarily, that wouldn't be an issue because when someone is creating their recipes they'd naturally put something in the box there. Since it seems like you only imported the plugins, and didn't start building anything in it yet, your param is probably still blank.

Just open the below parameter and then close it again and it should be replaced with the [] instead of nothing.

Edit:
Good news, I just duplicated this error by deleting my recipe list in the test plugin, which tells me the problem is almost definitely exactly what I said. 🙂

So glad you're quick to answer. I will be sure to make this fix and then devour that tutorial you wrote. Very excited 🙂
In version 1.09 of Parry for MV, there's a typo in your default custom reaction that causes parrying to fail if your Parry Calculation Type isn't set to Individual.

After the code block for "Individual" it has else if (MWType == "Offhand"), but the variable's name is MWPType.

When viewing the code in the plugin parameter box, that's line 23.
@ATT_Turan
Right you are. I have corrected this, and will upload the fixed version shortly. 🙂
I really hope you're still answering questions! So, I have downloaded the RMMV version of the crafting plugin, but for some reason the plugin command: CallCrafting does not work at all. CallCrafting Cooking and CallCrafting both do not work, and do not bring up any windows. I had yanfly plugins on, but I've removed every single one of them including the core engine, and it still doesn't work and acts like I have left the "yes" choice to my "Want to cook?" question blank. Is there something I'm doing wrong? I have the latest version of rpg maker mv, and the version of your crafting plugin that was updated 53 days ago according to the itch.io page. Any help or clearing up on this confusion would be much appreciated!

Thank you in advance! 🙂
I really hope you're still answering questions! So, I have downloaded the RMMV version of the crafting plugin, but for some reason the plugin command: CallCrafting does not work at all. CallCrafting Cooking and CallCrafting both do not work, and do not bring up any windows. I had yanfly plugins on, but I've removed every single one of them including the core engine, and it still doesn't work and acts like I have left the "yes" choice to my "Want to cook?" question blank. Is there something I'm doing wrong? I have the latest version of rpg maker mv, and the version of your crafting plugin that was updated 53 days ago according to the itch.io page. Any help or clearing up on this confusion would be much appreciated!

Thank you in advance! 🙂
Hey there.
Can you open the console (f12) and see if there are any errors being thrown? If something causesa crash in the plugin before the title screen, like an invalid plugin parameter, it can cause the whole thing not to load, which would create a sort of silent failure, where the plugin command would do nothing because it hasn't been defined.
Crafting system supports the YEP plugin suite, so there should be no conflict with them specifically.
Also make sure you've got the crafting core plugin, and that the crafting system plugin is loaded after it in your plugin order.
Hey there.
Can you open the console (f12) and see if there are any errors being thrown? If something causesa crash in the plugin before the title screen, like an invalid plugin parameter, it can cause the whole thing not to load, which would create a sort of silent failure, where the plugin command would do nothing because it hasn't been defined.
Crafting system supports the YEP plugin suite, so there should be no conflict with them specifically.
Also make sure you've got the crafting core plugin, and that the crafting system plugin is loaded after it in your plugin order.
Nothing comes up for me--

I kinda gave up with that due to the fact that nothing appears wrong in your code and my rpg maker mv program detects nothing wrong, so I attempted to use the item synthesis method through yanfly, which works totally fine, but there is an issue with the add on I got from you. Once I have my categories in, the menu shows the item categories perfectly fine, but once I use the OpenSynthesis command it instead says Undefined (Category Name), such as undefined Clothing.

Any ideas why the OpenSynthesis command would show this instead of just the word Clothing or any other category I've created?

EDIT: A friend and I figured it out! For some reason, the craft category text parameter just refused to be called and I was able to turn the code to just use "Craft" instead of calling to the parameters the plugin has. I don't know why it wouldn't call the parameters and I even went in, rewrote the word, hit ok, and it wouldn't process. I'm unsure if your parameter call has a syntax error or what, but I've thankfully fixed it and have an amazing crafting system with nearly unlimited ingredient options and neat organization with your plugin extension!
My previously working weapon-specific skills are no longer work with the addition of the Ramza_DualWield plugin and "off-hand" weapons added under "types." I'm still using YEP_Skillcore as well. I know "offhand" is affecting it, but not sure which part of my custom JavaScript (courtesy of Ramza) needs to be tweaked to fix the skill.

The Long-short of it is, the skill should work only when the main hand and offhand weapon of the same type is equipped. Adding the screenshots, skill notes, and link to an old post in case needed.

Ramza, any help would be appreciated! Thanks! 🙂

<Dual Wield Skill>

<Custom Show Eval>
var wpnType1 = (user.equips()[0]) ? user.equips()[0].wtypeId : 0
var wpnType2 = (user.equips()[1]) ? user.equips()[1].wtypeId : 0
if (wpnType1 == wpnType2 && wpnType1 == 9) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>

RMMV - YEP_SkillCore Dual-wielding Weapon-specific Skills / JavaScript Assistance (SOLVED)​

Community, Utilizing YEP_SkillCore plugin, is there a way via JavaScript to make certain Skills only visible if you're dual-wielding two of the same weapons- i.e. x2 daggers?? Similar to the script below, in which skills are only visible when user is in "Stealth" state. I would greatly...
forums.rpgmakerweb.com
forums.rpgmakerweb.com
My previously working weapon-specific skills are no longer work with the addition of the Ramza_DualWield plugin and "off-hand" weapons added under "types." I'm still using YEP_Skillcore as well. I know "offhand" is affecting it, but not sure which part of my custom JavaScript (courtesy of Ramza) needs to be tweaked to fix the skill.

The Long-short of it is, the skill should work only when the main hand and offhand weapon of the same type is equipped. Adding the screenshots, skill notes, and link to an old post in case needed.

Ramza, any help would be appreciated! Thanks! 🙂

<Dual Wield Skill>

<Custom Show Eval>
var wpnType1 = (user.equips()[0]) ? user.equips()[0].wtypeId : 0
var wpnType2 = (user.equips()[1]) ? user.equips()[1].wtypeId : 0
if (wpnType1 == wpnType2 && wpnType1 == 9) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>

RMMV - YEP_SkillCore Dual-wielding Weapon-specific Skills / JavaScript Assistance (SOLVED)​

Community, Utilizing YEP_SkillCore plugin, is there a way via JavaScript to make certain Skills only visible if you're dual-wielding two of the same weapons- i.e. x2 daggers?? Similar to the script below, in which skills are only visible when user is in "Stealth" state. I would greatly...
forums.rpgmakerweb.com
forums.rpgmakerweb.com
So is the issue that the skill doesn't show up at all, or that it's visible when it shouldn't be? Or some other issue? The dual wield plugin does make some changes under the hood when it checks to see if a skill is enabled, specifically if the skill is set to require a certain weapon, it will force the skill to be locked to the offhand if that single wtype is only in the offhand, for example. But that shouldn't affect the ability for the skill to be seen on the skill list, as it does that check during the actual use of the skill, later.
If the problem is more mechanical with the skill, it might be because at a certain point each weapon is unequipped in order to show the correct weaponsprite. If you have, say a weapon in the mainhand which provides the dual wield state to the wearer, when they go to attack, the offhand weapon will be momentarily unequipped, then re-equipped after the first hit, then the same happens to the mainhand weapon, but if the mainhand weapon was allowing dual wielding, the offhand would also be unequipped, causing a barehanded attack, or more likely no second swing at all.
Your first paragraph maybe implies that the offhand weapons might be set to be etype 2 (offhand) in the system tab, which dual wield would not expect a weapon to belong to, so that could also be causing a problem.

EDIT: A friend and I figured it out! For some reason, the craft category text parameter just refused to be called and I was able to turn the code to just use "Craft" instead of calling to the parameters the plugin has. I don't know why it wouldn't call the parameters and I even went in, rewrote the word, hit ok, and it wouldn't process. I'm unsure if your parameter call has a syntax error or what, but I've thankfully fixed it and have an amazing crafting system with nearly unlimited ingredient options and neat organization with your plugin extension!

I think this might be a compatibility issue with the latest version of the YEP_ItemSynthesis plugin. I had made that extension with an older version from before the plugins went behind a paywall, and I don't have access to the newer versions anymore. It sounds like maybe they added some extra keyword to their plugin command that my alias wasn't expecting, and ended up doing weird stuff to the command names as a result.
So is the issue that the skill doesn't show up at all, or that it's visible when it shouldn't be? Or some other issue? The dual wield plugin does make some changes under the hood when it checks to see if a skill is enabled, specifically if the skill is set to require a certain weapon, it will force the skill to be locked to the offhand if that single wtype is only in the offhand, for example. But that shouldn't affect the ability for the skill to be seen on the skill list, as it does that check during the actual use of the skill, later.
If the problem is more mechanical with the skill, it might be because at a certain point each weapon is unequipped in order to show the correct weaponsprite. If you have, say a weapon in the mainhand which provides the dual wield state to the wearer, when they go to attack, the offhand weapon will be momentarily unequipped, then re-equipped after the first hit, then the same happens to the mainhand weapon, but if the mainhand weapon was allowing dual wielding, the offhand would also be unequipped, causing a barehanded attack, or more likely no second swing at all.
Your first paragraph maybe implies that the offhand weapons might be set to be etype 2 (offhand) in the system tab, which dual wield would not expect a weapon to belong to, so that could also be causing a problem.



I think this might be a compatibility issue with the latest version of the YEP_ItemSynthesis plugin. I had made that extension with an older version from before the plugins went behind a paywall, and I don't have access to the newer versions anymore. It sounds like maybe they added some extra keyword to their plugin command that my alias wasn't expecting, and ended up doing weird stuff to the command names as a result.
It can be seen on the skill list in battle, but it's grayed out and cannot be used. My best guess is that before, I had dual-wielding basic with no "offhand" weapons. The character would use two main-hand weapons. Now that I designed an offhand weapon, the character can't use the skill.

My intent with the offhand weapons was to have characters able to dual-wield without being OP. Given I have an augment system for weapons, only the main-hand weapons can be augmented. If a character had two augmentable weapons, it would make my game unbalanced. Offhand is also the "shield" slot. Otherwise, I could have offhand weapons be unable to be augmented, but I would need the character to be unable to equip x2 augmentable weapons.
I just noticed what you said about the main-hand weapon and saw that in-game. That does present another problem of a character being able to use x2 main-hand weapons, so I'll have to address that as well. I had the main hand weapon tagged <Mainhand> and offhand weapons and shield tagged <Offhand>, yet a character can equip x2 <MH> tagged weapons if they have dual wield ability.

Update: If I remove the <Dual Wield Skill> tag it fixed the issue with being unable to use the skills, but I still have the issue of being able to equip x2 main-hand weapons. Thanks!

Sorry for double-posting!
I just noticed what you said about the main-hand weapon and saw that in-game. That does present another problem of a character being able to use x2 main-hand weapons, so I'll have to address that as well. I had the main hand weapon tagged <Mainhand> and offhand weapons and shield tagged <Offhand>, yet a character can equip x2 <MH> tagged weapons if they have dual wield ability.

Update: If I remove the <Dual Wield Skill> tag it fixed the issue with being unable to use the skills, but I still have the issue of being able to equip x2 main-hand weapons. Thanks!

Sorry for double-posting!
Dual Wield has functions build into the equip scene, specifically the function that checks to see if a weapon can be equipped, which checks if the weapon is main or offhand only, and what slot the weapon is trying to be equipped into, and then sends a false if they don't match, eg: the offhand weapon is trying to be put in the mainhand slot.

I ended up having to do this by overwriting the function at the time, which isn't ideal, and means that depending on load order, some other plugins might override my changes, so this mainhand issue could be a load order problem. If you have YEP_EquipRequirements, for example, that might be one that overrides my changes there.

As long as the weapon is a weapon, and has the <mainhand> tag, it should not be equippable in the offhand slot at all, as long as the actor is dual wield type, anyway.
Dual Wield has functions build into the equip scene, specifically the function that checks to see if a weapon can be equipped, which checks if the weapon is main or offhand only, and what slot the weapon is trying to be equipped into, and then sends a false if they don't match, eg: the offhand weapon is trying to be put in the mainhand slot.

I ended up having to do this by overwriting the function at the time, which isn't ideal, and means that depending on load order, some other plugins might override my changes, so this mainhand issue could be a load order problem. If you have YEP_EquipRequirements, for example, that might be one that overrides my changes there.

As long as the weapon is a weapon, and has the <mainhand> tag, it should not be equippable in the offhand slot at all, as long as the actor is dual wield type, anyway.
Ah, never mind, I made a rookie mistake! I was testing dual-wielding in battle testing, which allows two main hand weapons to be equipped. When trying to equip x2 main-hand weapons (with the tag) in-game on a dual wield character, the plugin functions the way it was designed, and the character cannot do so.

Thanks again for all your help, Ramza! I will absolutely credit you when my game is finally finished. You've been a lifesaver.

Original thread: https://forums.rpgmakerweb.com/threads/ramzas-plugin-suite-support-topic-megathread.108140/