Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 256
Search took 0.01 seconds.
Search: Posts Made By: LudiusMaximus
Forum: General Authoring Discussion Today, 02:54 AM
Replies: 12
Views: 268
Posted By LudiusMaximus
Of course, if there is an error anywhere in your...

Of course, if there is an error anywhere in your lua file (red bugsack minimap icon) it's likely that nothing will work.
Forum: General Authoring Discussion Yesterday, 06:22 PM
Replies: 12
Views: 268
Posted By LudiusMaximus
I'm not sure, if this works: function...

I'm not sure, if this works:
function EZTest_Config.DismountCheck.setFunc(state)
EZTestData.Config_Dismount = state
lib.ApplyLayout()
end

Try this and put a print in there to see if anything is...
Forum: Classic - AddOn Help/Support Yesterday, 06:16 PM
Replies: 4
Views: 107
Posted By LudiusMaximus
Instead of local...

Instead of
local BlizzardGameTooltipOnUpdateRetention = GameTooltip.OnUpdate
you would have to do
local BlizzardGameTooltipOnUpdateRetention = GameTooltip:GetScript("OnUpdate")

But what you are...
Forum: General Authoring Discussion Yesterday, 02:59 PM
Replies: 12
Views: 268
Posted By LudiusMaximus
Have you checked if your setFuncs get executed as...

Have you checked if your setFuncs get executed as expected?

function EZTest_Config.DismountCheck.setFunc(state)
print("-----> DismountCheck.setFunc", state)
EZTestData.Config_Dismount = state
...
Forum: General Authoring Discussion Yesterday, 06:59 AM
Replies: 12
Views: 268
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 Yesterday, 05:01 AM
Replies: 12
Views: 268
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 Yesterday, 04:51 AM
Replies: 4
Views: 107
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 Yesterday, 04:46 AM
Replies: 0
Views: 78
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: 261
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: 265,152
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,158
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,158
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,158
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: 525
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: 903
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: 556
Posted By LudiusMaximus
Great to know! Thanks!

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

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