Showing results 1 to 25 of 89
Search took 0.01 seconds.
Search: Posts Made By: Barjack
Forum: Legion Beta archived threads 08-20-16, 10:33 AM
Replies: 2
Views: 4,337
Posted By Barjack
Yes, I also encountered this taint path related...

Yes, I also encountered this taint path related to WorldMapFrame.UIElementsFrame.ActionButton. Even just opening the World Map frame from addon code (e.g. with WorldMapFrame:Show() or...
Forum: General Authoring Discussion 03-29-16, 07:04 AM
Replies: 9
Views: 3,888
Posted By Barjack
Looking at the data, it seems like the xxx part...

Looking at the data, it seems like the xxx part of K is always three characters, but yyy can be any number of characters. For some it's just "0", but other quests have larger numbers, e.g. K000131072
Forum: General Authoring Discussion 03-28-16, 04:33 PM
Replies: 9
Views: 3,888
Posted By Barjack
Looks like Kxxxx numbers are actually bit fields,...

Looks like Kxxxx numbers are actually bit fields, so you add together multiple properties to get the number. So for example a repeatable (1) daily (2) dungeon (64) quest would have a value of 1+2+64...
Forum: Lua/XML Help 02-18-16, 05:24 AM
Replies: 22
Views: 12,456
Posted By Barjack
If Blizzard actually used their own code in their...

If Blizzard actually used their own code in their own UI they might be more interested in making all the Secure* features work well and have enough functionality to implement a true alternative to...
Forum: General Authoring Discussion 11-07-15, 10:56 AM
Replies: 2
Views: 3,351
Posted By Barjack
Interesting stuff. And a novel approach with the...

Interesting stuff. And a novel approach with the dictionary building.

I'm not sure about the best way to find misspelt words. But I did read this article a while ago:...
Forum: Lua/XML Help 10-20-15, 07:58 AM
Replies: 7
Views: 8,533
Posted By Barjack
The problem with your code is that you can't use...

The problem with your code is that you can't use _G to look for tables in tables like that. For example, _G["one.two.three"] is looking for a single key in the global table with the value...
Forum: General Authoring Discussion 04-06-15, 04:30 PM
Replies: 14
Views: 13,659
Posted By Barjack
I tried contacting Wowhead a couple of times...

I tried contacting Wowhead a couple of times about scraping their data without much luck (never got a response) and in the end I just decided to go ahead and do it since I wasn't going to use it for...
Forum: Lua/XML Help 03-27-15, 11:53 PM
Replies: 11
Views: 9,322
Posted By Barjack
Are there many items that are usable but don't...

Are there many items that are usable but don't have a Use: in their tooltip? I was surprised that the SELFIE cameras seemingly don't, but they may be the only exception that I remember seeing. There...
Forum: Lua/XML Help 03-27-15, 10:06 PM
Replies: 11
Views: 9,322
Posted By Barjack
From what I've seen, any addon that tries to...

From what I've seen, any addon that tries to detect the presence of a "Use:" effect is forced to do so via tooltip scanning. Obviously this is a very bad solution, but I don't know if there is any...
Forum: Lua/XML Help 01-25-13, 07:02 PM
Replies: 18
Views: 9,598
Posted By Barjack
Wow, that's totally what I think! Because I...

Wow, that's totally what I think! Because I didn't explicitly say the exact opposite in my original comment or anything. Oh wait... or did I?



Oh. Huh. It turns out I did, actually, say exactly...
Forum: Lua/XML Help 01-22-13, 09:36 PM
Replies: 18
Views: 9,598
Posted By Barjack
And my remarks were mainly directed at your...

And my remarks were mainly directed at your willingness to make stupid, sweeping generalizations and criticize code you haven't even seen.

You still haven't answered any of my questions, either....
Forum: Lua/XML Help 01-19-13, 12:14 AM
Replies: 18
Views: 9,598
Posted By Barjack
Can you even imagine what would happen if I...

Can you even imagine what would happen if I wanted to update my frames every 0.1 second to smooth the movement of the duration bar? That's 10 function calls PER FRAME, PER SECOND! And... ten times...
Forum: Lua/XML Help 01-19-13, 12:11 AM
Replies: 18
Views: 9,598
Posted By Barjack
Do I need to quote your own post for you? My...

Do I need to quote your own post for you?



My buff/debuff frames are calling the same update function 4 times per second, and there are 5 of them. This means I am (quoting you again):



and am...
Forum: Lua/XML Help 01-18-13, 07:48 PM
Replies: 18
Views: 9,598
Posted By Barjack
Perhaps if we extract all logic from all of our...

Perhaps if we extract all logic from all of our functions, we can solve this problem. Take it all and move it into one gigantic, monolithic loop that runs... better be safe, and make it 19 times per...
Forum: Lua/XML Help 01-18-13, 07:35 PM
Replies: 18
Views: 9,598
Posted By Barjack
The savings of doing that are often negligible...

The savings of doing that are often negligible and can sometimes even be a performance loss when benchmarked due to table looping overhead. I only commented because I think your comment was...
Forum: Lua/XML Help 01-18-13, 06:11 AM
Replies: 18
Views: 9,598
Posted By Barjack
How else do you expect I should update the timers...

How else do you expect I should update the timers on 20 buffs frames, for example, if not by allowing a function to be executed 20 times per second? I don't even want to think about how often...
Forum: Lua/XML Help 01-17-13, 12:04 PM
Replies: 18
Views: 9,598
Posted By Barjack
I'd say that thinking about how often that table...

I'd say that thinking about how often that table lookup is happening is probably the best way to evaluate whether making a local is necessary or not (although even readability might be important)....
Forum: General Authoring Discussion 11-28-12, 12:43 PM
Replies: 3
Views: 4,425
Posted By Barjack
I think it was used by an earlier implementation...

I think it was used by an earlier implementation of the Monk class, when the class's two resources were light and dark power.
Forum: Lua/XML Help 11-26-12, 04:25 AM
Replies: 11
Views: 5,736
Posted By Barjack
I may have missed something there but I don't see...

I may have missed something there but I don't see anything in there that would be causing excess amounts of memory in the form of garbage. All I can really think of is that the use of HookScript...
Forum: Lua/XML Help 11-17-12, 04:18 PM
Replies: 7
Views: 5,052
Posted By Barjack
I'm unfamiliar with Bartender so I can't really...

I'm unfamiliar with Bartender so I can't really give you code that I know works. But in your above example, if you were to replace, for example, BT4Button75:Show() with BT4Button75:SetAlpha(1), and...
Forum: Lua/XML Help 11-17-12, 01:30 PM
Replies: 7
Views: 5,052
Posted By Barjack
All action buttons are secure frames, and secure...

All action buttons are secure frames, and secure frames can't be hidden/shown in combat (in order to prevent automated actions).

What you can do in combat is change the button visibility using...
Forum: Lua/XML Help 11-14-12, 08:08 PM
Replies: 5
Views: 6,475
Posted By Barjack
Correct, it doesn't actually "do" anything, it...

Correct, it doesn't actually "do" anything, it simply evaluates the macro and returns what would be done based on its conditions. Actually executing it is another matter that requires you follow all...
Forum: General Authoring Discussion 10-25-12, 10:57 AM
Replies: 15
Views: 10,120
Posted By Barjack
I wouldn't really call this a scraping problem,...

I wouldn't really call this a scraping problem, but I guess you could call this sort of data conversion part of a scraping problem. It seems like all the data you need exists in the table passed to...
Forum: AddOn Search/Requests 10-24-12, 07:37 AM
Replies: 2
Views: 7,393
Posted By Barjack
Probably the only types of addon that would...

Probably the only types of addon that would interfere with challenge mode timers would be addons that hide or manipulate the quest tracker in some way. Looking into that first is probably the best...
Forum: Lua/XML Help 10-23-12, 06:44 PM
Replies: 2
Views: 3,551
Posted By Barjack
If you want to "do" something on an exact regular...

If you want to "do" something on an exact regular interval, it's going to be significantly more difficult than you might expect.

I'm not sure if this is all your code, or if you have an OnUpdate...
Showing results 1 to 25 of 89