Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: Phanx
Forum: Lua/XML Help 08-24-15, 07:26 PM
Replies: 1
Views: 163
Posted By Phanx
Possibly something like...

Possibly something like this:

MainMenuBarArtFrame:ClearAllPoints()
MainMenuBarArtFrame:SetPoint("RIGHT", UIParent)

local animGroup = MainMenuBarArtFrame:CreateAnimationGroup()
local anim =...
Forum: Lua/XML Help 08-24-15, 07:17 PM
Replies: 4
Views: 256
Posted By Phanx
Based on the rest of the first post it appears to...

Based on the rest of the first post it appears to be a general tooltip modification, so it's handling all tooltips, not just ones coming from the tradeskill UI.
Forum: AddOn Search/Requests 08-24-15, 08:16 AM
Replies: 19
Views: 819
Posted By Phanx
StaticPopupDialogs.DELETE_GOOD_ITEM.text =...

StaticPopupDialogs.DELETE_GOOD_ITEM.text = DELETE_ITEM
Forum: Lua/XML Help 08-24-15, 08:12 AM
Replies: 6
Views: 348
Posted By Phanx
I still don't know what you're actually doing, or...

I still don't know what you're actually doing, or wanting to do... how is any Blizzard stuff even involved in this? Are you trying to change the names of option categories displayed in the Interface...
Forum: AddOn Help/Support 08-24-15, 08:10 AM
Replies: 6
Views: 165
Posted By Phanx
Well, I can't find any TellMeWhen documentation...

Well, I can't find any TellMeWhen documentation that looks anything like what you posted, so I don't know what you were looking at, but based on this MMO-Champion thread...
Forum: AddOn Help/Support 08-24-15, 08:10 AM
Replies: 6
Views: 165
Posted By Phanx
Well, I can't find any TellMeWhen documentation...

Well, I can't find any TellMeWhen documentation that looks anything like what you posted, so I don't know what you were looking at, but based on this MMO-Champion thread...
Forum: Lua/XML Help 08-24-15, 07:40 AM
Replies: 4
Views: 256
Posted By Phanx
That isn't; you should avoid forcibly loading any...

That isn't; you should avoid forcibly loading any Blizzard addons, as they're not designed to handle that and you may cause other problems. A better way:


local function setupTradeSkillUI()
--...
Forum: AddOn Help/Support 08-24-15, 07:29 AM
Replies: 1
Views: 130
Posted By Phanx
"Script too long" errors are unfortunately quite...

"Script too long" errors are unfortunately quite vague, and dependent on how much your computer can handle and how much it's being asked to do. Even if a particular addon causes a "script too long"...
Forum: AddOn Search/Requests 08-24-15, 07:19 AM
Replies: 4
Views: 214
Posted By Phanx
Quick modification of the code you posted to only...

Quick modification of the code you posted to only remove some realm names:

local remove = {
"(|Hplayer:.-|h%[[^-]+)%-EmeraldDream",
"(|Hplayer:.-|h%[[^-]+)%-Terenas",
}
local AddMessage =...
Forum: AddOn Help/Support 08-24-15, 07:08 AM
Replies: 6
Views: 165
Posted By Phanx
What is TMW? Searching for that on this site...

What is TMW? Searching for that on this site yields no results.
Forum: AddOn Help/Support 08-21-15, 09:17 PM
Replies: 3
Views: 314
Posted By Phanx
Use [code] tags instead of [quote] tags around...

Use [code] tags instead of [quote] tags around code to preserve indentation. [quote]d code is basically unreadable. :(
Forum: Lua/XML Help 08-21-15, 09:15 PM
Replies: 6
Views: 348
Posted By Phanx
Might help to know which framework you are using....

Might help to know which framework you are using. Are you using AceConfig to automatically generate your options UI? Are you using AceGUI directly? Or some other framework?

Also, assuming you're...
Forum: Lua/XML Help 08-20-15, 05:39 PM
Replies: 10
Views: 291
Posted By Phanx
In that specific case you're probably better off...

In that specific case you're probably better off just modifying the addon directly. It's so small and infrequently updated -- in fact, the last change was made in 2012...
Forum: Minion 08-20-15, 05:29 PM
Replies: 7
Views: 339
Posted By Phanx
The Curse Client doesn't support compilations...

The Curse Client doesn't support compilations either. There's no "judgement" going on here. Right now it's simple -- if it's a compilation, you have to install and update it by hand. Your proposed...
Forum: AddOn Search/Requests 08-19-15, 12:46 PM
Replies: 5
Views: 286
Posted By Phanx
Not entirely sure what you mean... you should...

Not entirely sure what you mean... you should already be able to see the names of those areas by moving the mouse cursor over them. If you want more control over the text (eg. move it, resize it, add...
Forum: Lua/XML Help 08-19-15, 12:39 PM
Replies: 10
Views: 291
Posted By Phanx
Well, then this is where posting fake code...

Well, then this is where posting fake code examples gets you in trouble... if the actual code is set up like your example (local "frame" with no name, parent, or distinguishing features created...
Forum: Minion 08-19-15, 12:30 PM
Replies: 7
Views: 339
Posted By Phanx
Minion does not support compilations, and...

Minion does not support compilations, and probably won't any time in the near future, if ever.

For example, let's say you download Compilation X that contains Addon A, Addon B, and Addon C. Minion...
Forum: Lua/XML Help 08-19-15, 12:17 PM
Replies: 2
Views: 177
Posted By Phanx
@Resike: No, that won't work. RegisterUnitEvent...

@Resike:
No, that won't work. RegisterUnitEvent only supports 1 or 2 units. If you want to filter on more than 2 units you have to do it yourself. Also, that's not even relevant; the OP's code was...
Forum: UI Screenshots, Feedback and Design Discussion 08-19-15, 12:10 PM
Replies: 8
Views: 472
Posted By Phanx
You can also just save the command as a .bat file...

You can also just save the command as a .bat file in your addons folder, then just double-click it whenever you want to refresh your addon list file.
Forum: Lua/XML Help 08-19-15, 12:08 PM
Replies: 26
Views: 842
Posted By Phanx
Rather than looping over an indexed table on...

Rather than looping over an indexed table on every aura event, just use a hash table instead:

local bloodlust = { [2825]=1, [32182]=1, [90355]=1, [160452]=1, [80353]=1, [1459]=1 }


Then you can...
Forum: Lua/XML Help 08-19-15, 11:48 AM
Replies: 10
Views: 291
Posted By Phanx
Well, I'm not sure "hooks" are actually what...

Well, I'm not sure "hooks" are actually what you're asking about, and you certainly shouldn't create a function in one file in your addon and hook it in another. Hooks are for when you want to modify...
Forum: Lua/XML Help 08-19-15, 08:08 AM
Replies: 26
Views: 842
Posted By Phanx
Haha, how high is that cat? My icon is actually...

Haha, how high is that cat?

My icon is actually a bad cell phone photo of an actual cat statue I have in my house. I've had it forever but just got it back out of storage and thought it would make a...
Forum: UI Screenshots, Feedback and Design Discussion 08-19-15, 07:18 AM
Replies: 8
Views: 472
Posted By Phanx
Here's the easiest way to get a postable list of...

Here's the easiest way to get a postable list of your addons:

Open your AddOns folder in Windows Explorer. Shift-right-click on a blank space in the window. Click "Open command window here" in the...
Forum: Lua/XML Help 08-17-15, 08:02 PM
Replies: 26
Views: 842
Posted By Phanx
"Ideas." Sure, that's totally what that...

"Ideas." Sure, that's totally what that is.
Forum: Lua/XML Help 08-16-15, 01:55 AM
Replies: 26
Views: 842
Posted By Phanx
There is no reason to ever use select with 1 as...

There is no reason to ever use select with 1 as the first argument. There's almost no reason to ever use select at all -- it's way slower than assigning variables, eg. local _, class =...
Showing results 1 to 25 of 500