WeaponSwingTimer SixxFix

WeaponSwingTimer SixxFix

3M Downloads

Hunter Error on FD in an Boss Encounter with no weapon equipped

traenkeopa opened this issue ยท 0 comments

commented

As the title suggests, the addon breaks with a lot of error messages when in an boss encounter, using feign death and uneqipping weapons. As soon as you start moving after those steps the addon spams a lot of error messages.

Message: ...\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:165: attempt to index field '?' (a nil value)
Time: Wed Oct 6 20:20:56 2021
Count: 1
Stack: ...\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:165: attempt to index field '?' (a nil value)
[string "@interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua"]:165: in function FeignDeath' [string "@Interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua"]:341: in function OnUnitSpellCastSucceeded'
[string "@interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Core.lua"]:709: in function <...ce\AddOns\WeaponSwingTimer\WeaponSwingTimer_Core.lua:682>

Locals: weapon_id = nil
(*temporary) =

{
config_frame = WeaponSwingTimerHunterConfigPanel {
}
InitializeVisuals = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:564
has_moved = false
FontSizeEditBoxOnEnter = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:696
LoadSettings = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:117
is_spell_shoot = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:51
OnStopAutorepeatSpell = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:294
spell_GCD_Time = 13832.684000
OnCombatLogUnfiltered = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:298
range_speed = 2.522000
RestoreDefaults = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:135
OnStartAutorepeatSpell = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:286
UpdateAutoShotTimer = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:220
FeignFullReset = false
UpdateVisualsOnSettingsChange = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:473
StartCastingSpell = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:101
OnUnitSpellCastFailedQuiet = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:395
UpdateVisualsOnUpdate = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:410
UpdateConfigPanelValues = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:606
auto_cast_time = 0.452221
OOCAlphaOnValChange = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:788
OnUnitSpellCastSucceeded = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:328
OneBarCheckBoxOnClick = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:675
CooldownColorPickerOnClick = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:711
frame = WeaponSwingTimerHunterAutoshotFrame {
}
MultiClipColorPickerOnClick = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:759
HeightEditBoxOnEnter = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:691
last_shot_time = 13854.272000
shot_spell_ids =
{
}
ClassicBarsCheckBoxOnClick = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:670
ShowTextCheckBoxOnClick = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:681
YOffsetEditBoxOnEnter = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:706
XOffsetEditBoxOnEnter = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:701
EnabledCheckBoxOnClick = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:650
OnFrameDragStop = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:548
is_spell_aimed_shot = defined @interface\AddOns\WeaponSwingTimer\WeaponSwingTimer_Hunter.lua:38
ResetShotTimer = defin