Showing results 1 to 25 of 80
Search took 0.01 seconds.
Search: Posts Made By: Barjack
Forum: Lua/XML Help 01-25-13, 07:02 PM
Replies: 18
Views: 4,745
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: 4,745
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: 4,745
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: 4,745
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: 4,745
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: 4,745
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: 4,745
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: 4,745
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: 2,509
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: 2,815
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: 2,533
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: 2,533
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: 2,508
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: 4,981
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: 3,511
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: 1,905
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...
Forum: Lua/XML Help 10-17-12, 09:18 PM
Replies: 1
Views: 1,285
Posted By Barjack
I can't speak for the overall functionality but...

I can't speak for the overall functionality but the way you are using so many "local _, nWhatever = ..." statements appears very odd to me.

When you use ... outside of a function like that, it is...
Forum: Lua/XML Help 10-16-12, 05:24 PM
Replies: 7
Views: 3,712
Posted By Barjack
There is a challenge mode medal timer for...

There is a challenge mode medal timer for challenge mode dungeons. The timer is displayed in Blizzard's watch frame, but most of the code associated with it is in FrameXML\WorldStateFrame.lua in...
Forum: AddOn Help/Support 10-06-12, 10:42 PM
Replies: 7
Views: 3,150
Posted By Barjack
If the problem is your TV not having square...

If the problem is your TV not having square pixels then I don't think there's anything you can do within reason, since you can't change WoW's UI scaling in a non-uniform way. I'd strongly advise...
Forum: AddOn Help/Support 10-06-12, 02:46 PM
Replies: 7
Views: 3,150
Posted By Barjack
I'm not familiar with the pixel proportions of...

I'm not familiar with the pixel proportions of modern TVs, but if the problem as you say is truly one of the TV not mapping an input pixel to a screen pixel in a 1:1 ratio as you said, then I doubt...
Forum: General Authoring Discussion 09-29-12, 02:05 AM
Replies: 0
Views: 2,409
Posted By Barjack
Mapping out quest types according to GetQuestLogQuestType

5.0 introduced a new function that doesn't seem to be documented anywhere, called GetQuestLogQuestType. As you might expect it seems to return the "type" of a quest in your quest log, where types...
Forum: Lua/XML Help 09-26-12, 11:09 AM
Replies: 1
Views: 1,431
Posted By Barjack
There is probably a way to do this, but honestly...

There is probably a way to do this, but honestly I'm not sure how as I've never done anything like that before myself. However, it might be worth considering that in this specific case, you can...
Forum: Lua/XML Help 09-19-12, 12:53 PM
Replies: 10
Views: 2,175
Posted By Barjack
Basically, SlashPMS needs to know where to "find"...

Basically, SlashPMS needs to know where to "find" PMSEncode, and since you have PMSEncode's local being declared after SlashPMS, it can't find it during the initial parsing of the file.

Your options...
Forum: AddOn Help/Support 09-16-12, 06:30 PM
Replies: 5
Views: 2,996
Posted By Barjack
I believe that's part of the Auctioneer suite....

I believe that's part of the Auctioneer suite. It's called Slidebar. You can try disabling it, if I remember correctly nothing will stop working, but you might have to access certain options...
Forum: Lua/XML Help 09-12-12, 05:02 PM
Replies: 2
Views: 1,599
Posted By Barjack
There was a change a while back that required...

There was a change a while back that required addons to "register" their message prefix using RegisterAddonMessagePrefix. I've not used the system myself so I'm not sure of the specifics, but it...
Showing results 1 to 25 of 80