MV Conflicts with YanFly and MOG Plugins

Hello everyone,

So, recently, someone helped me with taking the items out of the MOG plugin and putting them into my project without having to change my battle system from the basic ATB one. Mostly everything works pretty well but I'm running into a couple of plugin conflicts and want to see if anyone has dealt with the same or similar and has some ideas.

Surprisingly, most of the plugins work well. The ones that don't are the ones built off the ItemCore plugin, and the ItemCore plugin itself. If I use YanFly's ItemCore, the first thing that happens is it DOES show the KeyItems correctly (there are bombs, hookshot, arrows, etc.) But for whatever reason Bombs is listed about 40 times with a factor of 0 in the Key Items menu, and arrows is listed another 30 or 40 times in the main menu with amounts like (34 / 100, 35 / 100), etc.

The reason this is a decent sized problem for me is the ItemCore plugin is needed to use the ItemUpgrade plugin, which is a feature I really want, and the ItemSynthesis plugin, which is a feature I feel is vital to my game, having a crafting / cooking system.

So my question is if anyone else knows of ways around this with the YanFly plugins or other plugins that do the exact same thing but don't conflict with MOG OR my other YanFly ones.

The last PlugIn that doesn't work with MOG is YanFly's PartySystem plugin, which I use to change my max battlers up to 6. I am a big fan of the Suikoden battle system and would really like to be able to have the 6 battlers, however when it's turned on, as soon as my playtest starts the entire screen is frozen and a lightning spell graphic (with sound and everything) just auto casts all over the screen nonstop.

does anyone know how to fix any of these problems? Thank you!
I'm guessing the first issue has to do with a Item Core setting to list each item individually, so if you have 30 arrows it shows arrow 30 times. The second issue I'd have to look into later but it actually doesnt freeze the game permanently, the lightning ends after a while then the game resumes.

The second issue is probably very specific to your game setup, so I'd have to look at it
OK, i figured youve already helped a lot so I didnt wanna throw too much on your plate so i took it here. That's good that the lightning isn't permanent, hopefully it can be stopped. The one thing I know for sure is the effect that's playing is from the MOG program because I dont have any lightning effects like that in my file.

As for the 30 arrow thing you must be correct because in order to get the arrows into the inventory i auto-played an event giving 30 arrows. However I'm not sure why the bombs wouuld also be affected with 30 or so slots.

EDIT: yeah i removed that autoplay arrow event and it no longer starts me with all those arrow slots. However the bombs issue still happens
Is there no setting in Item Core or its dependent plugins to turn off individual items?
Well it says "if you choose to have a maximum limit on your items weapons or armors they'll become independent and have their own individual stats" the parameters then set armor and weapons to 0 and items to 100, so I'm guessing that is saying id I also put items at 0 they won't be individual items anymore?

EDIT: Yes when I click on it the sub screen says of it's set the 0 there will be no independent items. Is that what I want?

Edit 2: Ahhh, I see. It did indeed fix it, at least with only the item core. I have to check the other ItemCore dependent plugs... So that's perfect as far as fixing the listing, but is that going to affect the ability to upgrade items or have item synthesis that the other ItemCore plugins stacked on to of it allow?
Ok, after looking at the project, your Yanfly plugins are out of order (this does matter for Yanfly plugins). They need to be ordered according to this list:

The lightning animation map effects issue actually seems to be stemming from a conflict with Yanfly Party Manager and the patch for Yanfly Item Core from Restart's Cross Engine. If you turn this off, or Yanfly Party Manager off, the lightning goes away. But if you turn this off then Item Core doesn't work.
JavaScript:
//==========================OTHER COMPATIBILITY PATCHES=============================
//compatibilty patch for yanfly itemcore
Game_Map.prototype.setup = function(mapId) {
    _mog_toolSys_gmap_setup.call(this,mapId);  // not defining this because I am leaping over mog's edit of this funciton
    //if we have the event spawner in play, make sure that we bracket both
    //ends of it, so we don't overwrite yan events with mog events
    if (Imported.YEP_EventSpawner)
    {
        this._events[CrossEngine.MaxEventSpawn+Yanfly.Param.EventSpawnerID]=undefined;
    }
 
    this._treasureEvents = [];
    this._battlersOnScreen = [];
    this._enemiesOnScreen = [];
    this._actorsOnScreen = [];
    $gameSystem._toolsOnMap = [];
    $gameTemp.clearToolCursor();
    //console.log($gameSystem._toolsData);// with itemcore, this always returns an empty array []
    //without itemcore, it returns 'null', then an the proper item  list, so clearly _toolsdata isn't getting set right
    //I assume the 'null' gets overridden by one of yanfly's blanket definitions, and since I can't find that
    // I'm just testing to see if the list is empty.  If it is, grab the tools again
    // it seems to work!
    //if (!$gameSystem._toolsData) {this.dataMapToolClear()};
    if (!$gameSystem._toolsData) {this.dataMapToolClear()
        }else{ if ($gameSystem._toolsData.length == 0) {this.dataMapToolClear()};
        }
    for (var i = 0; i < $gameParty.members().length; i++) {
        var actor = $gameParty.members()[i];
        actor.clearActing();
        $gameSystem._toolHookshotSprite = [null,null,0];
    };
};
I have moved this thread from RPG Maker MV Support to JavaScript/Plugin Support.

Original thread: https://forums.rpgmakerweb.com/threads/conflicts-with-yanfly-and-mog-plugins.167923/