Showing results 1 to 25 of 135
Search took 0.01 seconds.
Search: Posts Made By: Freebaser
Forum: oUF (Otravi Unit Frames) 08-18-16, 07:43 PM
Replies: 19
Views: 5,515
Posted By Freebaser
Adding a check for r and returning a value should...

Adding a check for r and returning a value should fix that. Update the hex function to this.

local function hex(r, g, b)
if(not r) then return "|cffFFFFFF" end

if(type(r) == 'table') then
...
Forum: oUF (Otravi Unit Frames) 08-17-16, 09:38 PM
Replies: 19
Views: 5,515
Posted By Freebaser
Guess we can try updating the hex function...

Guess we can try updating the hex function instead. Replace it with this.

local function hex(r, g, b)
if(type(r) == 'table') then
if(r.r) then r, g, b = r.r, r.g, r.b else r, g, b = unpack(r)...
Forum: oUF (Otravi Unit Frames) 08-11-16, 09:08 PM
Replies: 19
Views: 5,515
Posted By Freebaser
Ok, it looks like this was fixed in a pull...

Ok, it looks like this was fixed in a pull request on github (https://github.com/haste/oUF/pull/285). You should download an updated oUF from here (https://github.com/ls-/oUF/archive/master.zip). I...
Forum: oUF (Otravi Unit Frames) 08-11-16, 08:44 PM
Replies: 19
Views: 5,515
Posted By Freebaser
Here is a power tag that should match the power...

Here is a power tag that should match the power bar.


oUF.Tags.Methods['freeb:pp'] = function(u)
local power, powermax = UnitPower(u), UnitPowerMax(u)

if power > 0 then
local ptype, ptoken, r,...
Forum: oUF (Otravi Unit Frames) 08-09-16, 01:08 PM
Replies: 19
Views: 5,515
Posted By Freebaser
I'm not seeing any problems with the code. Is...

I'm not seeing any problems with the code. Is altpower and powerbar working correctly on the player and target frames?
Forum: Lua/XML Help 08-09-16, 12:44 PM
Replies: 5
Views: 6,416
Posted By Freebaser
GameFontNormalSmall GameFontNormal GameFontHighlig...

GameFontNormalSmall
GameFontNormal
GameFontHighlightSmall
GameTooltipTextSmall

https://github.com/tekkub/wow-ui-source/blob/live/FrameXML/GameTooltipTemplate.xml#L271
Forum: oUF (Otravi Unit Frames) 08-08-16, 09:32 PM
Replies: 19
Views: 5,515
Posted By Freebaser
Not sure why that is. If you attach your...

Not sure why that is. If you attach your freeb.lua file, I'll look it over.
Forum: oUF (Otravi Unit Frames) 08-08-16, 05:32 PM
Replies: 19
Views: 5,515
Posted By Freebaser
No, just 5-6.

No, just 5-6.
Forum: oUF (Otravi Unit Frames) 08-08-16, 04:51 PM
Replies: 19
Views: 5,515
Posted By Freebaser
Try using the type instead local ptype, str, r,...

Try using the type instead


local ptype, str, r, g, b = UnitPowerType(u)
local t = oUF.colors.power[ptype]
Forum: oUF (Otravi Unit Frames) 12-10-14, 10:05 PM
Replies: 7
Views: 4,817
Posted By Freebaser
To help with the inverted hp idea, Phanx...

To help with the inverted hp idea, Phanx suggestion would work like this.


self.Health.colorClass = true -- let oUF color the health bar

...

-- oUF Health will set the color of .bg if it exist
--...
Forum: Lua/XML Help 10-16-13, 03:38 PM
Replies: 3
Views: 3,831
Posted By Freebaser
Ah, wasn't aware of the spellbook limitation.

Ah, wasn't aware of the spellbook limitation.
Forum: Lua/XML Help 10-16-13, 02:36 PM
Replies: 3
Views: 3,831
Posted By Freebaser
GetSpellInfo with name issue

print( (GetSpellInfo(116257) == "Invoker's Energy") )

-- true


print( GetSpellInfo("Invoker's Energy") )

-- nil
Forum: AddOn Search/Requests 10-11-13, 07:29 PM
Replies: 3
Views: 14,937
Posted By Freebaser
Have you seen PlateBuffs...

Have you seen PlateBuffs (http://www.wowace.com/addons/platebuffs/)? Probably needs to be updated, but it's a starting point.
Forum: oUF (Otravi Unit Frames) 10-10-13, 09:11 PM
Replies: 16
Views: 8,901
Posted By Freebaser
SetActiveStyle does not actually spawn or...

SetActiveStyle does not actually spawn or activate anything. It's just telling oUF which style to use on the next oUF:Spawn call. Try this visibility for 10 man.


custom [@raid11,exists]...
Forum: oUF (Otravi Unit Frames) 10-10-13, 03:26 AM
Replies: 16
Views: 8,901
Posted By Freebaser
Use two styles and custom visibility. local...

Use two styles and custom visibility.


local Style1 = function(self)
--blah blah
end

local Style2 = function(self)
--blah blah
end
Forum: oUF (Otravi Unit Frames) 10-10-13, 02:14 AM
Replies: 13
Views: 8,091
Posted By Freebaser
Make sure it runs after...

Make sure it runs after self.Health:SetSize/SetWidth or replace it with a static value. If you're using the entire frame (e.g. self.Health:SetAllPoints(self)) you could use self:GetWidth()
Forum: oUF (Otravi Unit Frames) 10-09-13, 08:39 PM
Replies: 13
Views: 8,091
Posted By Freebaser
You can drop the PostUpdate healAbsorbPercent and...

You can drop the PostUpdate healAbsorbPercent and healAbsorbBar:SetPoint stuff. Use something like this when creating the bar.


local healAbsorbBar = CreateFrame("StatusBar", nil,...
Forum: oUF (Otravi Unit Frames) 10-08-13, 09:27 PM
Replies: 13
Views: 8,091
Posted By Freebaser
This is where you can use PostUpdate, instead of...

This is where you can use PostUpdate, instead of an override function or writing a separate element.


local function HealPostUpdate = function(hp, unit)

if(hp.absorbBar:GetValue() > 0)...
Forum: General WoW Chat 06-03-13, 01:24 AM
Replies: 9
Views: 21,002
Posted By Freebaser
18,370,000

18,370,000
Forum: oUF (Otravi Unit Frames) 12-04-12, 09:20 AM
Replies: 11
Views: 7,046
Posted By Freebaser
UnitAlternatePowerTextureInfo doesn't always...

UnitAlternatePowerTextureInfo doesn't always return the color you expect. Some of the alt power bars are not colored by this function and simply use a unique texture that is already appropriately...
Forum: AddOn Search/Requests 10-25-12, 12:59 PM
Replies: 1
Views: 3,034
Posted By Freebaser
A few items have been added since Buffet was last...

A few items have been added since Buffet was last updated.

https://github.com/TekNoLogic/Buffet

Help Tekkub update the db on github or post missing items here and I'll send them.
Forum: Lua/XML Help 10-04-12, 11:24 AM
Replies: 2
Views: 2,388
Posted By Freebaser
http://wowprogramming.com/docs/scripts/OnClick

http://wowprogramming.com/docs/scripts/OnClick
Forum: Site help, bugs, suggestions/questions 08-29-12, 03:42 PM
Replies: 2
Views: 1,646
Posted By Freebaser
Seems to be working now.

Seems to be working now.
Forum: Site help, bugs, suggestions/questions 08-29-12, 02:40 PM
Replies: 2
Views: 1,646
Posted By Freebaser
Git Control Panel not working

It's displaying a blank page for me.
Forum: News 08-16-12, 05:35 PM
Replies: 27
Views: 50,725
Posted By Freebaser
So this...

So this (http://web.archive.org/web/20020803080809/http://www.eqgui.com/) is how it all started. Nice!

Congrats and thanks for all your work.
Showing results 1 to 25 of 135