Battle going fine in test, but crashes in-game.

● ARCHIVED · READ-ONLY
Started by markp80nj 9 posts View original ↗
  1. Hello everyone, I was wondering if I could get some help.


    I've been fighting this basically all day, and it's still crashing on me.


    So here's what I'm trying to do:


    My character is learning how to use her weapon (cane) and to heal her ally.


    I setup a tutorial battle, made a state that I called Spectator (made previously for another Event), and her healing skill also removes this state.


    Once the state is removed, a conditional branch makes the battle end and the characters return to the map.


    After much fiddling around, I got it to work in the battle test, but trying it in-game, it freezes once the character uses the healing spell.


    I've tried restarting the game, the engine, the pc. I don't know what to do.


    Hopefully these pics will help, and someone can tell me what I'm doing wrong.


    Thanks in advance guys.

    BattleEvent1.png

    BattleEvent2_1.png

    BattleEvent2_2.png

    MaderaConditionalBranch.png
  2. what does the console (f8) show?
  3. Hey, thanks for replying!


    I did the F8 thing, but it seems to come up empty.


    To be clear, the game does not crash per se.


    The character that casts the spell (or even does some other action) freezes and the game is stuck.


    But the music keeps playing and you can even see the enemy bouncing, as when they are Idle.


    Here is a pic:


    (Note: In the pic, she's not even casting the spell that would abort the battle. "Pray" just replaces the Attack Command using Yanfly's Weapon Unleash Script. But if I cast the desired spell "Healing Light", the same thing happens.)


    Console (f8).png
  4. Does ANY of the stuff in the events happen?  Or does it freeze before any of that?


    What happens if you disable all the plugins - does it work?


    What version of MV are you using?  Have you updated your project's scripts with the latest MV versions, and have you updated all of your plugins to make sure you're using the correct ones for the MV version?
  5. Hello, thanks for the suggestions.


    I have found the plugin that is causing the trouble.


    Unfortunately, it is a much needed Plugin, Yanfly's BattleEngineCore.


    I've tried fiddling around with a few of it's settings, but I'm a total noob, lol.


    As for your other questions, the answer is yes.


    Everything is updated, and everything in the Event happens until I input any command.


    I should note that I can only input commands on one actor, since the other one is under a State with a [cannot move] restriction.


    The enemy is set up with only the "Wait" command, so he does nothing either.
  6. If you remove the [cannot move] restriction from your second actor, does the problem still happen?  Are you saying that you can select the command for the first actor, and then it freezes - as though it's waiting for you to select a command for the second actor, perhaps?
  7. That was the exactly the problem!


    I was removing a party member from the battle event, and this was somehow conflicting with YEP_BattleEngineCore plugin.


    Removing the party member just before the battle starts fixed the problem.


    I want to say thank you to user @GGZiron, who not only figured out the problem, but also took the time to show me a cleaner way to make my event and teach me a few other things.


    And thanks to you too, Shaz and Waterguy.


    I usually just search the forums, and have been able to always find answers to whatever problem I get.


    But this time I really got stuck.


    It's nice to know I can count on this forum for help.
  8. I suggest you post in Yanfly's thread and let him know what you found - sounds like it might be something he'd like to be made aware of, so he can fix it, if it is indeed a bug with his engine.  Very strange that nobody else has reported it already.
  9. Shaz said:
    I suggest you post in Yanfly's thread and let him know what you found - sounds like it might be something he'd like to be made aware of, so he can fix it, if it is indeed a bug with his engine.  Very strange that nobody else has reported it already.

    Ok, I'll do that.


    The freeze only happens with this plugin turned on.


    I turned every plugin off one by one, then tried all off and only this one on, and all on, only this one off.


    It only happens with this one, so it seems to be related.