• 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] '>' undefined method

mybusiness

Guest
0
Posts
    Hi. What's this?

    Code:
    ---------------------------
    Pokémon: Mission Impossible
    ---------------------------
    [Pokémon: Mission Impossible (pre-Alpha)]
    
    Exception: NoMethodError
    
    Message: undefined method `>' for nil:NilClass
    
    PokeBattle_Battle:887:in `pbCanChooseMove?'
    
    PokeBattle_Battle:812:in `pbCanShowFightMenu?'
    
    PokeBattle_Battle:2635:in `pbCommandPhase'
    
    PokeBattle_Battle:2632:in `loop'
    
    PokeBattle_Battle:2722:in `pbCommandPhase'
    
    PokeBattle_Battle:2621:in `each'
    
    PokeBattle_Battle:2621:in `pbCommandPhase'
    
    PokeBattle_Battle:2568:in `pbStartBattleCore'
    
    PokeBattle_Battle:2567:in `logonerr'
    
    PokeBattle_Battle:2567:in `pbStartBattleCore'
     ----------------------------------------------------------------------
    Code:
    ---------------------------
    Pokémon: Mission Impossible
    ---------------------------
    [Pokémon: Mission Impossible (pre-Alpha)]
    
    Exception: NoMethodError
    
    Message: undefined method `>' for nil:NilClass
    
    PokeBattle_Battle:3194:in `__clauses__pbEndOfRoundPhase'
    
    PokeBattle_Battle:3192:in `each'
    
    PokeBattle_Battle:3192:in `__clauses__pbEndOfRoundPhase'
    
    PokeBattle_Clauses:42:in `pbEndOfRoundPhase'
    
    PokeBattle_Battle:2576:in `pbStartBattleCore'
    
    PokeBattle_Battle:2575:in `logonerr'
    
    PokeBattle_Battle:2575:in `pbStartBattleCore'
    
    PokeBattle_Battle:2557:in `loop'
    
    PokeBattle_Battle:2580:in `pbStartBattleCore'
    
    PokeBattle_Battle:2380:in `pbStartBattle'
    ---------------------------

    I had done a lot of scripting (almost all gen 7), so, please don't suggest me to start again upon a clean base.
     
    1,403
    Posts
    10
    Years
    • Seen Apr 29, 2024
    Those are probably two separate errors. Look on lines 887 and 3194 of PokeBattle_Battle. There the code says "something > something-else". The "something" value is nil, but it should be a number.
     
    Back
    Top