Details! Damage Meter

Details! Damage Meter

243M Downloads

[ERA] Lua Error when Spell Interrupting, no announcement to Raid

rwillenbacher opened this issue ยท 0 comments

commented

Before Start!

Make sure the bug also happen when Details! is the only addon enabled.
But I kinda need my other addons :(

Game and Details! version
VWD 12020 RELEASE 1.14.4

Describe the bug

  • Steps to Reproduce (what did you do to make the bug happen):
    Happens with my Rogue when I interrupt a spell cast. I have the spell interrupt announcement enabled to /say.

  • Result (what happens when you follow the steps above):
    No interrupt announcement to /say and a Lua error. See below.

  • Expected (what you think the expected behavior would be when following the steps):
    In a raid, some announcement to /say that I interrupted a spell.

  • When the bug started (a date, wow path release, details update, etc)?
    I don't know, I am new to Era and that Lua stuff.

  • Additional information:
    See below.

Lua Error
34x Details/core/plugins_raid.lua:302: attempt to compare number with string
[string "@Details/core/plugins_raid.lua"]:302: in function `func'
[string "@Details/core/parser.lua"]:3988: in function <Details/core/parser.lua:3880>
[string "=(tail call)"]: ?

Locals:
self = nil
token = "SPELL_INTERRUPT"
time = 1699098170.537000
who_serial = "removed to protect the guilty"
who_name = "removed to protect the guilty"
who_flags = 1297
alvo_serial = "removed to protect the innocent"
alvo_name = "removed to protect the innocent"
alvo_flags = 66888
spellid = "Kick"
spellname = "Kick"
spelltype = 1
extraSpellID = 0
extraSpellName = "Regrowth"
extraSchool = 8
channel = "SAY"

Note that the spellid is "Kick" which is not an ID.

Screenshots
N/A

Combat Log
11/5 20:40:15.042 SPELL_INTERRUPT,Player-removed to protect the guilty,"removed to protect the guilty",0x511,0x0,Creature-0-5210-0-50-741-000047EB38,"Dreaming Whelp",0x10a48,0x0,1769,"Kick",0x1,20821,"Acid Spit",8

Other Information
In Details/core/parser.lua around line 6515 there is an array named eraNamedSpellsToID with '["SPELL_INTERRUPT"] = true'. When I comment that line out the Lua error is gone. I also get an "Attack interrupted" to /say when in a raid on interrupting a spell.

edit: I am sorry, my formatting apparently removed some string contents. I think I fixed em with this edit.