• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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

Whenever I try to open up Pokemon Essentials in RPG Maker XP I get this error message
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: filename is nil

SpriteWindow:218:in `initialize'

PokemonSprite:113:in `new'

PokemonSprite:113:in `pokemon='

PokemonSprite:99:in `initialize'

PokemonLoad:172:in `new'

PokemonLoad:172:in `pbSetParty'

PokemonLoad:171:in `each'

PokemonLoad:171:in `pbSetParty'

PokemonLoad:324:in `pbStartLoadScreen'

Main:6:in `main'



This exception was logged in

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

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
I've tried reinstalling pokemon essentials, and even tried different versions, but I still have the same problem every time.
 
Whenever I try to open up Pokemon Essentials in RPG Maker XP I get this error message

I've tried reinstalling pokemon essentials, and even tried different versions, but I still have the same problem every time.

This is not a bug, you 're missing the icon files for whatever pokemon you have.
 
This is not a bug, you 're missing the icon files for whatever pokemon you have.
How is this possible? I downloaded Pokemon Essentials from the wiki, haven't modified a thing in the pack yet. I've checked the Icons/Graphics folder, and at least from a first look-through it seems like everything is there. Is there any way to check which files are missing?

Edit: Nevermind, managed to fix the problem myself
 
Last edited:
Aftermath both activates even when its bearer is not KO'd, and returns the following error message.
https://prntscr.com/6afzyy
I've fixed this with the following additions:
Code:
if target.hasWorkingAbility(:AFTERMATH,true) && !user.isFainted? [COLOR="Red"]&&
          target.hp <= 0[/COLOR]
          if ![COLOR="red"]@battle.[/COLOR]pbCheckGlobalAbility(:DAMP) [COLOR="red"] &&
           !user.hasWorkingAbility(:MAGICGUARD)[/COLOR]
            PBDebug.log("[#{user.pbThis} hurt by Aftermath]")
            @battle.scene.pbDamageAnimation(user,0)
            user.pbReduceHP((user.totalhp/4).floor)
            @battle.pbDisplay(_INTL("{1} was caught in the aftermath!",user.pbThis))
          end
        end

Note the Magic Guard conditional is not necessary to fix these errors, but I've added it for posterity.
Tested in 15.1
 
I found a error when adding pokémons to a new trainers battle in external editor (fresh version 15.01 essentials)

Code:
---------------------------
Pokemon Essentials
---------------------------
Exception: NameError

Message: uninitialized constant PokeBattle_Pokemon::PBStats

PokeBattle_Pokemon:806:in `calcStats'

PokeBattle_Pokemon:804:in `each'

PokeBattle_Pokemon:804:in `calcStats'

PokeBattle_Pokemon:884:in `initialize'

PTrainer_NPCTrainers:128:in `new'

PTrainer_NPCTrainers:128:in `pbNewTrainer'

PTrainer_NPCTrainers:114:in `loop'

PTrainer_NPCTrainers:137:in `pbNewTrainer'

PTrainer_NPCTrainers:108:in `each'

PTrainer_NPCTrainers:108:in `pbNewTrainer'



This exception was logged in 

Saved Games/Pokemon Essentials/errorlog.txt.

EDIT:

It seems the EditorScripts.dat from 15.01 doesn't work.

I replace the EditorScripts.dat with V15 or V14 and now works well.
This also happens with "Reposition All" command.
 
This also happens with "Reposition All" command.

There's no changelog for the EditorScripts.rxdata? (Editor.exe) ? i can't see the difference between EditorScripts.rxdata from V15 to 15.01.

Thanks for the support.
 
I found a error when adding pokémons to a new trainers battle in external editor (fresh version 15.01 essentials)

Code:
---------------------------
Pokemon Essentials
---------------------------
Exception: NameError

Message: uninitialized constant PokeBattle_Pokemon::PBStats

PokeBattle_Pokemon:806:in `calcStats'

PokeBattle_Pokemon:804:in `each'

PokeBattle_Pokemon:804:in `calcStats'

PokeBattle_Pokemon:884:in `initialize'

PTrainer_NPCTrainers:128:in `new'

PTrainer_NPCTrainers:128:in `pbNewTrainer'

PTrainer_NPCTrainers:114:in `loop'

PTrainer_NPCTrainers:137:in `pbNewTrainer'

PTrainer_NPCTrainers:108:in `each'

PTrainer_NPCTrainers:108:in `pbNewTrainer'



This exception was logged in 

Saved Games/Pokemon Essentials/errorlog.txt.
EDIT:

It seems the EditorScripts.dat from 15.01 doesn't work.

I replace the EditorScripts.dat with V15 or V14 and now works well.
Message: uninitialized constant PokeBattle_Pokemon::PBStats

Same error in "Reposition Sprites".
 
Message: uninitialized constant PokeBattle_Pokemon::PBStats

Same error in "Reposition Sprites".

I fixed this with the following steps,

At Scripts.rxdata go to PokeBattle_Pokemon and find this line:
Code:
if i==PBStats::HP
Replace it with:
Code:
if i==0

Now at EditorScripts.rxdata go to PokeBattle_Pokemon and do the same as above.

Hope this helps ^_^
 
I have a town map and an inside of a house map but when I walk through the door to get to the inside map the game crashes and says:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `unlock' for nil:NilClass

Interpreter:512:in `command_end'

Interpreter:295: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'

Scene_Map:65:in `loop'



This exception was logged in

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

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


I have made another house that works but this one doesn't. I've tried copying the events but just changing the location it teleports to but it still says the same thing and crashes, I've also tried making it teleport to a different map and it works fine. This means it must have something to do with the map. Please help
 
I have found a bug in 15.1 clean essential:

Something happens with Drizzle and Drought.

If you use a Pokemon with Drought, then switch to other Pokemon with Drizzle, the ability is not activated and there continues being the Sun. Also it happens from opposite form.

Also with other weathers?
How fix this?

I think that the bug is here
"battle.weather!=PBWeather::X && @battle.weatherduration!=-1" repeated?
Spoiler:


EDIT:

Other bug:
If Charizard level 100 with 294 HP enters the battlefield taking damage Stealth Rock twice (no damage of any attacks), get the following error message:

Exception: ZeroDivisionError
Message: divided by 0
 
Last edited:
I found other bug:

If your pokemon use Light Screen against a trainer with type CHAMPION (100 skill AI, suppose), the pokemon's enemy don't attack the following turns.

Spoiler:


EDIT:
In script PokeBattle_AI, line 3358, add the red hightlight and fixed :D

# Light Screen
if skill>=PBTrainerAI.highSkill
if opponent.pbOwnSide.effects[PBEffects::LightScreen]>0 && move.pbIsSpecial?(type)
if !opponent.pbPartner.isFainted?
damage=(damage*0.66).round
else
damage=(damage*0.5).round
end
end
end
 
Last edited:
EDIT:

Other bug:
If Charizard level 100 with 294 HP enters the battlefield taking damage Stealth Rock twice (no damage of any attacks), get the following error message:

Exception: ZeroDivisionError
Message: divided by 0
Do you want to explain that better? And give the whole error message? The part you gave is just confusing, and doesn't state what's trying to divide by zero.
 
Do you want to explain that better? And give the whole error message? The part you gave is just confusing, and doesn't state what's trying to divide by zero.
I'm sorry, but I have tried to return to simulate what happened and cannot.

I don't know, but probably it was for adding a new effect (sticky web) in my pokemon essential. Forget it
 
I'm sorry, but I have tried to return to simulate what happened and cannot.

I don't know, but probably it was for adding a new effect (sticky web) in my pokemon essential. Forget it

Can't you find the error in the errorlog? You should take a look at it.
 
I did it, but in errorlog.txt there are many error message of type "zerodivision divided by 0" and I do not know what is.
New errors appear at the bottom of the log. Try to search for the most recent divide by zero error.
 
i have this bug when i try to reposition sprites, how can i fix it?

Message: uninitialized constant PokeBattle_Pokemon:: PBStats
PokeBattle_Pokemon:806:in `calcStats'
PokeBattle_Pokemon:804:in `each'
PokeBattle_Pokemon:804:in `calcStats'
PokeBattle_Pokemon:884:in `initialize'
Pokemon_SpritePos #####:133:in `new'
Pokemon_SpritePos #####:133:in `pbChangeSpecies'
Pokemon_SpritePos #####:168:in `pbSpecies'
Pokemon_SpritePos #####:162:in `loop'
Pokemon_SpritePos #####:182:in `pbSpecies'
Pokemon_SpritePos #####:283:in `pbStart'
 
i have this bug when i try to reposition sprites, how can i fix it?

Message: uninitialized constant PokeBattle_Pokemon:: PBStats
PokeBattle_Pokemon:806:in `calcStats'
PokeBattle_Pokemon:804:in `each'
PokeBattle_Pokemon:804:in `calcStats'
PokeBattle_Pokemon:884:in `initialize'
Pokemon_SpritePos #####:133:in `new'
Pokemon_SpritePos #####:133:in `pbChangeSpecies'
Pokemon_SpritePos #####:168:in `pbSpecies'
Pokemon_SpritePos #####:162:in `loop'
Pokemon_SpritePos #####:182:in `pbSpecies'
Pokemon_SpritePos #####:283:in `pbStart'

Someone posted a fix for what sounds like the same issue a few posts above you. Have you tried it?
 
Not sure if anyone else noticed this but there seems to be an odd error regarding the walk cycle of dependent events.

Here's an example:
[PokeCommunity.com] Report bugs and errors in unmodified Essentials version 21


Any idea of how to fix this? I ran an older version (v11) and the walk cycle seemed to be fine on there.

Apologies if this has been already pointed out before.
 
Back
Top