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

Cannot make new trainers

Mortalis

[css-div="background-color:#4e9dda;text-align:cent
345
Posts
13
Years
  • Hey everyone, I keep getting this error whenever I try to create a trainer in the Editor:

    Exception: NoMethodError
    Message: undefined method `[]' for nil:NilClass
    PokeBattle_Pokemon:729: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'
    PokemonEditor:3696:in `pbTrainerBattleEditor'
    PokemonEditor:3653:in `pbListScreenBlock'
    PokemonEditor:1572:in `loop'

    This only happens when I create a trainer. Creating a trainer type is fine, but actually creating the trainer produces this error. I'm not sure what to do.
     

    Lord Varion

    Guess who's back?
    2,642
    Posts
    15
    Years
    • Age 29
    • Seen Jan 6, 2015
    Hey everyone, I keep getting this error whenever I try to create a trainer in the Editor:

    Exception: NoMethodError
    Message: undefined method `[]' for nil:NilClass
    PokeBattle_Pokemon:729: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'
    PokemonEditor:3696:in `pbTrainerBattleEditor'
    PokemonEditor:3653:in `pbListScreenBlock'
    PokemonEditor:1572:in `loop'

    This only happens when I create a trainer. Creating a trainer type is fine, but actually creating the trainer produces this error. I'm not sure what to do.

    Did you compile the Trainer Data?
    Or, did you use the correct Internal name provided?
     
    152
    Posts
    11
    Years
    • Seen May 11, 2015
    I just edit the PBS file directly. It keeps me from having to deal with these errors and it's much faster, in my opinion.
     

    Nathan

    Blade of Justice
    4,066
    Posts
    11
    Years
  • Cannot make new trainer

    Each time i try making a new trainer in the Editor, it gives me this:

    Sorry, I made a new thread and somehow it ended up here. What's happening?
     
    Last edited:
    Back
    Top