Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: SDPhantom
Forum: News Yesterday, 01:01 PM
Replies: 75
Views: 7,380
Posted By SDPhantom
First, #25

First, #25
Forum: News Yesterday, 12:43 PM
Replies: 75
Views: 7,380
Posted By SDPhantom
For some strange reason, I got flagged, but never...

For some strange reason, I got flagged, but never got the email. So be sure to check your BNet account page once in a while.

PS. Has anyone started up a dev guild yet?
Forum: News 07-12-14, 12:31 AM
Replies: 1
Views: 2,386
Posted By SDPhantom
They fixed the typo on the source post. It's...

They fixed the typo on the source post. It's C_Timer.NewTicker() now.
Forum: Site help, bugs, suggestions/questions 07-03-14, 03:29 PM
Replies: 14
Views: 2,302
Posted By SDPhantom
From my experience, we (addon authors) usually...

From my experience, we (addon authors) usually doesn't get keys until Blizzard enables addons in the beta, which happens in the last few months of testing. When beta starts, they only have the...
Forum: Lua/XML Help 06-17-14, 02:39 PM
Replies: 7
Views: 549
Posted By SDPhantom
I discovered the MultiActionBar backgrounds are...

I discovered the MultiActionBar backgrounds are generated using the following XML code.

<CheckButton name="MultiBarButtonTemplate" virtual="true"...
Forum: Lua/XML Help 06-16-14, 08:34 PM
Replies: 7
Views: 549
Posted By SDPhantom
The textures are on the MainMenuBar itself and...

The textures are on the MainMenuBar itself and not the ActionBar. Depending on how much of the MainMenuBar you want to hide, here's a list of functions that'll do the...
Forum: Lua/XML Help 06-13-14, 02:28 PM
Replies: 2
Views: 506
Posted By SDPhantom
Here's some comments I have about the posted...

Here's some comments I have about the posted code.

Line 3: Unless you have a variable named ShowUF, the frame will not have a name set as the variable will be nil. You should use a string here like...
Forum: Lua/XML Help 05-19-14, 06:19 PM
Replies: 14
Views: 875
Posted By SDPhantom
When you're loading your addon and it does its...

When you're loading your addon and it does its first scan, it doesn't have any info of anyone being online. For each friend you have online at that time, it doesn't know any better and pops up...
Forum: AddOn Search/Requests 05-19-14, 05:42 PM
Replies: 6
Views: 606
Posted By SDPhantom
Yeah, that's accounted for. If you're resting it...

Yeah, that's accounted for. If you're resting it starts the actual logout only after 30 seconds, otherwise it starts the logout after 10 seconds, so either way you're logged out after 30 seconds if...
Forum: General Authoring Discussion 04-24-14, 05:38 PM
Replies: 11
Views: 1,043
Posted By SDPhantom
If you really need to, you can briefly unregister...

If you really need to, you can briefly unregister an event for all frames then re-register when done.


local Frames={GetFramesRegisteredForEvent("ZONE_CHANGED_NEW_AREA")};
for i,j in ipairs(Frames)...
Forum: Lua/XML Help 04-01-14, 11:35 PM
Replies: 1
Views: 454
Posted By SDPhantom
I guess you can try intercepting UI functions...

I guess you can try intercepting UI functions that set the text of various UI elements by hooking into the UI object metatables. For example, if you want to intercept and modify the text of every...
Forum: Lua/XML Help 01-27-14, 05:15 PM
Replies: 6
Views: 564
Posted By SDPhantom
Setting the text alignment for a fontstring only...

Setting the text alignment for a fontstring only really applies to displaying multiple lines in a single object. When you have one line in a box without defined dimensions, it's left to the anchor to...
Forum: Lua/XML Help 01-27-14, 05:07 PM
Replies: 24
Views: 1,560
Posted By SDPhantom
As explained earlier, copied objects share the...

As explained earlier, copied objects share the same pointers. There may be some confusion about this due to the fact that the only modifiable object is a table. Even when you're writing a function...
Forum: Lua/XML Help 01-22-14, 02:14 PM
Replies: 24
Views: 1,560
Posted By SDPhantom
Actually, _G is the same as _G._G, it's a...

Actually, _G is the same as _G._G, it's a circular reference and completely unnecessary. This also means _G.MyVar is the exact same as referencing MyVar directly as long as you don't have a local...
Forum: AddOn Help/Support 01-09-14, 02:45 PM
Replies: 3
Views: 847
Posted By SDPhantom
Due to this being an official Blizzard community...

Due to this being an official Blizzard community site, we are prohibited from offering assistance to anyone playing on a private server.
Forum: Lua/XML Help 09-17-13, 09:59 AM
Replies: 8
Views: 1,756
Posted By SDPhantom
Typically, procs trigger a spellcast that ends up...

Typically, procs trigger a spellcast that ends up in the Combat Log just as any other ability initiated by the player. You will need to keep track of what SpellIDs trigger from an item to tell the...
Forum: Lua/XML Help 09-14-13, 04:31 PM
Replies: 5
Views: 1,555
Posted By SDPhantom
You could do this: local guid=unit and...

You could do this:
local guid=unit and UnitGUID(unit);
If unit is nil, it won't run UnitGUID() and return nil. Otherwise, if UnitGUID() doesn't return anything useful, it'll return nil anyway.



If...
Forum: Wish List 09-12-13, 07:15 PM
Replies: 3
Views: 1,684
Posted By SDPhantom
The idea you proposed is irrelevant to keybinds...

The idea you proposed is irrelevant to keybinds and is a simplification on running a button's OnClick handler.
At any rate, your proposition already exists exactly as you described it.

See...
Forum: AddOn Help/Support 09-07-13, 09:16 AM
Replies: 1
Views: 1,156
Posted By SDPhantom
Having a macro respond to a cooldown has been...

Having a macro respond to a cooldown has been specifically disabled by Blizzard. In the past, this was accomplished by having one spell listed after the other like in the example below.

/cast Holy...
Forum: Lua/XML Help 09-03-13, 10:19 PM
Replies: 6
Views: 1,680
Posted By SDPhantom
D'oh! Fixed now. :rolleyes:

D'oh! Fixed now. :rolleyes:
Forum: Lua/XML Help 08-31-13, 01:14 AM
Replies: 6
Views: 1,680
Posted By SDPhantom
Here's my take on creating better code. I kept...

Here's my take on creating better code. I kept the idea of using a function to generate the buttons dynamically, yet improved on its operation. First of all, the buttons share the same OnEnter and...
Forum: Lua/XML Help 08-29-13, 03:52 PM
Replies: 40
Views: 5,652
Posted By SDPhantom
This is still deviating from the point Phanx and...

This is still deviating from the point Phanx and I were making. Phanx is stating as a general rule that locals should stay in the tightest scope possible. My posts state that like most rules, there...
Forum: Lua/XML Help 08-26-13, 11:42 PM
Replies: 40
Views: 5,652
Posted By SDPhantom
You're creating 4 string values and performing 4...

You're creating 4 string values and performing 4 variable assignments either way. It doesn't matter whether you're overwriting an existing variable or not, so you should use scoping appropriately,...
Forum: Lua/XML Help 08-26-13, 05:57 PM
Replies: 10
Views: 1,850
Posted By SDPhantom
If you really want to look into it, we can break...

If you really want to look into it, we can break down how the lines work. When you compare with if var==true then, you are running a binary operation (==) that returns a boolean value after comparing...
Forum: Lua/XML Help 08-24-13, 04:39 PM
Replies: 40
Views: 5,652
Posted By SDPhantom
To explain this simply, every single time code in...

To explain this simply, every single time code in a loop is run is considered a single iteration of the loop. All locals defined inside a loop only exist in a single iteration independent of all the...
Showing results 1 to 25 of 500