error in line 172 of battle manager?

Monoking

Warper
Member
Joined
Jan 8, 2018
Messages
4
Reaction score
3
First Language
English
Primarily Uses
RMVXA

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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
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 ...
 

Nightblade50

Developer of "Delta Origins"
Veteran
Joined
Nov 10, 2016
Messages
2,133
Reaction score
4,253
First Language
English, French
Primarily Uses
RMVXA
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.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,675
Reaction score
566
First Language
English
Primarily Uses
RMVXA
You need to tell us what script you are using for battles. You named it Battlemanager, but who made the script?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
BattleManager is one of the default scripts in Ace.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,675
Reaction score
566
First Language
English
Primarily Uses
RMVXA
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)
 

Monoking

Warper
Member
Joined
Jan 8, 2018
Messages
4
Reaction score
3
First Language
English
Primarily Uses
RMVXA
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top