Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: AddOn Search/Requests Yesterday, 04:06 PM
Replies: 6
Views: 182
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: 182
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: 1
Views: 93
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: 3
Views: 252
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: 134
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: 166
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: 134
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: 805
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: 166
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: 129
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: 253
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: 267
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: 267
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: 369
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: 369
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: 378
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: 796
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: 361
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: 796
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
Forum: Lua/XML Help 12-19-19, 08:01 PM
Replies: 3
Views: 337
Posted By SDPhantom
Functions are immutable. What hooksecurefunc()...

Functions are immutable. What hooksecurefunc() does is wrap the original function and your hook to run together from a new function, then overwrites the original with it. You can observe this by...
Forum: AddOn Help/Support 12-17-19, 12:27 PM
Replies: 2
Views: 693
Posted By SDPhantom
Yes, it's normal for long paths to be truncated.

Yes, it's normal for long paths to be truncated.
Forum: Lua/XML Help 12-15-19, 11:31 PM
Replies: 5
Views: 563
Posted By SDPhantom
ITEM_LOCK_CHANGED...

ITEM_LOCK_CHANGED (https://wow.gamepedia.com/ITEM_LOCK_CHANGED) fires when the lock state changes. BAG_UPDATE_DELAYED (https://wow.gamepedia.com/BAG_UPDATE_DELAYED) is what fires when items are...
Forum: Lua/XML Help 12-14-19, 02:26 PM
Replies: 5
Views: 563
Posted By SDPhantom
You might want to check out PickupContainerItem()...

You might want to check out PickupContainerItem() (https://wow.gamepedia.com/API_PickupContainerItem).

You'll have to apply the sort in multiple stages since the items will become "locked" once you...
Forum: Lua/XML Help 12-13-19, 03:23 PM
Replies: 9
Views: 781
Posted By SDPhantom
Short answer, yes. There are many features they...

Short answer, yes. There are many features they stripped out just by altering the returns of the API functions.




If only. There's no reliable way to obtain a SpellID, which is necessary to...
Forum: Classic - AddOn Search/Requests 12-12-19, 04:53 PM
Replies: 4
Views: 229
Posted By SDPhantom
I added another variable to tweak in my previous...

I added another variable to tweak in my previous post.
Showing results 1 to 25 of 500