Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.14 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help 07-31-22, 11:36 AM
Replies: 2
Views: 378
Posted By SDPhantom
Here are some events to look at...

Here are some events to look at too.


https://wowpedia.fandom.com/wiki/Events#C_LossOfControl
Forum: AddOn Help/Support 07-25-22, 10:49 PM
Replies: 3
Views: 356
Posted By SDPhantom
To directly answer the question, BackdropTemplate...

To directly answer the question, BackdropTemplate uses its own OnLoad handler to set the backdrop. When you supply your own, the default behavior is to overwrite it and the original no longer runs....
Forum: AddOn Help/Support 07-23-22, 01:15 AM
Replies: 4
Views: 368
Posted By SDPhantom
The Minimap has been known to act as an intrinsic...

The Minimap has been known to act as an intrinsic frame, meaning it's a custom frame type that works very similar to how templates and inheritance works. An example of an intrinsic frame is the...
Forum: Lua/XML Help 07-12-22, 04:15 PM
Replies: 6
Views: 516
Posted By SDPhantom
A moot point since the same can be done without...

A moot point since the same can be done without the addon just by choosing not to use LFG. Honestly, the addon is completely unnecessary, but I've heard of communities that refuse to make runs...
Forum: Lua/XML Help 07-11-22, 06:58 PM
Replies: 6
Views: 516
Posted By SDPhantom
This is the part that opens it up more for...

This is the part that opens it up more for interpretation and why I left out the examples they give. They focused on performance only, which was the first part they brought up, but didn't cover this...
Forum: Lua/XML Help 07-10-22, 06:49 PM
Replies: 6
Views: 516
Posted By SDPhantom
Keybinds are registered through...

Keybinds are registered through FrameXML/Bindings.xml. The lines in particular that you'd be interested start at line 1050.

<Binding name="TOGGLEGROUPFINDER" header="BLANK13"...
Forum: Lua/XML Help 07-08-22, 04:42 PM
Replies: 5
Views: 579
Posted By SDPhantom
It was an answer to a second question, which was...

It was an answer to a second question, which was to explain what ipairs() and pairs() did. The original question was different than what the title suggested, which was actually how to sort a table of...
Forum: AddOn Search/Requests 07-06-22, 06:54 PM
Replies: 4
Views: 403
Posted By SDPhantom
I noticed some of the areas pointed out were...

I noticed some of the areas pointed out were checkbox textures, which won't be as easily modified. The best route for those is to find the image file the texture is loaded from and replace that.

I'm...
Forum: Macro Help 07-05-22, 05:26 PM
Replies: 4
Views: 469
Posted By SDPhantom
/cancelform is special as it doesn't wait for the...

/cancelform is special as it doesn't wait for the server to confirm before changing the [form] flag. It also doesn't consume the GCD, so the /cast after successfully runs. Additionally, TBC allows...
Forum: Classic - AddOn Search/Requests 06-27-22, 02:01 AM
Replies: 2
Views: 319
Posted By SDPhantom
First of all, there's a distinct difference...

First of all, there's a distinct difference between an addon and a 3rd party tool.

An addon for WoW is a set of scripts written in Lua and/or XML that are loaded by the game itself and have limited...
Forum: Lua/XML Help 06-23-22, 07:04 PM
Replies: 3
Views: 510
Posted By SDPhantom
UnitXP("player")...

UnitXP("player") (https://wowpedia.fandom.com/wiki/API_UnitXP) returns player experience. You should also look at UnitLevel() to check if they're level 1.
Forum: Tutorials & Other Helpful Info. 06-22-22, 05:48 PM
Replies: 8
Views: 618
Posted By SDPhantom
I haven't watched any of the streams. I just...

I haven't watched any of the streams. I just don't have the time or attention span really for that format of media. Even so, the way BackdropTemplate was coded, it seems like it's a bridge between...
Forum: General Authoring Discussion 06-22-22, 05:03 PM
Replies: 2
Views: 436
Posted By SDPhantom
Can you give an example of a stack trace that...

Can you give an example of a stack trace that you're having trouble with?

A stack trace basically lists all active functions with the currently running one at the top. With few exceptions, it...
Forum: Tutorials & Other Helpful Info. 06-22-22, 04:23 PM
Replies: 8
Views: 618
Posted By SDPhantom
I noticed a lot of backdrop constants moved over...

I noticed a lot of backdrop constants moved over to SharedXML\NineSliceLayouts.lua (https://github.com/Gethe/wow-ui-source/blob/live/Interface/SharedXML/NineSliceLayouts.lua) a while ago. Gethe has...
Forum: Classic - AddOn Help/Support 06-06-22, 05:23 PM
Replies: 1
Views: 381
Posted By SDPhantom
If you're wanting to count socket colors, this'll...

If you're wanting to count socket colors, this'll require a ton of server requests using socket query calls (https://wowpedia.fandom.com/wiki/World_of_Warcraft_API#Item_Socketing). Alternatively, if...
Forum: Lua/XML Help 06-06-22, 05:09 PM
Replies: 9
Views: 690
Posted By SDPhantom
Assuming your :get() and :set() functions are...

Assuming your :get() and :set() functions are working correctly, this is a simpler method.

["onclick"]=function(self)
local newvalue=self.options[Wrap((tIndexOf(self.options,self:get()) or...
Forum: Macro Help 05-17-22, 10:55 AM
Replies: 1
Views: 480
Posted By SDPhantom
It's used to control abilities that toggle on/off...

It's used to control abilities that toggle on/off and forces them to recast rather than toggle off. For abilities that don't toggle, it does nothing.
Forum: Lua/XML Help 05-09-22, 01:03 PM
Replies: 5
Views: 1,361
Posted By SDPhantom
Strange, it works fine for me.

Strange, it works fine for me.
Forum: Lua/XML Help 05-03-22, 05:18 PM
Replies: 3
Views: 748
Posted By SDPhantom
Not completely true. The repositioning is further...

Not completely true. The repositioning is further down the line at MainMenuBarMixin:SetPositionForStatusBars(). It queries StatusTrackingBarManager:GetNumberVisibleBars() and sets .yOffset...
Forum: Lua/XML Help 04-27-22, 08:56 PM
Replies: 5
Views: 879
Posted By SDPhantom
A note to add, player names are valid UnitIDs as...

A note to add, player names are valid UnitIDs as long as they're in your party/raid.
Forum: AddOn Help/Support 04-27-22, 08:46 PM
Replies: 3
Views: 481
Posted By SDPhantom
There isn't a way to get a unit's level directly...

There isn't a way to get a unit's level directly from a GUID, you need a UnitID. You can try to cache data using target, nameplates, and mouseover along with watching UNIT_TARGET events for...
Forum: Lua/XML Help 04-23-22, 11:27 AM
Replies: 6
Views: 782
Posted By SDPhantom
xpcall() specifically lets you set a specific...

xpcall() specifically lets you set a specific error handler to run if it encounters an error. Even though the Lua documentation doesn't show this, it also allows you to pass arguments to the function...
Forum: Lua/XML Help 04-22-22, 10:11 AM
Replies: 6
Views: 782
Posted By SDPhantom
As you've pointed out, the debug built-in library...

As you've pointed out, the debug built-in library was disabled. Only a few functions remain from it, namely getfenv(), setfenv(), and debugstack() (formerly debug.traceback()).

There's no other way...
Forum: Lua/XML Help 04-21-22, 02:07 PM
Replies: 6
Views: 782
Posted By SDPhantom
If you're talking about having a function check...

If you're talking about having a function check its args, you can use select() (http://www.lua.org/manual/5.1/manual.html#pdf-select).

local function PrintArgCount(...)
print(select("#",...));
end
Forum: AddOn Help/Support 04-21-22, 01:47 PM
Replies: 1
Views: 740
Posted By SDPhantom
Short explanation, no. Running a macro is a...

Short explanation, no. Running a macro is a protected action and can't be done from addons.

Longer explanation, depending on what task you want Player2 to do, you may not need to run a macro to do...
Showing results 1 to 25 of 500