Category: oUF: Plugins
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
0.0.3
Date:
10-15-2009 02:03 PM
Size:
1.76 Kb
Downloads:
922
Favorites:
14
MD5:
Pictures
Click to enlarge
A GCD bar!
oUF GCD - Hungtar's oUF Global Cooldown Bar
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)
  Change Log - oUF GCD - Hungtar's oUF Global Cooldown Bar
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 - oUF GCD - Hungtar's oUF Global Cooldown Bar
Sorry, there are currently no optional files available.
  Archived Versions - oUF GCD - Hungtar's oUF Global Cooldown Bar
File Name
Version
Size
Author
Date
0.0.2
2kB
hungtar
09-26-2009 03:38 PM
  Comments - oUF GCD - Hungtar's oUF Global Cooldown Bar
Post A Reply Comment Options
Old 02-19-2010, 04:12 AM  
Sabaren
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Quote:
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.
Sabaren is offline Report comment to moderator  
Reply With Quote
Old 12-14-2009, 08:53 PM  
Tastyfrog
A Deviate Faerie Dragon

Forum posts: 14
File comments: 10
Uploads: 0
what is the layout pictured? thanks
Tastyfrog is offline Report comment to moderator  
Reply With Quote
Old 11-13-2009, 10:29 AM  
hungtar
A Defias Bandit
Interface Author - Click to view interfaces

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

Quote:
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.
hungtar is offline Report comment to moderator  
Reply With Quote
Old 11-11-2009, 05:51 AM  
Atuin
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
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
Atuin is offline Report comment to moderator  
Reply With Quote
Old 10-15-2009, 05:31 PM  
Silvanaa
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 3
That fixed it, thanks alot.
Silvanaa is offline Report comment to moderator  
Reply With Quote
Old 10-15-2009, 05:18 PM  
hungtar
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 3
File comments: 150
Uploads: 9
Quote:
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.
hungtar is offline Report comment to moderator  
Reply With Quote
Old 10-15-2009, 03:44 PM  
Silvanaa
A Kobold Labourer

Forum posts: 0
File comments: 12
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
Silvanaa is offline Report comment to moderator  
Reply With Quote
Old 10-14-2009, 05:02 PM  
hungtar
A Defias Bandit
Interface Author - Click to view interfaces

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

Quote:
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.
hungtar is offline Report comment to moderator  
Reply With Quote
Old 10-14-2009, 04:14 AM  
Gandoch
An Aku'mai Servant
 
Gandoch's Avatar
Interface Author - Click to view interfaces

Forum posts: 30
File comments: 11
Uploads: 1
Re: Re: Bug

Quote:
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-2009 at 04:15 AM.
Gandoch is offline Report comment to moderator  
Reply With Quote
Old 10-12-2009, 07:21 PM  
hungtar
A Defias Bandit
Interface Author - Click to view interfaces

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

Quote:
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-2009 at 07:24 PM.
hungtar is offline Report comment to moderator  
Reply With Quote
Old 10-12-2009, 06:38 PM  
Gandoch
An Aku'mai Servant
 
Gandoch's Avatar
Interface Author - Click to view interfaces

Forum posts: 30
File comments: 11
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.
Gandoch is offline Report comment to moderator  
Reply With Quote
Old 09-26-2009, 08:13 PM  
Thizzelle
A Kobold Labourer
Interface Author - Click to view interfaces

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

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



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | TankSpot | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.