Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: News 09-16-14, 12:23 PM
Replies: 3
Views: 1,351
Posted By SDPhantom
That looks like fun

That looks like fun
Forum: News 09-16-14, 04:08 AM
Replies: 3
Views: 1,351
Posted By SDPhantom
From what the article is suggesting, any 2H...

From what the article is suggesting, any 2H weapon can be transmogged onto any other 2H weapon now.
Forum: General Authoring Discussion 09-16-14, 03:41 AM
Replies: 2
Views: 705
Posted By SDPhantom
You can either use...

You can either use button:HookScript("OnClick",func) or button:SetScript("PostClick",func) to test the spell data without risking the button's secure state.



button:HookScript() acts in a similar...
Forum: AddOn Help/Support 09-16-14, 03:22 AM
Replies: 11
Views: 423
Posted By SDPhantom
I usually start out the code with...

I usually start out the code with debugprofilestart(). What debugprofilestop() does is act as an interface to the C function GetTickCount() and internally subtracts the same value associated with...
Forum: News 09-12-14, 01:48 PM
Replies: 141
Views: 22,630
Posted By SDPhantom
Since there's a batch going out today, I'd say...

Since there's a batch going out today, I'd say it's still going.
Forum: News 09-11-14, 12:40 PM
Replies: 141
Views: 22,630
Posted By SDPhantom
The 6.0.2 PTR is only to test the changes from...

The 6.0.2 PTR is only to test the changes from the prepatch leading to the expansion, not the expansion itself. You'll essentially be playing what the game would be like if you didn't get the WoD...
Forum: AddOn Search/Requests 09-02-14, 12:17 PM
Replies: 2
Views: 651
Posted By SDPhantom
I can't imagine why not. Probably would be better...

I can't imagine why not. Probably would be better to move the item level onto the button itself to reduce clutter on the player model.
Forum: Lua/XML Help 08-28-14, 10:03 PM
Replies: 7
Views: 1,097
Posted By SDPhantom
Lua 5.1 Reference Manual 2.5.9...

Lua 5.1 Reference Manual 2.5.9 (http://www.lua.org/manual/5.1/manual.html#2.5.9)
Forum: General Authoring Discussion 08-26-14, 09:55 PM
Replies: 16
Views: 1,665
Posted By SDPhantom
He did by someone else.

He did by someone else.
Forum: General Authoring Discussion 08-23-14, 04:23 PM
Replies: 16
Views: 1,665
Posted By SDPhantom
Ya, XML used to be a thing back in the day before...

Ya, XML used to be a thing back in the day before they had CreateFrame() and made Lua files loadable in the TOC. Back then, UI elements had to be defined in XML and Lua files had to be loaded using...
Forum: General Authoring Discussion 08-23-14, 11:37 AM
Replies: 16
Views: 1,665
Posted By SDPhantom
I'd suggest WoWPedia: Getting started with...

I'd suggest WoWPedia: Getting started with writing addons (http://wowpedia.org/Getting_started_with_writing_addons) and other pages in WoWPedia: Interface Customization Portal...
Forum: News 08-22-14, 05:17 PM
Replies: 16
Views: 9,700
Posted By SDPhantom
From what I can tell, it's all on Blizzard's end...

From what I can tell, it's all on Blizzard's end if your ID was already submitted. Just keep checking your account page every few days. They have been missing emails, so don't rely on getting one.
Forum: Lua/XML Help 08-21-14, 09:07 PM
Replies: 13
Views: 619
Posted By SDPhantom
There is no way to remove a frame from memory...

There is no way to remove a frame from memory once created. What you can do is create the frame when you load the addon and hide it immediately. When you use the slash command, you can toggle the...
Forum: Lua/XML Help 08-21-14, 08:29 PM
Replies: 25
Views: 1,348
Posted By SDPhantom
For now, you need to create a frame that'll run...

For now, you need to create a frame that'll run the code in its OnUpdate handler.

local lastupdate=0;-- Local storing how long since our last update
local frame=CreateFrame("Frame");-- Our...
Forum: Lua/XML Help 08-18-14, 01:07 PM
Replies: 8
Views: 750
Posted By SDPhantom
I didn't notice the comment before, but it's...

I didn't notice the comment before, but it's incorrect. Following my explanation earlier, removing the conditional surrounding the return statement will cause Lua to throw a syntax error since the...
Forum: Lua/XML Help 08-18-14, 12:47 PM
Replies: 8
Views: 750
Posted By SDPhantom
This has gotten derailed a bit. The OP was...

This has gotten derailed a bit. The OP was posting a question about how return could be used to stop execution of a Lua file. Now it's gotten into how LibStub works.
Forum: Lua/XML Help 08-17-14, 11:33 PM
Replies: 5
Views: 432
Posted By SDPhantom
You might try this: local function...

You might try this:
local function Test2Click(self, p1, p2)
This is because the first function is defined as a method, takes the first arg and assigns it to the local self. The second and third args...
Forum: Lua/XML Help 08-16-14, 07:54 PM
Replies: 8
Views: 750
Posted By SDPhantom
This isn't restricted to just WoW. The entire...

This isn't restricted to just WoW. The entire file, known as the main chunk, is seen by Lua as a function. After compiling into its own binary format, Lua immediately runs the function generated....
Forum: AddOn Help/Support 08-15-14, 01:48 PM
Replies: 3
Views: 391
Posted By SDPhantom
This stack information isn't truncated, it starts...

This stack information isn't truncated, it starts with the OnEvent handler UnitFrameThreatIndicator_OnEvent() and is entirely within the default UI. No addons are causing this as no part of the stack...
Forum: AddOn Search/Requests 08-15-14, 01:29 PM
Replies: 2
Views: 309
Posted By SDPhantom
Most addons do this by using the guild's addon...

Most addons do this by using the guild's addon channel via SentAddonMessage() (http://wowpedia.org/API_SendAddonMessage). This allows addons to communicate to copies of themselves on other clients...
Forum: Lua/XML Help 08-10-14, 02:04 PM
Replies: 15
Views: 581
Posted By SDPhantom
I'm also seeing a problem with this line. Unlike...

I'm also seeing a problem with this line. Unlike the other events, you're not checking if your latency bar cb exists before attempting to hide it.
Forum: Lua/XML Help 08-10-14, 01:47 PM
Replies: 15
Views: 581
Posted By SDPhantom
I'm guessing it's unit that's throwing nil, we're...

I'm guessing it's unit that's throwing nil, we're already checking self.unit. Try either one of these depending on which you were using.
if not unit or not UnitIsUnit(self.unit,"player") or not...
Forum: WoD Beta AddOn Help & Feedback 08-10-14, 01:06 PM
Replies: 18
Views: 1,399
Posted By SDPhantom
If you're combining both mine and Torhal's...

If you're combining both mine and Torhal's conditions, there may be unexpected results depending on how you write it. It will need to look like this.
local percXP = (maxXP == 0) and 0 or...
Forum: Lua/XML Help 08-10-14, 12:53 PM
Replies: 15
Views: 581
Posted By SDPhantom
UNIT_SPELLCAST_START and...

UNIT_SPELLCAST_START and UNIT_SPELLCAST_CHANNEL_START aren't returning the values that are nil. Those are from UnitCastingInfo(). The code doesn't check if the event firing is for the player while it...
Forum: Lua/XML Help 08-08-14, 11:13 PM
Replies: 1
Views: 281
Posted By SDPhantom
A post already exists about this....

A post already exists about this. http://www.wowinterface.com/forums/showthread.php?t=49597
Showing results 1 to 25 of 500