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

[Question] what in the name of god does this mean and how do i fix it

  • 6
    Posts
    5
    Years
    • Seen Nov 24, 2019
    so i was trying to play test my game and this error popped up saying
    ---------------------------
    Pokemon Ghost
    ---------------------------
    [Pokémon Essentials version 17.2]

    Exception: NoMethodError

    Message: private method `gsub' called for nil:NilClass

    Compiler:3168:in `safequote'

    Compiler:4180:in `pbConvertToTrainerEvent'

    Compiler:3403:in `pbCompileTrainerEvents'

    Compiler:3398:in `each'

    Compiler:3398:in `pbCompileTrainerEvents'

    Compiler:3393:in `each'

    Compiler:3393:in `pbCompileTrainerEvents'

    Compiler:4424:in `pbCompileAllData'

    Compiler:4515



    This exception was logged in

    C:\Users\benlogan\Saved Games\Pokemon Ghost\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
    i looked through this forum and i tried copying the pbs from my backup and the error kept popping up so yeah....... oof
     
    Probably one of your trainer events comments (defined in the RMXP event scripts thing) is formatted wrong.

    That specific error comes from having a "nil" string. So I figure it's failing to find what it's looking for.
     
    ah that makes sense thanks!! i think i've figured it out before i just couldn't read so yeah thanks
     
    Last edited:
    Back
    Top