The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: JFace on December 25, 2011, 07:07:57 PM

Title: [RM2K3] "Division by zero error" from battle event [Resolved]
Post by: JFace on December 25, 2011, 07:07:57 PM
Merry Christmas!
...almost  :-\

I'm doing a very basic battle event that causes damage based on the number of a particular item you have collected. The event works fine, however, I found that while holding the up arrow key for the duration of the event, I get an error message if the enemy dies. The error is "division by zero error". The error doesn't seem to come up given any other scenario.

Not a game breaker, but I would hope that the poor soul playing my game wouldn't inadvertantly come across this error from pressing a button at the wrong time.
Title: Re: [RM2K3] "Division by zero error" from battle event
Post by: JFace on December 26, 2011, 01:11:22 PM
I downloaded the RPG_RT.EXE version 1.09 and this fixed the bug.