Download
(8Kb)
Download
Updated: 04-02-11 12:06 PM
Pictures
File Info
Updated:04-02-11 12:06 PM
Created:04-02-11 12:06 PM
Downloads:1,647
Favorites:3
MD5:

GlyphSaver

Version: r1
by: sp00n [More]

GlyphSaver

This addon helps you in managing various glyph setups. Especially helpful if dual spec isn't enough for you and you have a third spec which you need to switch to regularly.
I use it in combination with Talented and ActionBarSaver, to make respeccing as painless as possible.

The code is based on ActionBarSaver, so kudos to the original authors.



Now, Blizzard has made some weird decisions regarding glyphs. I would have liked to make all the stuff easier, but Blizzard wouldn't let me.
So these are the current caveats:

  • You have to open the glyph window by yourself. The addon cannot do this for you.
  • You have to click a button for every glyph you want to replace. The addon cannot replace all of them with just one click.
  • You'll often notice that the glyph wasn't replaced. Just click the button again, and again, and again. If it still doesn't work, reload your UI. This is a common issue with tainting, where all sorts of addon taint the glyph window. It generally works if you reload your UI.
  • It's still a very early version and not as sophisticated as I'd like. It does check if your saved glyphs overlap with currently already active glyphs, however make sure that the overlapping glyphs are in the same position in both glyph setups! Results are unpredictable if they are on another spot (I'm planning to improve this recogniztion - some day).
  • It's really only working for the English localization right now. Other languages may or may not work.
  • Make sure that you have enough Dust of Disappearance. There's no check for it.
  • I've tested it only on my rogue. No idea if it works with all glyph names.



How to use:
  1. Set up your glyphs
  2. Type "/glyphs save mysetup" to save a new glyph setup
  3. To restore a glyph setup, you have to open up the glyph window first by yourself! The addon won't do it for you.
  4. Then type in "/glyphs restore mysetup" and a window with all the saved glyphs will appear.
  5. Click the various buttons to activate the glyphs. If nothing happens, click again. And again. If it still doesn't work, reload UI. Try again.



Available slash commands:
- /gys
- /glyph
- /glyphs
- /glyphsaver

- /glyphs save mysetup
- /glyphs restore mysetup
- /glyphs delete mysetup

Optional Files (0)


Post A Reply Comment Options
Unread 09-09-11, 05:20 PM  
sp00n
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 84
Uploads: 9
No, that isn't normal.
What class are you and what were you trying to do exactly (which glyphs, any open slots, etc).


Originally posted by Aisenfaire
Hi,

Great idea for an addon!

I read your intro; not sure if this error is normal?

Code:
2x GlyphSaver\GlyphSaver.lua:131: GetSpellInfo(): Invalid spell slot
<in C code>
GlyphSaver\GlyphSaver.lua:131: in function "getGlyphSlot"
GlyphSaver\GlyphSaver.lua:233: in function "RestoreProfile"
GlyphSaver\GlyphSaver.lua:87: in function "?"
FrameXML\ChatFrame.lua:4227: in function "ChatEdit_ParseText"
FrameXML\ChatFrame.lua:3838: in function "ChatEdit_SendText"
FrameXML\ChatFrame.lua:3876: in function "ChatEdit_OnEnterPressed"
<string>:"*:OnEnterPressed":1: in function <string>:"*:OnEnterPressed":1

Locals:
self = <table> {
 GetButtonFrame = <func> @..\GlyphSaver.lua:116
 db = <table> {}
 SaveProfile = <func> @..\GlyphSaver.lua:429
 RestoreProfile = <func> @..\GlyphSaver.lua:138
 OnInitialize = <func> @..\GlyphSaver.lua:29
 getGlyphSlot = <func> @..\GlyphSaver.lua:128
 Print = <func> @..\GlyphSaver.lua:25
 locals = <table> {}
}
i = 3
id = nil
name1 = nil
name2 = nil
(*temporary) = <func> =[C]:-1
(*temporary) = 1
P. S. Also, may I request a /list function to list existing profiles?
Report comment to moderator  
Reply With Quote
Unread 09-06-11, 06:55 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Hi,

Great idea for an addon!

I read your intro; not sure if this error is normal?

Code:
2x GlyphSaver\GlyphSaver.lua:131: GetSpellInfo(): Invalid spell slot
<in C code>
GlyphSaver\GlyphSaver.lua:131: in function "getGlyphSlot"
GlyphSaver\GlyphSaver.lua:233: in function "RestoreProfile"
GlyphSaver\GlyphSaver.lua:87: in function "?"
FrameXML\ChatFrame.lua:4227: in function "ChatEdit_ParseText"
FrameXML\ChatFrame.lua:3838: in function "ChatEdit_SendText"
FrameXML\ChatFrame.lua:3876: in function "ChatEdit_OnEnterPressed"
<string>:"*:OnEnterPressed":1: in function <string>:"*:OnEnterPressed":1

Locals:
self = <table> {
 GetButtonFrame = <func> @..\GlyphSaver.lua:116
 db = <table> {}
 SaveProfile = <func> @..\GlyphSaver.lua:429
 RestoreProfile = <func> @..\GlyphSaver.lua:138
 OnInitialize = <func> @..\GlyphSaver.lua:29
 getGlyphSlot = <func> @..\GlyphSaver.lua:128
 Print = <func> @..\GlyphSaver.lua:25
 locals = <table> {}
}
i = 3
id = nil
name1 = nil
name2 = nil
(*temporary) = <func> =[C]:-1
(*temporary) = 1
P. S. Also, may I request a /list function to list existing profiles?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: