Skip to content

LUA error: attempt to index local 'currentCast' (a nil value) #35

Description

@zembtach

Lib included in Details. I think I was casting Aimed Shot at the time, and this mob cast Mortal Strike on me while I was casting it.

...ils\Libs\LibClassicCasterino\LibClassicCasterino.lua:272: attempt to index local 'currentCast' (a nil value)
...ils\Libs\LibClassicCasterino\LibClassicCasterino.lua:272: in function <...ils\Libs\LibClassicCasterino\LibClassicCasterino.lua:167>
(tail call): ?

Locals: self = <unnamed> {
 0 = <userdata>
 COMBAT_LOG_EVENT_UNFILTERED = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:167
 GROUP_ROSTER_UPDATE = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:638
 NAME_PLATE_UNIT_REMOVED = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:633
 UNIT_SPELLCAST_START = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 UNIT_SPELLCAST_DELAYED = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 NAME_PLATE_UNIT_ADDED = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:627
 UNIT_SPELLCAST_CHANNEL_UPDATE = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 UNIT_SPELLCAST_SUCCEEDED = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 UNIT_SPELLCAST_CHANNEL_STOP = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 UNIT_SPELLCAST_STOP = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 UNIT_SPELLCAST_INTERRUPTED = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
 UNIT_SPELLCAST_FAILED = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:369
}
event = "COMBAT_LOG_EVENT_UNFILTERED"
timestamp = 1591815079.209000
eventType = "SPELL_DAMAGE"
hideCaster = false
srcGUID = "Creature-0-4457-229-27725-10371-0001E11F07"
srcName = "Rage Talon Captain"
srcFlags = 2632
srcFlags2 = 32
dstGUID = "Player-4456-023EA9FC"
dstName = "Zemb"
dstFlags = 1297
dstFlags2 = 0
spellID = 0
spellName = "Mortal Strike"
arg3 = 1
arg4 = 1404
arg5 = -1
arg6 = 1
resisted = nil
blocked = nil
absorbed = nil
isSrcPlayer = false
currentCast = nil
(*temporary) = <function> defined @Interface\AddOns\Details\Libs\LibClassicCasterino\LibClassicCasterino.lua:80
(*temporary) = nil
(*temporary) = "Player-4456-023EA9FC"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'currentCast' (a nil value)"

Should be the latest version. local MAJOR, MINOR = "LibClassicCasterino", 31. I've had this error pop up before as well, but I'm not sure how to reproduce.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions