• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Report bugs and errors in unmodified Essentials version 21

Shinypoliwrath

RMXP Noob
38
Posts
12
Years
  • Seen Oct 27, 2013
Managed to fix the previous error I was getting by upgrading to the latest version of essentials.

So I tried adding in some new pokémon, but when I go to reposition the sprites using the editor, I get this error come up.
Exception: NoMethodError

Message: undefined method `width' for nil:NilClass

PokemonSpritePos:62:in `refresh'
PokemonSpritePos:181:in `pbSpecies'
PokemonSpritePos:174:in `loop'
PokemonSpritePos:194:in `pbSpecies'
PokemonSpritePos:300:in `pbStart'
PokemonSpritePos:299:in `loop'
PokemonSpritePos:307:in `pbStart'
EditorMain:236:in `pbEditorMenu'
EditorMain:234:in `pbFadeOutIn'
EditorMain:234:in `pbEditorMenu'

The editor then closes completely.

Also, when I enter battles, the battle screen is completely black, the name frames and text box are the only things that appear. for example,
error.png

I hope it's alright, but I'm bumping for a solution to this error, it's kinda halted the process of adding anything new in. :S

Edit: everything about the battle works fine, attack animations, health, etc go up/down correctly, it's just sprites don't show up/black background.
 
Last edited:

Riansky

Purr
197
Posts
12
Years
I keep getting this error while I try to run my game in debug mode..
---------------------------
Pokémon Delta
---------------------------
Exception: RuntimeError

Message: Undefined species constant name: [MRMIME]

Name must consist only of letters, numbers, and

underscores and can't begin with a number.

Make sure the name is defined in

PBS/pokemon.txt.

File PBS/shadowmoves.txt, line 36

MRMIME=SHADOWSTORM,SHADOWSHED





Compiler:928:in `pbGetConst'

Compiler:947:in `parseSpecies'

Compiler:652:in `pbCompileShadowMoves'

Compiler:647:in `pbCompilerEachCommentedLine'

Compiler:613:in `each_line'

Compiler:613:in `pbCompilerEachCommentedLine'

Compiler:610:in `open'

Compiler:610:in `pbCompilerEachCommentedLine'

Compiler:647:in `pbCompileShadowMoves'

Compiler:4018:in `pbCompileAllData'



This exception was logged in

C:\Users\Mitja\Saved Games/Pokémon Delta/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 

mineox100

Hey.
355
Posts
13
Years
I got his error when I was making a script call to give the player a Pokedex and 5 pokeballs:
Spoiler:


For Rainski (sorry if spelled wrong)
Are you using the Unova pack?
I got that problem too, but i fixed it.
 

tasmania12

Mewtwo Master
57
Posts
16
Years
I got his error when I was making a script call to give the player a Pokedex and 5 pokeballs:
Spoiler:


For Rainski (sorry if spelled wrong)
Are you using the Unova pack?
I got that problem too, but i fixed it.

Instead of using

Kernel.pbReceiveItem
(PBItems::POKEBALL,5)

type it with the first parenthesis on the first line like this:

Kernel.pbReceiveItem(
PBItems::POKEBALL,5)


I keep getting this error while I try to run my game in debug mode..
---------------------------
Pokémon Delta
---------------------------
Exception: RuntimeError

Message: Undefined species constant name: [MRMIME]

Name must consist only of letters, numbers, and

underscores and can't begin with a number.

Make sure the name is defined in

PBS/pokemon.txt.

File PBS/shadowmoves.txt, line 36

MRMIME=SHADOWSTORM,SHADOWSHED





Compiler:928:in `pbGetConst'

Compiler:947:in `parseSpecies'

Compiler:652:in `pbCompileShadowMoves'

Compiler:647:in `pbCompilerEachCommentedLine'

Compiler:613:in `each_line'

Compiler:613:in `pbCompilerEachCommentedLine'

Compiler:610:in `open'

Compiler:610:in `pbCompilerEachCommentedLine'

Compiler:647:in `pbCompileShadowMoves'

Compiler:4018:in `pbCompileAllData'



This exception was logged in

C:\Users\Mitja\Saved Games/Pokémon Delta/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------


Is it spelled MRMIME in both shadowmoves and pokemon in the PBS folder?
----------------------------------------------------------------

Can anyone help with my problem?
 
9
Posts
16
Years
I was having the same problem about the error with Mr. Mime's name but like you said about making sure they are both spelled the same fix the error they were different. Thank you.
 

tasmania12

Mewtwo Master
57
Posts
16
Years
This Error happened when i selected new game and went to the input name screen. It also happened when I caught a Pokemon and wanted to name it.

---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 1, map 28 (Intro):

Exception: NoMethodError

Message: Section081:1274:in `pbUpdate'undefined method `update' for Mouse:Module

***Full script:

pbTrainerName


Interpreter:243:in `pbExecuteScript'

PokemonTextEntry:1188:in `pbStartScene'

PokemonTextEntry:1188:in `pbFadeInAndShow'

SpriteWindow:1619:in `each'

SpriteWindow:1619:in `pbFadeInAndShow'

SpriteWindow:1618:in `pbDeactivateWindows'

SpriteWindow:1522:in `pbActivateWindow'

SpriteWindow:1522:in `pbDeactivateWindows'

SpriteWindow:1618:in `pbFadeInAndShow'

PokemonTextEntry:1188:in `pbStartScene'



Interpreter:275:in `pbExecuteScript'

Interpreter:1592:in `command_355'

Interpreter:493:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'



This exception was logged in

C:\Users\Troy\Saved Games/Pokemon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------


Did i do something wrong? How can i stop getting this error when at a name input screen?

I still can't find any solutions...
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
This Error happened when i selected new game and went to the input name screen. It also happened when I caught a Pokemon and wanted to name it.

---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: Script error within event 1, map 28 (Intro):
Exception: NoMethodError
Message: Section081:1274:in `pbUpdate'undefined method `update' for Mouse:Module

***Full script:
pbTrainerName

Interpreter:243:in `pbExecuteScript'
PokemonTextEntry:1188:in `pbStartScene'
PokemonTextEntry:1188:in `pbFadeInAndShow'
SpriteWindow:1619:in `each'
SpriteWindow:1619:in `pbFadeInAndShow'
SpriteWindow:1618:in `pbDeactivateWindows'
SpriteWindow:1522:in `pbActivateWindow'
SpriteWindow:1522:in `pbDeactivateWindows'
SpriteWindow:1618:in `pbFadeInAndShow'
PokemonTextEntry:1188:in `pbStartScene'

Interpreter:275:in `pbExecuteScript'
Interpreter:1592:in `command_355'
Interpreter:493:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'

This exception was logged in C:\Users\Troy\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------


Did i do something wrong? How can i stop getting this error when at a name input screen?
You've changed something in Essentials, which means that this error is because of what you've done rather than it being something that exists in Essentials. At a rough guess, I'd say you were including mouse support.

When posting error reports, please condense them like I've just done! There's no need to include all those spaces. Copy the error report into Notepad first, and then into your post.
 

tasmania12

Mewtwo Master
57
Posts
16
Years
Since my mouse system was working perfectly before and i don't know what I changed, I thought I would just copy all of my data over to a new essentials folder and it works perfectly now, scripts and all.

Thanks anyway, though...
 
3
Posts
14
Years
Can someone help me with this error:

Exception: SystemStackError

Message: stack level too deep

PokemonControls:42:in `getstate'

PokemonControls:48:in `updateKeyState'

PokemonControls:247:in `repeatcount'

PokemonControls:199:in `count'

PokemonControls:198:in `each'

PokemonControls:198:in `count'

PokemonControls:224:in `press?'

PokemonControls:135:in `dir4'

Game_Player_:371:in `update_old'

Walk_Run:74:in `update'

It pops up when I attempt a playtest. Thank you in advance!
 
320
Posts
13
Years
  • Seen Dec 27, 2021
In my creation of a Pokemon MMO with essentials and RMX-OS when i switch to a newer version of RMX-OS I get this error:

4keh.png
 

Ho-oh 112

Advance Scripter
311
Posts
13
Years
  • Age 28
  • Seen Mar 8, 2014
In my creation of a Pokemon MMO with essentials and RMX-OS when i switch to a newer version of RMX-OS I get this error:

4keh.png


Undefined method: length for nil:NilClass

it's trying to get a length out of nil, not sure why but that's the problem.
 

FL

Pokémon Island Creator
2,434
Posts
13
Years
  • Online now
If the player is given a move route in an event, they can hold shift/the button for running and run during those movement events, which looks kind of silly and feels unintentional.
I found a fix: In Walk_Run remove all '!pbMapInterpreterRunning? &&' and add one before '$PokemonGlobal.runningShoes &&'.
 

IceGod64

In the Lost & Found bin!
624
Posts
15
Years
There's a glitch in the newest version of Pokémon Essentials relating to the fog. When the player walks up or down, it changes position oddly.

 

IceGod64

In the Lost & Found bin!
624
Posts
15
Years
Ive noticed when you change the battlebg in the editor/PBS/debug menu that it makes the battlebg black even when named properly.
That is a known bug that hasn't been actually fixed yet.

A workaround however, is to open your projects' Metadata.txt, find the line battlebg="yourbattlebg", and remove the quotes.
 
8
Posts
11
Years
  • Seen Apr 19, 2012
So i put a new trainer in the MaterialBase but when i started the game i got this error:
Exception: NameError
Message: undefined local variable or method `value' for nil:NilClass
Compiler:1016:in `pbCheckByte'
Compiler:1126:in `pbCompileMoves'
Compiler:1074:in `pbCompilerEachPreppedLine'
Compiler:569:in `each_line'
Compiler:569:in `pbCompilerEachPreppedLine'
Compiler:566:in `open'
Compiler:566:in `pbCompilerEachPreppedLine'
Compiler:1074:in `pbCompileMoves'
Compiler:3760:in `pbCompileAllData'
Compiler:3885



So i deleted the trainer from the materialbase but i still got this error
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
There's a glitch in the newest version of Pokémon Essentials relating to the fog. When the player walks up or down, it changes position oddly.

That's a known bug, and I'll try to fix it for the next release. I think I know what the problem is (the fog's zoom isn't taken into account during the tiling).


That is a known bug that hasn't been actually fixed yet.

A workaround however, is to open your projects' Metadata.txt, find the line battlebg="yourbattlebg", and remove the quotes.
Incidentally, this will no longer be a problem in the next release due to a change in how battleback file names are determined. The quotes will still show up in the metadata when written by the Editor, but they're ignored now.


So i put a new trainer in the MaterialBase but when i started the game i got this error:
Exception: NameError
Message: undefined local variable or method `value' for nil:NilClass
Compiler:1016:in `pbCheckByte'
Compiler:1126:in `pbCompileMoves'
Compiler:1074:in `pbCompilerEachPreppedLine'
Compiler:569:in `each_line'
Compiler:569:in `pbCompilerEachPreppedLine'
Compiler:566:in `open'
Compiler:566:in `pbCompilerEachPreppedLine'
Compiler:1074:in `pbCompileMoves'
Compiler:3760:in `pbCompileAllData'
Compiler:3885



So i deleted the trainer from the materialbase but i still got this error
Try restoring an original version of trainers.txt (and trainertypes.txt), and then editing them directly rather than mucking around with the Editor.
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
That's a known bug, and I'll try to fix it for the next release. I think I know what the problem is (the fog's zoom isn't taken into account during the tiling).
Double-posting, but for a reason. I believe I have the fix now.

In SpriteWindow, go down to about line 4784 and find the four lines with # ADDED comments at the end of them. Add in the "multiply by zoom" parts as follows:

Code:
@__ox+=@__bitmap.width[COLOR=Red]*@__sprite.zoom_x[/COLOR] if @__ox<0
@__oy+=@__bitmap.height[COLOR=Red]*@__sprite.zoom_y[/COLOR] if @__oy<0
@__ox-=@__bitmap.width[COLOR=Red]*@__sprite.zoom_x[/COLOR] if @__ox>@__bitmap.width
@__oy-=@__bitmap.height[COLOR=Red]*@__sprite.zoom_y[/COLOR] if @__oy>@__bitmap.height
Let me know if it works completely.
 

IceGod64

In the Lost & Found bin!
624
Posts
15
Years
In SpriteWindow, go down to about line 4784 and find the four lines with # ADDED comments at the end of them. Add in the "multiply by zoom" parts as follows:

Code:
@__ox+=@__bitmap.width[COLOR=Red]*@__sprite.zoom_x[/COLOR] if @__ox<0
@__oy+=@__bitmap.height[COLOR=Red]*@__sprite.zoom_y[/COLOR] if @__oy<0
@__ox-=@__bitmap.width[COLOR=Red]*@__sprite.zoom_x[/COLOR] if @__ox>@__bitmap.width
@__oy-=@__bitmap.height[COLOR=Red]*@__sprite.zoom_y[/COLOR] if @__oy>@__bitmap.height
Let me know if it works completely.
Yep, that seems to do the trick! Thank you very much for the fix, Maruno!
 
Back
Top