MV Actors automatically unequipping everything after buying level-restricted equipment

Hello!

After a thorough investigation, I found out what led my party's equipment to simply unequip automatically in my game. This happens under these conditions:

- My character(s) is/are equipping pieces of equipment.
- I open a shop, browse through it, and then choose equipment with a minimum-level restriction (YEP_X_EquipRequirement).
- I select a piece of equipment in a shop that one or more characters could equip if it weren't for their current level. Example: A wizard can normally equip a wand, but this specific wand I bought is restricted to level 31 or more, so if I have a wizard (or any other class that can equip wands) under this level in my party, all their equipment will be unequipped at the moment I select the wand in the shop.

I tested this multiple times before concluding this is what happens, and it even affects more than one character at the same time if they all can use the same kind of equipment but haven't reached the necessary level yet.

I suspect it has something to do with YEP_X_EquipRequirement. I browsed its parameters but couldn't find anything that gave me an answer as to why this is happening. I also created a new project with only YEP_EquipCore and YEP_X_EquipRequirement and tested selecting/buying equipment that a character of its related class couldn't equip because of the level, but the issue didn't happen. So, this plugin alone doesn't seem to be the issue.

I've also revised my plugin list order and it seems ok, following the official Yanfly order. However, I'm posting it below.

Furthermore, I've checked this forum for this problem but couldn't find any post about it.

In my original game, the issue happens both with YEP_ShopMenuCore and with BO_CustomShops (and used to happen before I added the latter). I've tested YEP_ShopMenuCore in a separate project, but the issue doesn't happen there.

How can I prevent this issue from happening? What other plugins should I test in a separate project?

Thanks a lot in advance!

Here is my plugin list:
1730517540515.png
1730517565416.png

1730517582145.png
1730517595664.png
1730517619389.png
If it doesn't happen with those plugins in a new project, you need to find out why it's happening in your project.

1 - Turn off all plugins except Yanfly's Equip Core and Requirements. Verify that fixes it while in your project.

2 - Start turning other plugins back on. You can be efficient by turning, like, half of your plugin list back on; if that doesn't break it, turn them back off and turn on the other half. Proceed logically.

3 - Identify the specific combination of plugins that's causing it.

Every time you turn plugins on or off, make sure to save your project and start a new play test - don't load a saved game.
Also, some of your plugins are mix up like BO_CustomShop which should above or
right below it (it was on his page where to place them I believe).

as some other plugin way below in the utility section (bottom) while they should
be higher in the list.

this can cause unwanted behavior as well.

so but every plugin correctly (core to core, battle by battle, menu to menu etc).

if some is overwriting a function and is below the one that aliased, the aliased function
is removed, so you need to set it above it.

if everything is correctly categorized (as I use 12 categories in total), it should work
without problem, as I use YEP, SRD, CGMV for the list of categories for maximum
compability (also easier to patch if required).
If it doesn't happen with those plugins in a new project, you need to find out why it's happening in your project.

1 - Turn off all plugins except Yanfly's Equip Core and Requirements. Verify that fixes it while in your project.

2 - Start turning other plugins back on. You can be efficient by turning, like, half of your plugin list back on; if that doesn't break it, turn them back off and turn on the other half. Proceed logically.

3 - Identify the specific combination of plugins that's causing it.

Every time you turn plugins on or off, make sure to save your project and start a new play test - don't load a saved game.

Also, some of your plugins are mix up like BO_CustomShop which should above or
right below it (it was on his page where to place them I believe).

as some other plugin way below in the utility section (bottom) while they should
be higher in the list.

this can cause unwanted behavior as well.

so but every plugin correctly (core to core, battle by battle, menu to menu etc).

if some is overwriting a function and is below the one that aliased, the aliased function
is removed, so you need to set it above it.

if everything is correctly categorized (as I use 12 categories in total), it should work
without problem, as I use YEP, SRD, CGMV for the list of categories for maximum
compability (also easier to patch if required).

Thanks for your help. Apparently, putting SRD_TranslationEngine above YEP_EquipCore and YEP_EquipRequirements solved the problem. I'll watch it to see if it happens again.

Original thread: https://forums.rpgmakerweb.com/threads/actors-automatically-unequipping-everything-after-buying-level-restricted-equipment.172971/