Showing results 1 to 25 of 158
Search took 0.01 seconds.
Search: Posts Made By: doofus
Forum: Lua/XML Help 03-04-23, 02:04 PM
Replies: 0
Views: 848
Posted By doofus
Enumerating DF talents

I have some code to determine picked talents. The code fails with some talents like Berserk, which has 2-3 extra talents/nodes that enhance the base Berserk. My code shows I have 0 points on Berserk...
Forum: Lua/XML Help 09-22-22, 04:51 PM
Replies: 0
Views: 784
Posted By doofus
Spirit Mend (Exotic Ability)

IsUsableSpell("Spirit Mend");

is useless

as is

playerSpellST, playerSpellDuration, playerSpellEnabled = GetSpellCooldown("Spirit Mend");

both return "true" (or the equivalent), with or without a...
Forum: Lua/XML Help 09-21-22, 12:25 PM
Replies: 4
Views: 1,795
Posted By doofus
Ah thanks, I am now doing that, no need to make...

Ah thanks, I am now doing that, no need to make an extra frame!
Forum: Lua/XML Help 09-21-22, 10:42 AM
Replies: 8
Views: 3,419
Posted By doofus
I have used the traits functions and it works (to...

I have used the traits functions and it works (to tell me what traits you have and at what rank)

Basically you go:

local lConfigID = C_ClassTalents.GetActiveConfigID();
local lConfigInfo =...
Forum: Lua/XML Help 09-20-22, 04:04 PM
Replies: 8
Views: 3,419
Posted By doofus
OK, but it does not show me how to enumerate the...

OK, but it does not show me how to enumerate the talents. Or how to look for a particular talent to be there or not, or what rank. That is all I need.

I have tried going down the C_Traits route but...
Forum: Lua/XML Help 09-20-22, 08:43 AM
Replies: 8
Views: 3,419
Posted By doofus
At this stage of my testing, I only want to...

At this stage of my testing, I only want to enumerate the talents. The talent trees resemble Classic/TBC/Wrath, however I cannot use this very simple code:

for i = 1, GetNumTalentTabs() do
for...
Forum: Lua/XML Help 09-20-22, 05:56 AM
Replies: 8
Views: 3,419
Posted By doofus
Patch 10 - new API?

Where can I get documentation for the new (possibly) API or changes? EG the talent tress are all different, they are more like Classic TBC/Wrath!

Edit: nevermind, I seem to have found a starting...
Forum: Lua/XML Help 09-17-22, 03:24 PM
Replies: 4
Views: 1,795
Posted By doofus
wow, it works, thanks!!!

wow, it works, thanks!!!
Forum: Lua/XML Help 09-17-22, 02:15 PM
Replies: 4
Views: 1,795
Posted By doofus
Display near focus frame

I have an addon which wants to display something, for example "hello". I am doing this with some code I found about like this:

fNoticeBoard = CreateFrame("Frame", "DA_NoticeBoard", UIParent);
...
Forum: Lua/XML Help 07-02-21, 03:04 AM
Replies: 3
Views: 3,360
Posted By doofus
A bit late reply, I have started using this today...

A bit late reply, I have started using this today and so far seems to work! But so did the IsSpellInRange for months/years before it decides to stop working ...
Forum: Lua/XML Help 01-19-21, 06:53 PM
Replies: 10
Views: 5,078
Posted By doofus
I do not use the event, my code runs off the...

I do not use the event, my code runs off the screen update.

Definitely there is a timing issue, I call UnitHealth() too quick after casting heal or damage, and I get the wrong value.

But I have...
Forum: Lua/XML Help 01-19-21, 12:54 PM
Replies: 10
Views: 5,078
Posted By doofus
That's precisely what I do. I am driven off of...

That's precisely what I do. I am driven off of frame updates. I am at 75% HP, I cast a heal, the UI shows 100% HP, UnitHealth() reads 85% or some other random figure for a few seconds.
Forum: Lua/XML Help 01-19-21, 11:06 AM
Replies: 10
Views: 5,078
Posted By doofus
Looking at this code you have posted: function...

Looking at this code you have posted:

function CompactUnitFrame_UpdateHealth(frame)
local health = UnitHealth(frame.displayedUnit);
if ( frame.optionTable.smoothHealthUpdates ) then
if (...
Forum: Lua/XML Help 01-19-21, 07:27 AM
Replies: 10
Views: 5,078
Posted By doofus
Unfortunately, calling UnitHealth still shows...

Unfortunately, calling UnitHealth still shows some "old" value when in fact the party/raid frames have already updated fully after a damage or heal, by eye it is even one second delay with just 25ms...
Forum: Lua/XML Help 01-18-21, 06:54 PM
Replies: 10
Views: 5,078
Posted By doofus
UnitHealth refresh

Every so often, sometimes as often as 3-4 times a second, I call UnitHealth(), and it seems it is "slow" to update, whereas the standard Blizzard raid frames are much more responsive. Looking at...
Forum: Lua/XML Help 01-18-21, 06:24 PM
Replies: 2
Views: 4,876
Posted By doofus
Many thanks, it works!

Many thanks, it works!
Forum: Lua/XML Help 12-29-20, 05:09 PM
Replies: 2
Views: 4,876
Posted By doofus
Anima Powers

Hello, is there an API to read the Anima Powers we get in Torghast?
Forum: Lua/XML Help 12-20-20, 02:50 AM
Replies: 2
Views: 3,504
Posted By doofus
Survival of the Fittest

I use the function IsUsableSpell() and GetSpellCooldown() to examine whether/when "Survival of the Fittest" becomes available.

This spell is only available if there is a Tenacity pet out.

If I am...
Forum: Lua/XML Help 12-12-20, 02:19 AM
Replies: 1
Views: 3,935
Posted By doofus
You need to register yourself for the AH events I...

You need to register yourself for the AH events
I copy paste my code

-- AH events
self:RegisterEvent("AUCTION_HOUSE_CLOSED");
self:RegisterEvent("AUCTION_HOUSE_SHOW");
...
Forum: Lua/XML Help 12-04-20, 04:31 AM
Replies: 2
Views: 3,585
Posted By doofus
Auction House Favorites limited

It seems I have reached the limit of my "favorites" on the new AH - it won't accept any more. I have used the favorites option as a quick way to get prices on a lot of items in one go; actually it is...
Forum: Lua/XML Help 10-01-20, 08:42 PM
Replies: 4
Views: 5,905
Posted By doofus
Wait, are you saying the various tooltips are...

Wait, are you saying the various tooltips are fictitious (more or less) ? Surely all the info comes from the server and needs to be adjusted for a thousand modifiers while DoTs are ticking?
Forum: Lua/XML Help 09-30-20, 12:35 AM
Replies: 4
Views: 5,905
Posted By doofus
Extra data on target debuffs

I am using UnitAura() to read target debuffs which is fine and has been for years. Recently I wanted to be able to read the remaining damage, tick damage, on DoTs on targets, but all I can read is...
Forum: Lua/XML Help 09-29-20, 06:51 AM
Replies: 10
Views: 10,884
Posted By doofus
OK, I have managed to hook onto the chat...

OK, I have managed to hook onto the chat functions!

Regarding covenants and conduits, I think the below extracts your active conduits. I have just tested it with all combinations I could think of,...
Forum: Lua/XML Help 09-28-20, 10:29 AM
Replies: 10
Views: 10,884
Posted By doofus
I had a look, cannot run because my son is using...

I had a look, cannot run because my son is using my WoW account, anyway, it seems it uses
ChatFrame_AddMessageEventFilter
and
RegisterEvent

Firstly, there is no event being fired when system or...
Forum: Lua/XML Help 09-27-20, 03:05 PM
Replies: 10
Views: 10,884
Posted By doofus
OK, great. Now this has brought me to another (I...

OK, great. Now this has brought me to another (I am sure basic) subject which I am confused about. How can an addon log/copy all the messages in a chat window? For example my addons display...
Showing results 1 to 25 of 158