Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: SDPhantom
Forum: PTR General Discussion 09-26-22, 02:37 PM
Replies: 5
Views: 269
Posted By SDPhantom
Looks like it's getting updated by...

Looks like it's getting updated by TargetFrameMixin:CheckClassification() (https://github.com/Gethe/wow-ui-source/blob/ptr/Interface/FrameXML/TargetFrame.lua#L359-L390) through :SetAtlas() at lines...
Forum: PTR General Discussion 09-26-22, 07:05 AM
Replies: 5
Views: 269
Posted By SDPhantom
I just ran it on PTR and saw it apply. /run...

I just ran it on PTR and saw it apply.
/run TargetFrame.TargetFrameContent.TargetFrameContentMain.HealthBar:SetStatusBarTexture(423819)
Forum: PTR General Discussion 09-25-22, 06:03 AM
Replies: 5
Views: 269
Posted By SDPhantom
TargetFrame's health bar should be able to be...

TargetFrame's health bar should be able to be accessed by TargetFrame.TargetFrameContent.TargetFrameContentMain.HealthBar.
Forum: PTR General Discussion 09-25-22, 05:55 AM
Replies: 9
Views: 328
Posted By SDPhantom
I reiterate... The taint system has been known...

I reiterate...


The taint system has been known to be horribly bugged, especially around the Dropdown and Options systems.
Forum: PTR General Discussion 09-24-22, 01:00 PM
Replies: 9
Views: 328
Posted By SDPhantom
This is why and there's no way around it. You...

This is why and there's no way around it. You can't hide protected frames in combat, though it may be trying to do something else like finalize settings that are more strictly protected.
Forum: Lua/XML Help 09-24-22, 12:41 PM
Replies: 1
Views: 182
Posted By SDPhantom
Templates are not directly accessible from Lua,...

Templates are not directly accessible from Lua, you can only inherit from them.
Forum: Lua/XML Help 09-23-22, 05:11 PM
Replies: 3
Views: 752
Posted By SDPhantom
One of my personal bag management addons still...

One of my personal bag management addons still calls UseContainerItem() (https://wowpedia.fandom.com/wiki/API_UseContainerItem). I had forgotten the list of exceptions...
Forum: PTR General Discussion 09-23-22, 04:50 PM
Replies: 9
Views: 328
Posted By SDPhantom
There's SettingsPanel:Close()...

There's SettingsPanel:Close() (https://github.com/Gethe/wow-ui-source/blob/ptr/Interface/SharedXML/Settings/Blizzard_SettingsPanel.lua#L164-L170). Be aware of taint issues.
Forum: PTR General Discussion 09-22-22, 11:48 AM
Replies: 18
Views: 898
Posted By SDPhantom
As for Button:RegisterForClicks(), change...

As for Button:RegisterForClicks(), change this
button:RegisterForClicks("LeftButtonUp", "RightButtonUp")
to either of these
button:RegisterForClicks("LeftButtonUp", "LeftButtonDown", "RightButtonUp",...
Forum: AddOn Help/Support 09-22-22, 11:23 AM
Replies: 4
Views: 306
Posted By SDPhantom
Addons can't interact with login or character...

Addons can't interact with login or character select screens.
Forum: PTR General Discussion 09-21-22, 06:08 PM
Replies: 18
Views: 898
Posted By SDPhantom
Here's the OnClick handler on PTR. function...

Here's the OnClick handler on PTR.


function SecureActionButton_OnClick(self, inputButton, down, isKeyPress)
local pressAndHoldAction = SecureButton_GetAttribute(self, "pressAndHoldAction");
local...
Forum: PTR General Discussion 09-20-22, 06:18 PM
Replies: 18
Views: 898
Posted By SDPhantom
You still didn't address...

You still didn't address Button:RegisterForClicks() (https://wowpedia.fandom.com/wiki/API_Button_RegisterForClicks), which tells the button what clicks to look for (Left, Right, Middle, etc.) If you...
Forum: PTR General Discussion 09-19-22, 01:41 PM
Replies: 18
Views: 898
Posted By SDPhantom
You still need to call Button:RegisterForClicks()...

You still need to call Button:RegisterForClicks() (https://wowpedia.fandom.com/wiki/API_Button_RegisterForClicks) for the OnClick handler to work.

It's also good practice to make sure...
Forum: Lua/XML Help 09-17-22, 04:02 PM
Replies: 4
Views: 793
Posted By SDPhantom
Additionally, if all you want to do is create a...

Additionally, if all you want to do is create a FontString anchored to an existing frame, you don't need to create a new frame just to do it.


local...
Forum: Lua/XML Help 09-17-22, 01:30 PM
Replies: 3
Views: 752
Posted By SDPhantom
This is what the SecureActionButtonTemplate is...

This is what the SecureActionButtonTemplate is doing.


SECURE_ACTIONS.item =
function (self, unit, button)
local item = SecureButton_GetModifiedAttribute(self, "item", button);
...
Forum: AddOn Help/Support 09-16-22, 07:42 PM
Replies: 18
Views: 807
Posted By SDPhantom
It looks like you already have a grasp on how to...

It looks like you already have a grasp on how to create UI objects and parent them. If you need a reference, there's WoWPedia's Widget API (https://wowpedia.fandom.com/wiki/Widget_API) page.

The...
Forum: AddOn Help/Support 09-12-22, 03:18 PM
Replies: 1
Views: 351
Posted By SDPhantom
My guess is it's a taint issue spreading from one...

My guess is it's a taint issue spreading from one or more frames handled by UIParentManageFramePositions().
Forum: PTR API and Graphics Changes 09-11-22, 11:35 PM
Replies: 4
Views: 473
Posted By SDPhantom
From what I can see, it isn't made to handle...

From what I can see, it isn't made to handle addons, though it does send "EditMode.Enter" (https://github.com/Gethe/wow-ui-source/blob/beta/Interface/FrameXML/EditModeManager.lua#L163) and...
Forum: PTR API and Graphics Changes 09-11-22, 11:14 AM
Replies: 4
Views: 473
Posted By SDPhantom
I'm downloading the PTR right now, so it'll be a...

I'm downloading the PTR right now, so it'll be a while before I can dig around it. Even so, this error is pointing out a syntax issue, you're trying to index a table that you didn't give a reference...
Forum: Lua/XML Help 09-11-22, 10:12 AM
Replies: 4
Views: 711
Posted By SDPhantom
The older version of the WotLK UI code isn't the...

The older version of the WotLK UI code isn't the same as the classic version just because the game client is built off a more recent version of the retail client. A lot of the APIs have changed over...
Forum: Lua/XML Help 09-06-22, 06:21 PM
Replies: 4
Views: 711
Posted By SDPhantom
I forget which expansion it's added in, but the...

I forget which expansion it's added in, but the classic API doesn't support that feature. You'll have to get creative either with tooltip scanning or keep a database of mounts.
Forum: Lua/XML Help 08-27-22, 09:01 AM
Replies: 3
Views: 607
Posted By SDPhantom
local function...

local function onReceive(self)
GameTooltip:Show()
local infoType, arg1, arg2 = GetCursorInfo()
if infoType=="item" then
local itemName, _, _, _, _, _, _, _, _, itemTexture =...
Forum: Lua/XML Help 08-26-22, 01:02 PM
Replies: 3
Views: 607
Posted By SDPhantom
I would have your OnEnter handler check...

I would have your OnEnter handler check CursorHasItem() and show the tooltip if you're not holding one. Additionally have onReceive() show the tooltip when it's done processing the...
Forum: AddOn Help/Support 08-26-22, 12:53 PM
Replies: 2
Views: 376
Posted By SDPhantom
ItemRefTooltip only handles chat links. The...

ItemRefTooltip only handles chat links. The comparison tooltips you're looking for are ShoppingTooltip1 and ShoppingTooltip2.
Forum: Lua/XML Help 08-23-22, 02:59 PM
Replies: 4
Views: 526
Posted By SDPhantom
As Fizzlemizz pointed out, those are great addons...

As Fizzlemizz pointed out, those are great addons for enhancing error reporting.

These expand on Blizzard's own error system that depends on the scriptErrors CVar.
This is disabled by default and...
Showing results 1 to 25 of 500