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

Trainer PBS Error

WolfPP

Spriter/ Pixel Artist
  • 1,297
    Posts
    6
    Years
    Hello!

    When i open the game (v17.2), crash with this:

    Exception: RuntimeError
    Message: Undefined Trainer constant name:
    Name must consist only of letters, numbers, and
    underscores and can't begin with a number.
    In addition, the name must be defined
    in trainertypes.txt.
    File PBS/trainers.txt, line 1

    Compiler:932:in `pbGetConst'
    Compiler:974:in `parseTrainer'
    Compiler:1387:in `pbCompileTrainers'
    Compiler:1385:in `loop'
    Compiler:1487:in `pbCompileTrainers'
    Compiler:3977:in `pbCompileAllData'
    Compiler:4095
    I untill delete ALL in trainers.txt and trainertypes.txt and keep this issue :/

    How can i do correctly?

    PS: I just replace Characters;Battlers;Icons folder and delete all inside trainertypes and trainers.txt

    Ty ty!
     
    Back
    Top