Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help 03-31-20, 10:45 PM
Replies: 9
Views: 342
Posted By SDPhantom
The function you're looking for is C_UI.Reload()...

The function you're looking for is C_UI.Reload() (https://wow.gamepedia.com/API_C_UI.Reload) (previously ReloadUI()). This requires a hardware event like a button click or a keybind.

This...
Forum: AddOn Help/Support 03-30-20, 04:46 AM
Replies: 11
Views: 1,539
Posted By SDPhantom
Internal logic in the C code. Not sure exactly...

Internal logic in the C code. Not sure exactly what that logic is, but it releases the base nameplate to be reused on another unit. Even if a certain build appears to use the same nameplate over and...
Forum: Lua/XML Help 03-30-20, 03:13 AM
Replies: 8
Views: 226
Posted By SDPhantom
I missed this question and it looks like it...

I missed this question and it looks like it hasn't been answered yet. dataobj in your code ends up being a table. Everything in the table are entries. They're neither locals nor globals. In terms of...
Forum: Lua/XML Help 03-29-20, 06:54 PM
Replies: 8
Views: 226
Posted By SDPhantom
In general, they're equal, but there is a very...

In general, they're equal, but there is a very niche difference between them, and that's the order of when the function is compiled in memory and when the variable it's assigned to is created. This...
Forum: AddOn Help/Support 03-29-20, 06:44 PM
Replies: 11
Views: 1,539
Posted By SDPhantom
I've had this happen on occasion with just the...

I've had this happen on occasion with just the Default UI, no addons loaded.
It doesn't generate an error, but the power bar would split from the health bar for a time.
Forum: AddOn Help/Support 03-17-20, 06:34 PM
Replies: 2
Views: 206
Posted By SDPhantom
I don't use NeatPlates, but if you can find the...

I don't use NeatPlates, but if you can find the border texture in the code, you can use texture:SetVertexColor(0,0,0) to turn it black.
Forum: Lua/XML Help 03-17-20, 06:17 PM
Replies: 10
Views: 530
Posted By SDPhantom
Fixed in the previous post to cap at rank 15, as...

Fixed in the previous post to cap at rank 15, as the only outlier in the list, it'll still work. From the data available, 15 is supposed to be the final rank anyway with item drops that just upgrade...
Forum: Lua/XML Help 03-15-20, 06:35 PM
Replies: 10
Views: 530
Posted By SDPhantom
It appears to go up 2 ilvls every rank, so this...

It appears to go up 2 ilvls every rank, so this should work:

function GetCloakRank(itemlink)
local current,_,base=GetDetailedItemLevelInfo(itemlink);
return math.min((current-base)/2+1,15);
end
Forum: Site help, bugs, suggestions/questions 03-11-20, 10:29 PM
Replies: 1
Views: 154
Posted By SDPhantom
Classic ToC version changed

ToC version changed for Classic again. It's now 11304 for patch 1.13.4 released March 10th.
https://us.forums.blizzard.com/en/wow/t/wow-classic-version-1134-patch-notes/466078
Forum: Lua/XML Help 03-06-20, 01:54 AM
Replies: 5
Views: 468
Posted By SDPhantom
My first guess would be something to do with...

My first guess would be something to do with taint. Still not 100% on the specifics though.
Forum: Lua/XML Help 03-03-20, 09:18 PM
Replies: 4
Views: 266
Posted By SDPhantom
Also avoid checking for any argument returning a...

Also avoid checking for any argument returning a hard true. Many parts of the WoW API still return the old 1/nil flag. Instead, you should check for criticals like this.
if critical then
Forum: AddOn Search/Requests 02-28-20, 04:06 PM
Replies: 6
Views: 459
Posted By SDPhantom
screenHeight is undefined in your if condition,...

screenHeight is undefined in your if condition, do you mean physicalHeight?




The two are exactly the same in fullscreen, but this script doesn't account for window assets like the title bar or a...
Forum: AddOn Search/Requests 02-27-20, 11:40 PM
Replies: 6
Views: 459
Posted By SDPhantom
I don't bother with pixel-perfect layouts, but...

I don't bother with pixel-perfect layouts, but there are a couple options.

First, there's the PixelUtil...
Forum: Lua/XML Help 02-26-20, 01:01 PM
Replies: 5
Views: 468
Posted By SDPhantom
Most of these are registered as UIPanelWindows...

Most of these are registered as UIPanelWindows and are handled in UIParent.lua (https://www.townlong-yak.com/framexml/live/UIParent.lua#24). If you remove a frame's entry in this table, it will no...
Forum: Lua/XML Help 02-24-20, 01:11 PM
Replies: 4
Views: 412
Posted By SDPhantom
There isn't a way short of tooltip scanning.

There isn't a way short of tooltip scanning.
Forum: AddOn Search/Requests 02-23-20, 03:36 PM
Replies: 1
Views: 339
Posted By SDPhantom
There are a few problems. Players auto-AFK and...

There are a few problems.

Players auto-AFK and are automatically logged out if inactive long enough. Using a bot to bypass this is against ToS.

Even though there is an 8-hour cooldown, the buff is...
Forum: Macro Help 02-22-20, 03:23 PM
Replies: 4
Views: 270
Posted By SDPhantom
https://wow.gamepedia.com/Patch_7.1.0#Addons_and_M...

https://wow.gamepedia.com/Patch_7.1.0#Addons_and_Macros
Forum: Lua/XML Help 02-22-20, 12:47 PM
Replies: 1
Views: 220
Posted By SDPhantom
I'd start looking at...

I'd start looking at C_ChatInfo.SendAddonMessage() (https://wow.gamepedia.com/API_C_ChatInfo.SendAddonMessage) and CHAT_MSG_ADDON (https://wow.gamepedia.com/CHAT_MSG_ADDON).
You'll also have to...
Forum: Lua/XML Help 02-22-20, 12:38 PM
Replies: 7
Views: 920
Posted By SDPhantom
I typically use BankButtonIDToInvSlotID()...

I typically use BankButtonIDToInvSlotID() (https://wow.gamepedia.com/API_BankButtonIDToInvSlotID) to get the offset.
Forum: Macro Help 02-22-20, 12:31 PM
Replies: 4
Views: 270
Posted By SDPhantom
/cast [@cursor] Name of Spell Note: This only...

/cast [@cursor] Name of Spell
Note: This only works if your mouse is over the WorldFrame. This means you can't "click" this macro, you have to run it with a keybind.
Forum: Site help, bugs, suggestions/questions 02-19-20, 01:46 PM
Replies: 1
Views: 196
Posted By SDPhantom
RealMobHealth is now obsolete

Can I have RealMobHealth moved into the Discontinued and Outdated Mods (https://www.wowinterface.com/downloads/cat44.html) category? This is in response to Blizzard's hotfix yesterday...
Forum: Lua/XML Help 02-18-20, 02:37 PM
Replies: 5
Views: 365
Posted By SDPhantom
If you want the normalized name for your realm...

If you want the normalized name for your realm (used for whisper targets), you can use GetNormalizedRealmName(). Normalized realm names generally have spaces removed. I don't know if special...
Forum: Lua/XML Help 02-17-20, 05:11 PM
Replies: 3
Views: 380
Posted By SDPhantom
Reiterating: On another note, if you know the...

Reiterating:


On another note, if you know the command string, you might try GetBindingKey() (https://wow.gamepedia.com/API_GetBindingKey), but like the other function, I don't know if this works on...
Forum: Lua/XML Help 02-13-20, 06:02 PM
Replies: 3
Views: 380
Posted By SDPhantom
You can send nil as (or completely omitt) the...

You can send nil as (or completely omitt) the second argument to SetBinding() (https://wow.gamepedia.com/API_SetBinding) to remove the key from all bindings.

I don't know if GetBinding()...
Forum: Lua/XML Help 02-12-20, 08:12 AM
Replies: 8
Views: 521
Posted By SDPhantom
There are still better options. Making sure you...

There are still better options. Making sure you put local variables only in the scope they're being used (you can force a scope if you need using a do ... end block). Limiting what functions you make...
Showing results 1 to 25 of 500