Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 252
Search took 0.02 seconds.
Search: Posts Made By: LudiusMaximus
Forum: General Authoring Discussion Today, 06:59 AM
Replies: 3
Views: 87
Posted By LudiusMaximus
OK, can you share your toc file? If your...

OK, can you share your toc file? If your SavedVariables are not working, we first have to make sure it is setup there correctly.
Forum: General Authoring Discussion Today, 05:01 AM
Replies: 3
Views: 87
Posted By LudiusMaximus
Hello and welcome! Could you wrap your code in...

Hello and welcome!

Could you wrap your code in the [ CODE ] or [ highlight="Lua"] tags? (The Buttons above your advanced editing text box.) This makes reading much easier.

Also, I have not fully...
Forum: Classic - AddOn Help/Support Today, 04:51 AM
Replies: 1
Views: 52
Posted By LudiusMaximus
Why don't you hook the scripts instead of...

Why don't you hook the scripts instead of overriding them?
Forum: Lua/XML Help Today, 04:46 AM
Replies: 0
Views: 33
Posted By LudiusMaximus
AceDB writing random empty entries in SavedVariables

This is the minimal working example.

Core.lua:
Addon = LibStub("AceAddon-3.0"):NewAddon("mwe3")

Addon.defaults = {
profile = {
mySituations = {
-- Default values for all situations.
...
Forum: AddOn Help/Support 01-10-21, 06:17 AM
Replies: 2
Views: 255
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: 436
Views: 264,693
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: 1,111
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: 1,111
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: 1,111
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: 505
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: 872
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: 542
Posted By LudiusMaximus
Great to know! Thanks!

Great to know! Thanks!
Forum: Lua/XML Help 12-28-20, 07:55 PM
Replies: 3
Views: 438
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: 438
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: 542
Posted By LudiusMaximus
Excellent!! Thanks a lot. :-)

Excellent!! Thanks a lot. :-)
Forum: Lua/XML Help 12-28-20, 04:40 PM
Replies: 4
Views: 542
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,525
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,497
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,525
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,525
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,525
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,685
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,685
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,685
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,685
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....
Showing results 1 to 25 of 252