Quantcast
WoWInterface - Search Results
Showing results 1 to 23 of 23
Search took 0.01 seconds.
Search: Posts Made By: DahkCeles
Forum: General Authoring Discussion 10-17-20, 10:04 AM
Replies: 5
Views: 464
Posted By DahkCeles
In that case, you might be able to get away with...

In that case, you might be able to get away with just using spellID 190356. I'm not sure if this corresponds to any particular ranks or classic vs retail... this is just grabbing it off wowpedia...
Forum: AddOn Search/Requests 10-17-20, 09:50 AM
Replies: 3
Views: 349
Posted By DahkCeles
I think Auctioneer uses LibDataBroker (which...

I think Auctioneer uses LibDataBroker (which TitanPanel is also partly compatible with)
Forum: AddOn Search/Requests 10-17-20, 09:48 AM
Replies: 4
Views: 539
Posted By DahkCeles
https://wow.gamepedia.com/API_EditMacro Before...

https://wow.gamepedia.com/API_EditMacro

Before installing this script, create a macro called "myFavouriteMacro" and drag it to an action bar.

You can turn the script into an addon using...
Forum: General Authoring Discussion 10-17-20, 08:45 AM
Replies: 5
Views: 464
Posted By DahkCeles
I've found there's two sources of delay,...

I've found there's two sources of delay, especially in Classic: (a) asynchronously querying the localized spell name; and (b) waiting for the spell book to be available at PLAYER_LOGIN.

I quickly...
Forum: AddOn Search/Requests 10-16-20, 08:28 PM
Replies: 4
Views: 539
Posted By DahkCeles
I'm sure there's a much more elegant solution,...

I'm sure there's a much more elegant solution, but I came up with this quickly:

/run local f = CreateFrame("Frame") f:RegisterEvent("PLAYER_PVP_TALENT_UPDATE") f:SetScript("OnEvent", function()...
Forum: AddOn Search/Requests 10-16-20, 06:19 PM
Replies: 2
Views: 460
Posted By DahkCeles
I would try inserting the following at line...

I would try inserting the following at line 12:



local function initCommon(frame) -- old line 11
if (BackdropTemplateMixin) then
Mixin(frame, BackdropTemplateMixin)
end
...
Forum: General Authoring Discussion 10-16-20, 06:01 PM
Replies: 2
Views: 377
Posted By DahkCeles
if (not KeyBindingFrame) then ...

if (not KeyBindingFrame) then
KeyBindingFrame_LoadUI()
end
KeyBindingFrame:Show()
Forum: Lua/XML Help 10-12-20, 03:02 PM
Replies: 15
Views: 1,456
Posted By DahkCeles
Perhaps try the addon "Recount". It won't...

Perhaps try the addon "Recount". It won't automatically spam the chat as the person dies, but it will track deaths on one of its pages and you can broadcast that to chat.

To build it yourself,...
Forum: Lua/XML Help 10-11-20, 10:14 AM
Replies: 5
Views: 732
Posted By DahkCeles
Although not applicable here since you found an...

Although not applicable here since you found an event that works.... this is an alternative solution you could use when its necessary to defer an update:


local function doSomething()
-- do...
Forum: AddOn Search/Requests 10-10-20, 10:10 AM
Replies: 6
Views: 2,312
Posted By DahkCeles
When doing work on CT_UnitFrames earlier this...

When doing work on CT_UnitFrames earlier this year, I found one of the biggest performance improvements came from taking old circa Burning Crusade code like this:
RegisterEvent("UNIT_HEALTH")

and...
Forum: Lua/XML Help 10-06-20, 08:29 PM
Replies: 1
Views: 830
Posted By DahkCeles
I cannot tell if you are asking how to...

I cannot tell if you are asking how to concatenate the text, or to pass a value 'by reference' into a table?


The concatenation operator is ..

"something something something" .. myVar .. "something...
Forum: AddOn Help/Support 10-04-20, 08:34 PM
Replies: 3
Views: 1,167
Posted By DahkCeles
I'm not sure its only the default ones... it...

I'm not sure its only the default ones... it might be any time you delete a keybinding including custom ones previously introduced by an addon.
Forum: Lua/XML Help 09-17-20, 08:15 PM
Replies: 1
Views: 8,817
Posted By DahkCeles
If you are trying to build an overlay over the...

If you are trying to build an overlay over the entire map frame (its borders, UI elements, etc.), then something like this might help:


local function myFunction()
local isMaximized =...
Forum: PTR General Discussion 09-11-20, 07:57 PM
Replies: 3
Views: 9,268
Posted By DahkCeles
Does this...

Does this work:

https://wow.gamepedia.com/API_C_Item.DoesItemExist
Forum: General Authoring Discussion 09-06-20, 08:04 PM
Replies: 3
Views: 7,765
Posted By DahkCeles
https://wow.gamepedia.com/Category:API_namespaces/...

https://wow.gamepedia.com/Category:API_namespaces/C_Commentator

This page lists all of the functions and things that are documented on Wowpedia for that part of the API.
Forum: Lua/XML Help 07-14-20, 08:31 PM
Replies: 3
Views: 965
Posted By DahkCeles
Would this...

Would this help?

https://wow.gamepedia.com/API_GameTooltip_SetHyperlink


LinkFrame:HookScript("OnEnter", function()
if (itemLink) then
GameTooltip:SetOwner(LinkFrame, "ANCHOR_TOP")
...
Forum: Lua/XML Help 07-01-20, 08:58 AM
Replies: 15
Views: 1,386
Posted By DahkCeles
This makes sense, actually. I've considered...

This makes sense, actually. I've considered adding a flag my addon to detect when something like UNIT_AURA has happened a bazillion times in just one frame, and waiting until the next frame to...
Forum: Lua/XML Help 06-26-20, 06:09 PM
Replies: 1
Views: 1,164
Posted By DahkCeles
I don't really know much about arena, but after...

I don't really know much about arena, but after taking a look at FrameXML/Blizzard_ArenaUI.lua (https://www.townlong-yak.com/framexml/live/Blizzard_ArenaUI/Blizzard_ArenaUI.lua) for the first time, I...
Forum: Lua/XML Help 06-25-20, 09:32 AM
Replies: 16
Views: 1,928
Posted By DahkCeles
Just imagining it makes me...

Just imagining it makes me shudder...

:D:):confused::o Did :confused: someone :mad: say [Thunderfury, Blessed Blade of the Windseeker]:D?:):confused::confused:

Just replace smilies with raid...
Forum: Lua/XML Help 06-22-20, 10:16 PM
Replies: 16
Views: 1,928
Posted By DahkCeles
Adding on to what Seerah said: The |T ... |t...

Adding on to what Seerah said:

The |T ... |t format is already partly populated in a table called ICON_LIST, so you can do something like this:

SendChatMessage(ICON_LIST[1].."0|t".."Hello World"),...
Forum: Lua/XML Help 06-14-20, 08:59 AM
Replies: 4
Views: 1,043
Posted By DahkCeles
I studied your code for a solid 15 minutes,...

I studied your code for a solid 15 minutes, comparing it to mine to spot the difference. I never thought to check the x/y coord. lol
Forum: Macro Help 06-13-20, 07:14 AM
Replies: 2
Views: 1,553
Posted By DahkCeles
Totally agree with the previous post; just...

Totally agree with the previous post; just providing examples with and without the square brackets:


/cast [modifier:SELFCAST, @player] [@mouseover] [ ] Greater Heal
if my selfcast modifier key is...
Forum: AddOn Help/Support 06-12-20, 07:43 PM
Replies: 6
Views: 4,306
Posted By DahkCeles
Solution

For any addon devs: CTMod 8.3.0.10 fixed this using the following code:

CinematicFrame:SetScript("OnShow", nil)
CinematicFrame:SetScript("OnHide", nil)


Fundamentally, the problem was that...
Showing results 1 to 23 of 23