RMMV Yanfly's Instant cast causing next battle to freeze on start.

Kyota

Warper
Member
Joined
Oct 7, 2021
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hello all,

I am trying to implement a concentration/focus based combat system, but have run into a glitch. Any time I have a character use a skill tagged for Instant Cast, the following battle gets stuck without a menu.
RMMV bug.png

I have the following plugins installed and in this order
YEP_CoreEngine
YEP_InstantCast
YEP_KeyboardConfig
TP_Control
YEP_MainMenuManager
YEP_MessageCore
HIME_GuestFollowers

That said, this bug happens with only YEP core and instant cast installed as well. When I force an action at the start of combat, the action triggers, then I get this error/crash

TypeError: user.endInstantCast is not a function
at Function.BattleManager.endActorInstantCast (YEP_InstantCast.js:372)
at Function.BattleManager.endAction (YEP_InstantCast.js:347)
at Function.BattleManager.updateAction (rpg_managers.js:2524)
at Function.BattleManager.update (rpg_managers.js:2253)
at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
at Scene_Battle.update (rpg_scenes.js:2257)
at Scene_Battle.update (YEP_CoreEngine.js:1431)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
at Function.SceneManager.updateMain (rpg_managers.js:1983)
at Function.SceneManager.update (rpg_managers.js:1907)

Edit: I've corrected the plugin misorder, yet the bug still happens even if I only have YEP's core and Instant Cast installed and upon further experimentation, it only occurs when the last action used was tagged for InstaCast.

Does anyone have any thoughts?
 
Last edited:

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,791
Reaction score
1,636
First Language
English
Primarily Uses
RMMV
First thought, your plugins are in the wrong order. Yanfly provides a specific listing of what order to place the YEP plugins in on the site - rearrange to match that, then try again by starting a new playtest, not loading a save.
 

Kyota

Warper
Member
Joined
Oct 7, 2021
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
I reorganized them,

YEP_CoreEngine
YEP_MainMenuManager
YEP_MessageCore
YEP_InstantCast
YEP_KeyboardConfig
TP_Control
HIME_GuestFollowers

but it's still happening. I can even remove all plugins except the core and instant cast and the problem persists.
 

Latest Threads

Latest Profile Posts

On another more gaming topic, I paid 20 bucks for a visual novel to emotionally destroy me. I may write an entry about that.
1638611395177.png
Reading about metaverses recently. I can totally imagine myself in the future, logging in with VR glasses to a virtual beach villa sitting in a virtual chair, with a virtual laptop facing the sea...coding 16-bit RM.
Mod name: "[Game name] Gameplay Overhaul"
What they actually mean: "Here is a mod that makes the game harder."
I decided to reinstall one of my most favourite game of all times, Gothic 2. Time to get back to Khorinis!
So much game make... I needs to rest. The foods call.

Forum statistics

Threads
117,171
Messages
1,105,127
Members
153,265
Latest member
JordanEizenberg
Top