RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RM2K3] "Division by zero error" from battle event [Resolved]

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 76
RMRK Junior
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.
« Last Edit: December 26, 2011, 01:11:44 PM by JFace »

**
Rep: +0/-0Level 76
RMRK Junior
I downloaded the RPG_RT.EXE version 1.09 and this fixed the bug.