• 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!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Undefined Trainer Error

  • 2
    Posts
    9
    Years
    • Seen Jun 24, 2016
    Hi all!
    I was continuing my game's creation but i got this error message (attachment).
    I checked my trainers and trainertypes.txt and everything seems to be ok, I also tried to delete all the trainer I created but it didn't work...

    Thank you very much for help, I am desperately finding a solution...
    Fornerio

    Trainers.txt View attachment trainers.txt
    Trainerstypes.txt View attachment trainertypes.txt
    Error message [PokeCommunity.com] Undefined Trainer Error
     
    It's trying to parse an empty string as the constant. If it was actually reading a word, it would appear on the second line of the error. Something is causing it to try and read the removed comment as the first line, I'm guessing. I bet if you removed the first line of the trainers.txt file, the errored line would be lower in the file.

    What version of Essentials are you using? Because you seem to have ~200 more lines near the top of your Compiler script section than there are in 16.2 and 16.1...
     
    Back
    Top