public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Stack level too deep error when calling common event from battle

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Stack level too deep error when calling common event from battle
  • Original author: musicalgenocide
  • Original date: July 28, 2014
  • Source thread: https://forums.rpgmakerweb.com/threads/stack-level-too-deep-error-when-calling-common-event-from-battle.30442/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

The title is the gist of it, I'm trying to make (what I thought would be) a relatively simple event that causes a random skill to be chosen and used when a certain skill is used. The idea is that there is a "microphone" weapon which contains the skill "Melody." When the player uses "Melody" it would call one of 8 or 9 skills, based on a random variable. Instead, it just crashes the game. I guess my melody wasn't very good. The exact error is: ----------------------------------------- |    SystemStackError...

Archived First Post

The title is the gist of it, I'm trying to make (what I thought would be) a relatively simple event that causes a random skill to be chosen and used when a certain skill is used. The idea is that there is a "microphone" weapon which contains the skill "Melody." When the player uses "Melody" it would call one of 8 or 9 skills, based on a random variable. Instead, it just crashes the game. I guess my melody wasn't very good.

The exact error is:

-----------------------------------------

|    SystemStackError occured.   |

|                                                  |

|    stack level too deep               |

|_________________________|

I tried to accomplish this with Yanfly's Random Invoke script, but I couldn't get the script to do anything. I tried positioning the notetags every way I could think of, but no matter what I did, it would just use the "base" skill and nothing else. It did not produce the error, just didn't do anything.

I'm using 8,000,000 scripts (give or take,) but most of them are part of GubiD's tactical battle system, which seems to have a lot of potential to break things.

I have a feeling I'm doing something really simple wrong, and I'm okay with that, as long as someone tells me what it is. Thanks.

Protected download

Protected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Screenshot 2014-07-28 02.24.26.png
Screenshot 2014-07-28 02.24.26.png
scripts.png
scripts.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar