Errors with Shadowlands patch
Daeveren opened this issue ยท 7 comments
Getting errors in patch 9.0:
...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:434: attempt to call method 'SetBackdropBorderColor' (a nil value)
...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:438: attempt to call method 'SetBackdropBorderColor' (a nil value)
@GurliGebis accepted your pull request and baked your changes into the repo. But I didn't test it due to lacking WoW subscription; hope everything went fine? :)
I copied the script from the pull request and am still getting this error when I enter the battle:
Message: ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:294: 'for' limit must be a number
Time: Tue Oct 20 18:14:32 2020
Count: 1
Stack: ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:294: 'for' limit must be a number
[string "@interface\AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua"]:294: in function <...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:290>
[string "@interface\AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua"]:316: in function <...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:314>
[string "=(tail call)"]: ?
[string "=[C]"]: in function Show' [string "@Interface\AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua"]:586: in function
PetBattlePetSelectionFrame_Show'
[string "@interface\AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua"]:183: in function PetBattleFrame_UpdatePetSelectionFrame' [string "@Interface\AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua"]:155: in function
PetBattleFrame_Display'
[string "@interface\AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua"]:96: in function <...AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua:93>
Locals: bigger = true
font = nil
size = nil
outline = nil
fs = nil
(for index) = 1
(for limit) = nil
(for step) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "'for' limit must be a number"
PT =
SetDefaultModuleLibraries = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
GetAbilityRamping = defined @interface\AddOns\PokemonTrainer\Core.lua:646
Enable = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:294
UnregisterAllEvents = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
Data =
}
EnableModule = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules =
}
GetModule = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
db =
}
defaultModuleLibraries =
}
baseName = "PokemonTrainer"
PAD_INDEX = 0
BONUS_SPEED_EQUAL = 1
BONUS_SPEED_SLOWER = 0
GetAbilityStateBonuses = defined @interface\AddOns\PokemonTrainer\Core.lua:602
GetSpeedBonus = defined @interface\AddOns\PokemonTrainer\Core.lua:180
ScanPetAuras = defined @interface\AddOns\PokemonTrainer\Core.lua:516
RoundUpPets = defined @interface\AddOns\PokemonTrainer\Core.lua:489
GetName = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
GetAbilityRampingState = defined @interface\AddOns\PokemonTrainer\Core.lua:655
MAX_COMBAT_PETS = 3
GetTypeBonusIcon = defined @interface\AddOns\PokemonTrainer\Core.lua:152
name = "PokemonTrainer"
PET_INDEX = 1
IsEnabled = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
orderedModules =
}
ScanPets = defined @interface\AddOns\PokemonTrainer\Core.lua:477
DisableModule = defined @interface\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
GetAbilityCooldown = defined @interface\AddOns\PokemonTrainer\Core.lua:246
MAX_PET_ABILITY = 3
GetTypeIcon = defined @interface\AddOns\PokemonTrainer\Core.lua:172
SendMessage = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:59
RegisterMessage = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
IsPVPBattle = defined @interface\AddOns\PokemonTrainer\Core.lua:133
WEATHER = 0
OnEnable = defined @interface\AddOns\PokemonTra
Try and copy the entire contents of the file, and replace the contents of your current file, then restart WoW: