I keep running into "Stack error too deep" every now and then during combat, and my game crashes. It seems to be related to
Shaz's State Add/Remove Commands https://forums.rpgmakerweb.com/index.php?threads/state-add-remove-commands.18593/, and it may be conflicting with another script. Here is a backtracer output:
2019-06-29 01:27:21 -0700 >> EXCEPTION CAUGHT <<
SystemStackError: stack level too deep.
Backtrace:
Shaz - State Commands:95
I'm assuming 95 means Line 95 from the script, so here is the section it's in:
Line 95 is the "eval($1)" part.
The crashing seems to happen randomly when I use attacks that hit multiple times. I am using a bunch of scripts, so I don't know which one could be causing the issue, if it's compatibility related.
Shaz's State Add/Remove Commands https://forums.rpgmakerweb.com/index.php?threads/state-add-remove-commands.18593/, and it may be conflicting with another script. Here is a backtracer output:
2019-06-29 01:27:21 -0700 >> EXCEPTION CAUGHT <<
SystemStackError: stack level too deep.
Backtrace:
Shaz - State Commands:95
I'm assuming 95 means Line 95 from the script, so here is the section it's in:
Code:
#--------------------------------------------------------------------------
# * State Remove Commands
#--------------------------------------------------------------------------
def state_remove_command(state_id)
$data_states[state_id].note.split(/[\r\n]/).each do |line|
case line
when /onremove:\s*(.*)/i
eval($1)
end
end
end
end
The crashing seems to happen randomly when I use attacks that hit multiple times. I am using a bunch of scripts, so I don't know which one could be causing the issue, if it's compatibility related.