Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: SDPhantom
Forum: Classic - AddOn Help/Support Today, 07:45 PM
Replies: 4
Views: 210
Posted By SDPhantom
It's purely cosmetic and hinders readability....

It's purely cosmetic and hinders readability. Extreme cases like shortening variable names to a single letter may run afoul of Blizzard's addon policy due to their obfuscation rule. You can only...
Forum: Classic - AddOn Help/Support Today, 05:13 PM
Replies: 4
Views: 210
Posted By SDPhantom
I haven't tested this past running it through a...

I haven't tested this past running it through a Lua compiler.
GameTooltip:HookScript("OnShow",function(s)if _G[s:GetName().."TextLeft1"]:GetText():find"^Corpse of "then s:Hide()end end)


I revised...
Forum: Macro Help 03-15-24, 11:29 AM
Replies: 4
Views: 1,560
Posted By SDPhantom
This is what I'd suggest. Since all 3 spells only...

This is what I'd suggest. Since all 3 spells only work on friendly targets, that's one less thing to be checked. Also combining it into a single /cast command ensures only one spell gets called and...
Forum: Macro Help 03-07-24, 09:50 AM
Replies: 6
Views: 358
Posted By SDPhantom
This is what the checkbox ends up calling /run if...

This is what the checkbox ends up calling
/run if not ChatFrame_ContainsMessageGroup(ChatFrame1,"SYSTEM") then ChatFrame_AddMessageGroup(ChatFrame1,"SYSTEM");end
/run if...
Forum: Lua/XML Help 02-05-24, 08:31 PM
Replies: 1
Views: 499
Posted By SDPhantom
The way Lua handles obj.method() vs obj:method()...

The way Lua handles obj.method() vs obj:method() is simple, but not straightforward.
When calling a function, obj:method(...) is the same as obj.method(obj,...).
When defining a function,...
Forum: Lua/XML Help 02-03-24, 12:35 AM
Replies: 5
Views: 648
Posted By SDPhantom
I don't see anything standing out at the moment....

I don't see anything standing out at the moment. I'd suggest making sure you have error alerts turned on, I think they're off by default.
The command is /console scriptErrors 1



PS:

-Lua: about -...
Forum: Lua/XML Help 02-01-24, 12:20 PM
Replies: 2
Views: 447
Posted By SDPhantom
Have you registered your addon chat messages to...

Have you registered your addon chat messages to be received using C_ChatInfo.RegisterAddonMessagePrefix() (https://warcraft.wiki.gg/wiki/API_C_ChatInfo.RegisterAddonMessagePrefix)?
This tells the...
Forum: Lua/XML Help 02-01-24, 12:08 PM
Replies: 5
Views: 648
Posted By SDPhantom
You can use PLAYER_DEAD...

You can use PLAYER_DEAD (https://warcraft.wiki.gg/wiki/PLAYER_DEAD) when the user has died. For raid/party members, I'd rather track their health by UNIT_HEALTH...
Forum: AddOn Help/Support 01-25-24, 11:13 PM
Replies: 3
Views: 596
Posted By SDPhantom
It depends on what tasks you want to do. Keep in...

It depends on what tasks you want to do. Keep in mind things like moving, casting a spell, using abilities, etc are protected actions and can't be run autonomously.
Forum: Lua/XML Help 01-25-24, 11:08 PM
Replies: 1
Views: 481
Posted By SDPhantom
I made Modern TargetFrame...

I made Modern TargetFrame (https://www.wowinterface.com/downloads/info25510-ModernTargetFrame.html) to backport the WotLK Target Frame to Classic Era. It'll work for the most part with some caveats....
Forum: Lua/XML Help 01-25-24, 10:52 PM
Replies: 1
Views: 352
Posted By SDPhantom
If this is related to your other post...

If this is related to your other post (https://www.wowinterface.com/forums/showthread.php?t=59773), we're not allowed to help with projects running on private servers.
Forum: AddOn Search/Requests 01-25-24, 10:49 PM
Replies: 1
Views: 470
Posted By SDPhantom
As per site rules, discussion involving private...

As per site rules, discussion involving private servers is prohibited.
Forum: Lua/XML Help 01-22-24, 07:22 PM
Replies: 6
Views: 606
Posted By SDPhantom
Did you try making the EditBox wider? It looks...

Did you try making the EditBox wider? It looks like the text is having problems fitting all 3 digits until you move the cursor back to the beginning. It's possible it could be some anomaly in an...
Forum: AddOn Help/Support 01-20-24, 08:44 AM
Replies: 12
Views: 1,128
Posted By SDPhantom
It didn't have the SoundKitIDs listed when I...

It didn't have the SoundKitIDs listed when I tried to use it earlier.
Seems to be there now.
Forum: AddOn Help/Support 01-19-24, 05:23 PM
Replies: 12
Views: 1,128
Posted By SDPhantom
There's a lookup table in the DBC files....

There's a lookup table in the DBC files. Currently, WoW.Tools is the only site I can find with complete info though it's been discontinued since Dec 2022...
Forum: AddOn Help/Support 01-17-24, 03:54 PM
Replies: 12
Views: 1,128
Posted By SDPhantom
In all honesty, you don't need to wait for events...

In all honesty, you don't need to wait for events to fire to use MuteSoundFile(). You can call it from the main chunk. Also, SoundKitIDs can map to multiple FileIDs in which a random one is picked at...
Forum: AddOn Help/Support 01-17-24, 02:55 PM
Replies: 12
Views: 1,128
Posted By SDPhantom
Considering MuteSoundFile() works for C-side...

Considering MuteSoundFile() works for C-side calls too (you can mute creature sounds with it), I think it'll be fine.
Forum: AddOn Help/Support 01-17-24, 01:46 AM
Replies: 12
Views: 1,128
Posted By SDPhantom
The lines responsible for playing the target...

The lines responsible for playing the target select and lost sounds are...
Forum: AddOn Search/Requests 01-16-24, 11:28 PM
Replies: 3
Views: 1,020
Posted By SDPhantom
When you log on an alt, it gathers and stores...

When you log on an alt, it gathers and stores info on it. For recipes, you have to open your professions on the alt at least once for it to store what recipes you have. After then, it'll show on any...
Forum: AddOn Search/Requests 01-13-24, 02:00 AM
Replies: 3
Views: 1,020
Posted By SDPhantom
Only other one I can think of is Altoholic...

Only other one I can think of is Altoholic (https://www.wowinterface.com/downloads/info8533-Altoholic.html).
Forum: Lua/XML Help 01-11-24, 12:51 AM
Replies: 3
Views: 572
Posted By SDPhantom
In all honestly, I rather use buttons than...

In all honestly, I rather use buttons than generic frames to receive clicks. As I said earlier, mouse events require the frame to be "visible" already to fire, they shouldn't if they're hidden. This...
Forum: Lua/XML Help 01-09-24, 07:34 PM
Replies: 3
Views: 572
Posted By SDPhantom
The first example, you're calling yourself...

The first example, you're calling yourself instead of registering a function to run as a script. What happens when you make a function call as an argument for another function is it runs the function...
Forum: AddOn Search/Requests 01-01-24, 04:34 PM
Replies: 3
Views: 1,096
Posted By SDPhantom
These functions exist, but don't have any slash...

These functions exist, but don't have any slash command strings registered for them.

SlashCmdList["UI_ERRORS_OFF"] =...
Forum: AddOn Help/Support 01-01-24, 04:21 PM
Replies: 2
Views: 792
Posted By SDPhantom
This is basically the difference between hardware...

This is basically the difference between hardware and software cursor settings in many games. Anything rendered by the game is always going to have significant latency added on top of what the OS is...
Forum: Macro Help 12-25-23, 01:50 AM
Replies: 10
Views: 2,787
Posted By SDPhantom
Unfortunately, I can't test it. Multi-monitor...

Unfortunately, I can't test it. Multi-monitor setups don't handle spontaneous resolution changes well.
Showing results 1 to 25 of 500