Script 'Scene_Battle' line 7: TypeError occured

Status
Not open for further replies.

dennisbanaan

Warper
Member
Joined
Jun 16, 2014
Messages
3
Reaction score
0
First Language
Dutch
Primarily Uses
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
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
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.
 

Sharm

Pixel Tile Artist
Veteran
Joined
Nov 15, 2012
Messages
12,760
Reaction score
10,884
First Language
English
Primarily Uses
N/A
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

dennisbanaan

Warper
Member
Joined
Jun 16, 2014
Messages
3
Reaction score
0
First Language
Dutch
Primarily Uses
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
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.
Have you checked all "empty" slots in the script editor? perhaps you added something somewhere and forgot to name the slot...
 

dennisbanaan

Warper
Member
Joined
Jun 16, 2014
Messages
3
Reaction score
0
First Language
Dutch
Primarily Uses
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!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,975
Members
137,563
Latest member
cexojow
Top