Battle Error

Status
Not open for further replies.

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
File - Compress Game Data
Btw, if you don't find any problems with this when you get it and I still have said problems, it's most likely because you've told me to exclude the RTP data, which may have been a contributing factor?

And since this contains files I can't freely distribute, I'm going to have to link it in a private discussion.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
Btw, if you don't find any problems with this when you get it and I still have said problems, it's most likely because you've told me to exclude the RTP data, which may have been a contributing factor?
This can only happen if you modified your RTP-data, and in that case we found the problem: a mistake while editing RTP data (which shouldn't be edited anyway, because all edits should go into the projects, not the RTP.
 

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
This can only happen if you modified your RTP-data, and in that case we found the problem: a mistake while editing RTP data (which shouldn't be edited anyway, because all edits should go into the projects, not the RTP.
Well no, I haven't...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
Problem solved:

You can only equip weapons from the equip screen, not from the inventory screen - and the equip screen had been renamed by one of the scripts, so I had to look for the correct menu option...
 

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
Hooray for silliness! Which means we've got one thing left before we can close the thread (then Shaz closes the thread)

Anyways, updated the OP with script addition. Let's actually focus on solving the original problem now, before I get

myself into trouble.

EDIT:  Maybe you could try using that dev copy of my game to find the problem with the scripts, see what you can dig up that I can't?
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
haha - I love it when there's a simple solution.


Alright - what's the remaining issue then?
 

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
Every time I try to battle in the game I'm making, I come up with this:

Here's the script line mentioned in the error:

 
The extra scripts I'm using are:

TDS Battleback Stretch (http://forums.rpgmakerweb.com/index.php?/topic/417-battleback-stretch/ See Post #17)

All three scripts of the EB Battle system (http://rmrk.net/index.php/topic,47693.0.html)

FP inventory system (http://www.rpgmakervxace.net/topic/3812-fp-inventory-system/)

Remember Event Position (http://forums.rpgmakerweb.com/index.php?/topic/1853-remember-event-position/)

DT's Game Over Menu (http://forums.rpgmakerweb.com/index.php?/topic/1719-game-over/)

The Extra Game_CharacterBase script I got from buying the HF pack

This
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
It is saying the icon index is nil.


Now, I'm not sure if this might be because something in your database does not HAVE an icon set, or if it's something in one of the custom scripts. I'd be looking at the EB Battle System first from the list above.


Did you make any changes to the battle script for customization? I see it has default icons to use for actor commands. If you've added new commands, you may need to add a new icon to that list.


If that doesn't help point you in the right direction, install this script temporarily, play with the console on (in the Game menu), and when it crashes, scroll up so you can see the beginning of the error message in the console and take a screenshot of that. That will tell us exactly which script, and which line, is calling that method and passing a nil icon index.
 

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
Weird, the pictures I posted are messing up... Further investigation reveals that the site I used is down right now, should reappear when it comes back up.

It is saying the icon index is nil.

Now, I'm not sure if this might be because something in your database does not HAVE an icon set, or if it's something in one of the custom scripts. I'd be looking at the EB Battle System first from the list above.

Did you make any changes to the battle script for customization? I see it has default icons to use for actor commands. If you've added new commands, you may need to add a new icon to that list.
I don't know how to script, so no.

If that doesn't help point you in the right direction, install this script temporarily, play with the console on (in the Game menu), and when it crashes, scroll up so you can see the beginning of the error message in the console and take a screenshot of that. That will tell us exactly which script, and which line, is calling that method and passing a nil icon index.
...I did that right, right?

EDIT: sigh, this other site has an auto resize I can't disable. Zoom in for now.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
EDIT: sigh, this other site has an auto resize I can't disable. Zoom in for now.
Perhaps not, but you could make the screenshot with [alt]-[PrtScrn] instead of only [PrtScrn], or you could open the screenshot in paint (or any other graphic program), select only the error message instead of your entire screen, and crop to that part only before saving again.

Both variants will remove the unneccessary other parts of your screenshot.
 

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
Perhaps not, but you could make the screenshot with [alt]-[PrtScrn] instead of only [PrtScrn], or you could open the screenshot in paint (or any other graphic program), select only the error message instead of your entire screen, and crop to that part only before saving again.

Both variants will remove the unneccessary other parts of your screenshot.
including the console?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
you could do two screenshots, or in this specific case you could have simply said that there is no output to the console - which either means that you installed the checking script wrong, or that the error wasn't caused by a defective iconset but by a mistake in the scripts or the notetags somewhere.

Please try the following backtracer script (that checks the function structure instead of the picture structure):

http://himeworks.wordpress.com/2013/06/09/custom-main-full-error-backtrace/

ATTENTION: Please check the installation instruction, this script is NOT installed in the usual way!!

So make sure you copy the main and store it in a text file before using this!
 

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
you could do two screenshots, or in this specific case you could have simply said that there is no output to the console - which either means that you installed the checking script wrong, or that the error wasn't caused by a defective iconset but by a mistake in the scripts or the notetags somewhere.

Please try the following backtracer script (that checks the function structure instead of the picture structure):

http://himeworks.wordpress.com/2013/06/09/custom-main-full-error-backtrace/

ATTENTION: Please check the installation instruction, this script is NOT installed in the usual way!!

So make sure you copy the main and store it in a text file before using this!
Site I normally use is working now, so

 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
Looks like Shaz was right on target: the script fails when creating the commands for the actors.

I would check the script EB Battle Core, line 137 if there is any additional information there what command is about to be created, and then I would check the command configuration of the script as to where the icons for each command are defined. If both cases fail, you can also look in line 330 of that script since that is where the command window is originally created (each line in the console stands for an executed function in the stack while the error was given, so all of them are connected to the error - but the default scripts are usually fine if you didn't change them).

Since the other bughunting script didn't list a graphic as missing, most probably you have added a command to your game by another script without defining an icon in the battlescript. Please check that yourself, I'm short on time at the moment.
 

HowAboutNo?

Banned User
Veteran
Joined
Oct 13, 2013
Messages
49
Reaction score
0
First Language
English
Primarily Uses
Looks like Shaz was right on target: the script fails when creating the commands for the actors.

I would check the script EB Battle Core, line 137 if there is any additional information there what command is about to be created, and then I would check the command configuration of the script as to where the icons for each command are defined. If both cases fail, you can also look in line 330 of that script since that is where the command window is originally created (each line in the console stands for an executed function in the stack while the error was given, so all of them are connected to the error - but the default scripts are usually fine if you didn't change them).

Since the other bughunting script didn't list a graphic as missing, most probably you have added a command to your game by another script without defining an icon in the battlescript. Please check that yourself, I'm short on time at the moment.
Line 137:

Code:
     draw_icon(Earthboundish::ActorIcons[command_name(index)], x, y, command_enabled?(index))   end
 

Line 330:


Code:
     @actor_command_window = Window_ActorCommand.new


 

...Because I have no idea what you mean since I can't script '-'

 

Remember I said that earlier I was going to attempt to contact the original creator of the script?

 

Well I have, and the problem has since been solved.

 

 

Now we can lock this cursed thread \o/

 

Nope! Now when I enter battle in game I get this error (not my screenshot, but is still the same error)

 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
Sorry - I am locking this topic now, please make a new topic for the new error.


And don't forget to tell us what you've changed, in case that the change created the error


(originally the error was caused by you having renamed the command in the battle, but not in the icon assignment of the script - ingame you were using the "matter" command, but the icon list was still assigned with a "Magic" command, but no "Matter"-Line. If that is the only thing you changed, then you don't need to list that change, because then the new error is exactly that: an entirely different, new error.


closed
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,881
Messages
1,017,227
Members
137,607
Latest member
Maddo
Top