• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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
    12
    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
    ---------------------------
     
    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
     
    Back
    Top