Download
(2 Kb)
Download
Updated: 01-03-13 03:11 PM
Pictures
File Info
Compatibility:
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:01-03-13 03:11 PM
Created:09-11-12 10:35 AM
Downloads:1,188
Favorites:11
MD5:
SpellNotReadyYet
Version: 1.3
by: Sockz0r [More]
That spell isn't ready yet!

SpellNotReadyYet is a very small, lightweight addon that will flash a small icon in the center of the screen with the cooldown remaining whenever you hit an ability that is on cooldown!

Currently it only supports abilities that the player casts. I may add pet support and items (if i can figure items out) in the future if people request it.

Configuration

Inside the SpellNotReadyYet.lua at the top is the config section

Code:
local iconsize = 40	-- Changes the size of the icon
local xoff = 0 -- Increase to move right, decrease to move left (note: you can go into minus numbers)
local yoff = 0 -- Increase to move up, decrease to move down (note: you can go into minus numbers)
local tfont = "Fonts\\FRIZQT__.TTF" -- The file path for the font you wish to use
local fontsize = 12 -- Font size
local fdur = 0.7 -- Duration of the icon appearing on the screen (range between 0.1 and 1, anything above 1 and stuff gets funky)
These options will allow you to adjust the icon size, x/y co-ordinates as well as the font used. Currently there is no ingame option although I may create one at some point when I further advance my LUA skills!

Feedback and suggestions welcomed <3
V 1.3

- GOOD BYE TAINTS (got off my ass and fixed the tainting issue as blizzard never will)
- Plan to add some ingame options at some point, but when those will be up im not sure

V 1.2

- Now ignores the buggy Synapse Springs, hurray!

V 1.1

- Config area is a bit more informative and has more options
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
1.2
1kB
Sockz0r
09-27-12 03:44 PM
1.1
1kB
Sockz0r
09-14-12 03:49 AM
1
1kB
Sockz0r
09-11-12 10:35 AM


Post A Reply Comment Options
Old 03-07-13, 06:57 AM  
c0reman
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
SORRY FOR MY BAD ENGLISH!

Totally great addon. I just replaced actionbar addon and CCtrack addon just by installing this one. Cool its pretty lightweight - helps a lot to my old system. I got a few suggestions:

- blacklist would be great
- also would be nice if you allow us to change timer position
- do sth with decimal numbers - they are kinda "blinking" when goes under 5 sec
- also, when you pressing MACRO with a couple of spells in it, there is annoying overlay of spells - so would be great if you add some spam filter or sth (i bet blacklist could solve this problem)

Well, thanks bro!!! Great job you did!
c0reman is offline Report comment to moderator  
Reply With Quote
Old 01-04-13, 06:51 PM  
tmcnabb
A Fallenroot Satyr
 
tmcnabb's Avatar

Forum posts: 22
File comments: 24
Uploads: 0
nice idea

cool idea for an addon
__________________
Why is common sense not as common?
tmcnabb is offline Report comment to moderator  
Reply With Quote
Old 01-04-13, 03:46 AM  
Ayreal
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
That worked perfectly, thanks!
Ayreal is offline Report comment to moderator  
Reply With Quote
Old 01-04-13, 03:11 AM  
Sockz0r
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 545
Uploads: 5
Originally Posted by Ayreal
Is there any chance of adding a blacklist to ignore certain spells? (example: Death Strike for a Death Knight)

If there's a way to do this already, could you please explain it for me? Thank you!
currently there is no black listing option, although its an idea i shall attempt to implement at a point when i have time however it wont be an ingame option as i still dont know how to add that :P

but you can blacklist it now in the code, go into the SpellNotReadyYet.lua and go to line 172, there will be this chunk of code:

Code:
if name == "Synapse Springs" then else
		if unit == "player" then
			if duration > 1.5 then
				local iconframe = CreateFrame("Frame", nil, UIParent)
				UIFrameFlash(iconframe, 0, fdur, fdur, false, 0, 0)
				iconframe:SetPoint("CENTER", xoff, yoff)
				iconframe:SetSize(iconsize, iconsize)
				iconframe:SetBackdrop({
					bgFile = icon
					})
				iconframe:SetFrameStrata("BACKGROUND")
			
				local tr = iconframe:CreateFontString()
				tr:SetPoint("BOTTOM", 0, -10)
				tr:SetSize(40, 40)
				tr:SetFont(tfont, fontsize, "OUTLINE")
				tr:SetText(formatTime(timeleft))	
			end
		end
	end
end
if you're not an engineer, you can replace Synapse Springs with Death Strike. else just replace that chunk of code with this:

Code:
if name == "Death Strike" then else
if name == "Synapse Springs" then else
		if unit == "player" then
			if duration > 1.5 then
				local iconframe = CreateFrame("Frame", nil, UIParent)
				UIFrameFlash(iconframe, 0, fdur, fdur, false, 0, 0)
				iconframe:SetPoint("CENTER", xoff, yoff)
				iconframe:SetSize(iconsize, iconsize)
				iconframe:SetBackdrop({
					bgFile = icon
					})
				iconframe:SetFrameStrata("BACKGROUND")
			
				local tr = iconframe:CreateFontString()
				tr:SetPoint("BOTTOM", 0, -10)
				tr:SetSize(40, 40)
				tr:SetFont(tfont, fontsize, "OUTLINE")
				tr:SetText(formatTime(timeleft))	
			end
		end
	end
end
end
Sockz0r is offline Report comment to moderator  
Reply With Quote
Old 01-04-13, 02:37 AM  
Ayreal
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Is there any chance of adding a blacklist to ignore certain spells? (example: Death Strike for a Death Knight)

If there's a way to do this already, could you please explain it for me? Thank you!
Ayreal is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 03:43 PM  
Sockz0r
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 545
Uploads: 5
Re: I got error messages when changing talent and glyph.

Originally Posted by nfrog_net
2 error messages, chaning talent and glyph


1. glyph
Code:
Date: 2012-09-15 01:06:27
ID: 1
Error occured in: AddOn: SpellNotReadyYet
Count: 1
Message: Error: AddOn SpellNotReadyYet attempted to call a forbidden function (CastGlyph()) from a tainted execution path.
Debug:
   [C]: CastGlyph()
   ...terface\AddOns\Blizzard_GlyphUI\Blizzard_GlyphUI.lua:527: GlyphFrameSpell_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
Locals:
None
2. talent
Code:
Date: 2012-09-15 01:08:58
ID: 1
Error occured in: AddOn: SpellNotReadyYet
Count: 1
Message: Error: AddOn SpellNotReadyYet attempted to call a forbidden function (RemoveTalent()) from a tainted execution path.
Debug:
   [C]: RemoveTalent()
   ...rface\AddOns\Blizzard_TalentUI\Blizzard_TalentUI.lua:56: OnAccept()
   ..\FrameXML\StaticPopup.lua:3827: StaticPopup_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
Locals:
None
those are bugs on blizzards behalf due to leaking variables. nothing can be done until blizzard fix it. reloading UI then respecing again normally clears it
Sockz0r is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 10:10 AM  
nfrog_net
A Kobold Labourer

Forum posts: 0
File comments: 24
Uploads: 0
I got error messages when changing talent and glyph.

2 error messages, chaning talent and glyph


1. glyph
Code:
Date: 2012-09-15 01:06:27
ID: 1
Error occured in: AddOn: SpellNotReadyYet
Count: 1
Message: Error: AddOn SpellNotReadyYet attempted to call a forbidden function (CastGlyph()) from a tainted execution path.
Debug:
   [C]: CastGlyph()
   ...terface\AddOns\Blizzard_GlyphUI\Blizzard_GlyphUI.lua:527: GlyphFrameSpell_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
Locals:
None
2. talent
Code:
Date: 2012-09-15 01:08:58
ID: 1
Error occured in: AddOn: SpellNotReadyYet
Count: 1
Message: Error: AddOn SpellNotReadyYet attempted to call a forbidden function (RemoveTalent()) from a tainted execution path.
Debug:
   [C]: RemoveTalent()
   ...rface\AddOns\Blizzard_TalentUI\Blizzard_TalentUI.lua:56: OnAccept()
   ..\FrameXML\StaticPopup.lua:3827: StaticPopup_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
Locals:
None
Last edited by nfrog_net : 09-14-12 at 10:11 AM.
nfrog_net is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 03:15 AM  
Sockz0r
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 545
Uploads: 5
i use

http://www.wowinterface.com/download...ons-Crisp.html

which skins all the default icons to which this addon pulls the images from, probably should of tested it to see what it looks like with unskinned icons :P
Sockz0r is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 12:33 AM  
Zzyzxrd
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 52
Uploads: 2
Hi there,

Quite the useful AddOn you got there!
Although, how did you get the auras to be cropped and skinned with the border you have?

Thanks,
Zzyxzrd.
Zzyzxrd is offline Report comment to moderator  
Reply With Quote
Old 09-13-12, 06:22 PM  
Sintacks
A Murloc Raider

Forum posts: 4
File comments: 97
Uploads: 0
This sounds kind of awesome. I'm going to have to try this.
__________________
i has a cookie
Sintacks is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: