Pokemon Trainer NG: The Pet Battle Mod

Pokemon Trainer NG: The Pet Battle Mod

33.4k Downloads

[MoP Classic] Enemy pet number error when battling players

Road-block opened this issue ยท 6 comments

commented
1x PokemonTrainer/Modules/FrameCombatDisplay.lua:294: 'for' limit must be a number
[PokemonTrainer/Modules/FrameCombatDisplay.lua]:294: in function <PokemonTrainer/Modules/FrameCombatDisplay.lua:290>
[PokemonTrainer/Modules/FrameCombatDisplay.lua]:316: in function <PokemonTrainer/Modules/FrameCombatDisplay.lua:314>
[tail call]: ?
[C]: in function 'Show'
[Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua]:608: in function 'PetBattlePetSelectionFrame_Show'
[Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua]:205: in function 'PetBattleFrame_UpdatePetSelectionFrame'
[Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua]:177: in function 'PetBattleFrame_Display'
[Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua]:111: in function <...Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua:108>

This happens when using the [Find Battle] option in pet journal to get matched with an opposing player, during the subsequent combat.

commented

Hey,

Can you elaborate a bit about what happened? (How many pets you had, how many pets your opponent had, if it happened instantly etc.)

commented

3 v 3

This only happens when pet battling PvP through the [Find Battle] button in pet journal.
Error comes up as soon as the petbattle UI comes up and is consistent.

Haven't seen it in PvE pet battles (wild pets or pet tamer npcs) so seems that the EnemyInfo structure does not populate for enemy players.

commented

Does it happen if you challenge a friend directly, or does it have to be the Find Battle way?

commented

I have only done the random thing, haven't tried with a friend.

commented

Okay, I'll see what I can come up with ๐Ÿ™‚