Showing results 1 to 25 of 314
Search took 0.01 seconds.
Search: Posts Made By: yj589794
Forum: oUF (Otravi Unit Frames) 03-28-12, 02:41 AM
Replies: 13
Views: 14,022
Posted By yj589794
You may not like the response, but it happens to...

You may not like the response, but it happens to be true.

oUF is a framework that allows programmers to write unit frames that do specifically what they want. no more, no less. This means that the...
Forum: oUF (Otravi Unit Frames) 03-18-12, 06:21 AM
Replies: 4
Views: 5,288
Posted By yj589794
I did something slightly similar to this for...

I did something slightly similar to this for monitoring the Vengeance value when I play my feral tank: https://github.com/Evilpaul/oUF_VengeanceBar

For what your after then to do the same mechanism...
Forum: Lua/XML Help 02-21-12, 10:04 AM
Replies: 8
Views: 7,406
Posted By yj589794
When Blizzard implemented the Soul Shards / Holy...

When Blizzard implemented the Soul Shards / Holy Power / Eclipse as a new energy type they provided APIs and events to access the relevant information.

Unfortunately Shadow Orbs are buffs rather...
Forum: oUF (Otravi Unit Frames) 02-16-12, 11:10 AM
Replies: 20
Views: 14,780
Posted By yj589794
For that I think you'd have to generate headers...

For that I think you'd have to generate headers for the <25 raid and >25 raid separately:

local toStr = tostring

local function spawnFunction(self)
self:SetActiveStyle('oUF_EPRaid')

-- define...
Forum: oUF (Otravi Unit Frames) 02-16-12, 08:59 AM
Replies: 8
Views: 8,881
Posted By yj589794
Hmmm, If the release date is soon (and not in...

Hmmm,

If the release date is soon (and not in the Blizzard "Soon™" way), and the new interface is fairly stable, then I'll look at updating some of the wiki entries.
I've not been keeping an eye on...
Forum: oUF (Otravi Unit Frames) 02-14-12, 08:21 AM
Replies: 20
Views: 14,780
Posted By yj589794
Are you sure that the file you posted is the one...

Are you sure that the file you posted is the one that caused the error you posted previously?

I can't see any way that the 2 match up :confused:
Forum: oUF (Otravi Unit Frames) 02-11-12, 11:11 PM
Replies: 20
Views: 14,780
Posted By yj589794
The spawning of the headers should be fairly...

The spawning of the headers should be fairly generic as long as you make sure the config values are defined for your layout:
local toStr = tostring

local function...
Forum: oUF (Otravi Unit Frames) 02-10-12, 07:00 PM
Replies: 20
Views: 10,098
Posted By yj589794
Take a look at this part: local bars...

Take a look at this part:
local bars = CreateFrame("Frame", nil, self)
bars:SetPoint("TOPRIGHT", self, "BOTTOMRIGHT", -2, 37)
bars:SetSize(160/count, 3)

...
Forum: oUF (Otravi Unit Frames) 02-07-12, 06:40 PM
Replies: 20
Views: 10,098
Posted By yj589794
I'll need to play with the code to understand the...

I'll need to play with the code to understand the size and positioning of the soul shards/holy power/runes. Just staring at the code I can't quite grasp how it all fits together.
I've got raiding...
Forum: oUF (Otravi Unit Frames) 02-07-12, 05:51 PM
Replies: 20
Views: 10,098
Posted By yj589794
for the second part, change: ...

for the second part, change:
self:SetSize(width, height)
if(unit == "targettarget" or unit == "focus" or unit == "pet") then
self:SetSize(80, height)
end

to be like this...
...
Forum: oUF (Otravi Unit Frames) 02-07-12, 05:40 PM
Replies: 20
Views: 10,098
Posted By yj589794
For the 3rd part, there is no explicit...

For the 3rd part, there is no explicit concatenation of the target name. Instead the concatenation will be done based upon the anchor points assigned to the name tag.
Look at this part:
...
Forum: oUF (Otravi Unit Frames) 02-05-12, 11:42 AM
Replies: 20
Views: 14,780
Posted By yj589794
I do this by spawning a separate header for each...

I do this by spawning a separate header for each group:
https://github.com/Evilpaul/oUF_EP/blob/master/oUF_EPRaid.lua#L238
Forum: oUF (Otravi Unit Frames) 02-03-12, 09:19 AM
Replies: 20
Views: 10,098
Posted By yj589794
if not (unit == "targettarget" or unit ==...

if not (unit == "targettarget" or unit == "focustarget") then
local hpp = createFont(hp, "OVERLAY", font, fontsize, fontflag, 1, 1, 1)

if(unit == "pet") then
...
Forum: oUF (Otravi Unit Frames) 02-03-12, 08:03 AM
Replies: 20
Views: 10,098
Posted By yj589794
for setting the size of the focus frame, find...

for setting the size of the focus frame, find this part
self:SetSize(width, height)
if(unit == "targettarget" or unit == "focustarget") then
self:SetSize(80, height)
end


and add...
Forum: oUF (Otravi Unit Frames) 02-03-12, 07:33 AM
Replies: 20
Views: 10,098
Posted By yj589794
If you are using the code Lordyfrb posted, then...

If you are using the code Lordyfrb posted, then remove the 'end' that is in green text. It is unnecessary.



These type of errors are easily spotted if you ensure your code indentation is correct.
Forum: oUF (Otravi Unit Frames) 02-03-12, 04:40 AM
Replies: 20
Views: 10,098
Posted By yj589794
Instead of altering the 'freeb:hp' tag function...

Instead of altering the 'freeb:hp' tag function (which is used by many frames), you should create a copy with a different tag name.

e.g.oUF.Tags['syliha:hp'] = function(u)
local min, max =...
Forum: oUF (Otravi Unit Frames) 01-11-12, 05:58 AM
Replies: 2
Views: 4,724
Posted By yj589794
I'm at work so can only have a quick look,...

I'm at work so can only have a quick look, but...

1) you never set the size of self, so try doing that
2) you are drawing the target frame off the screen
Forum: oUF (Otravi Unit Frames) 12-31-11, 08:52 PM
Replies: 2
Views: 4,438
Posted By yj589794
It's possible, but not easily. You'd have to...

It's possible, but not easily. You'd have to overside the default SetPosition routine with your own auras/buffs/debuffs.SetPosition routine to do exactly what you want.
Forum: General Authoring Discussion 12-27-11, 10:35 AM
Replies: 14
Views: 11,233
Posted By yj589794
If the player has not selected any talents (new...

If the player has not selected any talents (new character under level 10, or during a respec) then GetPrimaryTalentTree() will return nil. Make sure you cater for this condition or you could get...
Forum: General Authoring Discussion 12-07-11, 08:31 PM
Replies: 13
Views: 6,982
Posted By yj589794
If your already familiar with a revision control...

If your already familiar with a revision control system and it does everything you want it too, then use that one.

If it's a case of looking for a new RCS that supports you needs, then in this case...
Forum: oUF (Otravi Unit Frames) 10-15-11, 04:03 PM
Replies: 4
Views: 5,364
Posted By yj589794
I've not played WoW for months, but I used to...

I've not played WoW for months, but I used to display raid pets in my oUF layout. I've no idea if the layout will still work with the latest oUF, but you could at least get some idea from...
Forum: oUF (Otravi Unit Frames) 01-21-11, 07:02 PM
Replies: 4
Views: 6,213
Posted By yj589794
I used the following to colour the unit frame...

I used the following to colour the unit frame backdrop and/or display a debuff icon:

https://github.com/Evilpaul/oUF_EP/blob/master/elements/DebuffHighlight.lua

I configured the raid frames to...
Forum: oUF (Otravi Unit Frames) 01-12-11, 03:45 PM
Replies: 4
Views: 5,204
Posted By yj589794
np, good job in getting it sorted out yourself.

np, good job in getting it sorted out yourself.
Forum: Class Discussions 01-11-11, 09:28 AM
Replies: 7
Views: 40,889
Posted By yj589794
Unit Frames are, quite literally, the frames that...

Unit Frames are, quite literally, the frames that display unit information.

The default unit frames are the ones in the top left corner that display portrait, health bar, power bar, etc.

While they...
Forum: oUF (Otravi Unit Frames) 01-11-11, 09:22 AM
Replies: 4
Views: 5,204
Posted By yj589794
Looking at the code there is nothing that jumps...

Looking at the code there is nothing that jumps out at me as being wrong.

Which version of oUF are you running?
Would it be possible to post a link to your layout? (It's easier to debug if I can...
Showing results 1 to 25 of 314