Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: General Authoring Discussion Yesterday, 09:55 PM
Replies: 15
Views: 1,056
Posted By SDPhantom
He did by someone else.

He did by someone else.
Forum: General Authoring Discussion 08-23-14, 04:23 PM
Replies: 15
Views: 1,056
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: 15
Views: 1,056
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: 7,525
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: 490
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,159
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: 602
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: 602
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: 336
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: 602
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: 254
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: 267
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: 452
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: 452
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,308
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: 452
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: 191
Posted By SDPhantom
A post already exists about this....

A post already exists about this. http://www.wowinterface.com/forums/showthread.php?t=49597
Forum: WoD Beta AddOn Help & Feedback 08-08-14, 11:08 PM
Replies: 18
Views: 1,308
Posted By SDPhantom
It happened, otherwise the error would've never...

It happened, otherwise the error would've never been thrown. The code as-is can already handle if XP is zero, but not maxXP.
Forum: AddOn Help/Support 08-08-14, 09:30 PM
Replies: 13
Views: 583
Posted By SDPhantom
I have a working prototype of an AIML converter...

I have a working prototype of an AIML converter that parses into a Lua table.

So far, each <category> tag is translated into this format:
["pattern|that"]="template";

Note this allows multiples of...
Forum: Site help, bugs, suggestions/questions 08-08-14, 09:14 PM
Replies: 10
Views: 1,465
Posted By SDPhantom
Those work on mine too, hence why I singled out...

Those work on mine too, hence why I singled out the two menus in my post.
Forum: WoD Beta AddOn Help & Feedback 08-08-14, 07:59 PM
Replies: 18
Views: 1,308
Posted By SDPhantom
Lua is one of the few languages that makes use of...

Lua is one of the few languages that makes use of the full IEEE 754 specification for floating point numbers (http://en.wikipedia.org/wiki/IEEE_floating_point) by allowing the casting of...
Forum: WoD Beta AddOn Help & Feedback 08-08-14, 07:26 PM
Replies: 18
Views: 1,308
Posted By SDPhantom
Shouldn't that be (maxXP == 0)?

Shouldn't that be (maxXP == 0)?
Forum: Site help, bugs, suggestions/questions 08-08-14, 03:48 PM
Replies: 10
Views: 1,465
Posted By SDPhantom
I tried a long tap before, Firefox doesn't...

I tried a long tap before, Firefox doesn't propagate it to the page, just opens the context menu. The menus pop up on a normal tap, but it then immediately follows the button's link. It's only a...
Forum: Site help, bugs, suggestions/questions 08-08-14, 03:37 PM
Replies: 10
Views: 1,465
Posted By SDPhantom
I'm using a Motorola Droid Maxx running Firefox...

I'm using a Motorola Droid Maxx running Firefox 31.0 on Android 4.4.4 "KitKat".
Forum: Site help, bugs, suggestions/questions 08-08-14, 02:43 PM
Replies: 10
Views: 1,465
Posted By SDPhantom
Addons and Forums menus inaccessible on mobile devices

Addons and Forums menus are inaccessible on mobile devices. The links on the buttons themselves are followed before the menu can be interacted with.
Showing results 1 to 25 of 500