New account registration is temporarily disabled.

RPGMAKER MV "TYPEERROR - UNDEFINED IS NOT A FUNCTION"

Posts

Pages: 1
When using YEP BattleEngineCore plugin on RM MV I get this error message after the first turn has passed in battle with the playable characters and the enemies having finished their moves.

Here's what F8 brings up:

"TypeError: undefined is not a function
at Game_Troop.Game_Unit.refreshMembers
at Function.BattleManager.refreshAllMembers
at Function.BattleManager.endTurn
at Function.BattleManager.updateTurn
at Function.BattleManager.update
at Scene_Battle.updateBattleProcess
at Scene_Battle.update
at Scence_Battle.update
at Function.SceneManager.updateScene
at Function.SceneManager.updateMain"

The error occurs even if I don't tinker with any of the plugin settings. Really troublesome :/ I'd be really grateful if someone would come up with a solution.
SunflowerGames
The most beautiful user on RMN!
13323

Are you using other scripts?
Does it tell you what line the error occurs at?
(Sorry I use VX Ace, not sure if the error message will tell you this.)
Here are the lines:


I got few other scripts/plugins running, but they shouldn't interrupt with the Battle Engine. I got one for lighting effects and another for main menu portraits.
LockeZ
I'd really like to get rid of LockeZ. His play style is way too unpredictable. He's always like this too. If he ran a country, he'd just kill and imprison people at random until crime stopped.
5958
Well, something's definitely set up wrong.

I know it says the error is happening in the BattleEngineCore plugin, but check and make sure that the game works if you disable the BattleEngineCore plugin and leave everything else how it is right now.
author=LockeZ
Well, something's definitely set up wrong.

I know it says the error is happening in the BattleEngineCore plugin, but check and make sure that the game works if you disable the BattleEngineCore plugin and leave everything else how it is right now.


Everything works just fine if I disable BattleEngineCore. I tried disabling all the other plugins and only left BattleEngineCore running, but it still crashes. I also tried creating a completely new project with only this BattleEngineCore running and still it's crashing........
Okay! I found the solution! I'm posting it here in case someone else runs into the same problem:

from rpgmakerweb:
author=KimiRaven
I may have found solution, thanks to @Ghostsniper64 image, referring to line 1577 on YEP_BattleEngineCore.js may or may not have conflict with rpg_managers.js on line 2222,
Changed BattleManager.refreshAllMembers(); to BattleManager.endTurn(); seems to work. But other effect or instability is unknown, this may be a quick fix but maybe it's better to wait for Yanfly official update
Pages: 1