• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Deluxe Battle Kit [v21.1]

Resource Deluxe Battle Kit [v21.1] v1.1.5

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,047
Every time I use item on my pokemon this happens.
[2024-06-27 11:23:11 +0800]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: ArgumentError
Message: wrong number of arguments (given 3, expected 2)

Backtrace:
Battle_ActionUseItem:77:in `pbUseItemMessage'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:248:in `pbUseItemOnPokemon'
Battle_AttackPhase:77:in `block in pbAttackPhaseItems'
Battle_AttackPhase:70:in `each'
Battle_AttackPhase:70:in `pbAttackPhaseItems'
[Deluxe Battle Kit] [003] Command Menu Refactor.rb:406:in `pbAttackPhase'
Battle_StartAndEnd:339:in `block (2 levels) in pbBattleLoop'
PBDebug:6:in `logonerr'
Battle_StartAndEnd:339:in `block in pbBattleLoop'
Battle_StartAndEnd:324:in `loop'
Ah yeah, that makes sense. I wanted to move a certain feature into a new plugin I'm going to release, but I guess it has to be implemented in this one for the code to work.

I added the code back in, so it'll work now.
 

Uzakuma

Rookie
Member
Joined
Jun 18, 2024
Posts
3
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `pbForceEndSpeech' for #<Battle::DebugSceneNoVisuals>

Backtrace:
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:237:in `pbMidbattleScripting'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:111:in `pbDeluxeTriggers'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:459:in `block in pbEndOfRoundPhase'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:458:in `each'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:458:in `pbEndOfRoundPhase'
[[DBK] Dynamax] [011] Battle.rb:186:in `pbEndOfRoundPhase'
[[DBK] Z-Power] [003] Battle_Misc.rb:70:in `pbEndOfRoundPhase'
[[DBK] SOS Battles] [004] Battle.rb:501:in `pbEndOfRoundPhase'
Battle_StartAndEnd:342:in `block (2 levels) in pbBattleLoop'
PBDebug:6:in `logonerr'

I'm quite new to this and got this error while creating new teams (simulating battles) in the Battle Frontier (specifically the Battle Tower), is this the right place to ask about this issue?
 
Last edited:

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,047
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `pbForceEndSpeech' for #<Battle::DebugSceneNoVisuals>

Backtrace:
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:237:in `pbMidbattleScripting'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:111:in `pbDeluxeTriggers'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:459:in `block in pbEndOfRoundPhase'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:458:in `each'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:458:in `pbEndOfRoundPhase'
[[DBK] Dynamax] [011] Battle.rb:186:in `pbEndOfRoundPhase'
[[DBK] Z-Power] [003] Battle_Misc.rb:70:in `pbEndOfRoundPhase'
[[DBK] SOS Battles] [004] Battle.rb:501:in `pbEndOfRoundPhase'
Battle_StartAndEnd:342:in `block (2 levels) in pbBattleLoop'
PBDebug:6:in `logonerr'

I'm quite new to this and got this error while creating new teams (simulating battles) in the Battle Frontier (specifically the Battle Tower), is this the right place to ask about this issue?
I guess so. Tbh in all of my years of working on Essentials, I never once even set foot on the Battle Tower maps, much less try battling there. It's not that odd I suppose that there would be conflicts there.
 

komeiji514

Cooltrainer
Member
Joined
Oct 28, 2023
Posts
191
I guess so. Tbh in all of my years of working on Essentials, I never once even set foot on the Battle Tower maps, much less try battling there. It's not that odd I suppose that there would be conflicts there.
Seems this has existed in previous versions of DBK as I have tested in a clean essentials.
 

Uzakuma

Rookie
Member
Joined
Jun 18, 2024
Posts
3
I guess so. Tbh in all of my years of working on Essentials, I never once even set foot on the Battle Tower maps, much less try battling there. It's not that odd I suppose that there would be conflicts there.
Ah okay that's understandable lol.
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,047
Seems this has existed in previous versions of DBK as I have tested in a clean essentials.
Yeah, this bug has definitely existed since day 1 of this plugin being released lol. Just goes to show how unused the Battle Tower is that it's only just now being reported lol
 
Back
Top