MV (SOLVED) YEP Row Formation and YEP Buff States Core conflicted

I ran into a problem when I used both YEP Row Formation and YEP Buffs States Core together,
Specifically when all the front row member are Ko'ed then the one in the back row is Ko'ed they will immediately move to the front row.

As Shown in the picture, Shia O' Ke was registered as the third actor was located in the back row indicated by his X Y location (however I moved him to the backrow without the formation command that changes row, [it is done so there can only be 3 front row & 3 back row actor] so It can easily be shown in one picture)

However when he got Ko'ed after all the front row actors are Ko'ed (Barney Lauzam and the lower girl is named Annie, she's the fifth actor hence her UI isn't shown), his states immediately indicates that he is front row actor, and when revived he moves to front row, making from row has 4 actors (can be more).

I've tried and removed every plugin to test which caused this bug and found out it was the YEP Buffs States Core that causes this, is there a workaround for this?

Since both of the plugins are essentials in the game that we're currently making

I would like to thank you in advance
Bugs.png
Those two plugins do not conflict with each other naturally. Have you checked that they're in the correct order in your plugin manager according to the Yanfly Engine Library Web site?

As a tip, it will make your post much easier to read if you don't go through giving all of the long names you have for these actors. They don't mean anything to us, so the information is meaningless to your issue.

Are you using any notetags in the states for the rows?

What you're describing sounds kind of like what would happen if you called $gameParty.updateRows(), but the plugin never calls that function on its own.
My apologies' for the mouthful identifications.

We have checked the order of the Yanfly's engine plugins. We have placed them in order.

We do use note tags in the states, but we tested when the plugin related to the notetags are disabled the problem persists.

We do called this $gameParty.updateRows() when beginning the fight, only once tho. but no where when actor/s are Ko'ed
It would be helpful if you actually showed the event where you do that.

The only place where the Row plugin looks at the rowAliveSize() is in updateRows(), and - as I said - the plugin never calls that function.

I don't see anyplace where the plugin's code would move any battlers without you doing it. And the Buffs and States Core doesn't have any reference to any row functions.
Here's how we called the $gameParty.updateRows(), we used it everytime we exit menu or before battle begins. It's a workaround in order to force limit of front row and back row to 3.
1718377162125.png


and here's how we started the fights, Row Stabilizer merely used to removes few commands when in certain row using Hime Actor Battle Command, we have tested without the plugins and the Common Event, the problem still persist.
1718377293879.png
It's not helpful to crop your screenshots like that. Without seeing the entire page of how your event is set up, no one give you advice if you've made a mistake someplace.

There's no reason to call updateRows() there, you just manually placed each actor into a specific row. The function call at the end doesn't do anything unless the actors are starting the battle dead.

(there's also no reason to keep setting a new value for battler then setting the row. Your code would be half as long if you simply did
Code:
$gameParty.members()[1].setRow(1);
etc. But that's a matter of efficiency, it's not breaking the game)

Good luck.
Hmm but the rest of it is just repeating the strings of script calls for when the number of party member is 2,3,4,5.
the other is just a flavor text before choosing battles the same for different battles (for testing enemy AI and skill functions). I see no point of posting it uncropped beside increasing the volume of the file size hence causing me unable to upload the picture. (happens with the first picture I had to resize it so I can upload it)

I've given it a try to your suggestions. It works like intended, but the problem persist.

Once again, I would like to say Thank you.
This stuff
1718379814743.png

1718379824778.png

1718379834965.png


all matters and is the most common cause for events not working correctly. That's why I said you shouldn't crop it out.

I see no point of posting it uncropped
You also don't see what's causing your problem. You can't receive help without providing complete information.

You can always select all the event commands, right-click and copy as text to paste that in if it won't fit into a screenshot; but when I advise you don't crop the event settings out, it's for a reason.

Maybe someone else will have a better idea of how to help you.
You can always select all the event commands, right-click and copy as text to paste that in if it won't fit into a screenshot; but when I advise you don't crop the event settings out, it's for a reason.
Well this is new, I've never needed to use this before. I apologize for my negligence.

If that's the case then this is the battle select event
◆Plugin Command:BUST FALSE
◆Comment:event_text : Battle test
◆Text:Gao Gongtai(0), Window, Bottom
: :Demon
: :"Demon Ga TATAKAE!"
◆Show Choices:United Boss, DUMMY, Aluze Bisera Misugu, Fangdiwei, Flame Emperor, Paijo and Zero (Window, Right, -, -)
:When United Boss
◆Change Battle Back:BG 42D underwater1
◆Common Event:FORMATION
◆Common Event:Row Stabilizer
◆Recover All:Entire Party
◆Battle Processing:BAWANG
:If Win
◆
:If Escape
◆
:If Lose
◆
:End
◆
:When DUMMY
◆Change Battle Back:BG 51D ruined leigong1
◆Recover All:Entire Party
◆Common Event:FORMATION
◆Common Event:Row Stabilizer
◆Battle Processing:4.1 Passage SHUI GUI
:If Win
◆
:If Escape
◆
:If Lose
◆
:End
◆
:When Aluze Bisera Misugu
◆Recover All:Entire Party
◆Change Battle Back:BG 6C confress rooom1
◆Common Event:FORMATION
◆Common Event:Row Stabilizer
◆Battle Processing:Chao Shi
:If Win
◆
:If Escape
◆
:If Lose
◆
:End
◆
:When Fangdiwei
◆Recover All:Entire Party
◆Change Battle BGM:General Beasts BATTLE - Fight3_loop (Peritune) (40, 70, 0)
◆Change Battle Back:WireMesh & Xiangyu Battle 2
◆Common Event:FORMATION
◆Common Event:Row Stabilizer
◆Battle Processing:BAWANG TEST
:If Win
◆
:If Escape
◆
:If Lose
◆
:End
◆
:When Flame Emperor
◆Recover All:Entire Party
◆Change Battle Back:BG 2 outside palace
◆Common Event:FORMATION
◆Common Event:Row Stabilizer
◆Battle Processing:Flame Emperor: Yan Di
:If Win
◆
:If Escape
◆
:If Lose
◆
:End
◆
:When Paijo and Zero
◆Recover All:Entire Party
◆Change Battle Back:BG sq6 maze
◆Common Event:FORMATION
◆Common Event:Row Stabilizer
◆Battle Processing:Ubreakable: Lear III
:If Win
◆
:If Escape
◆
:If Lose
◆
:End
◆
:When Cancel
◆
:End

and this is how the common event Formation runs

◆If:Script:$gameParty.members().length == 6
◆Script:$gameParty.members()[0].setRow(1);
: :$gameParty.members()[1].setRow(1);
: :$gameParty.members()[2].setRow(1);
: :$gameParty.members()[3].setRow(2);
: :$gameParty.members()[4].setRow(2);
: :$gameParty.members()[5].setRow(2);
◆
:End
◆If:Script:$gameParty.members().length == 1
◆Script:var battler = $gameParty.members()[0];
: :battler.setRow(1);
: :$gameParty.updateRows();
◆
:End
◆If:Script:$gameParty.members().length == 3
◆Script:var battler = $gameParty.members()[0];
: :battler.setRow(1);
: :battler = $gameParty.members()[1];
: :battler.setRow(1);
: :battler = $gameParty.members()[2];
: :battler.setRow(2);
: :$gameParty.updateRows();
◆
:End
◆If:Script:$gameParty.members().length == 2
◆Script:var battler = $gameParty.members()[0];
: :battler.setRow(1);
: :battler = $gameParty.members()[1];
: :battler.setRow(2);
: :$gameParty.updateRows();
◆
:End
◆If:Script:$gameParty.members().length == 4
◆Script:var battler = $gameParty.members()[0];
: :battler.setRow(1);
: :battler = $gameParty.members()[1];
: :battler.setRow(1);
: :battler = $gameParty.members()[2];
: :battler.setRow(2);
: :battler = $gameParty.members()[3];
: :battler.setRow(2);
: :$gameParty.updateRows();
◆
:End
◆If:Script:$gameParty.members().length == 5
◆Script:var battler = $gameParty.members()[0];
: :battler.setRow(1);
: :battler = $gameParty.members()[1];
: :battler.setRow(1);
: :battler = $gameParty.members()[2];
: :battler.setRow(1);
: :battler = $gameParty.members()[3];
: :battler.setRow(2);
: :battler = $gameParty.members()[4];
: :battler.setRow(2);
: :$gameParty.updateRows();
◆
:End
◆Control Variables:#0042 Battle = Battle Count
◆Control Variables:#0043 Escape = Escape Count
◆Control Variables:#0044 Win = Win Count
◆Control Variables:#0045 Steps = Steps
*I added the variable counters there just in case

And this is the common event Row Stabilizer do
◆Wait:12 frames
◆If:Zemi is affected by Frontline
◆Script:hide_actor_command(1, "Skill_type", 2)
: :show_actor_command(1, "Skill_type", 1)
: :show_actor_command(1, "attack")
: :hide_actor_command(1, "Skill_type", 6)
: :hide_actor_command(1, "Skill_type", 7)
: :hide_actor_command(1, "Skill_type", 8)
: :hide_actor_command(1, "Skill_type", 9)
: :hide_actor_command(1, "Skill_type", 10)
: :hide_actor_command(1, "Skill_type", 11)
: :hide_actor_command(1, "Skill_type", 12)
◆
:Else
◆Script:show_actor_command(1, "Skill_type", 2)
: :hide_actor_command(1, "Skill_type", 1)
: :hide_actor_command(1, "attack")
◆
:End
◆If:Ani is affected by Frontline
◆Script:hide_actor_command(4, "Skill_type", 2)
: :show_actor_command(4, "Skill_type", 1)
: :show_actor_command(4, "attack")
◆
:Else
◆Script:show_actor_command(4, "Skill_type", 2)
: :hide_actor_command(4, "Skill_type", 1)
: :hide_actor_command(4, "attack")
◆
:End
◆If:Shaoke is affected by Frontline
◆Script:hide_actor_command(5, "Skill_type", 2)
: :show_actor_command(5, "Skill_type", 1)
: :show_actor_command(5, "attack")
◆
:Else
◆Script:show_actor_command(5, "Skill_type", 2)
: :hide_actor_command(5, "Skill_type", 1)
: :hide_actor_command(5, "attack")
◆
:End
◆If:Ina is affected by Frontline
◆Script:hide_actor_command(6, "Skill_type", 2)
: :show_actor_command(6, "Skill_type", 1)
: :show_actor_command(6, "attack")
◆
:Else
◆Script:show_actor_command(6, "Skill_type", 2)
: :hide_actor_command(6, "Skill_type", 1)
: :hide_actor_command(6, "attack")
◆
:End
◆If:Lear is affected by Frontline
◆Script:hide_actor_command(7, "Skill_type", 2)
: :show_actor_command(7, "Skill_type", 1)
: :show_actor_command(7, "attack")
◆
:Else
◆Script:show_actor_command(7, "Skill_type", 2)
: :hide_actor_command(7, "Skill_type", 1)
: :hide_actor_command(7, "attack")
◆
:End
◆If:Po is affected by Frontline
◆Script:hide_actor_command(8, "Skill_type", 2)
: :show_actor_command(8, "Skill_type", 1)
: :show_actor_command(8, "attack")
◆
:Else
◆Script:show_actor_command(8, "Skill_type", 2)
: :hide_actor_command(8, "Skill_type", 1)
: :hide_actor_command(8, "attack")
◆
:End
◆If:Uqi is affected by Frontline
◆Script:hide_actor_command(9, "Skill_type", 2)
: :show_actor_command(9, "Skill_type", 1)
: :show_actor_command(9, "attack")
◆
:Else
◆Script:show_actor_command(9, "Skill_type", 2)
: :hide_actor_command(9, "Skill_type", 1)
: :hide_actor_command(9, "attack")
◆
:End
◆If:Tomang is affected by Frontline
◆Script:hide_actor_command(15, "Skill_type", 2)
: :show_actor_command(15, "Skill_type", 1)
: :show_actor_command(15, "attack")
◆
:Else
◆Script:show_actor_command(15, "Skill_type", 2)
: :hide_actor_command(15, "Skill_type", 1)
: :hide_actor_command(15, "attack")
◆
:End
◆If:Paijo is affected by Frontline
◆Script:hide_actor_command(16, "Skill_type", 2)
: :show_actor_command(16, "Skill_type", 1)
: :show_actor_command(16, "attack")
◆
:Else
◆Script:show_actor_command(16, "Skill_type", 2)
: :hide_actor_command(16, "Skill_type", 1)
: :hide_actor_command(16, "attack")
◆
:End
◆If:Aiq is affected by Frontline
◆Script:hide_actor_command(3, "Skill_type", 2)
: :show_actor_command(3, "Skill_type", 1)
: :show_actor_command(3, "attack")
◆
:Else
◆Script:show_actor_command(3, "Skill_type", 2)
: :hide_actor_command(3, "Skill_type", 1)
: :hide_actor_command(3, "attack")
◆
:End
◆If:Ling is affected by Frontline
◆Script:hide_actor_command(14, "Skill_type", 2)
: :show_actor_command(14, "Skill_type", 1)
: :show_actor_command(14, "attack")
◆
:Else
◆Script:show_actor_command(14, "Skill_type", 2)
: :hide_actor_command(14, "Skill_type", 1)
: :hide_actor_command(14, "attack")
◆
:End
◆If:B.W. is affected by Frontline
◆Script:hide_actor_command(2, "Skill_type", 2)
: :show_actor_command(2, "Skill_type", 1)
: :show_actor_command(2, "attack")
◆
:Else
◆Script:show_actor_command(2, "Skill_type", 2)
: :hide_actor_command(2, "Skill_type", 1)
: :hide_actor_command(2, "attack")
◆
:End
◆Control Variables:#0042 Battle = Battle Count
◆Control Variables:#0043 Escape = Escape Count
◆Control Variables:#0044 Win = Win Count
◆Control Variables:#0045 Steps = Steps
the row stabilizer always run in the begining of battles and when players switches row
1718381068445.png

1718381104381.png


And here's the suspected conflicting plugins configurations

1718381200088.png

1718381234656.png


additionally this is the state that is being used to indicates their current rows

1718381298602.png

1718381451037.png


I've tried to remove the note tags there, however there is no change to the problem.

Is there any other information I could provide that could help?

Original thread: https://forums.rpgmakerweb.com/threads/solved-yep-row-formation-and-yep-buff-states-core-conflicted.169513/