Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: AddOn Help/Support 03-17-20, 06:34 PM
Replies: 2
Views: 174
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: 512
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: 512
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: 144
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: 441
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: 259
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: 431
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: 431
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: 441
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: 407
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: 277
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: 263
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: 210
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: 903
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: 263
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: 188
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: 349
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: 369
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: 369
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: 492
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...
Forum: Lua/XML Help 02-11-20, 10:34 AM
Replies: 8
Views: 492
Posted By SDPhantom
The entire appeal of using local variables aside...

The entire appeal of using local variables aside from limiting scope is you save an index lookup in the global table. Putting variables in a local table completely negates this since you're re-adding...
Forum: Lua/XML Help 01-26-20, 09:23 AM
Replies: 2
Views: 495
Posted By SDPhantom
I don't know the difference yet, but some items...

I don't know the difference yet, but some items use C_AuctionHouse.PostItem() (https://wow.gamepedia.com/API_C_AuctionHouse.PostItem) and others use C_AuctionHouse.PostCommodity()...
Forum: Lua/XML Help 12-26-19, 12:28 AM
Replies: 10
Views: 923
Posted By SDPhantom
table.sort() doesn't work on associative keys. It...

table.sort() doesn't work on associative keys. It only works on the sequential portion of the table. The order of key/value pairs iterated from next() and pairs() are completely random. Even among...
Forum: Classic - AddOn Help/Support 12-24-19, 02:24 AM
Replies: 2
Views: 427
Posted By SDPhantom
From my observations, the only times a loot item...

From my observations, the only times a loot item is tinted red is either you're in a group with master looter on or the mob dropped a quest item that you already have enough of to complete the...
Forum: Lua/XML Help 12-21-19, 09:06 AM
Replies: 10
Views: 923
Posted By SDPhantom
Quoting the Lua 5.1 manual too. I'd also go over...

Quoting the Lua 5.1 manual too.

I'd also go over the Table Manipulation section of the function references.
http://www.lua.org/manual/5.1/manual.html#5.5
Showing results 1 to 25 of 500