Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(7 Kb)
Download
Updated: 07-07-14 07:31 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:07-07-14 07:31 PM
Created:07-05-14 06:37 PM
Downloads:304
Favorites:10
MD5:
Categories:Character Advancement, DPS, Healers, Tank, Utility Mods

Auto Glyph

Version: 0.3
by: Helwyr [More]

Auto Glyph currently does:

Lists off the glyphs you're currently using.
Lists off glyphs you "should" be using, as recommended by Noxxic and Icy-Veins.

use /ag or /autoglyph to bring up the auto glyph window.

Green == Using a recommended glyph, good for you.
Yellow == Using a glyph that isn't recommended, totally up to you.
Red == Empty glyph slot... what's the matter with you?

Upcoming Features:

Auto swap glyphs. Apply all recommended glyphs with one click.
Fight by fight recommendations. About to fight Siegecrafter? Use glyph set 1. Garrosh? Glyph set 2.
UI cleanup, split major and minor glyphs.
New slash command /ag *bossname* or /ag %t to get current boss or current target glyph recommendations. Might even add recommended glyphs for pvp if target is a player.

Same functionality, but for talents.

Things to keep in mind:

All recommendations, be they glyphs or talents are based on Noxxic and Icy-veins guides. If you want in depth explanations why these glyphs are recommended, check with them.

Any questions, message me here or in-game: Helwyr - Jaedenar US

Issues:

Trying to run RemoveGlyphFromSocket(), causing "taint"... lol no idea what that is. Something about leaking global variables? Only thing I could find with people talking about this is from 2011-2012, blaming it on a blizz issue.

UPDATE: 25/11/2014

Currently updating glyph lists for all classes.

Adding reasons for glyph suggestions. ie.
Glyph of Cat Form - Recommended. Provides a strong survival boost in every fight.

Should be available sometime this week.

Next update should also have talent suggestions.

0.3
Added all classes and spec support.
Added dummy file for Siege of Orgrimmar... it's empty.
Recommended glyphs now lists ALL glyphs, not just 3x major + 3x minor.

0.2
Window now closes properly - thanks Fizzlemizz
Cleaned up class / spec detection.
Added more class / spec support.

0.1
Initial Release.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
0.2
3kB
Helwyr
07-05-14 09:54 PM
0.1
3kB
Helwyr
07-05-14 06:37 PM


Post A Reply Comment Options
Unread 07-05-14, 08:40 PM  
Helwyr
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
Originally Posted by Fizzlemizz
helpful code snippets..
Added and working. thank you so much!
Last edited by Helwyr : 07-05-14 at 08:40 PM.
Helwyr is offline Report comment to moderator  
Reply With Quote
Unread 07-05-14, 08:21 PM  
Fizzlemizz
A Rage Talon Dragon Guard
 
Fizzlemizz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 319
File comments: 267
Uploads: 10
Originally Posted by Helwyr
I was actually just trying that, but it only works the first time.

If I open the frame again (/ag) and hit esc, the frame remains and the regular esc menu opens.
That's beacuse you are creating a new frame with each /ag but the only frame pointer stored is the one included in the original tinsert.

Give your frame a truly unique name: DragFrame2 could well be overwitten by another addon or Blizzard. I've used "ZXZXZXZXZ2" as an example here but most addons will prefix with the addon name ei.:
"Auto_Glyph_Frame1".

Next, at the top of your code before:

Code:
function autoglyph()
add:
Code:
local frame
Replace:
Code:
    createFrame(x);
with:
Code:
if not frame then
	frame = createFrame();
        tinsert(UISpecialFrames, "ZXZXZXZXZ2")
else
	frame:Show()
end
at the end of your createFrame() function add:
Code:
return frame
__________________
FizzleMizz Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle
Last edited by Fizzlemizz : 07-05-14 at 08:41 PM.
Fizzlemizz is offline Report comment to moderator  
Reply With Quote
Unread 07-05-14, 07:16 PM  
Helwyr
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
Originally Posted by Fizzlemizz
To close the options window with the Esc key, once it is created add:

Code:
tinsert(UISpecialFrames, "YourWindowName")
I was actually just trying that, but it only works the first time.

If I open the frame again (/ag) and hit esc, the frame remains and the regular esc menu opens.

Edit:

added
Code:
close = CreateFrame("Button","close",frame,"UIPanelCloseButton")
	close:SetPoint("TOPRIGHT",5,5)
Which closes whatever frame it's attached too, which is nice.
I can still open multiple windows, which can look pretty weird, but at least the close button closes each frame.
Last edited by Helwyr : 07-05-14 at 08:36 PM.
Helwyr is offline Report comment to moderator  
Reply With Quote
Unread 07-05-14, 07:09 PM  
Fizzlemizz
A Rage Talon Dragon Guard
 
Fizzlemizz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 319
File comments: 267
Uploads: 10
To close the options window with the Esc key, once it is created add:

Code:
tinsert(UISpecialFrames, "YourWindowName")
__________________
FizzleMizz Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle
Last edited by Fizzlemizz : 07-05-14 at 07:09 PM.
Fizzlemizz is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: