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,376
Reaction score
802
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,316
Reaction score
8,755
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,316
Reaction score
8,755
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 Posts

Latest Profile Posts

I think it's ready - Chapter Selection:
unknown.png
On another more gaming topic, I paid 20 bucks for a visual novel to emotionally destroy me. I may write an entry about that.
1638611395177.png
Reading about metaverses recently. I can totally imagine myself in the future, logging in with VR glasses to a virtual beach villa sitting in a virtual chair, with a virtual laptop facing the sea...coding 16-bit RM.
Mod name: "[Game name] Gameplay Overhaul"
What they actually mean: "Here is a mod that makes the game harder."
I decided to reinstall one of my most favourite game of all times, Gothic 2. Time to get back to Khorinis!

Forum statistics

Threads
117,174
Messages
1,105,151
Members
153,277
Latest member
MinimapDownloadOnly
Top