[Error] 'spellCooldownInfo'
itsSinba opened this issue · 7 comments
Game and Details! version
Retail - VCT 12817 r11.0.0
Describe the bug
Happens repeatedly in raids and dungeons groups. Bugsack/Details enabled. Tested on Remix.
Lua Error
247x ...ns/Details/Libs/LibOpenRaid/GetPlayerInformation.lua:855: attempt to index local 'spellCooldownInfo' (a number value)
[string "@Details/Libs/LibOpenRaid/GetPlayerInformation.lua"]:523: in function <...ns/Details/Libs/LibOpenRaid/GetPlayerInformation.lua:522>
[string "@Details/Libs/LibOpenRaid/GetPlayerInformation.lua"]:760: in function `GetPlayerCooldownList'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:2369: in function `UpdatePlayerCooldownsLocally'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:1111: in function <...faceDetails/Libs/LibOpenRaid/LibOpenRaid.lua:1098>
[string "=[C]"]: in function `xpcall'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:602: in function <...faceDetails/Libs/LibOpenRaid/LibOpenRaid.lua:587>
Locals:
cooldowns = <table> {
}
cooldownsHash = <table> {
}
cooldownSpellId = 371024
timeNow = 694672.425000
openRaidLib = <table> {
__errors = <table> {
}
UnitIDCache = <table> {
}
CooldownManager = <table> {
}
commHandler = <table> {
}
__version = 130
internalCallback = <table> {
}
UnitInfoManager = <table> {
}
specAttribute = <table> {
}
bHasEnteredWorld = true
playerInfoManager = <table> {
}
KeystoneInfoManager = <table> {
}
cooldownManager = <table> {
}
commPrefixDeprecated = <table> {
}
AuraTracker = <table> {
}
gearManager = <table> {
}
GearManager = <table> {
}
eventFunctions = <table> {
}
publicCallback = <table> {
}
playerAlive = true
mainControl = <table> {
}
inGroup = true
Schedules = <table> {
}
}```
I made a fix for me. I did not want to wait for it since I'm a ret pally and we are fueled by numbers xDD
Just download this one and replace it with the one in Addons/details/Libs/LibOpenRaid
If you want to contribute with a potential fix, then make a pull request with it
I'm sorry, first time on github really so I was unsure how to post it. I'll look into it
27x ...ns/Details/Libs/LibOpenRaid/GetPlayerInformation.lua:855: attempt to index local 'spellCooldownInfo' (a number value)
[string "@Details/Libs/LibOpenRaid/GetPlayerInformation.lua"]:523: in function <...ns/Details/Libs/LibOpenRaid/GetPlayerInformation.lua:522>
[string "@Details/Libs/LibOpenRaid/GetPlayerInformation.lua"]:760: in function `GetPlayerCooldownList'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:2369: in function `UpdatePlayerCooldownsLocally'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:1111: in function <...faceDetails/Libs/LibOpenRaid/LibOpenRaid.lua:1098>
[string "=[C]"]: in function `xpcall'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:602: in function <...faceDetails/Libs/LibOpenRaid/LibOpenRaid.lua:587>
for me its this error:
Message: [string "Constructor for Interrupt not ready Cast Co..."]:62: attempt to call global 'GetSpellCooldown' (a nil value) Time: Fri Aug 23 11:46:41 2024 Count: 2 Stack: [string "Constructor for Interrupt not ready Cast Co..."]:62: attempt to call global 'GetSpellCooldown' (a nil value) [string "Constructor for Interrupt not ready Cast Color"]:62: in function
GetCastColor'
[string "@Interface/AddOns/Details/Libs/DF/unitframe.lua"]:1042: in function UpdateCastColor' [string "@Interface/AddOns/Details/Libs/DF/unitframe.lua"]:1530: in function
UpdateCastingInfo'
[string "@Interface/AddOns/Details/Libs/DF/unitframe.lua"]:1544: in function `eventFunc'
[string "@Interface/AddOns/Details/Libs/DF/unitframe.lua"]:1278: in function <Interface/AddOns/Details/Libs/DF/unitframe.lua:1261>
[string "=[C]"]: ?
Locals: self = NamePlate6PlaterUnitFrameCastBar {
isNamePlate = true
barBorderTextureForMask = Texture {
}
BorderShield = Texture {
}
extraBackground = Texture {
}
HookList =
}
unit = "nameplate2"
canInterrupt = false
Colors =
}
unitFrame = NamePlate6PlaterUnitFrame {
}
IsCastBar = true
fadeInAnimation = AnimationGroup {
}
spellTexture = 136231
casting = true
stagePips =
}
spellName = "Blood Frenzy"
maxValue = 2
barTexture = Texture {
}
flashTexture = Texture {
}
fadeOutAnimation = AnimationGroup {
}
flashAnimation = AnimationGroup {
}
Icon = Texture {
}
value = 0
spellEndTime = 12089.308000
lazyUpdateCooldown = 0.100000
spellStartTime = 12087.308000
castID = "Cast-3-1463-2731-18817-444055-0001485A80"
spellID = 444055
empowered = false
percentText = FontString {
}
displayedUnit = "nameplate2"
PlateFrame = NamePlate6 {
}
FrameOverlay = NamePlate6PlaterUnitFrameCastBarOverlayFrame {
}
Settings =
}
Spark = Texture {
}
FadeAnimation = AnimationGroup {
}
CastBarEvents =
}
customborder = Frame {
}
castColorTexture = NamePlate6PlaterUnitFrameCastBarCastColor {
}
TargetName = FontString {
}
FrameDownlayer = NamePlate6PlaterUnitFrameCastBarDownlayerFrame {
}
_points =
}
interruptSpellId = 106839
Text = FontString {
}
barTextureMask = MaskTexture {
}
WidgetType = "castBar"
ThrottleUpdate = 0
background = Texture {
}
}
interruptCD = 0
(*temporary) = nil
(*temporary) = 106839
(*temporary) = "attempt to call global 'GetSpellCooldown' (a nil value)"
kickReadyInTimeGraceTime = 0.500000
kickReadyInTimeColor = "#00D1FF"
noKickReadyColor = "#eaeaea"
`