Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 148
Search took 0.01 seconds.
Search: Posts Made By: doofus
Forum: Lua/XML Help 01-19-21, 06:53 PM
Replies: 10
Views: 835
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: 835
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: 835
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: 835
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: 835
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: 2,194
Posted By doofus
Many thanks, it works!

Many thanks, it works!
Forum: Lua/XML Help 12-29-20, 05:09 PM
Replies: 2
Views: 2,194
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: 2,003
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: 1,653
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: 0
Views: 1,544
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: 4,042
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: 4,042
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: 6,130
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: 6,130
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: 6,130
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...
Forum: Lua/XML Help 09-23-20, 09:52 AM
Replies: 10
Views: 6,130
Posted By doofus
Detecting conduits

Hello, as per title, is there a "Conduits" interface similar perhaps to C_AzeriteEssence.GetEssences() ?
Forum: Lua/XML Help 09-20-20, 06:13 AM
Replies: 0
Views: 4,285
Posted By doofus
Balance Druid Wrath and Starfire

These two spells now have an indicator, a count, indicating the next Eclipse. Is there a way to read it in LUA? I have tried GetSpellCharges, always returns 0, I also tried GetSpellInfo searching for...
Forum: Lua/XML Help 09-17-20, 09:27 AM
Replies: 11
Views: 12,175
Posted By doofus
Quite old thread, I am testing on SL, and Frost...

Quite old thread, I am testing on SL, and Frost DKs have a pet that lasts one minute, so I am using UnitExists("pet") and of course it returns false. This pet does not have an actionbar of its own....
Forum: Lua/XML Help 09-11-20, 02:59 PM
Replies: 0
Views: 3,456
Posted By doofus
Entering an instance LFG with spec switch

Would anyone know what events are fired when we enter an LFG instance and the game automatically switches talents for us when it teleports us in? Eg we are in tank spec and have queued as DPS so on...
Forum: Lua/XML Help 09-06-20, 03:58 PM
Replies: 6
Views: 6,728
Posted By doofus
OK that worked thanks.

OK that worked thanks.
Forum: Lua/XML Help 09-05-20, 07:02 AM
Replies: 6
Views: 6,728
Posted By doofus
On a similar note, I have a few macros...

On a similar note, I have a few macros like

Macro : "BOB"
/cast [@mouseover] MySpell

and then
SetBinding("F1", "MACRO BOB");

Due to limited number of macros, is there a way to use SetBinding in a...
Forum: Lua/XML Help 09-05-20, 03:11 AM
Replies: 2
Views: 5,554
Posted By doofus
A simple actionbar

Hello,

I have run out of space on my actionbars. I would like one extra. Nothing fancy, I am happy that it looks just like the ordinary, standard 6 actionbars. I do not want an addon that will...
Forum: Lua/XML Help 05-19-20, 04:09 PM
Replies: 0
Views: 999
Posted By doofus
Looking for Group

Does anyone know of an addon or has experience with the API to allow me to scan and apply for M+ dungeons based on various criteria ?
Forum: Lua/XML Help 05-16-20, 01:23 AM
Replies: 2
Views: 1,390
Posted By doofus
OK thanks for the pointers. The following code...

OK thanks for the pointers. The following code stores your equipped essences, in case anyone wants to know.

local essences = C_AzeriteEssence.GetEssences();
BA_Data["function...
Forum: Lua/XML Help 05-15-20, 04:39 PM
Replies: 2
Views: 1,390
Posted By doofus
Determine active essences

Is there a way to find out the currently active essences on the necklace?
Showing results 1 to 25 of 148