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.
sometime, when im doing a code and press f12 to start the test, a message will come up as follow: "stack level too deep". and goes back to map editor. (does not let me play/test my game)
Any scripts you are using? Such as the CATERPILLAR SCRIPT or the TRAILING CHARACTERS script? RMXP usually rereads the methods of scripts concerning the party, etc.
sephy's vehicle script can cause this too. the only solution is to get rid of the aliases (from the script that is causing the problem) and put the code directly in the original functions.
Stack Level too deep occurs when a method is called recursive over a period a time. An example is if function A calls function B and function B calls function A. There will be no end to the callings.