error in line 172 of battle manager?

Spoiler: image
tumblr_inline_p3nmz5xogu1u8q4nm_540.jpg

hey, i'm a supreme newb to vx ace. what am i supposed to make out of this error message?
this particular line hasn't been touched. in fact, nothing has. i'm not sure what i'm supposed to do. this message appears and crashes the game whenever a battle begins, with 'hornet' being replaced with whatever enemy.
By default the engine does not contain such an error, so something was changed in the script manager.

And an error like that can only result if there is a data level shift, which means either an incomplete script was added or some parts of the original scripts were deleted.

We can't say any more without knowing what you did in the script manager, but I suggest you follow the link to "how to use a script" in my signature, it might point you to where you made a mistake with scripts.
Line 172 of my BattleManager file is $game_troop.on_battle_start. It would not generate that error.

I think you have an altered file. Who knows what other issues you're going to have ...
Make a new project, and copy the battle manager script from it, and replace the one in your current project with that script.Maybe that will work.
You need to tell us what script you are using for battles. You named it Battlemanager, but who made the script?
BattleManager is one of the default scripts in Ace.
BattleManager is one of the default scripts in Ace.
Right, but its referencing that one from whatever script is being used/modifed.
Or someone could put in a script and call it battlemanager (which would be silly)
By default the engine does not contain such an error, so something was changed in the script manager.

And an error like that can only result if there is a data level shift, which means either an incomplete script was added or some parts of the original scripts were deleted.

We can't say any more without knowing what you did in the script manager, but I suggest you follow the link to "how to use a script" in my signature, it might point you to where you made a mistake with scripts.
ah, really? i've probably done something i've forgotten about.
thanks, everyone, i'll take a look.
My apologies - my own BattleManager has had some mods done. Line 172 is really this:
Code:
      $game_message.add(sprintf(Vocab::Emerge, name))

If you are getting that error message on this line, it means you've changed your Vocab entry for Emerge, which would explain why it's trying to put a string into a float.

Look at your Vocab script (should be the very first one)_ and find Emerge (under the heading Basic Battle Messages). It should say this:
Code:
Emerge        = "%s emerged!"

I'm guessing yours probably says this instead:
Code:
Emerge        = "%f emerged!"

or some text with %f instead of %s

This could also happen if you've added a script that overrides the value, so look for any added scripts that redefine that value.

Original thread: https://forums.rpgmakerweb.com/threads/error-in-line-172-of-battle-manager.90900/