Help with Ace Battle Engine (yanfly)

Whenever I try to use the Ace Battle Engine by Yanfly (which I will be shortening to ABEY) All of the enemy's attacks always have no animation no matter how I configure the script itself. Also where there would be damage in numbers, there would just be "NULL" instead. How do I fix this?





Notice the video below as an example.
or, if the file is too large to view, you can use this link:

or, if that link also doesn't work, just go to your address bar and type in:
staging.streamable(nu)/u2hg3ta
replace the (nu) with .com and delete the a in the end and press enter.


thanks!☺️
I have moved this thread from RPG Maker VXAce Support to RGSSx Script Support.
the null happens if the damage formula results in a zero.
what is your damage formula, and what are the actor/enemy values used in that damage formula?
the null happens if the damage formula results in a zero.
what is your damage formula, and what are the actor/enemy values used in that damage formula?
Hello there! Thank you so much for replying! As for the damage formula, it is unchanged. Assuming you mean the starting skill (attack)'s damage formula, it's just a.atk * 4 - b.def * 2. I would quickly like to clarify that the enemy and I do actually deal damage to eachother, and that I somehow got the animations working, but the damage in numbers does not show. Thanks!!
can you give a screenshot of your script editor with the script list scrolled to a point where we can see which scripts you have installed?
All of the enemy's attacks always have no animation no matter how I configure the script itself. Also where there would be damage in numbers, there would just be "NULL" instead. How do I fix this?
Where did you get your copy of the engine?
Delete it and put in a fresh copy.
Unless you have some code from another script that is overwriting it, that should not happen.
The slime are certainly getting damaged as they die on the second hit.
Certainly!

can you give a screenshot of your script editor with the script list scrolled to a point where we can see which scripts you have installed?
myscripts.PNG


  1. messages : Ace Message System
  2. core : Ace Core Engine
  3. battle : Ace Battle Engine (if you look on the github page, there appears to be a backup version?)
  4. weather : Weather On Title Screen
  5. earthbound : Ticking HP
  6. anims : State Animations
  7. saves : Ace Save Engine

^^^^^^^^^^^^^^
Above I have listed all of my scripts, and, because the naming can be a little tricky to understand, I've included links to the original scripts. Thank you!!!
​


Where did you get your copy of the engine?
Delete it and put in a fresh copy.
Unless you have some code from another script that is overwriting it, that should not happen.
The slime are certainly getting damaged as they die on the second hit.
I have gotten it from the github link you see on the list above! Also tried the one on rpgmaker.net I think.
Please put the core script above the message script - this should not do anything for your problem, but core scripts should always be processed before any other scripts that might depend on them.

can you copy&paste the part of the battleengine where you placed your configurations?
Please put the core script above the message script - this should not do anything for your problem, but core scripts should always be processed before any other scripts that might depend on them.

can you copy&paste the part of the battleengine where you placed your configurations?
ENEMY_ATK_ANI = 01 # Sets default attack animation for enemies.


I would've liked to use animation #1 for enemies, but there seems to be some kind of error with that. Oh well. I've also placed the core script above the message.
ENEMY_ATK_ANI = 01
never use leading zeroes for any number in scripts.
the animation would be numbered 1, never 01 or 001 or so.

did you make any other changes in the configuration?
Practically none. I deleted the script then re-added it as

Roninator2​

had said. The animation still isn't working as well as the whole "NULL" thing. I was somehow able to get enemy attack animations working for a very short while though!
Thanksss!!!
I found this script online to deal with the null damage problem. It turns null damage to 1 damage. I'm working with relatively small numbers so it works for me but not sure if this will work for you. Good luck!

Spoiler
# This script turns Null damage into 1 HP damage
#----------------------------------------------------------
class Game_Battler < Game_BattlerBase
def make_damage_value(user, item)
value = item.damage.eval(user, self, $game_variables)
value *= item_element_rate(user, item)
value *= pdr if item.physical?
value *= mdr if item.magical?
value *= rec if item.damage.recover?
value = apply_critical(value) if @result.critical
value = apply_variance(value, item.damage.variance)
value = apply_guard(value)
@result.make_damage(value.to_i == 0 ? 1 : value.to_i, item)
end
end

Original thread: https://forums.rpgmakerweb.com/threads/help-with-ace-battle-engine-yanfly.165621/