MV Help getting YEP Party System to work?

Hi everyone,

I've been struggling to get Yanfly's Party System to work for a while. I've scoured the threads and it seems this plugin has created similar problems with the same error message for other people, but I wasn't able to find any solution that worked for my own project.

Basically, when I try to launch the playtester after installing the Party System plugin, I get "RangeError: Maximum call stack size exceeded."

Attached is an image with two screenshots from the console. The top one is what happens when I try to start a new game or load a save after adding the Party System plugin. The bottom one is what happened when I tried disabling all the other plugins listed in the top image - it just listed a bunch of new conflicts with different plugins, and the same result happened.

All my Yanfly plugins are in the proper order and I've tried moving them around to see if anything changes (it doesn't). I don't know JS so I'm kind of at a loss. If anyone could suggest any possible fixes, or at least explain to me what's going on, I would hugely appreciate it.

EDIT: Just to be clear, everything works fine when the Party System is disabled.

EDIT: Added my plugin list; obviously the Party System is disabled currently and everything works fine. When it's re-enabled I get the error message.
that error means that either you have added a plugin twice into your plugin manager, or two different plugins use the same function name in a loop so that it becomes an unlimited iteration of that function.

both cases mean that we need to see your plugin list as well to check which plugins you have in which order - especially since the party plugin is NOT listed as part of the error, so it is extremely unlikely to be directly involved (not unless you skipped part of the error sequence).

Have you started a new playtestgame after adding the party plugin? You CANNOT continue an old savefile with it, that could also be part of what causes the error.
that error means that either you have added a plugin twice into your plugin manager, or two different plugins use the same function name in a loop so that it becomes an unlimited iteration of that function.

both cases mean that we need to see your plugin list as well to check which plugins you have in which order - especially since the party plugin is NOT listed as part of the error, so it is extremely unlikely to be directly involved (not unless you skipped part of the error sequence).

Have you started a new playtestgame after adding the party plugin? You CANNOT continue an old savefile with it, that could also be part of what causes the error.
I don't see how it could be anything other than the Party Plugin, since everything works perfectly fine without it, and nothing works with it. No, I didn't skip part of the error sequence.

I cannot launch a new game, or load a save game, with the Party Plugin installed. I get the same error message either way, as soon as I select "New Game" or "Continue."

I've attached my plugin list - sorry for the tall image, I didn't know how else to get it all in there. I'll add it to the main post as well.
it could be that when you enable the plug-in, other plug-in fails. hence, the party plug-in is not the problem itself and it's not listed in the error console. what you could do is check those plugins "touching" the same areas the party plug-in touches and test them on/off.

like, if the party plug-in changed the menu, what other plug-in change that too, enable party plug-in and disable one of them, test if error occurs, next plug-in, test, next plug-in.

it's a chore is you have too much plugins, but you could also start by those described by the error console in you image. you can also try to rearrange their order in the plug-in list just to be sure.
it could be that when you enable the plug-in, other plug-in fails. hence, the party plug-in is not the problem itself and it's not listed in the error console. what you could do is check those plugins "touching" the same areas the party plug-in touches and test them on/off.

like, if the party plug-in changed the menu, what other plug-in change that too, enable party plug-in and disable one of them, test if error occurs, next plug-in, test, next plug-in.

it's a chore is you have too much plugins, but you could also start by those described by the error console in you image. you can also try to rearrange their order in the plug-in list just to be sure.
I did try re-arranging, as I mentioned in the OP, and I tried just turning off all of the ones listed in the first error message. That just led to the same error message, with the console throwing out five or six NEW plugins that were throwing errors. I went into the JS files to look at the lines mentioned and most seemed to have to do with Actor parameters (like max HP and MP)?
as mentioned in this thread, this orange hud line has a copy... are they the same plugin?

yanfly would always suggest that you started a new project adding the core plugin and the one you believe has a problem (the party plugin in this case) and test and, then, add one by one of the other plugins you want and test.
The Orange Hud Line Copy is there to add another line to the Orange HUD - you're supposed to be able to do that as many times as you need, so I don't think it's that.

I'll try all that with a new project.
as mentioned in this thread, this orange hud line has a copy... are they the same plugin?

yanfly would always suggest that you started a new project adding the core plugin and the one you believe has a problem (the party plugin in this case) and test and, then, add one by one of the other plugins you want and test.
That helped me figure it out - the incompatibility is with the DEX Weight Limit plugin. Baffling, considering that plugin isn't throwing errors in the console and I can't imagine what it would have to do with the Party System. Game works fine with either enabled, won't work with both.

Thank you for the suggestion.
the incompatibility is with the DEX Weight Limit plugin.
change the order of the two plugins, there is a chance that this is enough to solve the problem.
I can't imagine what it would have to do with the Party System.
It doesn't have to have anything to do with the party functions, it just has to have an incompatible alias on a function or data structure that both plugins need. And for example both plugins have to change actor data, one to add that weight limit if it is based on an actor value and the other because the party handles actor data.

You can't move the party plugin in yanfly's order, so you'll have to move the weight limit plugin.
it's only a 50/50 chance if that is enough to solve the problem, but it is a chance.

EDIT: make that check in the test project of course, not in your main project
what does this DEX weight plugin does? maybe you can eliminate it and make its effect happen some other way...
what does this DEX weight plugin does? maybe you can eliminate it and make its effect happen some other way...
It just adds a basic item weight/encumbrance system. It's a shame because it was the best plugin I've found that does that. I've experimented with a couple others and they either don't work/are way overcomplicated
does it have a help file you could paste here? (just the help file, dont paste the code).
does it have a help file you could paste here? (just the help file, dont paste the code).
Here's the help section of the DEX WeightLimit plugin by Procraftynation:


* TAGS
* 1. Item Tags - placed in the Note section of an Item in the Database
* <Weight: [AMOUNT]>
* Specify the weight of an item
* Example: <Weight: 10>
* <WeightLimitAdd: [AMOUNT]>
* Increase the weight limit by the amount specified.
* Note:
* For consumable items, weight limit is only increased permanently when item is used.
* For non-consumable items, weight limit is increased when item is in inventory.
* Example: <WeightLimitAdd: 100>
*
* 2. Equipment Tags - placed in the Note section of a Weapon, Armor or Accessory in the Database
* <Weight: [AMOUNT]>
* Specify the weight of a weapon, armor or accessory.
* Example: <Weight: 15>
* <WeightLimitAdd: [AMOUNT]>
* Increase the weight limit by the amount specified when equipped.
* Example: <WeightLimitAdd: 50>
* 3. Actor Tags - placed in the Note section of an Actor in the Database
* <WeightLimit: [AMOUNT]>
* Set the weight limit of an actor. Amount will be added to the party weight limit.
* Example: <WeightLimit: 100>
* <WeightLimitFormula: [FORMULA]>
* Set the weight limit of an actor dynamically using a formula.
* You can use actor attributes (inspect Game_Actor class for more details):
* atk, def, mat, mdf, agi, luk, hit, eva, hp, mp, tp, mhp, mmp, ...
* Example:
* <WeightLimitFormula: this.atk*10>
* In this example, the weight limit of the actor will be it's attack value times 10.
* <WeightLimitFormula: (this.atk*10)-(this.agi*2)>
* In this example, the weight limit is based on attack and agility.
* Higher attack increases the weight limit but higher agility lowers the weight limit.
* Note: If computed value is negative, it will be set to 0.



Here's a link to where I got it from:

Original thread: https://forums.rpgmakerweb.com/threads/help-getting-yep-party-system-to-work.133093/