Thanks for coding the frame hiding addon, I appreciate the time you took to do that. I'll respect your wishes and not pester further regarding the small addon you whipped up in terms of requests. However, you did want to know if it worked, and it doesn't:
[2007/09/01 22:03:36-1630-x1]: HideBlizzardFrames\HideBlizzardFrames.lua:33: attempt to index global 'L' (a nil value)
AceAddon-2.0-46764 (Ace2):483: in function <Interface\AddOns\Ace2\AceAddon-2.0\AceAddon-2.0.lua:460>
<in C code>: ?
AceEvent-2.0-44693 (Ace2):299: in function `TriggerEvent'
AceEvent-2.0-44693 (Ace2):955: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:948>
Also, Phanx, please consider adding a toggle to Hide Blizzard frames for player/target for individuals who seek to use only OSH as their player/target unitframe solution (such as myself, though I do use Sage Party and Focus for tracking the data which OSH does not).
You might also consider an option to hide Player's OSH information if HP and MP are at 100% but show the player values if not at max.
/script local SML = AceLibrary("SharedMedia-1.0"); for _,name in ipairs(SML:List("font")) do DEFAULT_CHAT_FRAME:AddMessage(name..", "..SML:Fetch("font", name)) end
Should print a list of every font you have available through SharedMedia, both the font face name and the file name. Let me know if Emblem and Enigma show up here.
Done. All of my fonts show up, including Enigma and Emblem:
Second, change your OnScreenHealth font to Emblem or Enigma and do:
/dump OnScreenHealth.db.profile.fontFace
Should print the file name of the font. Let me know if this matches the file name as printed by the first script for the same font face.
If your font shows up in the first list, and the file names match, it should be being saved between sessions. I don't have Enigma or Emblem, but I did test with two other fonts I do have through SharedMedia, and both saved between sessions for me. :/
The font name does show up, yet they do not save between sessions:
I have no idea if that has any bearing on the problem, but both Enigma and Emblem are also shared with SCT and in the sct\fonts directory as well as the shared media folder.
Looks like one of your panel's data values got fubar'd somehow. If you know what panel is messing up, you can type /script eePanels2:RemovePanel(PANELNUMBER) and then do a /reload and see if that helps. Backup your eePanels2.lua saved variables first.
What would be more helpful is a detailed list of what you did exactly leading up to that.
I have no panels as I've reset profile and also deleted my saved variables after experiencing those errors in order to troubleshoot. It didn't alleviate the problem.
As far as what led to these errors: I started rapidly creating new panels from the Global Setting (I believe I created 16) in order to begin a template I had in mind. The addon seemed to break after that.
[2007/08/29 20:57:28-1590-x1]: eePanels2-2.0\core.lua:1844: attempt to index field 'background' (a nil value)
AceAddon-2.0-46764 (Ace2):927: in function <Interface\AddOns\Ace2\AceAddon-2.0\AceAddon-2.0.lua:920>
<in C code>: ?
AceEvent-2.0-44693 (Ace2):262: in function `TriggerEvent'
AceEvent-2.0-44693 (Ace2):955: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:948>
Getting this error on log-in. Attempting to create a new panel results in its own errors, and I can't right click on a newly created panel.
Error upon panel creation:
[2007/08/29 20:58:39-1590-x1]: eePanels2-2.0\core.lua:1471: attempt to concatenate field 'name' (a nil value)
eePanels2-2.0\core.lua:579: in function `CreateMenus'
eePanels2-2.0\core.lua:527: in function `CreatePanel'
eePanels2-2.0\core.lua:208: in function `func'
Dewdrop-2.0-46777 (DewdropLib):710: in function <...erface\AddOns\DewdropLib\Dewdrop-2.0\Dewdrop-2.0.lua:649>
Error upon right clicking on a newly created panel:
[2007/08/29 20:59:19-1590-x1]: eePanels2-2.0\core.lua:1652: Dewdrop-2.0: Bad argument #2 to `FeedAceOptionsTable' (table expected, got nil)
Ace2\AceLibrary\AceLibrary.lua:100: in function <Interface\AddOns\Ace2\AceLibrary\AceLibrary.lua:53>
(tail call): ?:
Dewdrop-2.0-46777 (DewdropLib):1262: in function `FeedAceOptionsTable'
eePanels2-2.0\core.lua:1652: in function <Interface\AddOns\eePanels2\core.lua:1652>
Dewdrop-2.0-46777 (DewdropLib):1872: in function <...erface\AddOns\DewdropLib\Dewdrop-2.0\Dewdrop-2.0.lua:1821>
Dewdrop-2.0-46777 (DewdropLib):2757: in function <...erface\AddOns\DewdropLib\Dewdrop-2.0\Dewdrop-2.0.lua:2716>
Dewdrop-2.0-46777 (DewdropLib):2973: in function `Open'
eePanels2-2.0\core.lua:1649: in function `ShowPanelMenu'
eePanels2-2.0\guideFrame.lua:67: in function `MouseDownListener'
eePanels2-2.0\guideFrame.lua:51: in function <Interface\AddOns\eePanels2\guideFrame.lua:51>
I have once again reset my saved variables after your latest update. I haven't seen the boolean error since then.
However, my typeface is still NOT saving. Its strange, all my other preferences are saved, but my font reverts to Fritz Quadratta every time.
Also, I had this error appear when configuring OSH through Waterfall:
[2007/08/26 18:44:29-1537-x1]: OnScreenHealth-1.3\OnScreenHealth.lua:1010: attempt to call method 'UpdateForAll' (a nil value)
Waterfall-1.0-47241 (Waterfall-1.0):3108: in function <...AddOns\Waterfall-1.0\Waterfall-1.0\Waterfall-1.0.lua:3096>
Waterfall-1.0-47241 (Waterfall-1.0):3140: in function <...AddOns\Waterfall-1.0\Waterfall-1.0\Waterfall-1.0.lua:3134>
2007/08/25 22:26:57-1535-x1]: OnScreenHealth-1.3\OnScreenHealth.lua:142: attempt to concatenate a boolean value
OnScreenHealth-1.3\OnScreenHealth.lua:197: in function `UpdateHealth'
OnScreenHealth-1.3\OnScreenHealth.lua:245: in function `UpdateAll'
OnScreenHealth-1.3\OnScreenHealth.lua:1042: in function `setFunc'
Waterfall-1.0-47241 (Waterfall-1.0):3108: in function <...AddOns\Waterfall-1.0\Waterfall-1.0\Waterfall-1.0.lua:3096>
Waterfall-1.0-47241 (Waterfall-1.0):3140: in function <...AddOns\Waterfall-1.0\Waterfall-1.0\Waterfall-1.0.lua:3134>
Player power formats: I'm not adverse to adding it, but why would you want this? I can't really think of a situation where knowing that I have 47% of my mana left is anywhere near as useful as knowing that I have 5384 mana.
I like to know what % of mana is remaining at a glance. Since a XXXX/XXXX format would probably not be something you'd want to inplement due to the length, the % format seems to best fit. Plus, math is hard! :p
Scaling percent/absolute independently: Won't happen. They're a single font string with a line break. The only way to make them different sizes would be to create two font strings for health instead of one, which would also require reanchoring the other font strings to one or the other depending on your chosen health format.
Fair enough :)
Also, you responded to my previous post as I was adding something to it, so I'll repeat it here to ensure it catches your eye:
My font reverts to default (Friz Quadrata TT) every time I log in. I deleted my OSH saved variables to see if it would save my font setting (I choose Enigma), and it still revert.
Phanx, please consider adding a Percent option to the player's Power value as well. Another aesthetic suggestion: Perhaps we could scale the percent text independently of the absolute text? Just a thought, feel free to say no.
Also: My font reverts to default (Friz Quadrata TT) every time I log in. I deleted my OSH saved variables to see if it would save my font setting (I choose Enigma), and it still revert.
I agree with your desire to keep the addon simple.
However, I do have an aesthetic request, as I feel the addon doesn't need to be needlessly ugly.
Please consider an alignment option for the text. For example, I would like the smaller mana font to be centered under the larger health font, instead of aligned left. When fonts are not of the same size, the left alignment looks unattractive, in my opinion.
Also, with 1.1c, I am experiencing some oddities with ToT. When I target something that I have not entered combat with / engaged, I still have a <<YOU>> displaying under their target data. Why?
0
:)
0
Also, Phanx, please consider adding a toggle to Hide Blizzard frames for player/target for individuals who seek to use only OSH as their player/target unitframe solution (such as myself, though I do use Sage Party and Focus for tracking the data which OSH does not).
You might also consider an option to hide Player's OSH information if HP and MP are at 100% but show the player values if not at max.
0
I just upgraded to r47870. Logged in, set my font to Enigma. I relogged and... YAY! My font was saved to Enigma. Thank you Phanx.
0
Done. All of my fonts show up, including Enigma and Emblem:
Emblem, Interface\Addons\SharedMedia\fonts\Emblem.ttf
Enigma, Interface\Addons\SharedMedia\fonts\Enigma__2.ttf
The font name does show up, yet they do not save between sessions:
"Interface\\Addons\\SharedMedia\\fonts\\Enigma__2.ttf"
"Interface\\Addons\\SharedMedia\\fonts\\Emblem.ttf"
-----------------------
On the other hand, I don't use SCT.
0
I have no panels as I've reset profile and also deleted my saved variables after experiencing those errors in order to troubleshoot. It didn't alleviate the problem.
As far as what led to these errors: I started rapidly creating new panels from the Global Setting (I believe I created 16) in order to begin a template I had in mind. The addon seemed to break after that.
0
0
I'm sorry to report that the font reverting issue hasn't been fixed. Debugging was turned on and this was again the result:
(DEBUG) OnScreenHealth: Found SharedMediaLib; inserting font face option.
(DEBUG) OnScreenHealth: Saved font not found; reverting to Friz Quadrata.
0
Getting this error on log-in. Attempting to create a new panel results in its own errors, and I can't right click on a newly created panel.
Error upon panel creation:
Error upon right clicking on a newly created panel:
This is the latest revision of eePanels2
0
0
Relevant debug messages:
(DEBUG) OnScreenHealth: Found SharedMediaLib; inserting font face option.
(DEBUG) OnScreenHealth: Saved font not found; reverting to Friz Quadrata.
The font I am trying to use is Enigma. Yes, it is indeed in my SharedMedia folder. I have the font.
0
I have once again reset my saved variables after your latest update. I haven't seen the boolean error since then.
However, my typeface is still NOT saving. Its strange, all my other preferences are saved, but my font reverts to Fritz Quadratta every time.
Also, I had this error appear when configuring OSH through Waterfall:
0
Errors are from r47418
0
I like to know what % of mana is remaining at a glance. Since a XXXX/XXXX format would probably not be something you'd want to inplement due to the length, the % format seems to best fit. Plus, math is hard! :p
Fair enough :)
Also, you responded to my previous post as I was adding something to it, so I'll repeat it here to ensure it catches your eye:
My font reverts to default (Friz Quadrata TT) every time I log in. I deleted my OSH saved variables to see if it would save my font setting (I choose Enigma), and it still revert.
0
Also: My font reverts to default (Friz Quadrata TT) every time I log in. I deleted my OSH saved variables to see if it would save my font setting (I choose Enigma), and it still revert.
0
However, I do have an aesthetic request, as I feel the addon doesn't need to be needlessly ugly.
Please consider an alignment option for the text. For example, I would like the smaller mana font to be centered under the larger health font, instead of aligned left. When fonts are not of the same size, the left alignment looks unattractive, in my opinion.
Also, with 1.1c, I am experiencing some oddities with ToT. When I target something that I have not entered combat with / engaged, I still have a <<YOU>> displaying under their target data. Why?