Quartz
Quartz is a modular approach to a casting bar addon. An overview of (hopefully most of) the modules:
*Player
The core of Quartz is lightweight implementation of a standard casting bar, with configurable size, text and icon positioning, and colors.
*Target/Focus
Implementation of target and focus casting bars in similar fashion to the player cast bar.
*Buffs
Display of target and focus buffs and debuffs as duration bars.
*Flight
Hooks into FlightMap or InFlight to display the current flight progress on your casting bar.
*Global Cooldown
Displays a tiny spark-bar to show your Global Cooldown near the cast bar. Helpful for those who'd rather not squint at their action bars to see when they can cast again.
*Interrupt
Changes the color and text of your casting bar to help show that your cast has been interrupted (and show who interrupted it).
*Latency
Displays the amount of time spent between cast send and start events, in the form of a bar at the end of your casting bar, with optional text that displays the actual duration of the lag. This helps in canceling casts when they will not actually be interrupted, especially for users with consistently high pings.
*Mirror
Shows the 'basic' timers such as breath and feign death, as well as some 'odd' ones such as party invite time, resurrect timeout, and arena game start, and a framework for injecting custom timers into the bars.
*Range
Recolors the casting bar when your cast target moves out of range mid-cast.
*Swing
Displays a swing timer for your melee weapon as well as hunter autoshot.
*Timer
Allows for creating custom timers displayed on the mirror bars.
*Tradeskill Merge
Merges multiple casts of the same tradeskill item into one big cast bar.
Use /quartz to bring up the configuration menu.
In reply to xamyxam:
im having the same issue with this aswell only happens on my warrior though.
In reply to xamyxam:
im having the same issue with this aswell only happens on my warrior though.
In reply to xamyxam:
In reply to xamyxam:
have the same problem with my warrior only
I was just about to make a post for this same error message. I'm also seeing this on my priest. I used the fix provided by equalsthr33 and it worked.
In reply to Cuber4Ever:
Thank you, it worked.
Hi, I'm getting the following error on my Priest character.
I only get this error on that character.
I use the Default Profile and I tried creating a new profile and resetting but nothing works.
Message: Interface\AddOns\Quartz\modules\Player-Player.lua:230: attempt to call global 'GetActiveSpecGroup' (a nil value)
Time: Sun Jul 18 17:34:17 2021
Count: 1
Stack: Interface\AddOns\Quartz\modules\Player-Player.lua:230: attempt to call global 'GetActiveSpecGroup' (a nil value)
[string "=[C]"]: ?
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua"]:70: in function <...rkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:65>
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua"]:527: in function `EnableAddon'
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua"]:540: in function `EnableAddon'
[string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua"]:630: in function <...rkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:615>
Locals: <none>
This is only a fix for Mind Flay, as I don't care about other spells, but you can just find the spell id for any spell you want, add the amount of ticks and add to the dictionary yourself:
I'm also not a .lua programmer. So don't bother me with 100 questions, thanks :D
In the player.lua file:
Change the row that says:
local channelingTicks = WoWBC and {} or
to:
local channelingTicks = WoWBC and {[GetSpellInfo(25387)] = 3} or
If you want to add more spells. Just look at how author filled in the dictionary below this row, and fill in the earlier one (the one I just filled in) with more data in the same manner.
Such as:
local channelingTicks = WoWBC and
{
[GetSpellInfo(25387)] = 3, -- TBC Mind Flay
[GetSpellInfo(SPELL_ID)] = 4, -- Some other spell with 4 ticks
[GetSpellInfo(SPELL_ID)] = 6, -- Yet another spell but with 6 ticks
}
or
In reply to Trouler_Darkhand:
Thanks a ton!!
now the next struggle is figuring out how to change the tick color
In reply to krommdor:
Possibly line 37 in Quartz.lua(?)
Might be one of the other colors though, but you can try messing around with them.
Just Google "rgb picker" and find a color that suits you.
In reply to Trouler_Darkhand:
sorry but where is this player.lua file located?
is it possible to add an option to change castbar color for "Cast is interruptible, and your interrupt will come off cooldown before the cast is finished" ?
If you're receiving an error for
then just comment out these few lines (234-238) like shown in the screenshot below.
https://gyazo.com/20396074a1499414e6dfd21118db0e26
to edit the file use notepad++, Visual Studio Code or another text editor of your preference.
Addons > Quartz > Modules > Player.lua > go to line 234 and type -- in front of lines 234 through 238. "Save as" and reload UI ingame.
In reply to equalsthr33:
Thank you. I had this error for a while now.
Do you think it's because something from retail got added to the code so it doesn't recognize it in classic?
Any fixes to the missing channleing indicator?
Has the default castbar not staying hidden after logging out issue been fixed yet?
I get this lua error when I try to disable it:
Locals: <none>
So I was able to correct the first error by updating the lines to
if not WoWBC then
local function isTalentKnown(talentID)
return (select(4, GetTalentInfoByID(19752, GetActiveSpecGroup())))
end
function Player:UpdateChannelingTicks()
local playerClass = select(2, UnitClass("player"))
if playerClass == "PRIEST" then
-- Castigation talent adds a tick to penance
channelingTicks[GetSpellInfo(47540)] = isTalentKnown(19752) and 4 or 3
end
end
end
and commenting out this line (105)
-- self:UpdateChannelingTicks()
Doesn't solve the missing channeling ticks, but loads error free
My quests are tracking twice, is there anyway to stop this?
Hello!
I am getting this error (version 3.6.5-bcc) in TBC classic:
27x Quartz\modules\Player-Player.lua:230: attempt to call global 'GetActiveSpecGroup' (a nil value)
[string "@Quartz\modules\Player-Player.lua"]:230: in function <Quartz\modules\Player.lua:229>
[string "@Quartz\modules\Player-Player.lua"]:237: in function `UpdateChannelingTicks'
[string "@Quartz\modules\Player-Player.lua"]:105: in function <Quartz\modules\Player.lua:97>
[string "=[C]"]: ?
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:527: in function `EnableAddon'
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:540: in function `EnableAddon'
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:630: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:615>
In reply to aisenfaire:
+1
In reply to aisenfaire:
me too