Download
(182Kb)
Download
Updated: 02-05-15 07:20 PM
Compatibility:
Warlords of Draenor (6.0.3)
Updated:02-05-15 07:20 PM
Created:01-07-13 08:00 PM
Downloads:4,242
Favorites:0
MD5:

oUF Fail new power values

Version: oUF_Fail_Test Party pets 1.6.4d
by: Sauerkraut, MiRai

- For testing purposes only - Should not be downloaded -
Just for you Sp_i_ke

Post A Reply Comment Options
Unread 02-07-13, 05:46 AM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
Originally Posted by MiRai
Sorry, I realized that I didn't give any feedback on this, but I haven't really played for about a week because I've been pretty busy with work projects (and another game). I do like the Rage/Energy, but the Mana is a little awkward. I might have to bring back the old behavior for Mana and keep the new behavior for Rage/Energy.
I agree. I haven't been doing much playing lately either. Probably just an if loop with some kind of check for power type would work.
Report comment to moderator  
Reply With Quote
Unread 02-05-13, 06:56 AM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Sorry, I realized that I didn't give any feedback on this, but I haven't really played for about a week because I've been pretty busy with work projects (and another game). I do like the Rage/Energy, but the Mana is a little awkward. I might have to bring back the old behavior for Mana and keep the new behavior for Rage/Energy.
Report comment to moderator  
Reply With Quote
Unread 01-25-13, 05:23 PM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Originally Posted by Sauerkraut
I got it working. I'm uploading the working version now. Gonna be funky with mana though.
Awesome! I won't be able to try it out until later tonight.
Report comment to moderator  
Reply With Quote
Unread 01-25-13, 04:56 PM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
I got it working. I'm uploading the working version now. Gonna be funky with mana though.
Report comment to moderator  
Reply With Quote
Unread 01-25-13, 08:04 AM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
I've tried both Dawn's and Phanx's suggestions in that thread and both of them are throwing errors at me. I don't know what I'm supposed to replace yourstatusbar with because...

Code:
	local text = lib.gen_fontstring(f.Health, cfg.font, 18, "OUTLINE")
	local r, g, b = playerPowerBar:GetStatusBarColor()
	text:SetPoint("RIGHT", s.arrow, "LEFT", 6, -8)
	text:SetTextColor(r, g, b)
	s:SetScript("OnValueChanged", function(self, value)
	text:SetFormattedText("%d", value, 0)
	text:SetJustifyH("RIGHT")
	end)
...just tells me that playerPowerBar is a nil value. That was just a complete guess as to what goes there based off of playerHealthBar from looking at WoWPedia.

And, to be honest, I'm not sure if Phanx's suggestion is pseudocode or not. I would post my errors in that thread to help move it along, but seeing as I can't even reproduce the yellow power text you were seeing yesterday, I'd rather not clutter up the thread with my false errors.
Report comment to moderator  
Reply With Quote
Unread 01-24-13, 07:35 AM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Originally Posted by Sauerkraut
Any progress? I haven't made any headway, but I also haven't had much time to try.
No, nothing. I haven't had much time to play with the layout or even much of the game over the past few days. I was thinking of throwing the before and after chunks of code into the oUF thread to see what other people thought.
Report comment to moderator  
Reply With Quote
Unread 01-22-13, 03:11 PM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
Any progress? I haven't made any headway, but I also haven't had much time to try.
Report comment to moderator  
Reply With Quote
Unread 01-18-13, 07:30 AM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
Originally Posted by MiRai
Originally Posted by Sauerkraut
Code is in and working. Still working on how to color it, but it behaves like you asked. Check it out.
I finally just got a chance to check it out and I must say that this might be love at first sight.

I saw haste's reply in the thread earlier today, but I wasn't exactly sure what to do with that "OnValueChanged" and I wanted to see if you or I could figure it out before we went back to bother the gurus on the oUF forum. It's great that you saw that and were able to implement the change so quickly. I gave an attempt at fixing the color of the power text as well, but I got nothin'.
I didn't have a lot of time last night so I didn't look at the colors too closely. I would imagine that it would need something similar to the arrow coloring code. If I have a chance I'll play with it tonight. I kinda like the way it looks too. Have to wait and see what it looks like with color and how it behaves with mana. May need to use the current tag for mana and this for rage/energy/focus/runic.

It was much easier than I anticipated. Once Haste posted his reply and I had some where to start it only took a few mins to work out the code. I'm not sure if the min/max code line is needed but it is working in the current incarnation.
Report comment to moderator  
Reply With Quote
Unread 01-17-13, 10:32 PM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Originally Posted by Sauerkraut
Code is in and working. Still working on how to color it, but it behaves like you asked. Check it out.
I finally just got a chance to check it out and I must say that this might be love at first sight.

I saw haste's reply in the thread earlier today, but I wasn't exactly sure what to do with that "OnValueChanged" and I wanted to see if you or I could figure it out before we went back to bother the gurus on the oUF forum. It's great that you saw that and were able to implement the change so quickly. I gave an attempt at fixing the color of the power text as well, but I got nothin'.
Report comment to moderator  
Reply With Quote
Unread 01-17-13, 07:37 PM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
Code is in and working. Still working on how to color it, but it behaves like you asked. Check it out.
Report comment to moderator  
Reply With Quote
Unread 01-15-13, 12:55 PM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Originally Posted by light007
Hi i'm interested in your weak aura setting - would you mind to share them. Thank you in advance.
Unfortunately, there is nothing to share. The UI is being worked on on a daily basis so it's constantly changing. What you saw in that video was the result of having worked with Weak Auras maybe twice before that to setup very basic alerts. I was only following the same basic setup as before by just adding spells and adding the pre-defined conditions for show/hide.

If you need to learn how to use Weak Auras there are a handful of YouTube videos (a whole series by the same uploader), a forum, or you could just copy & paste Clampy's setup.
Report comment to moderator  
Reply With Quote
Unread 01-15-13, 04:06 AM  
light007
A Kobold Labourer

Forum posts: 1
File comments: 12
Uploads: 0
Hi i'm interested in your weak aura setting - would you mind to share them. Thank you in advance.
Report comment to moderator  
Reply With Quote
Unread 01-13-13, 08:50 AM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
Looks good. Too much flash for my taste

I got the mouse over text working for the rep bar. If you have both oUF_Rep and oUF_Exp it will switch automatically when you hit max level. Other than that I don't know a way to switch back and forth. I'm sure there is a way but it is beyond me.

I'm working on having the frames adjust for the arrow when it is enabled/disabled via the config. Shouldn't take long.
Report comment to moderator  
Reply With Quote
Unread 01-13-13, 01:31 AM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
http://youtu.be/Wm0-xYvCNgs

This is just a test video of what I wanted to do with oUF_Fail and my action bars. I'm not sure it's going to work out as I had planned, but I'm waiting to see if it's possible to animate action bar buttons the same way I'm animating those Weak Aura icons in the video.
Report comment to moderator  
Reply With Quote
Unread 01-12-13, 10:12 PM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Okay, I like this Rep/XP bar. Now that I've seen it, maybe just make the text show while hovering over the player frame? I'm going to look into how to do this, perhaps with the oUF equivalent of MouseIsOver.

As per this thread, it would seem I'm looking for "OnEnter" and "OnLeave".
Last edited by MiRai : 01-12-13 at 11:55 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: