[Help] Contacting Yanfly?

I have finally completed my plugin, however I was testing with other plugins for compatibility and I ran into a snag.

YEP_ItemCore's independent items conflicts with how I save/load item-based switches and variables (arrays) since I save onto the actor's equip slots and not the database items themselves.

So I am trying to get a hold of the author to see if I require permission (as I'm sure I would?) to alias/overwrite (in other words, copy some of their code from YEP_ItemCore) to make them compatible. I suppose there is Patreon but I don't want to have to make an account just to contact someone :\
As I've already answered in a certain discord channel, you already have the permission.
Terms of use for future reference
http://yanfly.moe/terms-of-use/

Since you're not copying, you're extending/aliasing theirs, that's certainly fine.
As I've already answered in a certain discord channel, you already have the permission.

Yeah sorry. I posted it and just thought about the discord group. Appreciate it. This is going to take me quite some time to sift through lol

Still kind of want to contact Yanfly about it though :\ But I assume they're pretty busy as it is with their own projects, but I mean even if they're willing to get in a side conversation that they can answer at their convenience, I'd love to ask some questions related to the plugin. I'm all confused.
Ahem ... @Yanfly ?

Ah... yes... sometimes the simplest methods escape me *feels derpy*.
Just keep in mind how busy Yanfly is, and that he locked his threads here and comments on his blog because people kept asking for support for things that didn't really require support (among other reasons). You already have your answer, and you never need permission to write a patch to make one script compatible with another, so I'm not sure what you expect Yanfly to do or say, apart from verifying what everyone else has already said (ie - answering a question that has already been answered).
Just keep in mind how busy Yanfly is, and that he locked his threads here and comments on his blog because people kept asking for support for things that didn't really require support (among other reasons). You already have your answer, and you never need permission to write a patch to make one script compatible with another, so I'm not sure what you expect Yanfly to do or say, apart from verifying what everyone else has already said (ie - answering a question that has already been answered).

Well mostly in hopes to answer some questions about some of the functions within the Item Core plugin. Trying to grasp what is going on in some of them so I can better understand how to work with it, and I'm not sure if I can be copy/pasting snippets of code here on the forums to ask for help?

Although you're pretty good at JavaScript and you've helped me in the past (really appreciate that by the way), would you be willing to help in Yanfly's absence? 🙂 Sometimes having other eyes can see things that my eyes miss!

EDIT: For specifics, I might want to move this conversation to a PM, but the gist of it is this: To get my plugin to work well with items, I initialized switch and variables arrays on Game_Item() (so that
Code:
actor._equips[i] = new Game_Item();
Then it's all setup already), but with YEP_ItemCore, there's something else going on in there that renders my functions getting no item (because of independent items). I would just like some collaboration is all to get it to work properly, but I do understand the busy schedule which is also why I'm okay if there's no answers even weeks or a month at a time.

Granted if you're willing to help me however... I would really really super duper appreciate the assist (and naturally another credit spot ^_^).
I am not familiar with Yanfly's scripts, and I don't provide assistance via PM, so I can't help with your questions. However, there is no reason to ask for Yanfly's help specifically. There are plenty of people on the forum who could answer your questions if you explain what you're trying to do and what the issue is.
Well it's hard for me to explain specifically. Currently I am going step by step of the Item Core's functions and figuring them out, so far it doesn't look like they actually conflict with the equip slots... which is good, so the issue I was having must be in the party inventory (the independent items).

My functions allow for saving and retrieving switches and variables after they've been initialized. So.. for examples then:
Code:
Game_System.prototype.obvSetVariable = function(object, variableId, value) {
    if (variableId > 0 && variableId <= LordV.OBV.maxVariables) {
        if (typeof value === 'number') {
            value = Math.floor(value);
        }
        object.variables[variableId] = value;
    }
};
Retrieving the value:
Code:
Game_System.prototype.obvVariableValue = function(object, variableId) {
    return object.variables[variableId] || 0;
};
Then I of course made 3 arrays (items | weapons | armors) for the party inventory and alias'd the DataManager methods to save/retrieve the contents for persisting through save files. Here are a couple functions I use for the containers:
Code:
Game_Party.prototype.saveItemData = function(item) {
    var storage = this.getItemDataStorage(item);
    if (item && !storage[item.id]) {
        storage[item.id] = { switches: [], variables: [] };      
    }
};

Game_Party.prototype.getItemDataStorage = function(item) {
    if (!item) return [];
    if (DataManager.isItem(item)) return this._itemData;
    if (DataManager.isWeapon(item)) return this._weaponData;
    if (DataManager.isArmor(item)) return this._armorData;
    return [];
};
Now the problem comes into play with the independent items. If I try to get the item data, setting or getting the switch or variable it gives me the error pointing to that item being null. Example: Actor gets a {Sword} (in party inventory) and I save Switch 1 to true on it:
Code:
var actor = $gameParty.leader();
var item = $gameParty.weapons()[0]; // sword ID - 1
var storage = $gameParty.getItemDataStorage(item)[item.id];
if (storage) {
    $gameSystem.obvSetVariable(storage, 1, true);
}

I have confirmed that the "storage" exists (because on gainItem, it initializes the switches and variables arrays through saveItemData() above). I don't get this error when I have YEP_ItemCore turned off, so I'm trying to locate the exact problem so I can either alias or overwrite it.

My theory: The independent item just creates a copy into the inventory and thus my own containers (_.itemData | ._weaponData | ._armorData) arent' getting any actual data?
Welp.... nevermind. I overloaded all of my functions with console.log messages for debugging and I found the issue. Was in my "changeEquip()" function, along with my storage methods... but by golly I got it lol. So.. sorry for the inconvenience everybody! I'll report this to be closed now. Thank you for your time ^_^
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/help-contacting-yanfly.109585/