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,387
Reaction score
808
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,346
Reaction score
8,769
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,346
Reaction score
8,769
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


It's a Spanish devlog don't get scared!. (please)
Q:"Why don't you get a job?"
A: Posting statuses IS my job. It just so happens to not pay and happen periodically over the course of three months.
My new 49" monitor has been dispatched from the warehouse. Will it arrive tomorrow? The day after? I love that we can track packages now, even if it does only tell me when it's left that end and when it's arrived at the local centre. As long as it doesn't end up in Melbourne again, which has happened before ...
My friend's doing a surprise stream of my game Origin Hunt on Twitch here ! Feel free to stop by :yhappy:

Forum statistics

Threads
117,236
Messages
1,105,750
Members
153,396
Latest member
twofacegibby
Top