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

Crash during the data compilation

11
Posts
9
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