Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Battles giving me error...but only sometimes O_o

K well it's late so I'm grumpy already, but then I'm test playing my game from the beginning and I'm having problems and I'm really mad right now.

The first battles you come by in my game are early on when it's just one person in your party. They are touch based encounters too (you can see the monsters on the screen, and a collision with them starts a battle). They're going just fine, no problems.

Then, I get to a part in my game where you have 2 party members, and there is a boss fight after a scene. When I enter the battle it gives me an error that says something's wrong with the Window_Command thing on line 40, and it says "cannot convert nil to string".

So I put a touch-initiated battle down in the area where the boss fight was, and that gives me the same error. And it's just...really weird. I have NO idea what to tell you about when it is and isn't working, it just seems random. I've tried all sorts of different things, like taking the new member out of the party, adding another one in, turning off a switch, trying a different enemy, teleporting to a new area and trying a fight...I dunno what to say, but if anyone has ANY idea what could be going on, please help.

I'm using a lot of stuff that affect battles--
-RTAB
-Escape Bar Removal
-Slanted Bars
-Remodeled Damage Display
-State Pops
-An AP system that I think Seph made for me (it just adds to some variables every time you kill an enemy)
 
The 'Window_Command' line points to a problem with... the command window and text related stuff. So it's related to some command window / menu option.

Go into combat with a lone character (just for kicks) and go through every attack/skill/etc... option you can, just to see if any one option stops the project. Repeat to see if the same problem occurs on the same option.

Possible things:
Escape Bar Removal (uses XRXS Command Window code)
AP system by Seph(?) If SDK, may not be RTAB compatible
Others... dunno.

But the option that 'crashes' may help in pointing out the problem script.
 
Well it crashes right when it starts...and the escape bar is something that is there right from the start.

You say you need a separate Window script for Escape Bar Removal? That is more than likely what's wrong though...I must've taken it out somehow...I'll check the thread for that script and update this post.

Edit: Okay I went to the thread for the Escape Bar Removal and recopied the script in right under the RTAB script (RTAB is the very first added script in my list of scripts). I'm still getting an error, and on the battles that DO work pushing confirm on the Escape option does absolutely nothing...there is an Escape option in the RTAB script that I changed from false to true...dunno what that's all about.

I couldn't find the XRXS Window thing you were talking about...is that something I need?

Sorry I'm such an annoying noob -_-.


Edit again: I think I know at least what the difference between the battles that work and don't work is--the ones that work are encounters where the "escape allowed" or whatever box is checked. So yeah...if that helps at all.
 
I'm getting the exact same problem, and likewise I am fairly certain it has something to do with escaping in an event called battle as well. At the end of my first dungeon I only get the error right at a boss that I called from an event, but in normal battles, the error does not show, BUT the escape command does nothing, just like for sillypieman. (and YES, the atb gauge IS filled with no effecct, only one character in the party)

Script order: (just as instructed)
RTAB
Escape
cogbars
casting time counter
statusmod
minkoff battlers
 
Well I is correct :S It's above main, it doesn't matter if it's in the same script or not. Although it should be put in different sections so that we could Check easily.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top