Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: General Authoring Discussion Today, 04:30 PM
Replies: 4
Views: 135
Posted By SDPhantom
From what I see, you're defining the function as...

From what I see, you're defining the function as AMine:getListFromDB() and calling as self.getListFromDB().

In this case, the first argument gets passed into the implicit variable self and DB gets...
Forum: AddOn Help/Support 10-27-20, 07:04 AM
Replies: 17
Views: 3,268
Posted By SDPhantom
This is similar to what I did with my personal...

This is similar to what I did with my personal nameplate addon. I modified it to duplicate the layout of your existing code. If you're running this on Classic, change the first hook from...
Forum: Macro Help 10-27-20, 06:37 AM
Replies: 4
Views: 2,279
Posted By SDPhantom
Might try: #showtooltip /cancelform...

Might try:

#showtooltip
/cancelform [form]
/castsequence reset=10 Innervate, Moonkin Form


You're going to have to hit it twice since both abilities trigger the GCD.
Forum: Lua/XML Help 10-27-20, 06:20 AM
Replies: 3
Views: 288
Posted By SDPhantom
The first you listed is the function definition...

The first you listed is the function definition while the other two are calls to it.
That aside, without being able to see your code, it's impossible to debug it.
Forum: AddOn Search/Requests 10-22-20, 03:56 PM
Replies: 3
Views: 647
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: 377
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: 355
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,748
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: 27
Views: 1,282
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: 27
Views: 1,282
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,748
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,748
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,748
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,748
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: 769
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: 640
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: 640
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: 769
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: 441
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,748
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: 635
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,748
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,541
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: 2,407
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,527
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....
Showing results 1 to 25 of 500