Tercioo / Details-Damage-Meter

Addon for World of Warcraft, does combat analyzes offering clean visual data for the player
Other
174 stars 130 forks source link

[Error] 'spellCooldownInfo' #786

Open itsSinba opened 1 month ago

itsSinba commented 1 month ago

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> {
 }
}```
Ferosuchiki commented 1 month ago

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

https://www.dropbox.com/scl/fi/rroc4npfjcs4fy782xkrx/GetPlayerInformation.lua?rlkey=qk5wj8z08yodwe7gt86ltodi6&st=i047jmw5&dl=0

Flamanis commented 1 month ago

If you want to contribute with a potential fix, then make a pull request with it

Ferosuchiki commented 1 month ago

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

brittyazel commented 1 month ago

Confirmed, I have this error too

masterkain commented 1 month ago
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>
Neischa commented 3 weeks ago

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 functionGetCastColor' [string "@Interface/AddOns/Details/Libs/DF/unitframe.lua"]:1042: in function UpdateCastColor' [string "@Interface/AddOns/Details/Libs/DF/unitframe.lua"]:1530: in functionUpdateCastingInfo' [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>

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" `

Flamanis commented 3 weeks ago

This is not a details issue. You have a plater mod that is erroring

On Fri, Aug 23, 2024, 4:47 AM Neischa @.***> wrote:

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 @./AddOns/Details/Libs/DF/unitframe.lua"]:1042: in function UpdateCastColor' [string @./AddOns/Details/Libs/DF/unitframe.lua"]:1530: in function UpdateCastingInfo' [string @./AddOns/Details/Libs/DF/unitframe.lua"]:1544: in function `eventFunc' [string @./AddOns/Details/Libs/DF/unitframe.lua"]:1278: in function <Interface/AddOns/Details/Libs/DF/unitframe.lua:1261>

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" `

— Reply to this email directly, view it on GitHub https://github.com/Tercioo/Details-Damage-Meter/issues/786#issuecomment-2306720469, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL4J6BQTHPH3AJV36AKKNLZS4AKJAVCNFSM6AAAAABLM2SBG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBWG4ZDANBWHE . You are receiving this because you commented.Message ID: @.***>