Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 28
Search took 0.01 seconds.
Search: Posts Made By: DahkCeles
Forum: Lua/XML Help 10-29-20, 05:28 PM
Replies: 7
Views: 363
Posted By DahkCeles
And I got the WoD map working too. The nodes...

And I got the WoD map working too. The nodes start at "TaxiButton1" and keep increasing from there.

If you don't mind, I might include this in my own addon as well. It seems like a handy feature...
Forum: Lua/XML Help 10-29-20, 05:00 PM
Replies: 7
Views: 363
Posted By DahkCeles
Further testing: underwater nodes in Vashj'ir do...

Further testing: underwater nodes in Vashj'ir do not play nice with above-water nodes in the Eastern Kingdoms. A few extra lines of code can solve that problem...



-- Step 1: Wait for the flight...
Forum: Lua/XML Help 10-29-20, 04:07 PM
Replies: 7
Views: 363
Posted By DahkCeles
I had more time to do some toying around, and...

I had more time to do some toying around, and here's a simple solution. I believe the flight paths are already marked, just invisible and changed to a different icon. They appear briefly when you...
Forum: Lua/XML Help 10-29-20, 09:10 AM
Replies: 7
Views: 363
Posted By DahkCeles
https://www.townlong-yak.com/framexml/live/Blizzar...

https://www.townlong-yak.com/framexml/live/Blizzard_FlightMap/FM_FlightPathDataProvider.lua

This is how FlightMapFrame populates presently. Line 138 is important: pin:SetPosition()

I wonder what...
Forum: AddOn Help/Support 10-29-20, 07:17 AM
Replies: 6
Views: 282
Posted By DahkCeles
I don't know how nameplate numbering works, but...

I don't know how nameplate numbering works, but if it always starts at 1 then maybe you could add this optimization:


for i = 1, 40 do
id = "nameplate" .. i
if UnitExists(id) then
--...
Forum: General Authoring Discussion 10-17-20, 10:04 AM
Replies: 5
Views: 638
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: 464
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: 699
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: 638
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: 699
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: 591
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: 481
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,787
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: 926
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,557
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: 1,026
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,447
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,897
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,393
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,807
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: 1,005
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,430
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,209
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,987
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,987
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"),...
Showing results 1 to 25 of 28