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

ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

30
Posts
3
Years
  • DYNAMAX Charizard 1 vs 4 , I think bigger sprites good in this case .
    ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

    A 1vs4 Charmander Battle
    ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

    A 1vs3 Charmander Battle
    ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

    A 1vs2 Charmander Battle
    ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

    A 1vs1 Charmander Battle
    ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]
     
    1,408
    Posts
    10
    Years
    • Seen today
    Edit - What happened friend ? Where is the solution ?

    This is probably due to the fact that Dynamax sprites are resized differently when Modular Battle Scene is active. Under normal conditions, Dynamax sprites are 1.5x larger. With EMBS, they're 2x larger. This is done so that the sprites still look large and intimidating even with a larger screen size.

    However, this also means the position metrics are different, due to the sprites being different sizes.

    In ZUD_08, find both instances of
    Code:
    enlarge = (activebattle) ? 2 : 1.5
    And change the "2" to 1.5 to make the sprites the same size when using EMBS or not.
     
    22
    Posts
    3
    Years
    • Seen Apr 29, 2021
    I am getting this error when I am trying to catch a pokemon in max raid 4vs1 (Using EMB script by PDM20) battle after defeating it . But everything is working fine (The Pokemon is caught , registered and stored in box 1 ).
    Spoiler:
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    I am getting this error when I am trying to catch a pokemon in max raid 4vs1 (Using EMB script by PDM20) battle after defeating it . But everything is working fine (The Pokemon is caught , registered and stored in box 1 ).
    Spoiler:

    As far as I can tell, this is because the battle continues while you have caught the Pokémon (the battler reinitialises its @pokemon attribute after being caught, which is what the error is complaining about). I suspect something is wrong with fainting, maybe because the game considers that there is still some battler on the opposite side? Let's check.

    1. Do you have the same error in 3v1? (Also catch the Pokémon)

    2. In the file ZUD_04_Battle_Effects, find the function:
    Code:
      def pbChangePowerMove(choice)
    and replace the line
    Code:
        basemove = @pokemon.moves[choice[1]]
    with:
    Code:
        begin
        basemove = @pokemon.moves[choice[1]]
        rescue 
        s = "allies: "
        eachAlly { |b| 
          s += _INTL("{1}", b.pbThis)
        }
        s += "; enemies: "
        eachOpposing { |b| 
          s += _INTL("{1}", b.pbThis)
        }
        raise _INTL("Battler is {1}, pokemon is {2}, {3}", pbThis, @pokemon, s)
        end
    (You can easily revert this edit when the problem is solved).
    Now, try again in 4v1, catch the Pokémon, and tell me what the error says.
     
    22
    Posts
    3
    Years
    • Seen Apr 29, 2021
    As far as I can tell, this is because the battle continues while you have caught the Pokémon (the battler reinitialises its @pokemon attribute after being caught, which is what the error is complaining about). I suspect something is wrong with fainting, maybe because the game considers that there is still some battler on the opposite side? Let's check.

    1. Do you have the same error in 3v1? (Also catch the Pokémon)

    2. In the file ZUD_04_Battle_Effects, find the function:
    Code:
      def pbChangePowerMove(choice)
    and replace the line
    Code:
        basemove = @pokemon.moves[choice[1]]
    with:
    Code:
        begin
        basemove = @pokemon.moves[choice[1]]
        rescue 
        s = "allies: "
        eachAlly { |b| 
          s += _INTL("{1}", b.pbThis)
        }
        s += "; enemies: "
        eachOpposing { |b| 
          s += _INTL("{1}", b.pbThis)
        }
        raise _INTL("Battler is {1}, pokemon is {2}, {3}", pbThis, @pokemon, s)
        end
    (You can easily revert this edit when the problem is solved).
    Now, try again in 4v1, catch the Pokémon, and tell me what the error says.

    Hey friend I just tried all raid sizes and caught the raid pokemons without any script changes suggested by you and I didnt got any errors , So should I make the changes suggested by you or leave as it is ?
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    Hey friend I just tried all raid sizes and caught the raid pokemons without any script changes suggested by you and I didnt got any errors , So should I make the changes suggested by you or leave as it is ?

    Well, just in case, install the script I gave you, and come back whenever you have an error.
     
    49
    Posts
    3
    Years
    • Seen Sep 27, 2021
    How do I fix the 2 errors below
    =================

    [Wed Mar 17 15:38:55 Pacific Daylight Time 2021]
    [Pokémon Essentials version 18.1.dev]
    Exception: ArgumentError
    Message: wrong number of arguments(4 for 3)

    Backtrace:
    ZUD_02: Battle Mechanics:638:in `_ZUD_pbRecallAndReplace'
    ZUD_02: Battle Mechanics:638:in `pbRecallAndReplace'
    BattleScript_Main:514:in `pbEORSwitch'
    BattleScript_Main:479:in `each'
    BattleScript_Main:479:in `pbEORSwitch'
    BattleScript_Main:477:in `loop'
    BattleScript_Main:536:in `pbEORSwitch'
    Battle_Phase_EndOfRound:608:in `__clauses__pbEndOfRoundPhase'
    PokeBattle_Clauses:40:in `pbEndOfRoundPhase'
    BattleScript_Main:106:in `pbBattleLoop'

    =================

    [Wed Mar 17 15:49:29 Pacific Daylight Time 2021]
    [Pokémon Essentials version 18.1.dev]
    Exception: NoMethodError
    Message: undefined method `pbCheckNeutralizingGas' for #<PokeBattle_Battle:0x82b6cc8>

    Backtrace:
    Battle_Phase_Attack:62:in `pbAttackPhaseSwitch'
    Battle_Phase_Attack:51:in `each'
    Battle_Phase_Attack:51:in `pbAttackPhaseSwitch'
    ZUD_03: Battle Display:178:in `pbAttackPhase'
    BattleScript_Main:103:in `pbBattleLoop'
    BattleScript_Main:103:in `logonerr'
    BattleScript_Main:103:in `pbBattleLoop'
    BattleScript_Main:86:in `loop'
    BattleScript_Main:125:in `pbBattleLoop'
    Battle_StartAndEnd:311:in `pbStartBattleCore'

    =================
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    How do I fix the 2 errors below

    I don't know how you did that, but you managed to get an error saying you're using v18.0 or v18.1, instead of the Gen 8 project, despite the error mentioning v18.1.dev. The first function pbRecallAndReplace used to take three arguments in v18 and pbCheckNeutralizingGas is a new function that is in the Gen 8 project and not in v18.1.

    I assume you copied some code from v18.0 or v18.1 to the Gen 8 project.
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    I get this error in Safari zone can help me please
    ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

    This is because the Safari zone doesn't use the class PokeBattle_Battler to represent a battling Pokémon (just like in usual battles) but PokeBattle_FakeBattler.
    This bug has been solved before. Upgrade ZUD to the current version.

    PS: Next time, please copy/paste the error in text, or at least rotate the picture so I don't have to download/rotate it myself, and also, store the image in imgur or similar, so that you get a link with a "png" at the end and the forum recognizes the link as a picture.
    Make it easier to help you.
     
    69
    Posts
    3
    Years
    • Seen May 27, 2021
    Where can I find the update of zud plugin and I already installed the old version of zud plugin should I remove the old and restart it with new update
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    Where can I find the update of zud plugin and I already installed the old version of zud plugin should I remove the old and restart it with new update

    Check the first post. Just install again the ZUD_XXX files. I don't think you need to go through the whole installation process again.
     
    Back
    Top