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.

Script Issues [New Issue, Old one Fixed]

Script Name: KGC_LimitBreak

Maker: RPG Maker VX

Part Of: KGC Translated Scripts Demo

Error Message:
Code:
Script 'KGC_LimitBreak' line 525: SystemStackError occured

stack level too deep

Script:
Code:
#_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
#_/    â—†             Unlimit Parameters - KGC_LimitBreak               â—† VX â—†
#_/    â—‡                  Last update : 2008/01/09                          â—‡
#_/    â—†                Translatation by Touchfuzzy                         â—†
#_/-----------------------------------------------------------------------------
#_/  This script allows you to go beyond the game's set limit of levels, stats
#_/   various parameters of enemies, money in hand, and possessed items.
#_/=============================================================================
#_/  Installation: Because this script overwrites many classes(given its nature)
#_/   it must be inserted as close to the top of the custom scripts as possible. 
#_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_

#==============================================================================#
#                           ★ Customization ★                                  #
#==============================================================================#

module KGC
 module LimitBreak
  # 0. Levels 1-99 are determined normally, all levels after 99 are determined
  # by the equation used in PARAMETER_CALC_EXP.

  # 1. The stats listed in the database are only used as variables in the
  # following equations:
  #    ax^2 + bx + c
  #    a = What is set in the Database as the level 1 score of the
  #    corresponding stat.
  #    b = What is set in the Database as the level 2 score of the
  #    corresponding stat.
  #    c = What is set in the Database as the level 3 score of the
  #    corresponding stat.
  #    x = characters current level.

  # 2. The stats listed in the database are only used as variables in the
  # following equations:
  #    bx + c
  #    b = What is set in the Database as the level 2 score of the
  #    corresponding stat.
  #    c = What is set in the Database as the level 3 score of the
  #    corresponding stat.
  #    x = characters current level.

  PARAMETER_CALC_METHOD = 0

  # The following is the equation used for level 100 up if you are using
  # PARAMETER_CALC_METHOD = 0.  The following uses the difference between the
  #  stat at level 98 and level 99 at level 100 and each level afterwords.
  PARAMETER_CALC_EXP = "(param[99] - param[98]) * (level - 99)"

  # CHARACTER MAX LEVELS
  ACTOR_FINAL_LEVEL = []  # â†
 

khmp

Sponsor

When does this error occur? I only added some protection around the loop to prevent it from being reached if either exp or the list is nil? Doesn't really delve into fixing the error but should prevent it. Let me know what happens.

Code:
#_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
#_/    â—†             Unlimit Parameters - KGC_LimitBreak               â—† VX â—†
#_/    â—‡                  Last update : 2008/01/09                          â—‡
#_/    â—†                Translatation by Touchfuzzy                         â—†
#_/-----------------------------------------------------------------------------
#_/  This script allows you to go beyond the game's set limit of levels, stats
#_/   various parameters of enemies, money in hand, and possessed items.
#_/=============================================================================
#_/  Installation: Because this script overwrites many classes(given its nature)
#_/   it must be inserted as close to the top of the custom scripts as possible. 
#_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_

#==============================================================================#
#                           ★ Customization ★                                  #
#==============================================================================#

module KGC
 module LimitBreak
  # 0. Levels 1-99 are determined normally, all levels after 99 are determined
  # by the equation used in PARAMETER_CALC_EXP.

  # 1. The stats listed in the database are only used as variables in the
  # following equations:
  #    ax^2 + bx + c
  #    a = What is set in the Database as the level 1 score of the
  #    corresponding stat.
  #    b = What is set in the Database as the level 2 score of the
  #    corresponding stat.
  #    c = What is set in the Database as the level 3 score of the
  #    corresponding stat.
  #    x = characters current level.

  # 2. The stats listed in the database are only used as variables in the
  # following equations:
  #    bx + c
  #    b = What is set in the Database as the level 2 score of the
  #    corresponding stat.
  #    c = What is set in the Database as the level 3 score of the
  #    corresponding stat.
  #    x = characters current level.

  PARAMETER_CALC_METHOD = 0

  # The following is the equation used for level 100 up if you are using
  # PARAMETER_CALC_METHOD = 0.  The following uses the difference between the
  #  stat at level 98 and level 99 at level 100 and each level afterwords.
  PARAMETER_CALC_EXP = "(param[99] - param[98]) * (level - 99)"

  # CHARACTER MAX LEVELS
  ACTOR_FINAL_LEVEL = []  # â†
 
I know I changed some values from the original script but I really don't think thats the issue since it's supposed to be for individual games. However it only had problems with 'Load Games.' New Game and the thing works fine it just doesn't want to work with Load Game.

I'm trying it out now.

Again it's giving me errors, check it out again please.
 
quick question is there a way to change the exp values???

I want it to take half the exp it takes normally to level up
so I am using the lowest setting possible... level 2 10 exp level 3 18 exp...

so I was wandering if It could be set to only take half that... so it takes 5exp level 2... 9exp level 3... and then increases from that
 

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