After checking out quite a few threads on the system stack error(stack too deep) it seems that this would occur when there is a double script or when it keeps calling itself.
This doesn't seem to be the issue with my project.
I have(in this order):
Yanfly ABE
Tankentai SBS
Yami CATB
Yanfly HP Gauges
The error ONLY appears if I do the following:
Start a new game, run a battle, exit to title and then start a new game. Otherwise (if I save/load, if I exit the game completely etc.) it works perfectly.
So somehow after calling those scripts, starting a new game floods the stack. Like as if there is something left over after I already ran a battle.
Any idea on how I can resolve it? Perhaps clear it on "New Game" somehow?
I switched stuff around already, however this order of scripts is the only way they will work together to give me an active time side battle system that functions.
Further info:
Seems to happen here - Game_BattlerBase: 146 - stack level too deep
That line is part of the following:
#--------------------------------------------------------------------------
# * Get Current States as an Object Array
#--------------------------------------------------------------------------
def states
@states.collect {|id| $data_states[id] }
end
No idea what to do with that! As I mentioned, loading a game works fine, only occurs when a new game is started after a battle has already occurred.
This doesn't seem to be the issue with my project.
I have(in this order):
Yanfly ABE
Tankentai SBS
Yami CATB
Yanfly HP Gauges
The error ONLY appears if I do the following:
Start a new game, run a battle, exit to title and then start a new game. Otherwise (if I save/load, if I exit the game completely etc.) it works perfectly.
So somehow after calling those scripts, starting a new game floods the stack. Like as if there is something left over after I already ran a battle.
Any idea on how I can resolve it? Perhaps clear it on "New Game" somehow?
I switched stuff around already, however this order of scripts is the only way they will work together to give me an active time side battle system that functions.
Further info:
Seems to happen here - Game_BattlerBase: 146 - stack level too deep
That line is part of the following:
#--------------------------------------------------------------------------
# * Get Current States as an Object Array
#--------------------------------------------------------------------------
def states
@states.collect {|id| $data_states[id] }
end
No idea what to do with that! As I mentioned, loading a game works fine, only occurs when a new game is started after a battle has already occurred.