EOF Error and NameError occurred

Hi everyone,
When I open my game from its folder it gives this error instead:
____________________________________________
| Script 'Scene_Intro' line 78: NameError occurred. |
| |
| uninitialized constant IntroEventScenePBSpecies |
| --------------------------- |
| OK |
| --------------------------- |
|___________________________________________|


--------------------------------------------------------------------------------------------------------------------------------------------------



When I open it from Rpg Maker it gives this error:
-----------------------------------------------------------------------------------------------------------------------------------------
| [EOFError, "End of file reached", ["Section049:2138:in `oldload'", "Section049:2138:in `load'", |"Section168:3968:in `load_data'", "Section168:3968:in `pbCompileAnimations'", "Section168:4066:in |`pbCompileAllData'", "Section168:4162"]]
----------------------------------------------------------------------------------------------------------------------------------------
If I press Ok the next message is:

---------------------------------------------------------------------
|Exception: NoMethodError
|
|Message: undefined method `name' for 4:Fixnum
|
|Compiler:3996:in `pbCompileAnimations'
|
|Compiler:3994:in `each'
|
|Compiler:3994:in `pbCompileAnimations'
|
|Compiler:4066:in `pbCompileAllData'
|
|Compiler:4162
---------------------------------------------------------------------

How can I solve ???
your errors all point out to damaged or incomplete files.

if they were damaged in download or in decompression, then you need to re-download an intact version and reinstall that
if they are already damaged on the internet, then you need to contact the game developer for an updated intact version.
your errors all point out to damaged or incomplete files.

if they were damaged in download or in decompression, then you need to re-download an intact version and reinstall that
if they are already damaged on the internet, then you need to contact the game developer for an updated intact version.



Hi Andar thank you!
The problem is that i am the developer.
How can i find the damaged file?
I am going crazy!
How can I find the damaged file?
What is Scene_Intro? That is not one of the default XP scripts.

My guess is that you've added a script incorrectly, are missing a script, or have your scripts in the wrong order.

@Luca74Hej , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


Double posting means writing another post right after one of your posts (must be two consecutive). If you want to add more information, simply edit your previous post. Thank you.
Until I removed and put the game project back in its folder everything worked ..

@Shaz thank you but my problem is how can i find the script? because until I removed and put the game project back in its folder everything worked ..
I have no idea. You added the script, not me. I've never heard of it.
Hi everyone, I downloaded a video game base from the internet with some non-basic Rpg maker scripts already set. Since I took the game project out of its folder and then put it back it gives an error in the script editor:

Script 'Scene_Intro' line 78: NameError occurred.
uninitialized constant IntroEventScene :: PBSpecies

I went to the script editor, I found the "Scene_Intro" script, I went to line 78 and it wrote this: cry = pbResolveAudioSE (pbCryFile (1 + rand (PBSpecies.maxValue)))

The function of the script is to create the intro and display the images. For clarity I show below in the image some lines before up to line78


Please, can you help me ???
First thing you need to know is that the line given in an error code is the line when a computer finds out there is an error. It is rarely the line where the error really is (unless it's a syntax error)

In this case the computer complains that he has no data in constant named PBSpecies
Constants are used for configurations, which means you haven't configured that script correctly.

For more details you should give a link to the website of that script, only there (or in any manual for it) you usually find the instructions on how to configure the script correctly.
First thing you need to know is that the line given in an error code is the line when a computer finds out there is an error. It is rarely the line where the error really is (unless it's a syntax error)

In this case the computer complains that he has no data in constant named PBSpecies
Constants are used for configurations, which means you haven't configured that script correctly.

For more details you should give a link to the website of that script, only there (or in any manual for it) you usually find the instructions on how to configure the script correctly.

I'm a little inexperienced, I don't understand much .. can you explain it a little more simply please?

@Luca74Hej Please don't make new thread. I've merged your two threads together.


Hi everyone, I downloaded a video game base from the internet with some non-basic Rpg maker scripts already set.
Was it Pokémon Essentials?
Moderator note: @Luca74Hej Please don't make new thread. I've merged your two threads together.

Was it Pokémon Essentials?
yes!
Then we can't help you. Pokémon Essentials contains rips and this forum does not provide support for ripped resources. It was also taken down by Nintendo due to copyright infringement.

Closing this.

Original thread: https://forums.rpgmakerweb.com/threads/eof-error-and-nameerror-occurred.119109/