• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

[Error] Error when compiling in v18.1

  • 5
    Posts
    5
    Years
    Hello everyone, I'm sort of new here and had just started working on my own game when an error involving the compiler came up. I hadn't added anything new into my project when I went to run it. My lack of experience means I don't know how to resolve the problem. Any suggestions would be helpful and greatly appreciated. :)

    Here's the error :
    Code:
    [Pokémon Essentials version 18.1]
    Exception: NameError
    Message: uninitialized constant TrainersMetadata
    
    Backtrace:
    Compiler_PBS:1412:in `pbCompileTrainers'
    Compiler:1158:in `pbCompileAllData'
    Compiler:1281:in `pbCompiler'
    Main:1
     
    Try going into the script section "PTrainer_NPCTrainers" and add this code right after the constants:
    Spoiler:
     
    Back
    Top