Showing results 1 to 25 of 432
Search took 0.01 seconds.
Search: Posts Made By: Rainrider
Forum: oUF (Otravi Unit Frames) 02-03-22, 01:17 AM
Replies: 2
Views: 4,119
Posted By Rainrider
The official oUF has no support for classic or...

The official oUF has no support for classic or tbc classic. I can't tell from your post which version you are using. The elvui guys had a fork for classic, maybe they have done it for tbc classic as...
Forum: oUF (Otravi Unit Frames) 04-03-19, 12:06 AM
Replies: 1
Views: 5,860
Posted By Rainrider
Overriding SetPosition is the default. oUF tries...

Overriding SetPosition is the default. oUF tries to cover the broad normal case with respect to the default ui behaviour. For special cases like this one we have the ability to use overrides.
Forum: oUF (Otravi Unit Frames) 12-09-18, 05:06 PM
Replies: 1
Views: 6,639
Posted By Rainrider
You can use one indicator's PostUpdate to...

You can use one indicator's PostUpdate to re-anchor it and call ForceUpdate on the indicator that should be displayed after it, doing so for all in the chain. Use a shared anchor point and...
Forum: oUF (Otravi Unit Frames) 12-09-18, 03:49 PM
Replies: 1
Views: 6,803
Posted By Rainrider
You may try using the following attributes on the...

You may try using the following attributes on the party header:

'showPlayer', true,
'showParty', true,
'sortDir', 'DESC',


I'm not sure if this will work with the 'groupingOrder' attribute the way...
Forum: oUF (Otravi Unit Frames) 09-03-18, 12:02 AM
Replies: 2
Views: 5,714
Posted By Rainrider
You need to update the tag in your set...

You need to update the tag in your set function:

myPlayerFrame:Untag(myPlayerFrame.healthText)
myPlayerFrame:Tag(myPlayerFrame.healthText, value)
myPlayerFrame.healthText:UpdateTag()
Forum: oUF (Otravi Unit Frames) 07-17-18, 08:33 AM
Replies: 0
Views: 10,106
Posted By Rainrider
oUF 8.0 Upgrade Guide

Upgrade Guide

Breaking changes:


Auras:

Spell ranks were removed from the API and are thus not a part of the arguments passed to ".CustomFilter"

Castbar:
Forum: oUF (Otravi Unit Frames) 05-28-18, 12:29 PM
Replies: 19
Views: 7,296
Posted By Rainrider
Why do you want to leave stock ui frames shown?...

Why do you want to leave stock ui frames shown? Does the player frame come into question? If so, do you care about stuff handled by oUF elements like totems, additional power or the stagger bar? If...
Forum: AddOn Help/Support 05-26-18, 08:36 PM
Replies: 3
Views: 2,261
Posted By Rainrider
tinsert is for arrays only. local data =...

tinsert is for arrays only.


local data = {}

local map, npc = a, 1

data[map] = data[map] or {}
data[map][npc] = 1.1
npc = 2
Forum: PTR API and Graphics Changes 05-20-18, 08:09 PM
Replies: 54
Views: 31,785
Posted By Rainrider
RegisterUnitEvent is still...

RegisterUnitEvent is still bugged.

Frame:RegisterUnitEvent(event, unit) behaves as if Frame:RegisterEvent(event) was called - it register the event for all units. Submitted this, but since it was...
Forum: PTR General Discussion 05-02-18, 04:16 AM
Replies: 14
Views: 8,268
Posted By Rainrider
If you have a case where you query information...

If you have a case where you query information about multiple auras upon every UNIT_AURA then a cache is useful. Basically you refresh your cache once on UNIT_AURA and all your queries always hit the...
Forum: PTR General Discussion 05-01-18, 07:17 AM
Replies: 14
Views: 8,268
Posted By Rainrider
Test again, but instead 'nothing' use the name of...

Test again, but instead 'nothing' use the name of an aura you expect to find (like cast Rejuvenation on yourself and run the test with it). The cache is twice as fast (this is the best case however,...
Forum: PTR General Discussion 04-30-18, 03:34 PM
Replies: 14
Views: 8,268
Posted By Rainrider
I used this for testing: local addon =...

I used this for testing:

local addon = ...

local UnitAuraCache = {} -- cached values are updated ten times per second and stored by unit+filter
local function UnitAura(unit, ...) -- 7.x to 8.x...
Forum: PTR General Discussion 04-30-18, 10:17 AM
Replies: 14
Views: 8,268
Posted By Rainrider
I'm sorry but I don't understand how it comes...

I'm sorry but I don't understand how it comes "pretty rude". Also I did respond to Edik and I think s/he is the one to complain if s/he felt offended.
Forum: PTR General Discussion 04-30-18, 06:55 AM
Replies: 14
Views: 8,268
Posted By Rainrider
Your aura caching is utterly inefficient and in...

Your aura caching is utterly inefficient and in its current form actually useless. What is the point in hitting a cache which invalidates itself every 1/10 of a second?
Forum: oUF (Otravi Unit Frames) 04-24-18, 11:37 AM
Replies: 8
Views: 4,964
Posted By Rainrider
Use buffs.PreUpdate to reset...

Use buffs.PreUpdate to reset buffs.bolster.
Increment buffs.bolster and return false in your custom filter for every spellID == 209859.
Use buffs.PostUpdate to set the stacks and display your...
Forum: Lua/XML Help 04-17-18, 03:21 PM
Replies: 15
Views: 11,171
Posted By Rainrider
UnitAura(unit, index, 'HARMFUL|RAID') will return...

UnitAura(unit, index, 'HARMFUL|RAID') will return values only for debuffs on friendly units your current character can dispel. It will return nil for poisons when you are on your priest. It will also...
Forum: Lua/XML Help 04-17-18, 12:37 PM
Replies: 15
Views: 11,171
Posted By Rainrider
local t = { Magic = "M", ["Poison"] =...

local t = {
Magic = "M",
["Poison"] = "P",
}

local dispel = "Magic"

print(t.Magic)
print(t["Magic"])
print(t[dispel])
Forum: oUF (Otravi Unit Frames) 04-14-18, 04:17 AM
Replies: 1
Views: 2,701
Posted By Rainrider
The tag function:...

The tag function: https://github.com/Rainrider/oUF_Layout/blob/master/elements/tags.lua#L15-L31
Registering it with oUF:...
Forum: oUF (Otravi Unit Frames) 04-07-18, 04:34 AM
Replies: 41
Views: 8,119
Posted By Rainrider
If you hire someone, keep in mind that with the...

If you hire someone, keep in mind that with the next expansion stuff might change and you might have to look for somebody to fix your layout again.
Forum: oUF (Otravi Unit Frames) 03-29-18, 03:19 PM
Replies: 41
Views: 8,119
Posted By Rainrider
You have to invest the time in it, because nobody...

You have to invest the time in it, because nobody will do it for you. If you don't like that or don't have the time, then just use a layout of your liking. There is no other way around it :)
Forum: oUF (Otravi Unit Frames) 03-29-18, 01:50 PM
Replies: 41
Views: 8,119
Posted By Rainrider
Please keep in mind that creating a new oUF...

Please keep in mind that creating a new oUF layout from scratch could be a lot of work, especially if you lack understanding of Lua and how addons in WoW work. It is easier to find a layout you like...
Forum: oUF (Otravi Unit Frames) 03-29-18, 01:35 PM
Replies: 41
Views: 8,119
Posted By Rainrider
The idea is to follow the commit order and...

The idea is to follow the commit order and recreate the changes locally for yourself.

For example the first commit...
Forum: oUF (Otravi Unit Frames) 03-29-18, 10:22 AM
Replies: 41
Views: 8,119
Posted By Rainrider
I would highly recommend oUF_p3lim or oUF_Phanx...

I would highly recommend oUF_p3lim or oUF_Phanx over oUF_Simple.

If you are up to it, you could also try oUF_Layout (https://github.com/Rainrider/oUF_Layout/), which is a layout planned for learning...
Forum: General Authoring Discussion 02-14-18, 12:11 PM
Replies: 6
Views: 2,801
Posted By Rainrider
It definitely works for both git and svn, don't...

It definitely works for both git and svn, don't know about hg though. And curse switched to a new repo system. The proper URL for AceDB3 would be
Forum: oUF (Otravi Unit Frames) 02-13-18, 04:10 PM
Replies: 14
Views: 4,132
Posted By Rainrider
You are placing the health and power bars on top...

You are placing the health and power bars on top of each other.
Showing results 1 to 25 of 432