Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: SDPhantom
Forum: Macro Help Yesterday, 07:54 PM
Replies: 1
Views: 127
Posted By SDPhantom
First, you say yourself you can just use Prowl...

First, you say yourself you can just use Prowl alone to end up stealthed and in Cat Form. You don't need to manually cast Cat Form.

Secondly, unexpected things can and do happen when you mash keys....
Forum: Graphics Help Yesterday, 07:36 PM
Replies: 4
Views: 195
Posted By SDPhantom
You would use two texture objects. For the...

You would use two texture objects. For the ability icon, use SetPortraitToTexture() (https://wow.gamepedia.com/API_SetPortraitToTexture) to convert it to a circular image. Then you put the artifact...
Forum: Lua/XML Help 11-22-20, 05:47 PM
Replies: 8
Views: 269
Posted By SDPhantom
I'd honestly convert it to a loop. function...

I'd honestly convert it to a loop.

function BattleDex.RecordBattle()
if not C_PetBattles.IsWildBattle() then return; end

local primary=0;
for i=1,C_PetBattles.GetNumPets(2) do
local...
Forum: Lua/XML Help 11-21-20, 11:46 PM
Replies: 8
Views: 269
Posted By SDPhantom
That's the spot it's complaining about. Line 69...

That's the spot it's complaining about. Line 69 in function BattleDex.RecordPet(). The only line there that would generate that error (there are other operations like it, but it would throw a...
Forum: Lua/XML Help 11-21-20, 09:00 PM
Replies: 8
Views: 269
Posted By SDPhantom
SavedVars should be ready by the time...

SavedVars should be ready by the time ADDON_LOADED fires. It's part of the addon loading process. The error isn't complaining about the table itself being nil, there's a different error for that. The...
Forum: Lua/XML Help 11-21-20, 05:37 AM
Replies: 1
Views: 187
Posted By SDPhantom
I was having problems with this during BfA and...

I was having problems with this during BfA and with BigWigs in particular.
I ended up splitting the bigger LoD packages into smaller pieces to deal with it, then wrote a preloader that would split...
Forum: Lua/XML Help 11-07-20, 06:49 PM
Replies: 6
Views: 2,330
Posted By SDPhantom
Fonts are usually all gathered in both Fonts.xml...

Fonts are usually all gathered in both Fonts.xml and FontStyles.xml in both FrameXML and SharedXML folders.

FrameXML/Fonts.xml...
Forum: Lua/XML Help 11-07-20, 06:24 PM
Replies: 6
Views: 1,309
Posted By SDPhantom
Lua 5.1 Reference Manual 2.5.9...

Lua 5.1 Reference Manual 2.5.9 (http://www.lua.org/manual/5.1/manual.html#2.5.9)
Forum: AddOn Help/Support 11-05-20, 11:18 PM
Replies: 8
Views: 2,521
Posted By SDPhantom
I'd assume the author would have to put the...

I'd assume the author would have to put the request in. The staff would have no clue what the author intends to do without talking with them about it. I think previously, the beta categories used to...
Forum: General Authoring Discussion 10-30-20, 04:30 PM
Replies: 5
Views: 1,498
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: 4,576
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: 3,249
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: 1,472
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: 1,898
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: 948
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: 8
Views: 2,521
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: 3,213
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: 28
Views: 2,519
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: 28
Views: 2,519
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: 3,213
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: 3,213
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: 3,213
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: 3,213
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: 1,727
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: 1,269
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...
Showing results 1 to 25 of 500