Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 248
Search took 0.02 seconds.
Search: Posts Made By: LudiusMaximus
Forum: AddOn Help/Support 01-10-21, 06:17 AM
Replies: 2
Views: 237
Posted By LudiusMaximus
GetXPExhaustion...

GetXPExhaustion (https://wow.gamepedia.com/API_GetXPExhaustion) returns nil when you are not rested. So instead of

if restedxp == 0

you have to do

if restedxp == nil

or just
Forum: Released AddOns 01-07-21, 02:10 PM
Replies: 435
Views: 263,066
Posted By LudiusMaximus
I am wondering how we should handle SL flight...

I am wondering how we should handle SL flight data. Because the flight time through the "worm hole" when traveling between covenant regions and oribos now actually depends on how fast your hard drive...
Forum: Lua/XML Help 12-29-20, 06:43 PM
Replies: 4
Views: 967
Posted By LudiusMaximus
Absolutely amazing!! Thank you so much!

Absolutely amazing!! Thank you so much!
Forum: Lua/XML Help 12-29-20, 12:49 PM
Replies: 4
Views: 967
Posted By LudiusMaximus
No, it seems that when you are defining a new...

No, it seems that when you are defining a new "disabled" function, the disabled status of the parent group is ignored.
Forum: Lua/XML Help 12-29-20, 08:47 AM
Replies: 4
Views: 967
Posted By LudiusMaximus
AceConfig-3.0 Options: Inherit "disabled" from parent group explicitly?

I want to make a "reset to default" button next to every slider in my settings.
To safe code lines and make it more maintainable, I have a function to create this reset button:

local function...
Forum: Site help, bugs, suggestions/questions 12-29-20, 07:49 AM
Replies: 2
Views: 436
Posted By LudiusMaximus
Author Interface List broken?

This is not a big thing.

But when I look at this page
https://www.wowinterface.com/portal.php?id=1228&a=list
almost all of my addons are marked as "popular".

However,...
Forum: Lua/XML Help 12-29-20, 07:39 AM
Replies: 1
Views: 768
Posted By LudiusMaximus
AceConfig-3.0 Options: Button with empty name and tooltip?

I am using the AceConfig-3.0 Options (https://www.wowace.com/projects/ace3/pages/ace-config-3-0-options-tables) button with a custom image. The image should be self-explanatory so I do not want to...
Forum: Lua/XML Help 12-29-20, 03:05 AM
Replies: 4
Views: 491
Posted By LudiusMaximus
Great to know! Thanks!

Great to know! Thanks!
Forum: Lua/XML Help 12-28-20, 07:55 PM
Replies: 3
Views: 392
Posted By LudiusMaximus
Brilliant!! Thanks a lot. Kind of stupid that I...

Brilliant!! Thanks a lot. Kind of stupid that I did not think of this, but this "2nd and 3rd value" thing got me thinking that this is the only way. It works now.
Forum: Lua/XML Help 12-28-20, 06:00 PM
Replies: 3
Views: 392
Posted By LudiusMaximus
AceConfig-3.0 Options: How to pass imageCoords?

In AceConfig-3.0 Options (https://www.wowace.com/projects/ace3/pages/ace-config-3-0-options-tables) you can set an image to be displayed instead of an execute button.

But I don't understand how you...
Forum: Lua/XML Help 12-28-20, 05:30 PM
Replies: 4
Views: 491
Posted By LudiusMaximus
Excellent!! Thanks a lot. :-)

Excellent!! Thanks a lot. :-)
Forum: Lua/XML Help 12-28-20, 04:40 PM
Replies: 4
Views: 491
Posted By LudiusMaximus
Use atlas name in string?

Looking at the global strings (https://www.townlong-yak.com/framexml/live/GlobalStrings.lua) I have figured out that you can use textures in strings like...
Forum: Lua/XML Help 12-23-20, 03:58 AM
Replies: 5
Views: 1,413
Posted By LudiusMaximus
I think I got it working now. Made my own local...

I think I got it working now.

Made my own local copy of UIDropDownMenu_AddButton()
and found out that the taint is not spread if I remove the line
button.checked = info.checked;
Forum: Lua/XML Help 12-20-20, 05:41 AM
Replies: 2
Views: 1,319
Posted By LudiusMaximus
That's really strange. It makes you wonder what...

That's really strange. It makes you wonder what IsUsableSpell() is good for regarding pet abilities.

A workaround could be this:

local _, id = GetSpellBookItemName(14, BOOKTYPE_PET)
if id == 264735...
Forum: Lua/XML Help 12-19-20, 12:03 PM
Replies: 5
Views: 1,413
Posted By LudiusMaximus
All right, I built my own drop down list, hoping...

All right, I built my own drop down list, hoping that I can use this without spreading taint.

But it turns out that even this miminal example spreads the taint:

local myDropdown =...
Forum: Lua/XML Help 12-18-20, 11:47 AM
Replies: 5
Views: 1,413
Posted By LudiusMaximus
Thanks! This explains a lot, but it also seems...

Thanks! This explains a lot, but it also seems like there is not much I can do to resolve this. Maybe I can hide the drop down and replace it with my own. Will give this a try.
Forum: Lua/XML Help 12-17-20, 06:55 PM
Replies: 5
Views: 1,413
Posted By LudiusMaximus
Mysterious taint for changing a drop down selection?

Hi,

my addon DynamicCam is almost useless without the ActionCam. The newly introduced accessibility feature "keep character centered" disables the ActionCam, so I want to prevent users from enabling...
Forum: Lua/XML Help 12-05-20, 06:48 PM
Replies: 6
Views: 1,657
Posted By LudiusMaximus
Yes, I don't want to interfere with other addons....

Yes, I don't want to interfere with other addons. So I only want the alerts to ignore parent UI when *my* addon fades out UIParent. But I got it to work. See my "UPDATE" in the previous post.
Forum: Lua/XML Help 12-05-20, 05:57 PM
Replies: 6
Views: 1,657
Posted By LudiusMaximus
Wow, this is amazing!! How do you get to know...

Wow, this is amazing!! How do you get to know stuff like this?? :-D

Could you also think of a way to SetIgnoreParentAlpha() of alert frames that are already shown; i.e. after the resetterFunc has...
Forum: Lua/XML Help 12-05-20, 12:53 PM
Replies: 6
Views: 1,657
Posted By LudiusMaximus
All right, thanks! I was afraid so... :-) I...

All right, thanks! I was afraid so... :-)

I already looked in the Blizzard code and found AlertFrameSystems.lua to be most promising.
It includes this function:
function...
Forum: Lua/XML Help 12-04-20, 06:40 PM
Replies: 6
Views: 1,657
Posted By LudiusMaximus
AlertFrame identified by numbers?

I want to set the UIFrame alpha to 0 but still see the alert frames (e.g. from achievements or world quests). So I guess what I have to do is run SetIgnoreParentAlpha(true) on the respective frames....
Forum: General Authoring Discussion 11-12-20, 02:11 AM
Replies: 2
Views: 2,789
Posted By LudiusMaximus
Hi, this has been discussed already...

Hi, this has been discussed already here:
https://www.wowinterface.com/forums/showthread.php?t=57394

TLDR: You have to use the upload API to mark an upload as "classic". There is no way of doing...
Forum: Lua/XML Help 11-03-20, 02:55 AM
Replies: 4
Views: 2,678
Posted By LudiusMaximus
You could store all tooltip lines, completely...

You could

store all tooltip lines,
completely clear the tooltip,
reprint all tooltip lines except the money frame line.

Just after you clear, you have to temporarily override GameTooltip.GetItem...
Forum: Lua/XML Help 10-31-20, 04:48 AM
Replies: 4
Views: 2,742
Posted By LudiusMaximus
OK, turns out you were right. I got another addon...

OK, turns out you were right. I got another addon hooking OnTooltipSetItem executing ClearLines().
If that goes first, it's like:

GameTooltip:HookScript("OnTooltipSetItem", function(self)
...
Forum: Lua/XML Help 10-31-20, 04:41 AM
Replies: 4
Views: 2,742
Posted By LudiusMaximus
So, this is interesting: I disabled all other...

So, this is interesting:

I disabled all other addons, and now I get the same for both cases:

1551.817 SetItem
1551.85 Cleared
1551.85 SetItem
1552.051 Cleared
1552.051 SetItem
1552.252 Cleared
Showing results 1 to 25 of 248