Showing results 1 to 25 of 500
Search took 0.06 seconds.
Search: Posts Made By: SDPhantom
Forum: General Authoring Discussion 06-24-15, 01:07 PM
Replies: 19
Views: 1,427
Posted By SDPhantom
It's very miniscule, but they're referring to the...

It's very miniscule, but they're referring to the difference between the indexing operation on the global table and grabbing some value from the local registers.
Forum: General Authoring Discussion 06-23-15, 09:40 PM
Replies: 19
Views: 1,427
Posted By SDPhantom
I didn't say it was a good idea, but it might...

I didn't say it was a good idea, but it might help people follow where some of the Blizzard methods are coming from. I've seen a bunch of it used in the Garrison UI.
Forum: General Authoring Discussion 06-23-15, 02:11 PM
Replies: 19
Views: 1,427
Posted By SDPhantom
Apparently, there's a new XML attribute called...

Apparently, there's a new XML attribute called mixin. What this does is take in a list of global tables and copies their entries into the table of a UI widget.
Forum: Lua/XML Help 06-23-15, 01:10 PM
Replies: 4
Views: 141
Posted By SDPhantom
The problem is you make a table at index 1 of...

The problem is you make a table at index 1 of aliens, then loop through entries 1 thru 5. You don't have any tables created for indices 2 and up. In addition to this, the way you're creating the...
Forum: AddOn Help/Support 06-22-15, 01:55 PM
Replies: 7
Views: 366
Posted By SDPhantom
You should be able to simplify this with...

You should be able to simplify this with Region:SetAllPoints() (http://wow.gamepedia.com/API_Region_SetAllPoints).

Button:ClearAllPoints();
Button:SetAllPoints(HyperlinkButton);
Forum: AddOn Help/Support 06-19-15, 01:16 PM
Replies: 7
Views: 366
Posted By SDPhantom
There's probably a way to create...

There's probably a way to create SecureActionButtons that overlay the dynamic buttons that make up the hyperlinks, but I'm not sure if it's possible to tell what buttons are for what hyperlinks. It...
Forum: General Authoring Discussion 06-16-15, 02:29 PM
Replies: 6
Views: 413
Posted By SDPhantom
If you're unable to find the link to upload an...

If you're unable to find the link to upload an addon, follow the one listed here.
http://www.wowinterface.com/downloads/upload-update.php



There are FAQs specific to developer and uploading addons...
Forum: AddOn Search/Requests 06-16-15, 01:15 PM
Replies: 7
Views: 628
Posted By SDPhantom
It does, though one idea that would be nice is to...

It does, though one idea that would be nice is to modify autoloot to skip currency items that are already capped. If the user really wants to ignore this and loot the item, they'll still be able to...
Forum: AddOn Search/Requests 06-12-15, 12:38 PM
Replies: 1
Views: 247
Posted By SDPhantom
There's no way to target some arbitrary unit...

There's no way to target some arbitrary unit reliably. Even if you were to find a unit by scanning through people that may be targeting it, Blizzard doesn't allow addons to change such "path" for any...
Forum: Lua/XML Help 06-11-15, 06:49 PM
Replies: 11
Views: 390
Posted By SDPhantom
pairs() and ipairs() functions don't perform any...

pairs() and ipairs() functions don't perform any Lua indexing operations. They're C-side code that iterate through the indexed and hash arrays that make up any table within Lua's C code. If there's...
Forum: Lua/XML Help 06-09-15, 09:42 PM
Replies: 1
Views: 233
Posted By SDPhantom
I don't think this is something Blizzard would...

I don't think this is something Blizzard would bother making an API function for. It's likely you'll need to find a library or build a lookup table yourself.
Forum: Lua/XML Help 06-03-15, 01:20 PM
Replies: 5
Views: 367
Posted By SDPhantom
What I've done before is create a...

What I've done before is create a SecureActionButton that runs /cancelform and put the DoTradeSkill() call in a PostClick handler. You can also do button:HookScript() on the OnClick handler to...
Forum: General Authoring Discussion 05-26-15, 09:34 AM
Replies: 8
Views: 717
Posted By SDPhantom
This is a really simple step, but I'm going to...

This is a really simple step, but I'm going to start here anyway. Did you completely close the WoW client when applying the modifications? If the game was running while you were modifying the sounds,...
Forum: AddOn Search/Requests 05-13-15, 01:24 PM
Replies: 5
Views: 346
Posted By SDPhantom
I honestly would've just posted this link to the...

I honestly would've just posted this link to the video they posted that sets the play head to the relevant time. Note the time code at the end of the URL is what tells YouTube what time to seek to...
Forum: General Authoring Discussion 05-08-15, 03:45 PM
Replies: 22
Views: 900
Posted By SDPhantom
Actually, I was thinking of each texcoord...

Actually, I was thinking of each texcoord calculation step. Actual drawing would be much faster since that's all handled on C side.

I had to tear down one of my private addons because I was doing...
Forum: General Authoring Discussion 05-08-15, 01:15 AM
Replies: 22
Views: 900
Posted By SDPhantom
There's nothing stopping us from it. It's a nasty...

There's nothing stopping us from it. It's a nasty hack to work around functionality that should work, but is fundamentally bugged. Note this isn't using a custom model and rotating it. He's manually...
Forum: General Authoring Discussion 05-07-15, 08:36 PM
Replies: 22
Views: 900
Posted By SDPhantom
Most of my stuff is non-published. Mostly because...

Most of my stuff is non-published. Mostly because I keep starting projects and never finish them. :p
Forum: General Authoring Discussion 05-07-15, 07:57 PM
Replies: 22
Views: 900
Posted By SDPhantom
I suppose he's taking 2 points and using...

I suppose he's taking 2 points and using SetTexCoord to take a proposed line of pixels. My guess is the internal line thickness would always be 1 pixel even if you reuse the points between UL/LL and...
Forum: Lua/XML Help 05-07-15, 07:52 PM
Replies: 11
Views: 628
Posted By SDPhantom
Internally, these two do the exact same...

Internally, these two do the exact same operations in the Lua engine. The only difference is the later is in C code for both operations instead of popping in and out of the Lua code. The result is...
Forum: General Authoring Discussion 05-07-15, 02:02 PM
Replies: 22
Views: 900
Posted By SDPhantom
I forgot I came across that before a while ago. I...

I forgot I came across that before a while ago. I did a bunch of testing following up my previous post and it's because of how the game engine draws textures. The game draws them internally as 2...
Forum: General Authoring Discussion 05-07-15, 12:46 PM
Replies: 22
Views: 900
Posted By SDPhantom
You could use trapezoid-shaped texcoords to do...

You could use trapezoid-shaped texcoords to do the same thing. That would use one texture for Semlar's example instead of anywhere between a few dozen to hundreds depending on the size of the...
Forum: Lua/XML Help 05-06-15, 12:45 PM
Replies: 11
Views: 628
Posted By SDPhantom
You forgot the end parenthesis on...

You forgot the end parenthesis on UnitName("player" :D
Forum: Lua/XML Help 05-06-15, 12:41 PM
Replies: 5
Views: 436
Posted By SDPhantom
It's customary practice to unregister the event...

It's customary practice to unregister the event when you're done with it and don't need it to fire anymore. To do this, you just run self:UnregisterEvent("ADDON_LOADED") at the end of the function.
Forum: Lua/XML Help 05-05-15, 12:27 PM
Replies: 9
Views: 509
Posted By SDPhantom
Part of the OPs original code was recording...

Part of the OPs original code was recording history, so I was preserving that functionality in my version. As the rest of the code wasn't given, I can only assume that it's being used...
Forum: Lua/XML Help 05-04-15, 08:20 PM
Replies: 9
Views: 509
Posted By SDPhantom
From what I see of your code, it's much more...

From what I see of your code, it's much more complicated than it needs to be for what you describe. Essentially, too much class-style programming is going to end up bogging down the addon with tons...
Showing results 1 to 25 of 500