Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 273
Search took 0.02 seconds.
Search: Posts Made By: lightspark
Forum: oUF (Otravi Unit Frames) 10-11-18, 02:58 AM
Replies: 4
Views: 211
Posted By lightspark
Why do you even care about it? :P The issue is...

Why do you even care about it? :P

The issue is in the backend, C code, it might be a function that iterates through or does something w/ userdata, which is frame[0], but then it tries to do the same...
Forum: oUF (Otravi Unit Frames) 10-10-18, 06:54 AM
Replies: 4
Views: 211
Posted By lightspark
Give names to your bars. local classPower =...

Give names to your bars.

local classPower = CreateFrame("Frame", nil, UIParent);
classPower:SetWidth(256);
classPower:SetHeight(36);
classPower:SetPoint("CENTER");

for i = 1, 10 do
local bar =...
Forum: oUF (Otravi Unit Frames) 09-28-18, 05:58 AM
Replies: 9
Views: 491
Posted By lightspark
Yeah, no... Technically, disabling those two...

Yeah, no...

Technically, disabling those two addons is enough, but only if you keep them enabled by default AND you provide an option to toggle them via in-game config, so your addon's users do it...
Forum: oUF (Otravi Unit Frames) 09-28-18, 02:54 AM
Replies: 9
Views: 491
Posted By lightspark
Regarding this one. Dunno if you're talking...

Regarding this one.

Dunno if you're talking about compact raid frames themselves, or various CompactUnitFrame_* functions, if it's the latter, then their high usage numbers often come from Blizz...
Forum: oUF (Otravi Unit Frames) 09-28-18, 02:11 AM
Replies: 9
Views: 491
Posted By lightspark
I'm well aware of that document, I've read the...

I'm well aware of that document, I've read the whole book back in the day.



We create a lot temp vars and upvalues inside of loops, yes, but we never create throwaway tables like this, if we do,...
Forum: oUF (Otravi Unit Frames) 09-26-18, 07:26 PM
Replies: 9
Views: 491
Posted By lightspark
Oh, that's a hot topic when we're prepping oUF...

Oh, that's a hot topic when we're prepping oUF 7.0, which was a major revamp. After discussing it for months, we chose not to do such optimisations. In general, it's not really needed, unless you're...
Forum: oUF (Otravi Unit Frames) 09-12-18, 09:08 AM
Replies: 4
Views: 336
Posted By lightspark
Fixed the issue in this PR...

Fixed the issue in this PR (https://github.com/oUF-wow/oUF/pull/459).
Forum: oUF (Otravi Unit Frames) 07-27-18, 02:32 PM
Replies: 2
Views: 464
Posted By lightspark
It's a Blizz's bug. Unit popups are kinda broken...

It's a Blizz's bug.

Unit popups are kinda broken atm, esp for UF addons... I've already reported few unit popups' bugs.

Got a reply from our fav Blizz dev:
Forum: oUF (Otravi Unit Frames) 07-22-18, 11:31 AM
Replies: 10
Views: 2,684
Posted By lightspark
LibStub won't help. As I said, your best bet is...

LibStub won't help.

As I said, your best bet is to use oUF as a standalone addon, then both addons will use it. Alternatively, you can disable error reporting entirely :D
Forum: oUF (Otravi Unit Frames) 07-22-18, 07:42 AM
Replies: 10
Views: 2,684
Posted By lightspark
It's not a bug. Having multiple XML objects w/...

It's not a bug. Having multiple XML objects w/ identical names has become an error in BfA.

Ideally, embeddable libraries shouldn't create/define anything in XML because it's impossible to update...
Forum: PTR API and Graphics Changes 07-21-18, 09:08 AM
Replies: 31
Views: 7,957
Posted By lightspark
We're in C++ land now, bois :banana:

We're in C++ land now, bois :banana:
Forum: PTR General Discussion 07-02-18, 03:10 AM
Replies: 14
Views: 3,338
Posted By lightspark
@p3lim, it's your time to shine! :D

@p3lim, it's your time to shine! :D
Forum: oUF (Otravi Unit Frames) 07-01-18, 09:50 AM
Replies: 11
Views: 580
Posted By lightspark
Welp, secure aura header is what you need then....

Welp, secure aura header is what you need then. It's there to let people implement this kind of relatively simple aura displays w/ cancellable buffs :p

Also, consolidated buffs are long gone.
Forum: oUF (Otravi Unit Frames) 07-01-18, 09:39 AM
Replies: 11
Views: 580
Posted By lightspark
Buff frame? O_o Do you mean the one that's next...

Buff frame? O_o Do you mean the one that's next to your minimap in the default UI? o_O If that's the case, you def shouldn't be using oUF for that, just use "SecureAuraHeaderTemplate" and build a...
Forum: oUF (Otravi Unit Frames) 07-01-18, 09:36 AM
Replies: 11
Views: 580
Posted By lightspark
Not gonna happen, if they do, we'll just go back...

Not gonna happen, if they do, we'll just go back to Vanilla days of automated aura cancelling in raids/bgs/etc.
Forum: oUF (Otravi Unit Frames) 07-01-18, 09:29 AM
Replies: 11
Views: 580
Posted By lightspark
Which means it doesn't work :D Using secure...

Which means it doesn't work :D

Using secure templates for stuff that gets shown/hidden "insecurely" via basic :Show() and :Hide() in combat is a very bad idea.

The correct way to do it securely is...
Forum: oUF (Otravi Unit Frames) 07-01-18, 09:24 AM
Replies: 11
Views: 580
Posted By lightspark
What did you mean by "a more correct way to do...

What did you mean by "a more correct way to do it"? Yours is fine, I'd change it a bit though.

button:SetScript('OnClick', function(self, button)
if not InCombatLockdown() and button ==...
Forum: oUF (Otravi Unit Frames) 07-01-18, 09:16 AM
Replies: 11
Views: 580
Posted By lightspark
Use runamonk's solution, it's good enough, just...

Use runamonk's solution, it's good enough, just add InCombatLockdown check around CancelUnitBuff, and you're good to go.



Nah, simply because it's something that doesn't work all the time, but only...
Forum: Lua/XML Help 06-15-18, 02:29 AM
Replies: 7
Views: 633
Posted By lightspark
You use SpellBookPrevPageButton_OnClick,...

You use SpellBookPrevPageButton_OnClick, SpellBookNextPageButton_OnClick, which taint a lot of stuff because they're called from insecure environment.

Try commenting out both calls, and see if the...
Forum: oUF (Otravi Unit Frames) 05-15-18, 09:44 AM
Replies: 4
Views: 2,189
Posted By lightspark
Well, oUF attaches its nameplates to Blizz...

Well, oUF attaches its nameplates to Blizz nameplates' base frames, so if those base frames are scaled, hidden, offset in some way, and so on via cvars, it'll affect oUF nameplates as...
Forum: PTR General Discussion 04-28-18, 02:02 AM
Replies: 10
Views: 979
Posted By lightspark
I'm using BugSack in beta, to make it work you...

I'm using BugSack in beta, to make it work you need to updated embedded AceComm-3.0. You can get it from the latest Ace3's alpha release (https://www.wowace.com/projects/ace3/files/2553623). It may...
Forum: Lua/XML Help 04-17-18, 06:47 AM
Replies: 15
Views: 1,591
Posted By lightspark
All relevant info is mainly in...

All relevant info is mainly in /FrameXML/CompactUnitFrame.xml, /FrameXML/CompactUnitFrame.lua.
Forum: Lua/XML Help 04-17-18, 06:40 AM
Replies: 15
Views: 1,591
Posted By lightspark
It's "HARMFUL|RAID" and not just "RAID", unless...

It's "HARMFUL|RAID" and not just "RAID", unless you're using UnitDebuff, then it's just "RAID".

I've just tested it and it works fine, that's also how Blizz raid frames debuffs work, UnitDebuff +...
Forum: Lua/XML Help 04-16-18, 09:25 PM
Replies: 15
Views: 1,591
Posted By lightspark
To get only dispellable debuffs, you need to pass...

To get only dispellable debuffs, you need to pass different 3rd argument to UnitAura. It's even mentioned on wowpedia.



So, your third arg should be "HARMFUL|RAID" instead of just "HARMFUL". And if...
Forum: Lua/XML Help 03-20-18, 02:31 AM
Replies: 1
Views: 521
Posted By lightspark
Create your own or use already existing XML font...

Create your own or use already existing XML font template where all fonts are of the same desired size, then do the following:

for i = 1, NUM_CHAT_WINDOWS...
Showing results 1 to 25 of 273