I'm getting a script error, but I haven't touched the scripts?

Hollystar311

Villager
Member
Joined
Sep 2, 2018
Messages
10
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Hello lovely people. I'm having a bit of an issue here and I really don't know what to do as I'm super inexperienced with scripts. When I loaded up my project today and went to playtest I got an error message. I figured I must have accidentally erased part of the line or something because I can't think of any other reason for this to be happening. So I created a new project and copy pasted the script back into mine, but that didn't seem to make a difference.

I've been working stupidly hard on this game and it makes me really nervous to be having a problem with something I know next to nothing about with no explanation for why it's happening.

1619619166701.png
1619619557275.png
 

rexie09

Villager
Member
Joined
Apr 4, 2021
Messages
26
Reaction score
10
First Language
English
Primarily Uses
RMMZ
How many actors are in you're game right now ?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,393
Reaction score
811
First Language
English
Primarily Uses
RMVXA
What custom scripts do you have in your game?
 

Thefirelion

TheFireLion Game Studio
Veteran
Joined
Mar 25, 2017
Messages
150
Reaction score
47
First Language
Spanish
Primarily Uses
RMVXA
This also happens in vanilla project?, occurs on all maps you do the test on?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,366
Reaction score
8,775
First Language
German
Primarily Uses
RMMV
@Hollystar311
"of nil" means that the engine is missing data.
if you don't have scripts, that means that you deleted something from the database that is still in use in another part of the database.

for example deleting an enemy and then starting a battle with a troop that originally contained the now deleted enemy
or deleting a class that is still used by an actor, and then using that actor in the game
or deleting an item that was set as default equipment for your actors

and so on.
 

Wyrelade

Wyrelade - The one and only.
Veteran
Joined
Apr 11, 2014
Messages
72
Reaction score
26
First Language
Finnish
Primarily Uses
RMVXA
Did this ever get fixed for you?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,366
Reaction score
8,775
First Language
German
Primarily Uses
RMMV
Did this ever get fixed for you?
I assume so, because I posted the description of the cause above.
All the OP needed to do is to check what he deleted in the database to cause the error and replace it.

However, that does not automatically mean that a similar error has the same cause, because what looks similar to a non-programmer can be something completely else.
That is why the mods on this forum ask everyone to post their own topic for their own errors, never assuming that two cases are the same.
 

Latest Threads

Latest Profile Posts

7DcJlIG.png


Made a lot of progress on the tileset for the more sumptuous interior areas for the priory
I keep thinking up of new changes or improvements... Edit: Forgot to add the image Gimpwork.JPG
Hello, my nickname is Rigomor, but I am also known as Mopsikus. I work on RPG Maker games, and are currently working on a game called Peony of War.
If the world treats you like an enemy... Then the world must be your enemy...

Forum statistics

Threads
117,297
Messages
1,106,283
Members
153,480
Latest member
Varlen
Top