• 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!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

Crash during the data compilation

  • 8
    Posts
    10
    Years
    Hello :)

    I have a problem when i try compile the data of my mini-game.

    Code:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError
    
    Message: private method `split' called for nil:NilClass
    
    PBattle_OrgBattle:102:in `fromInspected'
    
    Compiler:2500:in `pbCompileTrainerLists'
    
    Compiler:2499:in `pbCompilerEachCommentedLine'
    
    Compiler:265:in `each_line'
    
    Compiler:265:in `pbCompilerEachCommentedLine'
    
    Compiler:262:in `open'
    
    Compiler:262:in `pbCompilerEachCommentedLine'
    
    Compiler:2499:in `pbCompileTrainerLists'
    
    Compiler:2471:in `pbEachFileSectionEx'
    
    Compiler:169:in `each_line'
    
    ---------------------------
    OK   
    ---------------------------
    Is possible resolve the problem for a beginner in scripts as me ?
    Also, i modify this PBS : bttrainers, btpokemon, trainertypes. Are a incidence for the error ?

    Edit : The 3 files mentioned above have a part in the problem, i try the sames files unmodified and the compilation works.
    Edit 2 (sorry) : It's the btpokemon who causes problems, i not add objects to many Pokémon.

    Edit : Problem solved, each Pokemon must be have an object, if no, the game crashes.

    Thanks in advance.
    Cordially KaiserYoshi
     
    Last edited:
    Back
    Top