Undefined method 'actor' for nil:Class?

Cristiander

Veteran
Veteran
Joined
Aug 13, 2015
Messages
41
Reaction score
1
First Language
Romanian
Primarily Uses
When I start my game I get this error





I don't understand where this is comming from. It was working fine, then I started adding a couple of scripts and now I can't start my game.


The scripts I added were from Yanfly, and most of them worked on the cosmetics of my game, no core engine or anything like that. I don't know what to do now.


Any help is welcomed :)
 

ZServ

Veteran
Veteran
Joined
Jun 16, 2014
Messages
260
Reaction score
71
Primarily Uses
Did you try and continue an existing save?


Make a new save. It's likely the actors data was messed with by one of the scripts, and broke existing save files. Which scripts did you add?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,666
First Language
German
Primarily Uses
RMMV
This error message means that either you tried to load an old savefile that was invalidated by one of the added scripts like said above (a lot of scripts need you to start a new game to function properly), or (if that error message happens before the title screen) then one of those scripts has been copied incomplete and is missing the class or module settings (without those lines, the game tries to execute the script before the title screen, and at that time the actors don't exist yet).


You can follow the link "how to use a script" in my signature to learn more about script use, script configuration and bughunting with scripts.
 
Last edited by a moderator:

Cristiander

Veteran
Veteran
Joined
Aug 13, 2015
Messages
41
Reaction score
1
First Language
Romanian
Primarily Uses
After some trial and error I found the problem.


Seems it was this piece of code:


text =
"His " +
"charisma and funny nature are not as " +
"strong, what with his life now being on" +
" the line and also not having his" +
" memories. But he’s positive and " +
"persistent and in combat can deal severe" +
" damage or sing in order to afflict " +
"status effects."
$game_actors[1].description = text


This works toghether with Yanfly Engine Ace - Ace Status Menu


Not sure what is the problem but I deleted it and now the game works fine.
 

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,847
Messages
1,016,968
Members
137,561
Latest member
JaCrispy85
Top