Showing results 1 to 25 of 500
Search took 0.07 seconds.
Search: Posts Made By: Phanx
Forum: Site help, bugs, suggestions/questions Today, 01:25 AM
Replies: 0
Views: 39
Posted By Phanx
Easier access to addon comments

Currently, in order to check for new comments on my addons, I have to hover on "Author", click on "My AddOn List", and then scroll past the list of all my addons to see the comments. For someone with...
Forum: oUF (Otravi Unit Frames) Today, 01:15 AM
Replies: 7
Views: 153
Posted By Phanx
Also, if the event isn't a unit event, you need...

Also, if the event isn't a unit event, you need to tell oUF that:

oUF.Tags.SharedEvents["EVENT_NAME"] = true
Forum: Lua/XML Help Today, 01:11 AM
Replies: 5
Views: 213
Posted By Phanx
You're confusing methods with global variables....

You're confusing methods with global variables. There's only one global here:


function TomTom:SetClosestWaypoint(...)
end

function TomTom:AddMFWaypoint(...)
end

function TomTom:AddZWaypoint(...)
Forum: AddOn Search/Requests Today, 01:04 AM
Replies: 4
Views: 77
Posted By Phanx
Yes, that particular graphic is also the #1...

Yes, that particular graphic is also the #1 reason why my druid will never be a moonkin either. :(
Forum: oUF (Otravi Unit Frames) Yesterday, 09:34 PM
Replies: 7
Views: 153
Posted By Phanx
The wiki is basically useless, as it's not...

The wiki is basically useless, as it's not maintained; just look at the comment headers in the files themselves.

That said, I don't think anything has changed with tags in a while. Why don't you...
Forum: AddOn Help/Support Yesterday, 09:33 PM
Replies: 6
Views: 293
Posted By Phanx
Without a list of your addons there's just no...

Without a list of your addons there's just no possible way we can even guess which addon might be causing the problem.

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

Open your AddOns...
Forum: AddOn Help/Support Yesterday, 09:30 PM
Replies: 5
Views: 256
Posted By Phanx
It looks like the relevant code is actually in...

It looks like the relevant code is actually in libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua. I'd add the following code in the ApplySettings function in BarDisplay.lua, right after the...
Forum: AddOn Help/Support Yesterday, 09:22 PM
Replies: 13
Views: 336
Posted By Phanx
It's probably better in the long run to simply...

It's probably better in the long run to simply create your action buttons using the standard ActionButtonTemplate, so they have the expected regions with the expected names. Otherwise it's going to...
Forum: Lua/XML Help Yesterday, 09:15 PM
Replies: 5
Views: 213
Posted By Phanx
Most variables you create and use in the course...

Most variables you create and use in the course of writing an addon should remain local. There are very few situations where a global variable is necessary or desirable. You should get to know what...
Forum: General WoW Chat Yesterday, 08:57 PM
Replies: 13
Views: 413
Posted By Phanx
Ackis Recipe List...

Ackis Recipe List (http://www.wowinterface.com/downloads/info8512-AckisRecipeList.html) + the modules for whichever professions you want (links are on the main page there).
Forum: AddOn Help/Support 10-30-14, 02:50 PM
Replies: 13
Views: 336
Posted By Phanx
It also expects the reference directly as the...

It also expects the reference directly as the value, not in a sub-table:


ButtonData = {
FloatingBG = <button>.floatingBG,
}


I'm not sure why you're adding those extra { brackets } around the...
Forum: Lua/XML Help 10-30-14, 01:19 PM
Replies: 16
Views: 2,256
Posted By Phanx
That's the lazy solution, but really you should...

That's the lazy solution, but really you should just make sure you're not leaking any globals. Anywhere you define a variable, stick a "local" in front of it. If you need it accessible in a higher...
Forum: AddOn Search/Requests 10-30-14, 09:54 AM
Replies: 3
Views: 268
Posted By Phanx
You may want to reverse the order of looting to...

You may want to reverse the order of looting to start with the last slot; otherwise you run the risk of the indices shifting as items move up to fill the slots already looted, and items getting...
Forum: Lua/XML Help 10-30-14, 09:52 AM
Replies: 16
Views: 2,256
Posted By Phanx
When Blizzard leaks a global underscore, and you...

When Blizzard leaks a global underscore, and you leak a global underscore, you break the entire UI. It has happened before. Don't do it.
Forum: AddOn Help/Support 10-30-14, 09:51 AM
Replies: 13
Views: 336
Posted By Phanx
If your buttons inherit from the standard...

If your buttons inherit from the standard ActionButtonTemplate or have regions with the same names, you do not need to explicitly map out the ButtonData. Just register your...
Forum: oUF (Otravi Unit Frames) 10-30-14, 03:01 AM
Replies: 2
Views: 84
Posted By Phanx
You don't need any of that code anymore. Just...

You don't need any of that code anymore. Just delete it. Also, find where the layout sets the frame's type2 attribute to "menu" and delete that too. oUF already handles menus for you, by setting the...
Forum: Lua/XML Help 10-30-14, 02:59 AM
Replies: 16
Views: 2,256
Posted By Phanx
local _;...

local _; name,tex,_,_,_,offset=GetProfessionInfo(prof1);


This is creating a local variable "_" and global variables "name", "tex", and "offset". They should all be local:


-- Select based on...
Forum: General Authoring Discussion 10-30-14, 02:53 AM
Replies: 11
Views: 346
Posted By Phanx
This is probably the easiest way to get the...

This is probably the easiest way to get the actual unit token for your spellcast target:

hooksecurefunc("CastSpellByName", function(spellName, unit)
-- check the spell, store the unit in a...
Forum: General Authoring Discussion 10-30-14, 12:07 AM
Replies: 11
Views: 346
Posted By Phanx
That's not really a hack, though it is a bit...

That's not really a hack, though it is a bit inefficient. You really only need to keep track of the unique ID for the cast. Assuming that the relevant UNIT_SPELLCAST_INTERRUPTED event always fires...
Forum: AddOn Help/Support 10-29-14, 11:57 PM
Replies: 13
Views: 336
Posted By Phanx
This part of the documentation is most relevant...

This part of the documentation is most relevant for addon authors:

http://www.wowace.com/addons/masque/pages/api/groups/

If you're still not able to figure it out, well, the exact code you need to...
Forum: General WoW Chat 10-29-14, 09:49 PM
Replies: 13
Views: 413
Posted By Phanx
It's already too hot here in California with low...

It's already too hot here in California with low humidity... I don't think I'd survive down there. :(



WoW doesn't save past errors. I'd recommend installing Bugger...
Forum: AddOn Help/Support 10-29-14, 09:44 PM
Replies: 14
Views: 364
Posted By Phanx
Hiding/showing secure frames arbitrarily (eg. not...

Hiding/showing secure frames arbitrarily (eg. not in response to an allowed event) requires a secure codepath, so you couldn't do it from any old button's OnClick script either, but many other...
Forum: General Authoring Discussion 10-29-14, 09:38 PM
Replies: 11
Views: 346
Posted By Phanx
I've been meaning to write an addon to make the...

I've been meaning to write an addon to make the /etrace window more user-friendly, but I generally reduce the spam a bit by opening it, doing some irrelevant actions (open the map, mouse over some...
Forum: General WoW Chat 10-29-14, 09:26 PM
Replies: 13
Views: 413
Posted By Phanx
I can personally confirm that Bartender and...

I can personally confirm that Bartender and PhanxChat are working just fine. If you're getting errors from PhanxChat, please post the errors on the download page...
Forum: General Authoring Discussion 10-29-14, 08:36 PM
Replies: 11
Views: 346
Posted By Phanx
Use /etrace, and try not to do too many unrelated...

Use /etrace, and try not to do too many unrelated actions if you value your sanity.
Showing results 1 to 25 of 500