Thread: eCastingBar
View Single Post
04-25-18, 01:49 AM   #1
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 193
eCastingBar

Hello!

My all-time favorite casting bar addon - Neuro's eCastingBar - I used since TBC (or vanilla?) has stopped working in BfA Beta. Could you help me to find out if this caused by a tiny bug that can be solved in minutes or this is something bigger, more complicated to fix?

Some error messages pop up as well, but since I'm completely green for lua coding, I don't really understand what does it mean.

The borders of the bars are showing as intended but the bar itself (the background texture and the font) does not.

when loaded with addon defaults:
Code:
Message: eCastingBar: Couldn't find relative frame: eCastingBarDragButton
Time: Wed Apr 25 09:38:52 2018
Count: 4
Code:
Message: Couldn't find frame parent: eCastingBarMenuControlTemplate
Time: Wed Apr 25 09:38:52 2018
Count: 4
When casting a spell:
Code:
Message: Interface\AddOns\eCastingBar\eCastingBar.lua:222: attempt to perform arithmetic on local 'endTime' (a boolean value)
Time: Wed Apr 25 09:42:48 2018
Count: 2
Stack: Interface\AddOns\eCastingBar\eCastingBar.lua:222: attempt to perform arithmetic on local 'endTime' (a boolean value)
Interface\AddOns\eCastingBar\eCastingBar.lua:222: in function `eCastingBar_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: self = eCastingBar {
 0 = <userdata>
 startTime = 215631.021
 holdTime = 0
 frame = ""
 unit = "player"
}
newevent = "UNIT_SPELLCAST_START"
newarg1 = "player"
unit = "player"
name = "eCastingBar"
barIcon = eCastingBarStatusBarIcon {
 0 = <userdata>
}
barFlash = eCastingBarFlash {
 0 = <userdata>
}
barStatusBar = eCastingBarStatusBar {
 0 = <userdata>
}
barSpark = eCastingBarStatusBarSpark {
 0 = <userdata>
}
barText = eCastingBarStatusBarText {
 0 = <userdata>
}
frame = ""
spellName = "Swift Red Gryphon"
spellRank = "Swift Red Gryphon"
displayName = 132239
texture = 215629521
startTime = 215631021
endTime = false
isTradeSkill = "Cast-3-4028-1643-3671-32289-0002603176"
castID = false
notInterruptible = 32289
Red = 1
Green = 0.7
Blue = 0
Alpha = 1
(*temporary) = 215631.021
(*temporary) = eCastingBarStatusBarSpark {
 0 = <userdata>
}
(*temporary) = <userdata>
(*temporary) = 0.7
(*temporary) = 0
(*temporary) = 1
(*temporary) = "attempt to perform arithmetic on local 'endTime' (a boolean value)"
CASTING_BAR_BACKGROUND_FILE = "Interface\Tooltips\UI-Tooltip-Background"
CASTING_BAR_EDGE_FILE_UNINT = "Interface\DialogFrame\UI-DialogBox-Border"
CASTING_BAR_EDGE_FILE = "Interface\Tooltips\UI-Tooltip-Border"
  Reply With Quote