Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 425
Search took 0.02 seconds.
Search: Posts Made By: Rainrider
Forum: AddOn Help/Support Yesterday, 08:36 PM
Replies: 3
Views: 81
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: 33
Views: 2,593
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: 943
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: 943
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: 943
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: 943
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: 943
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: 421
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: 604
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: 604
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: 282
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: 1,925
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: 1,925
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: 1,925
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: 1,925
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: 1,925
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: 423
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: 1,024
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.
Forum: Lua/XML Help 02-12-18, 02:00 PM
Replies: 3
Views: 440
Posted By Rainrider
@doofus UNIT_AURA (and all other unit events) is...

@doofus

UNIT_AURA (and all other unit events) is triggered only for units with a valid unit id (https://wow.gamepedia.com/UnitId). UNIT_AURA's first (and only) argument is the unit for which the...
Forum: Lua/XML Help 02-12-18, 01:39 PM
Replies: 10
Views: 384
Posted By Rainrider
I didn't mean to advertise for my oUF element, I...

I didn't mean to advertise for my oUF element, I just thought I misunderstood your use case and failed to provide a common functionality desired by layout authors. I'm glad you have it as you like it...
Forum: Lua/XML Help 02-12-18, 07:14 AM
Replies: 10
Views: 384
Posted By Rainrider
What else should it display then?

What else should it display then?
Forum: Lua/XML Help 02-12-18, 05:23 AM
Replies: 10
Views: 384
Posted By Rainrider
Then I don't understand. If you use a backdrop,...

Then I don't understand. If you use a backdrop, use .UpdateColor (https://github.com/Rainrider/oUF_Dispellable/wiki#dispeltexture-updatecolor). What is the problem with that?
Forum: Lua/XML Help 02-11-18, 02:43 PM
Replies: 10
Views: 384
Posted By Rainrider
If you want to use oUF_Dispellable for this, here...

If you want to use oUF_Dispellable for this, here is some sample code how to use backdrops (https://github.com/Rainrider/oUF_Dispellable/wiki#using-the-unit-frames-backdrop) with it. However, if the...
Forum: Lua/XML Help 02-09-18, 01:14 AM
Replies: 10
Views: 403
Posted By Rainrider
No need for SetFontObject. f.text =...

No need for SetFontObject.

f.text = f:CreateFontString(nil, "OVERLAY", "GameFontHighlightLarge")
Forum: oUF (Otravi Unit Frames) 02-02-18, 11:36 AM
Replies: 14
Views: 1,024
Posted By Rainrider
You are using the factory:...

You are using the factory: https://github.com/zorker/rothui/blob/master/wow7.0/oUF_Boiler/spawn.lua#L194

@Jagwah
You pass a callback to the factory, that is a function which specifies which styles...
Showing results 1 to 25 of 425