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.

Strange error with RTAB 1.14

Well, it's strange to me, anyway.

Like others here, my project was begun before the legal version of RMXP was available. Once I purchased the legal one, I transfered my old project over and continued work on it. Unfortunately, this meant that some of the default scripts were different, and I was afraid to do anything about it for fear of screwing the whole thing up. Finally, after people kept accusing me of using the illegal version when I'd ask for help and mention something that is apparently different in the scripts, I decided to give it a shot.

I backed up my project, replaced the old scripts file with a fresh one from a new project, and began copying the scripts I'd added over. All was going fine until, during one of the tests, I tried out combat. I'm using RTAB 1.14. The fight started all right, and the second character (it was a two person party) was able to attack. But when the main character attacked, I got this error:

http://img145.imageshack.us/img145/1707 ... ror9at.jpg[/IMG]

I checked that line in the script, and this is what's on it:

Code:
      if battler.wait > 0

The error does not occur in the old version of my project, that uses the Japanese scripts. Does anyone know what the problem might be, and how it can be fixed?

Edit: I tried upgrading to 1.15 and it still gives me the same error.
 
Um. Good thing my RTAB post also has the v 1.13 to 1.15 in English AND in Japanese untranslated. If you had no problems with the Japanese versions... I kept 'em there.

Will be putting up v 1.10 when I get to translating it (nostalga sake). :D
 
I'm sorry. I wasn't completely clear. When I said that I didn't have problems with the old Japanese scripts, I mean that I the old default Japanese scripts for RPG Maker didn't cause conflicts with RTAB. When trying to convert all my scripts to the English versions that came with the legal version, though, every version of RTAB that I've tried gets me the same error, whether it's the English or Japanese version. I've tried versions 1.13 - 1.15, both Japanese and English.
 
So... let's recap.
1) You're having problems with RTAB since you switched over to LEGAL RMXP. Bravo 4 that
2) You have scripts prior to LEGAL RMXP that worked with translated RMXP.
3) You... I assume... found that RTAB DEMO works with LEGAL RMXP alone.
4) You found that the error may be a conflict between OTHER scripts and RTAB.

Unfortunately... this is probably the case. You may be using some scripts that may be conflicting with RTAB in some way.

Maybe a script that has its own def update_phase4 routine?
 
Not quite. :P

1: I switched over to the legal version of RMXP a long time ago. But, since my project was started in the illegal version, the default scripts (the ones that you automatically have when you start a new project, such as Main, Scene_Menu, etc.) were still from that version.

2: Recently, I decided to try to change all of the default scripts from my project to the versions that you get when you start a new project in RMXP. I did this, and it worked fine. So, I then started copying over extra scripts (such as caterpillar, advanced message script, etc.) that I'd added. They all worked fine as well, until RTAB.

3: When I copied RTAB 1.14 over, it refused to work. So, RTAB only wants to work with the illegal versions of the default scripts. The Japanese ones. When I try to use it with the legal, English versions of the default scripts, it bombs. When the main character attacks, I get the error message I mentioned above.
 
Reverse gears. Run the RTAB demo I provided (run it to make sure :D), then copy over your 'caterpillar' and etc. scripts 1 by 1 to ensure compatability.

Something in the scripts may be interfering... somehow... and doing the 1 by 1 with a test will find out which (you don't have too many, do you?)
 
Sorry to bump this instead of just editing, but it's no longer on the first page.

I tried what you suggested, and after much testing, it appears that it was fukuyama's caterpillar script causing the problem. When I took it out, the battles seemed to work fine. Perhaps it's because I was using a very old version. I'd like to try a newer one to see what happens, but I'm not sure where to find the latest. I've seen the script floating around both on this site and the web, but I have no way to know if it's the latest version or not.
 
Fukuyama's? That's the problem???

Okay. Now for an extremely stupid question. Is his script ABOVE or BELOW the RTAB script. Strange as it may seem, move it around...

Sometimes, it works.

BUT THAT DID IT???
 
I think that did it. I know it sounds bizarre, but I tested it pretty thoroughly. Keep in mind I'm not a scripter, so when I say "tested" I just meant inserted and removed scripts until I found the one that caused the problem. Removing the caterpillar script seemed to fix it.

Now, however, I'm even more confused, because I copied my entire project folder, put only RTAB and the Caterpillar script back in, and tested it again. Previously, it was above the CBS, so I tried putting it below. It gave me the same error. So I put it back above. Same error again. Then, I tried putting it below again and now it seems to work. I'm still afraid to convert this copy of my project into the "main" one, though, because it's a complete mystery as to why it's working now, and I still haven't pinpointed the problem.

This is really making me wish I'd never gotten into RMXP until after the legal version was released. If my game hadn't been started pre-release, I wouldn't be having any of these problems. :(
 

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