So I was trying to add some custom scripts from the internet in my script folder when I fupped up like
a noob.
I did not save my data in a seperate file, instead I overwrote it.
Now everytime I try to play test my game it gives me the error:
Script 'Scene_Battle' line 7: TypeError occured.
superclass mismatch for class Scene_Battle
I tried to make everything the same again, I removed the custom script and I copy-pasted scripts from
new project in the broken one.
But that did not work.
I also searched on the internet for the default scripts but I could not find the one I was looking for.
Wich is : "Scene_Battle" I think.
Please help me fix this error.
The script right now I'll send too.
Script.txt
Script 'Scene_Battle' line 7: TypeError occured
● ARCHIVED · READ-ONLY
-
-
Either your scene_battle or your scene_base was changed, try replacing both with default scripts from a new project.
If both are already default, you'll need the backtraver script from tsukihime's blog to get the true error position, so please install that script.
If that does not help either, then someone needs to take a look at your entire project. -
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
-
I installed the backtrace script from tsukihime's blog, but the console just stays blank when the error is given.
the scripts are default now for sure. -
No, they're not - the game would not give the error if the script were not containing something that is not default.the scripts are default now for sure.
Have you checked all "empty" slots in the script editor? perhaps you added something somewhere and forgot to name the slot... -
call me stupid, call me an idiot, but you are right, it was an empty slot with just a little tekst in it.
Thank you verry much! -
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.