Download
(2Kb)
Download
Updated: 10-15-09 01:03 PM
Pictures
File Info
Updated:10-15-09 01:03 PM
Created:09-25-09 05:17 PM
Downloads:3,362
Favorites:11
MD5:

oUF GCD - Hungtar's oUF Global Cooldown Bar

Version: 0.0.3
by: hungtar [More]

please accept my apology for abandoning this addon and not answering your support requests.

I don't play wow anymore and thus any request will remain unaswered.


A GCD indicator for oUF in the form of a bar. This is based on Exactly's oUF_GCD plugin, but doesn't (or, at least, shouldn't) require a reference spell. Plus, you get an extra bar, displaying the GCD, not just a spark inside the cast bar.

Code:
		self.GCD = CreateFrame("StatusBar", self:GetName().."_GCD", self)
		self.GCD:SetHeight(10)
		self.GCD:SetWidth(250)
		self.GCD:SetPoint('CENTER', UIParent, 'CENTER', 0, 250)
		self.GCD:SetStatusBarTexture(bartex)
		self.GCD:SetStatusBarColor(0.55, 0.57, 0.61)

version 0.0.3:
- use spellid for GetSpellCooldown (spellbook index may change with dualspec).
- added Death Coil as reference spell for Death Knights.


version 0.0.2:
- yeah, searching spells in an uninitialized spellbook doesn't work that great.

version 0.0.1:
- first release
Optional Files (0)


Post A Reply Comment Options
Unread 03-05-11, 06:15 PM  
Grai
A Defias Bandit

Forum posts: 2
File comments: 15
Uploads: 0
I realize this has been abandoned, but does anyone know of a way to make this work with either 1) current ouf layouts or 2) tukui?
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 12:27 PM  
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 77
File comments: 280
Uploads: 4
Doesn't work for mages, because of spell changes (conjure stuff is one spell, and available from level 38). I suggest using spell 133, fireball. Every mage learns that at level one.
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 05:41 AM  
Sabaren
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
4.0.1 fix

49: local bspell = GetSpellBookItemName(i, BOOKTYPE_SPELL)
Report comment to moderator  
Reply With Quote
Unread 02-19-10, 04:12 AM  
Sabaren
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
if spellid == nil then
-- XXX: print some error ..
print ("Foo!")
end
This is spamming my chat screen on my level 1 warlock. I realize it's because I don't have corruption, but this is more of a debug message that should be replaced with a valid one shot warning.
Report comment to moderator  
Reply With Quote
Unread 12-14-09, 08:53 PM  
Tastyfrog
A Deviate Faerie Dragon

Forum posts: 15
File comments: 16
Uploads: 0
what is the layout pictured? thanks
Report comment to moderator  
Reply With Quote
Unread 11-13-09, 10:29 AM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Re: What should i do for installing and using?

Originally posted by Atuin
Hi, m8!

I`m new in oUF
Can you tell me, what should i do, that your plugin work with mine oUF layout?
Am i right?:
1) install your plugin with Wowinterface installer
2) add the addon to the optional dependencies of mine oUF layout

Is this all or i should do something with?:
Code:
self.GCD = CreateFrame("StatusBar", self:GetName().."_GCD", self)
		self.GCD:SetHeight(10)
		self.GCD:SetWidth(250)
		self.GCD:SetPoint('CENTER', UIParent, 'CENTER', 0, 250)
		self.GCD:SetStatusBarTexture(bartex)
		self.GCD:SetStatusBarColor(0.55, 0.57, 0.61)
And 2-nd question:
if i play by resto shaman, should i add new IDs of spells for currect showing of GCD?

P.S.
Sorry for mine bad english
yep, that should work (you could check if the addon is really loaded though). And there is no need to add another spell id. Don't remember which spell is used for shamans, i think it's lightning bolt.
Report comment to moderator  
Reply With Quote
Unread 11-11-09, 05:51 AM  
atuin_wow
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 29
Uploads: 2
What should i do for installing and using?

Hi, m8!

I`m new in oUF
Can you tell me, what should i do, that your plugin work with mine oUF layout?
Am i right?:
1) install your plugin with Wowinterface installer
2) add the addon to the optional dependencies of mine oUF layout

Is this all or i should do something with?:
Code:
self.GCD = CreateFrame("StatusBar", self:GetName().."_GCD", self)
		self.GCD:SetHeight(10)
		self.GCD:SetWidth(250)
		self.GCD:SetPoint('CENTER', UIParent, 'CENTER', 0, 250)
		self.GCD:SetStatusBarTexture(bartex)
		self.GCD:SetStatusBarColor(0.55, 0.57, 0.61)
And 2-nd question:
if i play by resto shaman, should i add new IDs of spells for currect showing of GCD?

P.S.
Sorry for mine bad english
Report comment to moderator  
Reply With Quote
Unread 10-15-09, 04:31 PM  
Silvanaa
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 3
That fixed it, thanks alot.
Report comment to moderator  
Reply With Quote
Unread 10-15-09, 04:18 PM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Originally posted by Silvanaa
When i installed this i get the bar, but it never changes when i trigger a gcd. This screenshot will probably describe better than i can. It just stays like it is in the screenshot and doesn't change. http://img42.imageshack.us/img42/277...1509163745.jpg
It's hard to tell from the screenshot alone, but my best guess would be that you forgot to add the addon to the optional dependencies of your oUF layout (in the .toc file, there should be a line starting with "## OptionalDeps:" or something, just add oUF_GCD to the comma seperated list there).

If that doesn't fix it, please post the code you use to setup the gcd bar.
Report comment to moderator  
Reply With Quote
Unread 10-15-09, 02:44 PM  
Silvanaa
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 3
When i installed this i get the bar, but it never changes when i trigger a gcd. This screenshot will probably describe better than i can. It just stays like it is in the screenshot and doesn't change. http://img42.imageshack.us/img42/277...1509163745.jpg
Report comment to moderator  
Reply With Quote
Unread 10-14-09, 04:02 PM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Re: Re: Re: Bug

Originally posted by Gandoch
That was an easy enough fix, but looking at the reference table I see the potential for a lot of similar problems. I see why you picked the spells you did (spells learned very early on), but picking something which can be interrupted seems a fundamentally poor choice for keeping things working smoothly.

I'm assuming any form of interrupt which also locks a caster from a particular tree will cause the GCD bar to go crazy. I haven't tested that yet, but that seems to be a strong possibility...

I'm changing my reference spell table to include things like Find Fish and Sense Demons - things I know won't be potentially school locked.

Just some food for thought.
Find Fish does not trigger a gcd and will result in the gcd not showing at all. Don't know about sense demons, my guess is it won't work either.

Choosing spells with a cast time is not a problem by it self. But if the spells school can be locked out, yes, that will mess up the gcd bar. Unfortunately, that is the case for all schools of magic.
Report comment to moderator  
Reply With Quote
Unread 10-14-09, 03:14 AM  
Gandoch
A Wyrmkin Dreamwalker
 
Gandoch's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 27
Uploads: 1
Re: Re: Bug

Originally posted by hungtar
Thanks for the bug report! Blood Strike was a bad idea as the reference spell. Death Coil probably is a better choice: add the spell id 49892 to the referenceSpells table (as the first entry) in oUF_GCD.lua and it should work fine (unless your DK hasn't reached level 62 yet). Will add the spell in the next release.
That was an easy enough fix, but looking at the reference table I see the potential for a lot of similar problems. I see why you picked the spells you did (spells learned very early on), but picking something which can be interrupted seems a fundamentally poor choice for keeping things working smoothly.

I'm assuming any form of interrupt which also locks a caster from a particular tree will cause the GCD bar to go crazy. I haven't tested that yet, but that seems to be a strong possibility...

I'm changing my reference spell table to include things like Find Fish and Sense Demons - things I know won't be potentially school locked.

Just some food for thought.
Last edited by Gandoch : 10-14-09 at 03:15 AM.
Report comment to moderator  
Reply With Quote
Unread 10-12-09, 06:21 PM  
hungtar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 151
Uploads: 9
Re: Bug

Originally posted by Gandoch
On my Death Knight the GCD seems accurate right up until I blow all my runes. Once all my runes are on cooldown, the GCD bar seems to follow the rune that is closest to finishing its cooldown.
Thanks for the bug report! Blood Strike was a bad idea as the reference spell. Death Coil probably is a better choice: add the spell id 49892 to the referenceSpells table (as the first entry) in oUF_GCD.lua and it should work fine (unless your DK hasn't reached level 62 yet). Will add the spell in the next release.
Last edited by hungtar : 10-12-09 at 06:24 PM.
Report comment to moderator  
Reply With Quote
Unread 10-12-09, 05:38 PM  
Gandoch
A Wyrmkin Dreamwalker
 
Gandoch's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 27
Uploads: 1
Bug

On my Death Knight the GCD seems accurate right up until I blow all my runes. Once all my runes are on cooldown, the GCD bar seems to follow the rune that is closest to finishing its cooldown.
Report comment to moderator  
Reply With Quote
Unread 09-26-09, 07:13 PM  
Thizzelle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
nice addon

thanks for sharing
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: