• 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?".
  • 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

4
Posts
11
Years
    • Seen Nov 7, 2023
    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.
     
    1,224
    Posts
    10
    Years
  • 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.
     
    4
    Posts
    11
    Years
    • Seen Nov 7, 2023
    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:

    AmethystRain

    pixie-powered judgment!
    253
    Posts
    12
    Years
    • Seen Nov 28, 2022
    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
     

    FL

    Pokémon Island Creator
    2,453
    Posts
    13
    Years
    • Seen May 10, 2024
    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.
     

    Erassus

    I'm back.
    50
    Posts
    9
    Years
  • 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.
     
    199
    Posts
    14
    Years
    • Seen Jul 6, 2022
    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".
     
    26
    Posts
    13
    Years
  • 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 ^_^
     
    15
    Posts
    9
    Years
    • Seen May 14, 2024
    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
     
    199
    Posts
    14
    Years
    • Seen Jul 6, 2022
    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:
    199
    Posts
    14
    Years
    • Seen Jul 6, 2022
    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:

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    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.
     
    199
    Posts
    14
    Years
    • Seen Jul 6, 2022
    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
     

    Savordez

    It's time to end fangames.
    115
    Posts
    10
    Years
  • 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.
     

    Savordez

    It's time to end fangames.
    115
    Posts
    10
    Years
  • 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.
     
    46
    Posts
    10
    Years
    • Seen Jan 19, 2017
    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'
     

    Delusions of Originality

    good night, sleep tight
    108
    Posts
    14
    Years
    • Age 35
    • Seen Apr 17, 2024
    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?
     

    Kaon

    Cheese Whiz
    12
    Posts
    17
    Years
    • Seen Jun 27, 2016
    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:
    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