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.

"Common Event call has exceeded maxium limit" <- problem!

When I test played my game, for just 3-5 minutes, a message popped up saying "Common Event call has exceeded maxium limit" and the game shutdown, automaticly. I only have 4 Common events, they are all made for a night/day system (not by me), and has a switch to turn on the night or not. So, around 20 maps right now, having the turn on switch for the map on, which is connected to the "Night/day system" common event. Is it because I made too many of them?
Is there any suggestion to fix that problem WITHOUT deleting or changing the current night system?
If not, then any other suggestion would be appreciated and checked ;)
 
Are you only calling the common event once per map?
On the map event that calls the common event (Autorun or Parallel Process),
you need to make sure the common event only gets called once. To do this,
after you call the common event, set Self-Switch A = ON, then set the
"Condition" for a second page to Self-Switch A is ON, and make that event
a regular "Action Button" Trigger, so it doesn't execute.

Be Well
 

Zeriab

Sponsor

@Brewmeister: I am afraid that won't help.

The error message really should have been "Common Event call has exceeded maxium depth" instead.
There an event common called Call Common Event which starts executing the common event you select. That event will now be triggered as having depth = 1.
It might then be that you use the Call Common Event in that common event to call another common event. Depth = 2 now. If you from the that event call yet another event the depth increases by 1 again. If you just let that event finish the common event which called that event will now continue executing from where it had the call. Its depth will be one less.
If the depth reaches 100 you get the error message and the game closes.

This typically happens if you by accident let the same common event call itself without having a way of skipping that part.
It is most likely something like this that happens with your night/day system. Some problems with an common event calling itself without ever 'finishing' and therefore the depth just keeps increasing.

You said that you did not make the night/day system. Did you copy it from a demo? I assume you did.
If so you must make sure that the common events are copied to the exact same places as in the demo. If it is common event 2,3 and 6 that is used in the demo, then you must copy them respectively to common event 2,3 and 6 in the database.
Another option is to go through and change all Call Common Event commands accordingly to the change in positions.
I am assuming that the night/day system works. It is also possible that it is a problem made by the creator. Since it does not happen immediately that is also a possibility.

I hope you can figure it out

*hugs*
- Zeriab
 
Hehe hi again, thanks for your help Zeriab! I've been away for LOOOOOOOOOOONG time, and totally forgot about this topic I made ehm hehe. Sorry for that, but I appreciate your long text ^_^

I will use that text as a supporter if it ever happens again (since I've been away from RMXP.org, then I've also been away from RPG MAKER XP, and forgot some of it mechanics and need to rememorize them hehe). Also the game I "used" it for has been retired (can call it deleted in some way...). Though, might use the same system for another game I make hehe.

And also thanks to you Brewmeister ;P

Newly returned,
Astroomar!
 

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