MV Character Incorrectly Being Added With Equipment

I'll keep this simple. My problem is that when I am adding a character to my party, they are starting with items, specifically Armors, I have not assigned them in the Actors page of the database. I have made sure that I am working with a clean save file every time I start. I am in fact Initializing the Actors the first time I add them to the party.
I have done some troubleshooting and it appears to be a consequence of the following Yanfly Plug-Ins:
  • YEP_EquipCore
  • YEP_ItemCore
If both of them are turned off, this behavior does not occur. If either of them are turned on, the behavior does occur. I do have the YEP_CoreEngine Plug-In installed.
Important things to note:
  • The equip slot in question is called "Passive". I am utilizing an Armor Type for this role. Currently, the idea is to allow up to three Passives; hence why I am utilizing YEP_EquipCore.
    • I have taken to calling these Passives that keep equipping regardless of if they are assigned or not, "Zombie Passives". Note that is just a name I'm giving them as a consequence of this behavior.
      • This behavior imitates an item set-up that Actor #0002 at one point had temporarily. However, these Passives were never equipped to Actor #0003-#0006, so it's absurd that the Zombie Passives are applying specifically to those 4 in addition to Actor #0002.
    • There is almost certainly a better way to do this than how I am going about it. If this is the case, please let me know. However, this was the way I felt worked best for me.
  • It is currently intended for an Actor to start without a Passive and be able to gain one later. The initial problem is that they are starting with three Zombie Passives.
    • Equipped Passives are intended to be incapable of being unEquipped except if being replaced by another Passive. This is a behavior introduced by YEP_EquipCore.
    • The Zombie Passives once spawned act just like any other Passive and can be removed if allowed, swapped if I have another suitable Passive, or even sold if I want. This behavior only affects the character when added to the party.
  • The only Actors gaining these unwanted Passives are Actors being added to the party after the game starts. The player character (Actor #0001) is being created with exactly the items he/they/she/Name/custom were assigned in the database. There are no Zombie Passives at play for #0001 nor for #0007 and onward.
  • There is no uniformity to the Actors.
    • Different Names
    • Different ID#s
    • Different Classes
    • Different Arts
    • Different Assigned Equipment
  • The Actors I am adding to the player's party should not have any Passives when they start... at least not as I am currently testing things. I'm trying to make sure the fundamentals are working correctly and if something is not working right, then why is it not working right? I can iron out more specific behaviors in the future.
  • Assigning a Passive through the Actor section of the database to the Passive slot does not make a difference as it is being Overwritten by a Zombie Passive regardless.
    • Even if it wasn't being immediately overwritten by a Zombie Passive, I can only assign one Passive this way due to the way RPGMaker MV handles multiple slots with the same name natively. I am reliant on the Plug-In to allow me to assign new Passives... and it isn't working.
  • Removing the Passives through the Event that makes the party member join sort of patches this issue... if you ignore the fact it then puts the Passive into the inventory and, since I don't know what's causing this behavior so I can't be sure using a command to delete the item from inventory will always get the Passive in question... after all, what if it changes?
  • Changing the number of Passive Slots does not fix the issue. I just get Passives filling up the new slots or they don't have slots to fill and therefore all available are filled and not one more.
  • Starting a new save file between tests does not fix this.
    • Deleting the old save file then making a new save file does not fix this.
    • Trying to get help before I resort to remaking my game wholesale and hoping the issue doesn't repeat itself. Remaking the game is probably the better call as it lets me streamline a bunch of other things... but as long as I do not know what is causing this glitch, there's a danger it may repeat itself. So I'd rather know...
      • What went wrong?
      • How can I fix it?
      • How can I prevent this from happening again while still being able to use the Plug-Ins?
By functionality, I could understand if only YEP_EquipCore was causing this behavior. However, the fact it is being caused by both YEP_EquipCore and YEP_ItemCore is particularly puzzling. The Zombie Passives should only be capable of functioning how they are because of YEP_EquipCore. So YEP_ItemCore should have nothing to do with this behavior.

I appreciate any assistance provided in solving this issue. If you have any questions not addressed by this, please ask and I'll try to answer to the best of my ability.

I would provide Screenshots, but I'm not sure what would really be relevant here especially since I've messed with a bunch of settings since the start of this all of which getting me nowhere fast. How my stuff looks now isn't at all related to how it was and the issue seems to be less the event and more the Plug-In, especially since changing Actor's to be added is enough to make it work. (Hence how I know what the limits of the range of Actors affected are.)

EDIT: This is my Plug-In Manager. I believe everything is in the right order and up-to-date.

1690736566425.png
The most important screenshot is that of your plugin manager to see what plugins you have installed, which versions and which order.

Yanfly's plugins are known to cause strange or random errors or effects if they are placed in the wrong order - everything has to be in exactly the order of his main list on his website to function correctly.
So that would be my first guess as to what causes this.

EDIT:
when adding new actors the first time, did you initialize them in the event command?
this has to be done at first use but should never be done at later times, because initialization here means "load default database values" while without initialization the last stored values from previous uses remain - just that in some rare cases those are random if the actor was never initialized before.
The most important screenshot is that of your plugin manager to see what plugins you have installed, which versions and which order.
Updated initial post accordingly.

Yanfly's plugins are known to cause strange or random errors or effects if they are placed in the wrong order - everything has to be in exactly the order of his main list on his website to function correctly.
So that would be my first guess as to what causes this.
I tried to make sure they were in the right order but I could have been off. Given it is specifically, with either the EquipCore or ItemCore loaded that this happens, I also assumed it was probably the Plug-Ins acting up.

EDIT:
When adding new actors the first time, did you initialize them in the event command?
The first time I added them ever? No, because I did not know that was necessary.
The first time I added the Actors in the new Save Files? Yes, because by that point I had seen the warning. Reminder, this only happens with those two YEP Cores loaded. (Element Core, as you can probably assume, is in no way affecting this.)
Things to note, however:
  • Even on a fresh Save, this is an issue.
  • Even when the old Save data is deleted, this is an issue.
I was hoping I could find a way to force clear the memory in case this was the issue; however, something I should have mentioned but didn't (given it was so late into the night it was morning)...

RPGMaker MV was exhibiting weird behaviors when I tried making the Passives. Primarily, when putting Passives at the start of the Equipment Types, it was trying to treat the first one like it was a Weapon slot, not an Armor slot. Changing the order fixed the issue, but it's a bug that was heavily inconvenient at the time. It's likely unrelated; however, given iti's another bug pertaining to this same situation, I should note it just in case.

I did not thoroughly Troubleshoot that bug, btw. I only did what it took to fix it and not an ounce of labor more.
This has to be done at first use but should never be done at later times, because initialization here means "load default database values" while without initialization the last stored values from previous uses remain - just that in some rare cases those are random if the actor was never initialized before.
I've only done the first-use loading of the Actors in the save file. I have not removed them from party then re-Initialized the Actor, except for once while troubleshooting to see what happens. (Same as before.) I understood this ("Add Initialized Actor to Party the first time the player gets them") to be what was meant by Initializing on "first use" as it makes no sense for the data to transfer across saves given RPGMaker MV, to my understanding, does not have Persistent Variables without the Developer going in and adding that as a feature.

If I am misunderstanding, please correct me.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thank you so much by the way for providing me assistance on this. I want to understand it so I can avoid this happening again in the future, and if it does happen... hopefully I can learn a way to fix it. I hope you have a lovely day! 🙂
I tried to make sure they were in the right order but I could have been off.
yes, they are in the wrong order.
if you check the list here:
you'll see that all equip plugins are below all item plugins.
Thank you again for the fast reply!
yes, they are in the wrong order.
I always tried to keep them in the order as shown in the Tutorial vides YanFly did, so oof.
if you check the list here:
you'll see that all equip plugins are below all item plugins.
So, I moved them to resemble the list you sent me... but there was no change. The issue still persists even on a fresh Save. This makes sense though since the issue still exists even when only one of the two Plug-Ins is ON, as I had previously mentioned. However, it was still worth trying even if it didn't pan out.

The following screenshots are in order...
  • The Plug-In Manager
  • The Actor's Page
  • The Event Page
  • The Equip Screen of the Character Immediately after Adding the Actor
1690739527807.png

1690739483935.png

1690739597492.png

1690739693573.png


  1. Yes, I know I should name the Events for better organizational and reference reasons. EV004 is hard to remember and specifically reference. I get that. This is how it is for testing purposes.
  2. The second page on Therese is just a blank page to make sure that while you have Therese, she does not show up and cannot be interacted with.
  3. Please ignore the messy backdrop. This is just a Testing Map where I make sure events work how I want them and then I can store them for use as references later when I want to see how to do something.
Unless you really like the UI of this being in the equipment screen, it seems like you'd be better served by using Yanfly's Equip Skills for this. As a player, these things don't look like they're equipment to me.

As for your bug, I've seen other people with a similar issue say they solved it by deleting and re-adding the equipment on the actor in the database.

RPGMaker MV was exhibiting weird behaviors when I tried making the Passives. Primarily, when putting Passives at the start of the Equipment Types, it was trying to treat the first one like it was a Weapon slot, not an Armor slot. Changing the order fixed the issue
Please clarify. If you mean in-game, then yes, fixing the order of the plugin probably fixed it. If you mean something was acting weird in the editor, it's not possible for plugins to affect that.
Unless you really like the UI of this being in the equipment screen, it seems like you'd be better served by using Yanfly's Equip Skills for this. As a player, these things don't look like they're equipment to me.
Two things:

1. That plugin would potentially get in the way of just using skills freely, which may be something the OP wants.

2. I can only guess, but I assume OP wants equippable bonuses to help modify party members. I think such a function works well enough on the Equip screen.
Unless you really like the UI of this being in the equipment screen, it seems like you'd be better served by using Yanfly's Equip Skills for this. As a player, these things don't look like they're equipment to me.
I appreciate the Plug-In recommendation. I'm fairly new to using MV so I am unfamiliar with what Plug-Ins are available and try to minimize the number of Plug-Ins I'm using because I want to reduce the risk of unexpected issues. So I was making use of what I thought could work.

The main issue I have with YEP_EquipSkills is that I don't want the Passives to be visible when choosing skills (therefore causing needless clutter). By putting them at the tail end of the Equipped Items, it keeps it more out of the way. (There are other reasons I did it this way; however, the point of the post is to fix an issue with Equipment Glitching. So I'd rather avoid going into that as it'd be off-topic, though I can explain in PMs or I can make a new post asking for help on making what I would ideally want. I just haven't made such a post because it's bad manners to write a request for help on how to write a script for a programming language you do not know given you should only make those requests once you at least know that language's basics.)
As for your bug, I've seen other people with a similar issue say they solved it by deleting and re-adding the equipment on the actor in the database.
Reminder, as seen in the previously attached images, I have no equipment in that slot on the character in the database. The point is to start with None for now. Perhaps I am misunderstanding what you mean?
Please clarify. If you mean in-game, then yes, fixing the order of the plugin probably fixed it. If you mean something was acting weird in the editor, it's not possible for plugins to affect that.
It was an issue in the editor. And I know it's not possible for the Plug-Ins to affect that as they only influence behaviors of things in-game. I'm not saying the Plug-In did that. I'm saying that this was an issue that appeared at the start when I was trying to get this mechanic set-up in the first place. As I said, I am only noting it because it was another bug involving how the Equipment worked and acknowledged it as likely being unrelated; however if it is related, then it would be a contributing factor the glitch that I'm seeing, and obviously not vice versa.

I do appreciate you taking the time to try and help.

Two things:

1. That plugin would potentially get in the way of just using skills freely, which may be something the OP wants.
That is correct. It would add clutter to the screen and also be generally less convenient for some off-topic elements of discussion. But I appreciated the contribution from Turan anyways as it does provide another way of doing Passive Effects, which is useful for me to be aware of.
2. I can only guess, but I assume OP wants equippable bonuses to help modify party members. I think such a function works well enough on the Equip screen.
This is correct. I will also likely (at some point) be renaming them from "Passives" to better fit the worldbuilding... but I care about getting my fundamentals down first.
Reminder, as seen in the previously attached images, I have no equipment in that slot on the character in the database. The point is to start with None for now. Perhaps I am misunderstanding what you mean?
Try clicking it onto something so the actor has an initial item selected, save your project, set it back to None and save. I'm not promising it'll do it, I just recall seeing a thread with a similar issue a few days ago that said it was solved by re-selecting the contents of the slot.

I just haven't made such a post because it's bad manners to write a request for help on how to write a script for a programming language you do not know given you should only make those requests once you at least know that language's basics.)
We all appreciate your concern for propriety. But I don't think anyone here would agree/hold you to that - that's the point of the Plugin Request forum, to get small pieces of code written for you that you don't know how to do. Many people are helped with threads every day who have no clue how to write any JavaScript.
Try clicking it onto something so the actor has an initial item selected, save your project, set it back to None and save. I'm not promising it'll do it, I just recall seeing a thread with a similar issue a few days ago that said it was solved by re-selecting the contents of the slot.
Still getting Hero's Luck on her despite this. Which makes sense because I did already try this before, just not intentionally for this specific reason. As I said in the Opening Post, I tried to put an item in that slot and the game was still overwriting it with Zombie Passives.
We all appreciate your concern for propriety. But I don't think anyone here would agree/hold you to that - that's the point of the Plugin Request forum, to get small pieces of code written for you that you don't know how to do. Many people are helped with threads every day who have no clue how to write any JavaScript.
I'll consider putting in a Plug-In Request then. It just makes me feel uncomfortable to ask for help on making a Plug-In when I can't at least try and take efforts to figure something out first to show I at least tried. But that's just me coming from a writing background where it's considered inappropriate to just ask people to do your writing for you. Old habits hard to buck.

If I have to I can just remake the project. Most of what I have isn't anything that can't be redone quickly enough. I'm just concerned about why this happened the way that it did because I want to avoid it happening in the future when I actually have a lot to lose.

Additionally, is my understanding of "First Use" accurate: the first time in a Save File that you Add the Actor needs them initialized, not just the first time you ever add them even across save files?
I'll consider putting in a Plug-In Request then. It just makes me feel uncomfortable to ask for help on making a Plug-In when I can't at least try and take efforts to figure something out first to show I at least tried. But that's just me coming from a writing background where it's considered inappropriate to just ask people to do your writing for you. Old habits hard to buck.
Understandable.

That said, there are free resources for a reason. A big part of this community is helping others, be that through pointing folks in the right direction or even cranking out a plugin. The engine would kinda flop as a tool for novices to enjoy if they absolutely needed coding knowledge to get by.
Additionally, is my understanding of "First Use" accurate: the first time in a Save File that you Add the Actor needs them initialized, not just the first time you ever add them even across save files?
Save files don't really have anything to do with your game. Unless you install a plugin to do so, there's nothing in a specific save that can affect anything else you do.

You need to initialize an actor the first time in your game they're added to your party, if you want them to have the initial equipment you selected.

You could try to work around your problem by not initializing them and using event/script commands to add the specific gear you want. (sorry if you said you already tried not initializing, your first few posts are kinda really long 😛)
Save files don't really have anything to do with your game. Unless you install a plugin to do so, there's nothing in a specific save that can affect anything else you do.
That's the assumption I was acting under since this isn't like Ren'Py where persistent variables are a thing.
You need to initialize an actor the first time in your game they're added to your party, if you want them to have the initial equipment you selected.
That's what I assumed and how I was handling it. Just wanted to make sure I wasn't handling this incorrectly.
You could try to work around your problem by not initializing them and using event/script commands to add the specific gear you want.
I did try this, but it put the incorrectly pre-loaded gear in my inventory. And while I could work around it by then telling the game, "Yeah, delete this"... if I don't know the cause of the glitch and don't know if it will stay consistent, I feel uncomfortable doing something that might mess things up further in the long run.
(sorry if you said you already tried not initializing, your first few posts are kinda really long 😛)
They're long primarily to make sure everything people need to know is known. I don't like when I'm helping someone with something and I have to drag every last answer out of them. So by putting all possibly relevant information on the table, I figured it would make it easier for people to sort out what [went/I did] wrong.

Is there any way potentially to clear the game's memory in case something is just lodged there? Just trying to cover all my bases before I give up and restart.
That's the assumption I was acting under since this isn't like Ren'Py where persistent variables are a thing.

That's what I assumed and how I was handling it. Just wanted to make sure I wasn't handling this incorrectly.

I did try this, but it put the incorrectly pre-loaded gear in my inventory. And while I could work around it by then telling the game, "Yeah, delete this"... if I don't know the cause of the glitch and don't know if it will stay consistent, I feel uncomfortable doing something that might mess things up further in the long run.

They're long primarily to make sure everything people need to know is known. I don't like when I'm helping someone with something and I have to drag every last answer out of them. So by putting all possibly relevant information on the table, I figured it would make it easier for people to sort out what [went/I did] wrong.

Is there any way potentially to clear the game's memory in case something is just lodged there? Just trying to cover all my bases before I give up and restart.
The cause of this generally seems to be a phantom value being retained in the json file that keeps replacing what's in the database. The fix is to change it to something else and resave, but I'm not sure specifically what's being overridden.

A more reliable method if you're comfortable with it would be to open Actors.json, find the offending value for the ID of the unwanted item in the initial equips section of the data, and change it to what you want it to be.
The cause of this generally seems to be a phantom value being retained in the json file that keeps replacing what's in the database. The fix is to change it to something else and resave, but I'm not sure specifically what's being overridden.

A more reliable method if you're comfortable with it would be to open Actors.json, find the offending value for the ID of the unwanted item in the initial equips section of the data, and change it to what you want it to be.
This fixed it. The phantom value, comedically enough, was set to "null". I am unsure why that happened, but changing it to 0 fixed that problem. And, in turn, I can now set the Passives to be anything I want and change them back freely again.

TLDR: It's working correctly now. Thank you so much!
This thread is now closed due to being solved. If you need it reopened, report it to let us know why.

Original thread: https://forums.rpgmakerweb.com/threads/character-incorrectly-being-added-with-equipment.159860/