Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 41
Search took 0.01 seconds.
Search: Posts Made By: DahkCeles
Forum: Wish List 04-11-21, 08:42 AM
Replies: 2
Views: 130
Posted By DahkCeles
Something I threw together really quick, using...

Something I threw together really quick, using the uiMapID of the Oribos top floor (because I happened to be standing next to a portal when I logged on) and fps of 45 and 60 (because I cannot dream...
Forum: AddOn Search/Requests 04-07-21, 05:28 PM
Replies: 4
Views: 274
Posted By DahkCeles
Building on what Xrystal wrote... /run...

Building on what Xrystal wrote...


/run hooksecurefunc("CompactUnitFrame_UpdateName", function(self) if self.name then self.name:SetText(UnitExists(self.unit) and UnitClass(self.unit) or "Unknown")...
Forum: Lua/XML Help 04-06-21, 10:37 AM
Replies: 19
Views: 801
Posted By DahkCeles
Well in that light.... here is the world's most...

Well in that light.... here is the world's most inefficient way of doing it:


local f = CreateFrame("Frame")
f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
f:HookScript("OnEvent", function(self, event,...
Forum: Lua/XML Help 04-05-21, 08:52 PM
Replies: 19
Views: 801
Posted By DahkCeles
I would make a table with just the few (three?)...

I would make a table with just the few (three?) spellIDs corresponding to summoning Blingtrons. Given its so few in number, a manual lookup is probably easier than trying to put together a solution...
Forum: Lua/XML Help 04-05-21, 05:48 PM
Replies: 19
Views: 801
Posted By DahkCeles
GetSpellInfo(spellName) and...

GetSpellInfo(spellName) and GetSpellLink(spellName) only return information for spells in your own spell book. This is a way to confirm you have actually learned a spell.

GetSpellInfo(spellID) and...
Forum: AddOn Search/Requests 01-23-21, 03:37 PM
Replies: 9
Views: 7,215
Posted By DahkCeles
I think its just missing PLAYER_LOGIN

I think its just missing PLAYER_LOGIN
Forum: AddOn Search/Requests 01-23-21, 09:59 AM
Replies: 9
Views: 7,215
Posted By DahkCeles
I have never used merc mode, but I'm going to...

I have never used merc mode, but I'm going to guess that UNIT_FACTION (https://wow.gamepedia.com/UNIT_FACTION) would fire with arg1="player". You might also be able to try SPELLS_CHANGED...
Forum: Lua/XML Help 12-22-20, 07:01 PM
Replies: 8
Views: 3,057
Posted By DahkCeles
Your answer might be...

Your answer might be here:

https://www.townlong-yak.com/framexml/live/Blizzard_GuildUI/Blizzard_GuildRoster.lua#361

I'm not in a guild, so I have no way to test... but would something like this do...
Forum: AddOn Search/Requests 12-21-20, 07:16 PM
Replies: 5
Views: 3,930
Posted By DahkCeles
Let anyone in the guild edit their guild note, to...

Let anyone in the guild edit their guild note, to insert the name-server of a non-guild-member they enjoyed running with. If you have space, you can insert additional ones separated by commas.


Now...
Forum: Lua/XML Help 11-22-20, 11:32 AM
Replies: 8
Views: 1,841
Posted By DahkCeles
Option 1: Add a safeguard to RecordPet() so that...

Option 1: Add a safeguard to RecordPet() so that it doesn't try to execute when information is missing.


function BattleDex.RecordPet(species, level, quality, primary)
if (species)...
Forum: AddOn Help/Support 11-08-20, 11:54 AM
Replies: 8
Views: 5,254
Posted By DahkCeles
"The only time you need to consume an xml...

"The only time you need to consume an xml template"

---

It can also be the case if you are interfacing with Blizzard's code that assumes a template. For example, the world map will acquire pins...
Forum: Minion 11-08-20, 11:40 AM
Replies: 7
Views: 9,287
Posted By DahkCeles
I've never used Minion, but I presume it has some...

I've never used Minion, but I presume it has some sort of list of installed addons. I suppose an unrecognized one could be listed but 'greyed out' to say it knows something is there (from reading...
Forum: AddOn Help/Support 11-06-20, 04:00 PM
Replies: 8
Views: 5,254
Posted By DahkCeles
In certain narrow cases, XML is 'mandatory' if...

In certain narrow cases, XML is 'mandatory' if you need to absolutely need to create an XML template. Examples would be pins on the 8.0.1 world map; I don't think that can be done without an XML...
Forum: Lua/XML Help 10-29-20, 05:28 PM
Replies: 7
Views: 3,903
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: 3,903
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: 3,903
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: 3,903
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: 3,719
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: 3,797
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: 4,343
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: 9
Views: 7,215
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: 3,797
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: 9
Views: 7,215
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: 3,372
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: 2,638
Posted By DahkCeles
if (not KeyBindingFrame) then ...

if (not KeyBindingFrame) then
KeyBindingFrame_LoadUI()
end
KeyBindingFrame:Show()
Showing results 1 to 25 of 41