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.

GTBS two glitches/errors

I wasn't sure if I should email the creator or bring it here, but I thought to bring it here first.

I'm experiencing two errors in the Tactical battle script, GTBS, in RMXP.  I have pictures showing what is going on and stuff, so hopefully it'll be enough.

************
The first one deals with attacking an enemy.  Everything is fine whenever someone attacks an enemy with a weapon... but if that actor/party member doesn't have any weapon equipped on him, the game crashes for some odd reason.

http://i113.photobucket.com/albums/n228 ... error1.jpg[/img]

After it gives me that, I'll head to the Script, to the line that it is telling me is in error, and it gives me this.

http://i113.photobucket.com/albums/n228 ... error2.jpg[/img]

That's my first error.  It's not really a major problem, but it might be a problem if someone accidentally sells their weapon or they accidentally unequipped it.  I can leave a warning for players at the beginning of the game to be careful of that if push comes to shove.

***************

My second error is a strange one that isn't very major either, but it's not minor either.  When I have events named "place", it allows me to place characters wherever I want the player to place them.  If you press C, it places a character down.  Pressing C will make the tile read, which indicates that you can move your placed character to a different blue tile... but if you don't move him, and you press C again while the tile is read, this happens.

http://i113.photobucket.com/albums/n228 ... error3.jpg[/img]

Since you can't remove characters already placed, your game is now stuck with this large figure.  You can press C to make the tile read and move him/her around... but pressing C again this time will cause the game to crash.

http://i113.photobucket.com/albums/n228 ... error4.jpg[/img]

And here's the line it is referencing in the script.

http://i113.photobucket.com/albums/n228 ... error5.jpg[/img]

This can be a major problem, depending on the circumstance anyway.

**************

If anyone can help me, I'd deeply appreciate it.  I don't understand scripts all that well yet, except for some basic stuff (I was able to add a Beastiary option to the TOS menu script!  It's probably very simple, but I'm proud I figured it out  :grin:)

Thanks again :D


=============================================================
=============================================================
EDIT

Well, I solved my first problem.  I deleted lines 3000-3005, and whenever someone attacks without an equipped weapon it will just do minimal damage, no sword-slashing animation.  That'll be fine for the needs of the game.

As for the second problem, I haven't been able to solve that yet.  I tried doing what I did in the above, and it screwed it up.  Thankfully, I was using a copy of the original, so if I screwed it up, I can just delete it and still have my original.

I'll keep everyone informed if I can solve my second problem ^_^.  To be honest, I do have a problem with the party members thing, but I'm ignoring that for now

=============================================================
=============================================================

Edit 2

Well, I was able to change the second problem around a bit (by deleting a few things again), and now it no longer crashes... but it still acts strange though.  Basically, I put the first party member down, and I decide to remove him.  It erases him, and replaces him with the next character.  I press to erase the second character, and pressing it again erases the second character and replaces him with the third.  I don't know how to explain it all that well, so I could make a video on what is happening...

I'm not sure if I still need assistance fixing this or not...  Perhaps it is solved for now... but if anyone has any advice still on how to do it the right way, I'm all ears ^_^
 

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