Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: SDPhantom
Forum: Macro Help 05-17-22, 10:55 AM
Replies: 1
Views: 179
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,114
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: 507
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: 571
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: 277
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: 566
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: 566
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: 566
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: 545
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...
Forum: Lua/XML Help 04-21-22, 01:38 PM
Replies: 5
Views: 1,114
Posted By SDPhantom
You need to either remove the function enclosures...

You need to either remove the function enclosures or call them. I suggest removing them since the functions hooked already exist on load.

-- Включение цвета классов на полосах...
Forum: Lua/XML Help 04-17-22, 01:11 AM
Replies: 5
Views: 1,114
Posted By SDPhantom
A quick and easy way is to copy/paste the code...

A quick and easy way is to copy/paste the code into addon.bool.no (https://addon.bool.no/). You may have to open the .toc file in something like Notepad after you extract everything and make sure the...
Forum: General Authoring Discussion 04-06-22, 09:51 AM
Replies: 5
Views: 1,031
Posted By SDPhantom
It's good practice to make local functions...

It's good practice to make local functions instead of global ones whenever you can. It'll help you avoid name collisions like these in the global table.

As with any local variable, you need to...
Forum: Lua/XML Help 04-04-22, 05:57 AM
Replies: 2
Views: 419
Posted By SDPhantom
More specifically, anything inheriting...

More specifically, anything inheriting SecureActionButtonTemplate is a protected frame and protected frames won't let you change their attributes while in combat.
Forum: General WoW Chat 04-01-22, 01:09 PM
Replies: 6
Views: 1,115
Posted By SDPhantom
Addons like Auctioneer and TSM can even do live...

Addons like Auctioneer and TSM can even do live scans that show items as they are posted. You don't even need multiple accounts unless you are trying to have one person logged in on every server...
Forum: General Authoring Discussion 04-01-22, 01:01 PM
Replies: 3
Views: 797
Posted By SDPhantom
Here's what I've found that trigger the "Ready...

Here's what I've found that trigger the "Ready Check" sound.

LFG_LIST_JOINED_GROUP
LFG_READY_CHECK_SHOW
LFG_ROLE_CHECK_SHOW
ROLE_POLL_BEGIN

Note: LFG_PROPOSAL_SHOW is already in the table...
Forum: Macro Help 04-01-22, 12:44 PM
Replies: 1
Views: 374
Posted By SDPhantom
You need a valid UnitID...

You need a valid UnitID (https://wowpedia.fandom.com/wiki/UnitId) to check anything. Even then, targeting is a protected action, especially in combat when half the entire UI is locked down.
Forum: Lua/XML Help 04-01-22, 12:36 PM
Replies: 4
Views: 578
Posted By SDPhantom
Let's take your earlier code for example. Option...

Let's take your earlier code for example.

Option 1:
(Depth check was moved to before attempting to recursive call)

for k, v in pairs(tbl) do
if type(v) ~= 'table' then
print(v)
elseif depth...
Forum: Lua/XML Help 03-28-22, 12:17 AM
Replies: 4
Views: 578
Posted By SDPhantom
I honestly prefer using verbose messages over...

I honestly prefer using verbose messages over inserting random nils in where I expect a list. Even if said list is empty. Perhaps if you kept track if the loop has printed anything and at the end,...
Forum: AddOn Search/Requests 03-25-22, 06:39 PM
Replies: 5
Views: 514
Posted By SDPhantom
I'd have to completely rewrite it to avoid it...

I'd have to completely rewrite it to avoid it from blasting you with constant queuing of the sound while below the set percentage. And by constant queuing, it'll overlap the sound on top of itself...
Forum: AddOn Search/Requests 03-24-22, 08:34 AM
Replies: 5
Views: 514
Posted By SDPhantom
Here's a simple example of what I've come up...

Here's a simple example of what I've come up with. It'll pop up with big text in the center of your screen whenever your healer's mana goes below 25%.

Copy/Paste this into addon.bool.no...
Forum: AddOn Search/Requests 03-24-22, 03:40 AM
Replies: 9
Views: 740
Posted By SDPhantom
That only controls the sound playing, not the...

That only controls the sound playing, not the recording. The idea is for PLAYER_LOGIN to start the initial scan, populating TrackedFactions. Further updates compare previous values added and act...
Forum: AddOn Search/Requests 03-24-22, 03:35 AM
Replies: 5
Views: 514
Posted By SDPhantom
Is this for retail or classic? For retail, it...

Is this for retail or classic? For retail, it wouldn't be hard to detect the assigned role for party members and work off that. Classic unfortunately doesn't have that functionality and the best way...
Forum: AddOn Search/Requests 03-17-22, 06:15 AM
Replies: 9
Views: 740
Posted By SDPhantom
Here's an example I came up with. It's based off...

Here's an example I came up with. It's based off how ReputationFrame updates and keeps track of rep by ID to avoid name collisions.

local TrackedFactions={};
local...
Forum: AddOn Search/Requests 03-17-22, 02:46 AM
Replies: 9
Views: 740
Posted By SDPhantom
The animation you're referring to is in C code as...

The animation you're referring to is in C code as it's actually rendered in-world and not by the UI system. The same applies to the sound played. Sound file replacements should still work, but I...
Forum: General Authoring Discussion 03-16-22, 02:08 AM
Replies: 2
Views: 410
Posted By SDPhantom
InterfaceOptionsLargerNamePlate_OnLoad() just...

InterfaceOptionsLargerNamePlate_OnLoad() just sets up those functions to run when you click on the button. :setFunc() gets called by InterfaceOptionsPanel_CheckButton_Update() through...
Showing results 1 to 25 of 500