STACK LEVEL TOO DEEP?
Posts
Pages:
1
I am using four yanfly engine ace scripts and I went to test my battle and I get this error.
SystemStack Error
Stack level too deep
Anything I can do about that?
SystemStack Error
Stack level too deep
Anything I can do about that?
It's calling too deep into recursive functions - one of the aliases must not be working correct, or indeed might be missing entirely. Does it make reference to a specific line? Try opening the script editor afterwards and see where it automatically moves the cursor - I don't know about Ace, but most of the time in XP it automatically jumps to where the last error was.
XP doesn't always do it, it depends on the error. When is the error called up? What's the game attempting to do when the error comes up? It may mean you're missing a dependency for one of the scripts, and thus possibly missing an aliased function (so a function, somewhere, is actually referring to itself and thus calling itself repeatedly - I came across the same error writing up large parts of LSX's stuff before I started overwriting default code).
Basically whenever I start up my game it gives me the error. And I tried removing all of my scripts and putting them in one at a time to see if that works. Apparently I can only have one script or else it crashes. Fairly pissed off. And I have all of the scripts needed.
Is it coming up with the error when you actually start the game, or when you try to test a battle? Does it occur in both situations? Which four scripts are you using? It's possible that the standalone versions refer to some of the same functions and could, possibly, be interfering with one another - but if I know what scripts you're using, I can actually look at the scripts themselves to see where they might be causing the error.
It happens in both situations, the four scripts I am using are Yanfly Engine Ace Equip, Battle Engine, Battle Command List and Core Engine.
Another question - what order are you putting them in in the script editor? That in itself could be causing the error if they're in the wrong order - I can't much help with what order they should be in... =/
I'll take a look through the scripts, but my initial run through says they should work as is.
Edit: By my thinking, it should be...
Core Engine
Equip Engine
Battle Engine
Battle Command
But that's just from my quick look through the scripts. Those last two I know for sure, I'm just not 100% sure where to put the Equip engine.
Anyways, I need to sleep, if you can't get it figured out by swapping orders around, I'll take a better look tomorrow/after I wake up. - T
I'll take a look through the scripts, but my initial run through says they should work as is.
Edit: By my thinking, it should be...
Core Engine
Equip Engine
Battle Engine
Battle Command
But that's just from my quick look through the scripts. Those last two I know for sure, I'm just not 100% sure where to put the Equip engine.
Anyways, I need to sleep, if you can't get it figured out by swapping orders around, I'll take a better look tomorrow/after I wake up. - T
Pages:
1












:origin()/pre10/dff2/th/pre/i/2015/267/4/2/persona_5_mc_fanart__by_tri11-d9arw3g.jpg)


