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 10-22-20, 03:56 PM
Replies: 3
Views: 323
Posted By SDPhantom
You can change the base font object and it'll...

You can change the base font object and it'll propagate through all fontstrings that inherit from it.

local name,_,style=TextStatusBarText:GetFont();
TextStatusBarText:SetFont(name,14,style);

Note:...
Forum: Lua/XML Help 10-20-20, 01:25 AM
Replies: 4
Views: 234
Posted By SDPhantom
This is forcing TSMSC_DB.isShown to true if it's...

This is forcing TSMSC_DB.isShown to true if it's false/nil right after you load your saved variable. If you're trying to set a default, you need to check for nil specifically.
Forum: AddOn Help/Support 10-19-20, 03:57 AM
Replies: 1
Views: 233
Posted By SDPhantom
Looks like AcidWeb did further digging to find...

Looks like AcidWeb did further digging to find out the addons are in categories restricted to the API. As you pointed out, two were in Discontinued and Outdated Mods. The remaining one, Hekili, is in...
Forum: Lua/XML Help 10-19-20, 12:02 AM
Replies: 15
Views: 1,347
Posted By SDPhantom
Line 51 was missing an end parenthesis, this was...

Line 51 was missing an end parenthesis, this was fixed.
Forum: Site help, bugs, suggestions/questions 10-18-20, 07:00 PM
Replies: 26
Views: 922
Posted By SDPhantom
Then what is it you're asking for? You're pretty...

Then what is it you're asking for? You're pretty much describing everything that WoWI already does besides forcing download authentications.
Forum: Site help, bugs, suggestions/questions 10-18-20, 02:58 PM
Replies: 26
Views: 922
Posted By SDPhantom
https://minion.mmoui.com/ WoWI is a part of...

https://minion.mmoui.com/

WoWI is a part of MMOUI and this is their 1st party addon manager.
Forum: Lua/XML Help 10-18-20, 02:16 AM
Replies: 15
Views: 1,347
Posted By SDPhantom
Notice how I said functionally different, meaning...

Notice how I said functionally different, meaning between the two, that else clause is the difference between auto-registering members and not. I also pointed out that the event logic was changed...
Forum: Lua/XML Help 10-17-20, 06:26 AM
Replies: 15
Views: 1,347
Posted By SDPhantom
Correct. Sure. You'll probably want to add the...

Correct.



Sure. You'll probably want to add the player's name to the table since I don't recall a way to retrieve it using just their GUID.




The functional difference between the two is line 27...
Forum: Lua/XML Help 10-17-20, 04:08 AM
Replies: 15
Views: 1,347
Posted By SDPhantom
It was coded with Classic in mind, where the...

It was coded with Classic in mind, where the Battleground groups piggyback off Instance groups.




The difference isn't as much the kind of content you run, but the type of group you run with. A...
Forum: Lua/XML Help 10-16-20, 03:49 AM
Replies: 15
Views: 1,347
Posted By SDPhantom
This one takes a slightly different approach and...

This one takes a slightly different approach and lets you add/remove players with slash commands.

local...
Forum: Lua/XML Help 10-14-20, 11:53 PM
Replies: 13
Views: 524
Posted By SDPhantom
Lua has always done this. I don't know how the...

Lua has always done this. I don't know how the original function handled it, but as it's written here, it never should have.
Forum: Lua/XML Help 10-14-20, 11:35 PM
Replies: 6
Views: 453
Posted By SDPhantom
Here's what I would do. local...

Here's what I would do.

local LevelTimes={};-- For this example, we'll say this is loaded from SavedVar

local...
Forum: Lua/XML Help 10-14-20, 05:14 PM
Replies: 6
Views: 453
Posted By SDPhantom
There's always a delay between running...

There's always a delay between running RequestTimePlayed() and when TIME_PLAYED_MSG fires because it has to get this info from the server.
Forum: Lua/XML Help 10-14-20, 04:57 PM
Replies: 13
Views: 524
Posted By SDPhantom
Explaining the error is a little complex, but...

Explaining the error is a little complex, but passing a string to your function made the call end up like this.
("AchievementFont_Small"):SetFont(GMFONTS["B"],12)
When you index a string like a...
Forum: Lua/XML Help 10-14-20, 10:04 AM
Replies: 2
Views: 310
Posted By SDPhantom
frame:IsForbidden()...

frame:IsForbidden() (https://wow.gamepedia.com/API_UIObject_IsForbidden) ≠ frame:IsProtected() (https://wow.gamepedia.com/API_Region_IsProtected)

Forbidden frames means you can't interact with them...
Forum: Lua/XML Help 10-14-20, 08:36 AM
Replies: 15
Views: 1,347
Posted By SDPhantom
I have some prototype code. Right now, it reports...

I have some prototype code. Right now, it reports everyone.

local...
Forum: RealUI 10-14-20, 02:04 AM
Replies: 3
Views: 510
Posted By SDPhantom
Were you trying to load the Retail version in...

Were you trying to load the Retail version in Classic?
Forum: Lua/XML Help 10-13-20, 11:09 PM
Replies: 15
Views: 1,347
Posted By SDPhantom
Sounds familiar. :rolleyes: Cheekiness aside,...

Sounds familiar. :rolleyes:

Cheekiness aside, there are a few ways to detect a party/raid member's death.

I would actually watch UNIT_HEALTH and react when UnitHealth() returns zero. The combat log...
Forum: AddOn Search/Requests 10-11-20, 12:57 AM
Replies: 6
Views: 2,253
Posted By SDPhantom
There really isn't any magical difference between...

There really isn't any magical difference between the two ways of registering events. The Lua engine is just slow compared to the game's C code. Any time spent calling your Lua code eats up CPU...
Forum: Macro Help 10-06-20, 02:04 PM
Replies: 4
Views: 1,889
Posted By SDPhantom
All you really need to do is replace "target"...

All you really need to do is replace "target" with "mouseover".



I whipped up a macro using a different approach. It scans through the marker indices for an unused one, starting with skull...
Forum: Lua/XML Help 10-05-20, 03:31 PM
Replies: 9
Views: 2,007
Posted By SDPhantom
Looks like it's also running from the OnShow...

Looks like it's also running from the OnShow (https://www.townlong-yak.com/framexml/live/TargetFrame.xml#520) handler on the template. You'll have to update the pointer after you hook the function....
Forum: Lua/XML Help 10-04-20, 01:54 PM
Replies: 9
Views: 2,007
Posted By SDPhantom
The arguments the new function takes is...

The arguments the new function takes is irrelevant to the taint system. It's merely the fact you're replacing the old one.

Instead of overwriting the function, I would secure hook...
Forum: Lua/XML Help 10-03-20, 05:44 PM
Replies: 9
Views: 2,007
Posted By SDPhantom
When it comes to the buff frames spreading taint,...

When it comes to the buff frames spreading taint, that's likely through the UIParent's Frame Position Manager. It's secure code in charge of shuffling frames around based on what's shown, including...
Forum: Lua/XML Help 10-03-20, 03:25 AM
Replies: 4
Views: 1,740
Posted By SDPhantom
If you look on datamining sites like WoWHead, you...

If you look on datamining sites like WoWHead, you might find spells with tooltips like "Deals (0.05*AP+8) damage over 12 seconds." The game parses these formulas and replaces them with the...
Forum: Lua/XML Help 10-03-20, 03:01 AM
Replies: 14
Views: 3,381
Posted By SDPhantom
debugprofilestop() returns the number of...

debugprofilestop() returns the number of milliseconds since the last time debugprofilestart() was called. The value is undefined if the later has never been called, but seems to tick at the same rate...
Showing results 1 to 25 of 500