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

[Error] Error when compiling in v18.1

5
Posts
4
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
     
    143
    Posts
    4
    Years
    • Seen Mar 26, 2024
    Try going into the script section "PTrainer_NPCTrainers" and add this code right after the constants:
    Spoiler:
     
    Back
    Top