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

Can't create trainers!

59
Posts
11
Years
    • Seen Mar 30, 2014
    I have been trying to create a new trainer, but every time i set the Pokémon level this shows up:




    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `[]' for nil:NilClass

    PokeBattle_Pokemon:729:in `__mf_initialize'

    PokemonMultipleForms:83:in `initialize'

    PokemonTrainers:102:in `new'

    PokemonTrainers:102:in `pbNewTrainer'

    PokemonTrainers:88:in `loop'

    PokemonTrainers:111:in `pbNewTrainer'

    PokemonTrainers:80:in `each'

    PokemonTrainers:80:in `pbNewTrainer'

    PokemonTrainers:190:in `pbMissingTrainer'

    Compiler:2939:in `pbTrainerBattleCheck'



    This exception was logged in

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

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

    XmarkXalanX

    Shadow Master
    105
    Posts
    15
    Years
  • Hello Daniel, I'm a little confused. Are you trying to use scripts to create new trainers, or are you editing the trainers.txt and trainertypes.txt files? I'd love to be of assistant (if possible). Haha.

    - Mark
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    Update your Essentials. Version 12 fixes this.
     
    Back
    Top