- 30
- Posts
- 4
- Years
- India
- Seen Apr 26, 2021
Try fighting a normal Charmander in 5v1 battle?
Its working fine see
https://cdn.discordapp.com/attachments/805713850698825739/820037371872935968/Screenshot_22.png
Try fighting a normal Charmander in 5v1 battle?
Can you make a screenshot for each format 1v1, 2v1, 3v1 and 4v1 too? (Against Dynamax Charmander again)
I think I see where the problem is but I need to be sure.
DYNAMAX Charizard 1 vs 4 , I think bigger sprites good in this case .
![]()
A 1vs4 Charmander Battle
![]()
A 1vs3 Charmander Battle
![]()
A 1vs2 Charmander Battle
![]()
A 1vs1 Charmander Battle
![]()
Edit - What happened friend ? Where is the solution ?
enlarge = (activebattle) ? 2 : 1.5
Edit - What happened friend ? Where is the solution ?
I went to bed; also, I cannot instantly find solutions to any bug people throw at me, and I am not paid to be a full-time customer support.
Lucidious found a better solution than I thought I had.
=================
[Sat Mar 13 16:13:28 India Standard Time 2021]
[Pokémon Essentials version 18.1.dev]
Exception: NoMethodError
Message: undefined method `moves' for nil:NilClass
Backtrace:
ZUD_04_Battle_Effects:187:in `pbChangePowerMove'
Battler_UseMove:177:in `_ZUD_pbUseMove'
ZUD_04_Battle_Effects:545:in `pbUseMove'
ZUD_MaxRaid_01_Battle:307:in `pbRaidBossUseMove'
ZUD_MaxRaid_01_Battle:306:in `logonerr'
ZUD_MaxRaid_01_Battle:306:in `pbRaidBossUseMove'
ZUD_MaxRaid_01_Battle:302:in `each'
ZUD_MaxRaid_01_Battle:302:in `pbRaidBossUseMove'
ZUD_04_Battle_Effects:412:in `pbProcessTurn'
Battle_Phase_Attack:128:in `pbAttackPhaseMoves'
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:Code:================= [Sat Mar 13 16:13:28 India Standard Time 2021] [Pokémon Essentials version 18.1.dev] Exception: NoMethodError Message: undefined method `moves' for nil:NilClass Backtrace: ZUD_04_Battle_Effects:187:in `pbChangePowerMove' Battler_UseMove:177:in `_ZUD_pbUseMove' ZUD_04_Battle_Effects:545:in `pbUseMove' ZUD_MaxRaid_01_Battle:307:in `pbRaidBossUseMove' ZUD_MaxRaid_01_Battle:306:in `logonerr' ZUD_MaxRaid_01_Battle:306:in `pbRaidBossUseMove' ZUD_MaxRaid_01_Battle:302:in `each' ZUD_MaxRaid_01_Battle:302:in `pbRaidBossUseMove' ZUD_04_Battle_Effects:412:in `pbProcessTurn' Battle_Phase_Attack:128:in `pbAttackPhaseMoves'
def pbChangePowerMove(choice)
basemove = @pokemon.moves[choice[1]]
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
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:
and replace the lineCode:def pbChangePowerMove(choice)
with:Code:basemove = @pokemon.moves[choice[1]]
(You can easily revert this edit when the problem is solved).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
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 ?
How do I fix the 2 errors below
I get this error in Safari zone can help me please![]()
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