2 scripts broken help?

http://forums.rpgmakerweb.com/index.php?/topic/16520-super-simple-mouse-script/#entry206422

http://www.gdunlimited.net/scripts/rpg-maker-xp/custom-battle-scripts/sideview-battle-system-tankentai-xp

I tried putting them in the same game (A test game) And that showed up anyone know how to fix it? I love both scripts so is there I way I can mix both scripts without it breaking?

HELP.png
First of all, make sure that you havn't copied the same script twice inside the materials (goes for both script list and the script codes). If that's not the error, then it seems like It's a compability issue and you will need a scripter to make them work with each other.
I actually don't think this has anything at all to do with the mouse script. The "broken" line is Game_Battler.initialize, which is not used by the mouse script.


Try disabling the mouse script (or temporarily deleting it) and see if the problem still exists. If it does, it's neither an error nor a compatibility issue with the mouse script.


Edit: Actually, yes, if the sideview script (or even one of its scripts) exists twice, it would cause that error. Check the unnamed slots as well. If you can't find it a second time, let us know if you're using any OTHER scripts.
"stack level too deep" usually either means one script is accidentially installed two times, or two scripts use the same function overrides in a way that creates an endless stack iteration.


The scripts aren't broken by themselves, alone they usually work - it's the combination that causes the problem.


Unfortunately I have absolutely no idea how to identify the problematic functions in XP. you might try changing the order of both scripts if you haven't done that yet (which means whatever is placed below the other should be placed above and then test again), but otherwise you have to wait until someone comes along who knows both scripts and can make them compatible.
Actually, you can send me your Data/Scripts.rxdata file if you like and I'll take a quick look for you, if you're struggling with any of the above.
Thanks everyone I realized that I didn't name a second sideview script I had so I erased that one that I didn't want and now it works but my character jogs without moving forward like in the other topic I made the picture is there.

Only player 1 does that now but the other ones are fine I don't know why.

Hkau help.png
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


If you have another topic for the second issue, we'll leave people to answer it there, rather than have two topics for the same issue.

Original thread: https://forums.rpgmakerweb.com/threads/2-scripts-broken-help.21660/