Showing results 1 to 25 of 301
Search took 0.03 seconds.
Search: Posts Made By: Rainrider
Forum: oUF (Otravi Unit Frames) 03-27-14, 06:39 AM
Replies: 2
Views: 209
Posted By Rainrider
You can't modify secure frames in combat. You can...

You can't modify secure frames in combat. You can check for InCombatLockdown() and apply your changes at PLAYER_REGEN_ENABLED though.
Forum: oUF (Otravi Unit Frames) 03-25-14, 05:27 PM
Replies: 10
Views: 544
Posted By Rainrider
Yep, moving and sizing of secure frames only out...

Yep, moving and sizing of secure frames only out of combat
Forum: oUF (Otravi Unit Frames) 03-25-14, 05:13 AM
Replies: 10
Views: 544
Posted By Rainrider
You obviously need a loop and use the iterator...

You obviously need a loop and use the iterator index instead of setting the groupFilter manually 8 times. You also need to separate your party header from your raid group headers, as you don't want...
Forum: oUF (Otravi Unit Frames) 03-24-14, 05:23 PM
Replies: 10
Views: 544
Posted By Rainrider
You pass the size to the...

You pass the size to the oUF-initialConfigFunction attribute when you define the header. Something like

local header = SpawnHeader("PartyHeader", nil, "party",
"showParty", true,
...
Forum: Lua/XML Help 03-19-14, 02:06 PM
Replies: 19
Views: 859
Posted By Rainrider
In your OnUpdate (lines 303-322 in the pastebin)...

In your OnUpdate (lines 303-322 in the pastebin) you should create a local reference to self.healthBar and spare yourself 11 table look-ups. You also have an unnecessary call to GetStatusBarColor()...
Forum: oUF (Otravi Unit Frames) 03-11-14, 07:25 PM
Replies: 1
Views: 359
Posted By Rainrider
oUF Test Mode for Header Units

I'm trying to figure a way to test header units (there are several threads on the issue, but they seem outdated and I wasn't able to find a solution there). So I though I'd just use oUF:SpawnHeader...
Forum: Lua/XML Help 03-11-14, 06:22 PM
Replies: 19
Views: 859
Posted By Rainrider
The UNIT_SPELLCAST* events you have registered...

The UNIT_SPELLCAST* events you have registered are not helpful because they only fire for "real" unit ids but you have them registered to all castbars. So you will spread the results for your target...
Forum: Lua/XML Help 03-11-14, 06:04 AM
Replies: 19
Views: 859
Posted By Rainrider
Cael, the code in the linked thread is basically...

Cael, the code in the linked thread is basically a stripped version of your CaelNameplates before you took it off from WoWI. I think the only real difference is the removal of the custom coloring and...
Forum: oUF (Otravi Unit Frames) 03-09-14, 04:49 PM
Replies: 1
Views: 321
Posted By Rainrider
According to the download page, the latest...

According to the download page, the latest version requires oUF 1.6, which is updated for MoP. So both should work with patch 5.4.
Forum: oUF (Otravi Unit Frames) 03-02-14, 05:47 AM
Replies: 7
Views: 484
Posted By Rainrider
You don't need to watch for UNIT_AURA to get the...

You don't need to watch for UNIT_AURA to get the ghost status. UNIT_HEALTH suffices because dead and ghosted players have different health (yes, this is strange).

UNIT_HEALTH_FREQUENT (UHF) is just...
Forum: Lua/XML Help 02-20-14, 08:00 AM
Replies: 24
Views: 788
Posted By Rainrider
You also don't have a local reference to...

You also don't have a local reference to MAX_COMBO_POINTS. You don't check for vehicle combo points either (there was a daily rep quest back in WotLK that used that, maybe there are others too). You...
Forum: Lua/XML Help 02-19-14, 03:26 PM
Replies: 24
Views: 788
Posted By Rainrider
Just a note for warlock: Those magic 10 are...

Just a note for warlock:

Those magic 10 are contained in the global MAX_POWER_PER_EMBER. UnitPower("player", SPELL_POWER_BURNING_EMBERS) is the same as math.floor(UnitPower("player",...
Forum: oUF (Otravi Unit Frames) 02-18-14, 12:07 PM
Replies: 6
Views: 431
Posted By Rainrider
oUF should display an empty power bar when the...

oUF should display an empty power bar when the unit has no power. Post that error.
Forum: oUF (Otravi Unit Frames) 02-17-14, 02:25 PM
Replies: 6
Views: 431
Posted By Rainrider
Is oUF_Smooth listed under OptionalDeps in your...

Is oUF_Smooth listed under OptionalDeps in your layout's .toc?
Forum: Lua/XML Help 02-17-14, 12:23 PM
Replies: 2
Views: 335
Posted By Rainrider
A better way to expose your addon "local"...

A better way to expose your addon "local" variables to other addons is by putting them inside a global table, named after your addon's name. That way you don't have to take care that every variable...
Forum: oUF (Otravi Unit Frames) 02-01-14, 06:42 PM
Replies: 5
Views: 635
Posted By Rainrider
That's why...

That's why (https://github.com/tombell/oUF_Rippie/blob/master/modules/warlockpower.lua#L114-L119). This makes the last segment longer by the amount of spacing (3px in your case). If you subtract the...
Forum: oUF (Otravi Unit Frames) 02-01-14, 08:35 AM
Replies: 5
Views: 635
Posted By Rainrider
150 = segment + space + segment + space + segment...

150 = segment + space + segment + space + segment + space + segment
150 = 4 * segment + 3 * space
4 * segment = 150 - 3 * space
segment = (150 - 3 * space) / 4

You set space to 3 in your SetPoint...
Forum: oUF (Otravi Unit Frames) 02-01-14, 08:27 AM
Replies: 5
Views: 635
Posted By Rainrider
Ah, I need to read. Answer comes right away

Ah, I need to read. Answer comes right away
Forum: Lua/XML Help 02-01-14, 08:14 AM
Replies: 13
Views: 743
Posted By Rainrider
I bought my German physical discs in Germany. I...

I bought my German physical discs in Germany. I chose enGB (you can't choose enUS in europe) and I play on a German server. "installLocale" is still enUS for me for whatever reason. It is common to...
Forum: Lua/XML Help 01-31-14, 12:19 PM
Replies: 13
Views: 743
Posted By Rainrider
Is it possible to get the server locale? Like...

Is it possible to get the server locale? Like deDE or something if it is a german server.

Btw: GetCVar("installLocale") is the same as GetLocale(). If you need to diffentiate between enUS/enGB then...
Forum: General Authoring Discussion 01-25-14, 12:44 PM
Replies: 16
Views: 709
Posted By Rainrider
If a person comes to a medium for written...

If a person comes to a medium for written communication to ask questions, I assume they do read. If they don't, it's all their fault.
Forum: General Authoring Discussion 01-24-14, 12:22 PM
Replies: 16
Views: 782
Posted By Rainrider
First confirm here or somewhere else that what...

First confirm here or somewhere else that what you think is a bug is also perceived that way by the community. Then either submit a bug report in-game (it's being directed directly to the developers...
Forum: General Authoring Discussion 01-24-14, 12:16 PM
Replies: 16
Views: 709
Posted By Rainrider
It seems 3 lines are too much to read, Vlad. What...

It seems 3 lines are too much to read, Vlad. What the TE seemed to expect select to return is actually the result of the code snippet I posted. Knowing how unpack works, helps understanding how...
Forum: General Authoring Discussion 01-24-14, 03:14 AM
Replies: 16
Views: 709
Posted By Rainrider
In case it's still unclear: for i = 1,...

In case it's still unclear:

for i = 1, select("#", unpack(self.Events)) do

will result in what you seem to have expected from select. Don't do it that way though :)
Forum: Released AddOns 01-18-14, 09:41 PM
Replies: 5
Views: 852
Posted By Rainrider
First of all a warm welcome back!! Then for the...

First of all a warm welcome back!!

Then for the features (I've never used your addon, but I'd love to):

As Seerah suggested, a way to look through bars for spells you haven't yet placed there...
Showing results 1 to 25 of 301