RMMV version: 1.5.2
Selection Control version: 1.15 (Target Core was 1.04 but I updated it to 1.05 and still got this issue)
Row Formation version: 1.16
Battle System CTB version: 1.17
All Yanfly plugins are in correct order, all non-Yanfly plugins (mostly HIME and SRD but those don't seem to be causing the problem) are underneath the Yanfly plugins.
The background on this issue:
For a while I had been struggling with a strange crash involving Selection Control, Row Formation, and Battle AI Core. Essentially, if an enemy had a skill in their AI list that only targeted the front row, the game would sometimes crash. Not every time, which was weird. And it was always the first enemy to get an action if it happened, it never just happened in the middle of a battle to my recollection.
Figuring it had something to do with the Front Row Only selection, I tried disabling the plugin parameter that auto-set all physical skills to melee, followed by going into all melee-intended enemy skills and giving them the following notetag:
The issue now:
As best as I have diagnosed the issue, if there are no front row enemies in the current battle (mind you, all bosses are put in the back row for dramatic distance), the first ally to act immediately after an enemy will sometimes have their offensive skills locked out. Their healing/support skills and their Defend command? A-OK. But if it targets an enemy, it can't be used.
If it has anything to do with that Selection Control code, then it has to be something very indirect, as it also affects offensive magic, which has never had any select conditions and still doesn't. And that notetag I posted wasn't applied to any player-side skills (not even modified for $gameTroop), only enemy-side skills.
I checked allies for skill-disabling states that might somehow be getting applied by mistake, but nothing. Checked for enemy states that might have the <Cannot Select: All> tag in there, but there aren't even any states with that tag in there, let alone any applied to any enemies by mistake.
I tried disabling all non-Yanfly plugins to see if maybe something else was interfering, but also no.
I tried disabling Selection Control, and the issue resolved, just... I kind of need it on, you know?
And it's particularly bizarre to me that this only started happening after
My only conclusion is that somehow, an enemy acting causes the immediate ally to perceive all enemies as invalid targets. And that something was triggering before, that then collided with some other issue to cause a crash. But since that issue is gone, there's no crash, but that issue is now instead colliding with something else.
Unfortunately, I'm having a really difficult time pinpointing what that is. Anyone have any insights?
Selection Control version: 1.15 (Target Core was 1.04 but I updated it to 1.05 and still got this issue)
Row Formation version: 1.16
Battle System CTB version: 1.17
All Yanfly plugins are in correct order, all non-Yanfly plugins (mostly HIME and SRD but those don't seem to be causing the problem) are underneath the Yanfly plugins.
The background on this issue:
For a while I had been struggling with a strange crash involving Selection Control, Row Formation, and Battle AI Core. Essentially, if an enemy had a skill in their AI list that only targeted the front row, the game would sometimes crash. Not every time, which was weird. And it was always the first enemy to get an action if it happened, it never just happened in the middle of a battle to my recollection.
Figuring it had something to do with the Front Row Only selection, I tried disabling the plugin parameter that auto-set all physical skills to melee, followed by going into all melee-intended enemy skills and giving them the following notetag:
And... it worked! No more crashes! All that was left was to continue playtesting and see if that broke anything.
The issue now:
As best as I have diagnosed the issue, if there are no front row enemies in the current battle (mind you, all bosses are put in the back row for dramatic distance), the first ally to act immediately after an enemy will sometimes have their offensive skills locked out. Their healing/support skills and their Defend command? A-OK. But if it targets an enemy, it can't be used.
If it has anything to do with that Selection Control code, then it has to be something very indirect, as it also affects offensive magic, which has never had any select conditions and still doesn't. And that notetag I posted wasn't applied to any player-side skills (not even modified for $gameTroop), only enemy-side skills.
I checked allies for skill-disabling states that might somehow be getting applied by mistake, but nothing. Checked for enemy states that might have the <Cannot Select: All> tag in there, but there aren't even any states with that tag in there, let alone any applied to any enemies by mistake.
I tried disabling all non-Yanfly plugins to see if maybe something else was interfering, but also no.
I tried disabling Selection Control, and the issue resolved, just... I kind of need it on, you know?
And it's particularly bizarre to me that this only started happening after
My only conclusion is that somehow, an enemy acting causes the immediate ally to perceive all enemies as invalid targets. And that something was triggering before, that then collided with some other issue to cause a crash. But since that issue is gone, there's no crash, but that issue is now instead colliding with something else.
Unfortunately, I'm having a really difficult time pinpointing what that is. Anyone have any insights?