Whenever I try to run a battle test on any troop, it doesn't register my battlers' levels, only the equipment they have, and I end up having their level 1 stats and skills. Playing the game on a normal game test, levels work fine. Is there a fix for this?
Battle Test Levels Not Working Properly
RPG Maker MV Supportthat depends...
The Battletest takes shortcuts to launch the battle faster, and in some cases that skips the initialisation needed by a lot of plugins. If your problem comes from this, then there is nothing you can do.
However the Battletest determines the actor data differently than the game engine.any story-based and evented power-ups will always be ignored, and the equipment can be set in the battletest while other ingame equipment and items are ignored. And the level of the actor is set in the battletest as well.
Did you test if the actor has the level 1 stats, or did he get the correct level stats and is only missing the extra improvements?
it would be strange if the battletest really ignores the level you set in the battletest - in that case we would need screenshots of your plugin manage to check which plugin might mess things up that way (something that changes the level handling in the engine).
But if the level is correct and other parts are missing from the stats, then there might be workarounds...
The Battletest takes shortcuts to launch the battle faster, and in some cases that skips the initialisation needed by a lot of plugins. If your problem comes from this, then there is nothing you can do.
However the Battletest determines the actor data differently than the game engine.any story-based and evented power-ups will always be ignored, and the equipment can be set in the battletest while other ingame equipment and items are ignored. And the level of the actor is set in the battletest as well.
Did you test if the actor has the level 1 stats, or did he get the correct level stats and is only missing the extra improvements?
it would be strange if the battletest really ignores the level you set in the battletest - in that case we would need screenshots of your plugin manage to check which plugin might mess things up that way (something that changes the level handling in the engine).
But if the level is correct and other parts are missing from the stats, then there might be workarounds...
I did test the actors, they have level 1 stats, same damage, same max HP, everything. Here are the plugins I use.
It's definitely possible for some plugins to not work properly with battle tests. I'd suggest you disable as many plugins as possible and then enable them one at a time to figure out specifically which one causes it to break.
I don't see any obvious candidates in that list.
I don't see any obvious candidates in that list.
I found something that might relate to this issue. I playtested one actor and killed a weak enemy, and this error popped up:
That kind of error usually happens when an attribute ends up being zero. For example, if you were to somehow set an actor's maximum TP to 0, it could cause that kind of error. In this case it seems to be from XP rather than TP though, and it clearly occurs in YEP_VictoryAftermath.
Draw coordinates, e.g. for VictoryAftermath's experience gauges, need to be finite numbers. This error suggests that's not the case. Like Solar_Flare says, maybe it's dividing by zero when drawing the EXP gauge. Alternatively, the gained and/or current EXP values might be non-numeric, e.g.
undefined.I notice the plugin right at the bottom of your list is named "LevelCapVariable": have you tried turning that one off? Remember to save your project to apply Plugin Manager changes before testing~
Also, I think your Yanfly plugins are not in the recommended order, e.g. Equip Core should load after Skill Core. That could cause strange bugs. See one of these links:
ALOE_YEP_PluginOrderChecker
Hi community, I knew alot of people have Yanfly (YEP) plugin issues as they are out of place. Also, this plugin DOES exist from 2018 that was made by "ALOE Guvner". unfortnately, the plugins inside become outdated, outplaced and only 97-100 plugins. This updated version I made a few months...
forums.rpgmakerweb.com
Category:Yanfly Engine Plugins - Yanfly.moe Wiki
I turned it off, and it seems like that did the job. This plugin is necessary for the project, but if I just turn it off for when I need to Battle Test, then it should work fine. Thank you all for the help!
Game Variables don't exist outside the game, and the battletest can't define them.
So since the level cap is defined by a variable and the battletest gets back an "undefined" when checking the variable outside the game, it defaults to base level 1.
So since the level cap is defined by a variable and the battletest gets back an "undefined" when checking the variable outside the game, it defaults to base level 1.
In RMMV at least, variables get initialised along with the rest of the database when the game boots; cf
I think the problem is more that variables start with the value 0, which (depending on how that LevelCapVariable plugin is coded) might cause problems.
DataManager.setupBattleTest -> DataManager.createGameObjects (rpg_managers.js). Battletest actor info is stored as $dataSystem.testBattlers; cf Game_Party#setupBattleTest (rpg_objects.js).I think the problem is more that variables start with the value 0, which (depending on how that LevelCapVariable plugin is coded) might cause problems.
Original thread: https://forums.rpgmakerweb.com/threads/battle-test-levels-not-working-properly.181765/