Showing results 1 to 25 of 136
Search took 0.01 seconds.
Search: Posts Made By: Sweetsour
Forum: AddOn Help/Support 09-09-24, 11:18 AM
Replies: 0
Views: 663
Posted By Sweetsour
Mouseover Issue in WeakAuras

Hello,

I'm working on a WeakAura that gives users the option to allow mouseover opacity on a select element. Everything's been going well, but I hit a snag with the mouseover script.

To preface,...
Forum: AddOn Help/Support 08-16-24, 10:56 PM
Replies: 8
Views: 3,779
Posted By Sweetsour
Spectacular, that did it! One last issue that...

Spectacular, that did it!

One last issue that persisted was the button textures would lose their alternating pattern when scrolling. The fix I found for this was using button:GetOrderIndex() instead...
Forum: AddOn Help/Support 08-16-24, 08:37 PM
Replies: 8
Views: 3,779
Posted By Sweetsour
I wasn't sure if it was something that I did...

I wasn't sure if it was something that I did wrong when looking at the code you provided. I threw your code into a new lua file and ran it and it seems to be running into the same issue when...
Forum: AddOn Help/Support 08-16-24, 08:09 PM
Replies: 8
Views: 3,779
Posted By Sweetsour
That certainly did the trick! I guess it makes...

That certainly did the trick! I guess it makes sense after the fact that the reason the issue was happening was because I was adding a new data provider every time, haha. Thanks for taking the time...
Forum: AddOn Help/Support 08-16-24, 09:49 AM
Replies: 8
Views: 3,779
Posted By Sweetsour
ET_CurrentIndex is only used within the code that...

ET_CurrentIndex is only used within the code that I've shown :)

I'm just curious if my code for the scrollbar setup is correct. The documentation for it is fairly limited. I found the write up for...
Forum: AddOn Help/Support 08-15-24, 08:55 PM
Replies: 8
Views: 3,779
Posted By Sweetsour
[SOLVED] Need Help with Scrollbar

I have a frame that is populated with a list of buttons that uses a scrollbar to scroll the contents. I've gotten most of the code to work but the one thing I'm getting tripped up on is the contents...
Forum: Lua/XML Help 06-02-22, 08:24 PM
Replies: 2
Views: 2,757
Posted By Sweetsour
Wow, that was incredibly easy! Thank you for...

Wow, that was incredibly easy! Thank you for pointing me in the right direction! :D
Forum: Lua/XML Help 05-29-22, 08:54 AM
Replies: 2
Views: 2,757
Posted By Sweetsour
Trying to add buttons to dropdown menu.

Hello, everyone!

I've been trying to add new buttons to the Wardrobe sets filter dropdown menu. I have had little success thus far and figure I'd reach out to see if anyone could help. I should add...
Forum: Lua/XML Help 02-25-20, 08:37 PM
Replies: 3
Views: 2,661
Posted By Sweetsour
EDIT: Sorry, forgot to add the contents of my...

EDIT: Sorry, forgot to add the contents of my defaults.lua file.

EDIT2: I think I'm now realizing my error in that I was using Ace3.db.char when I should have been using Ace3.db.profile. Though, I'm...
Forum: Lua/XML Help 02-25-20, 01:48 PM
Replies: 3
Views: 2,661
Posted By Sweetsour
Ace3 DB Profile not copying over existing values

Hello!

I'm trying to finish up my addon with adding profile functionality and I'm pretty sure it's almost good too. The only issue is when I use the copy profile functionality, the values from the...
Forum: Lua/XML Help 08-09-18, 02:19 PM
Replies: 8
Views: 2,964
Posted By Sweetsour
That wouldn't have worked with how my addon works...

That wouldn't have worked with how my addon works because I've designed it so users can move spells between groups. The new method I coded works perfectly.
Forum: Lua/XML Help 08-09-18, 10:35 AM
Replies: 8
Views: 2,964
Posted By Sweetsour
Not to worry, the rest of my tables in my...

Not to worry, the rest of my tables in my defaults are dictonaries. The reason I used an indexed table was that I needed the spells in a specific order, which you can't do with dictionaries. However,...
Forum: Lua/XML Help 08-09-18, 02:05 AM
Replies: 8
Views: 2,964
Posted By Sweetsour
I also tried these methods in place of tremove(),...

I also tried these methods in place of tremove(), but still no luck :/

Edit: I just saw your edits and will check them out
Edit2: Hmm, great find! I might have to add the values to the table on...
Forum: Lua/XML Help 08-09-18, 12:50 AM
Replies: 8
Views: 2,964
Posted By Sweetsour
Ah, good call. This is my initialization...

Ah, good call.

This is my initialization code
function Auras:OnInitialize()

local defaults = SSA.defaults;
local about_panel = LibStub:GetLibrary("LibAboutPanel", true)

if about_panel...
Forum: Lua/XML Help 08-08-18, 11:14 PM
Replies: 8
Views: 2,964
Posted By Sweetsour
[SOLVED] Help with AceDb: Deleting items from table won't stay deleted.

I'm currently at a loss with this and have tried many different things to no avail, including searching google :(

To quickly explain what's going on, I'm trying to delete an item from a specific...
Forum: Dev Tools 06-20-18, 05:19 PM
Replies: 0
Views: 8,863
Posted By Sweetsour
Azerite Power Finder

Hey everyone!

After doing a lot of digging around to figure out how the new azerite power code works, I made a very simple addon that helps to find Azerite Power Names, IDs, and spell...
Forum: Lua/XML Help 06-12-18, 07:03 PM
Replies: 3
Views: 3,496
Posted By Sweetsour
Yup, that did it. Had to re-organize my toc file...

Yup, that did it. Had to re-organize my toc file and xml files. Thanks!
Forum: Lua/XML Help 06-12-18, 05:53 PM
Replies: 3
Views: 3,496
Posted By Sweetsour
[BETA] Could not open xml file(s).

I'm trying to get my addon loaded on the BfA beta, but I seem to be getting an error I haven't encountered before. I already made the changes to UnitBuff so that there's no other Lua errors. Below is...
Forum: Lua/XML Help 02-01-18, 01:32 PM
Replies: 10
Views: 4,208
Posted By Sweetsour
That makes sense; thanks for the clarification....

That makes sense; thanks for the clarification. So if my code does something that adds new controls to my config panel, I have to reload the UI, correct?
Forum: Lua/XML Help 01-27-18, 03:57 PM
Replies: 10
Views: 4,208
Posted By Sweetsour
In AceConfigRegistry-3.0.lua function...

In AceConfigRegistry-3.0.lua
function AceConfigRegistry:NotifyChange(appName)
if not AceConfigRegistry.tables[appName] then return end
AceConfigRegistry.callbacks:Fire("ConfigTableChange",...
Forum: Lua/XML Help 01-27-18, 01:58 PM
Replies: 10
Views: 4,208
Posted By Sweetsour
local function...

local function RefreshConfig()
foreach(LibStub("AceConfigRegistry-3.0").tables,function(k,v)
ACFG:NotifyChange(k)
end)
end

function Ace3:OnProfileUpdate(event,db,profileKey)
if (db)...
Forum: Lua/XML Help 01-27-18, 01:05 PM
Replies: 10
Views: 4,208
Posted By Sweetsour
Yea, I tried for hours, but I just ended up going...

Yea, I tried for hours, but I just ended up going with reloading the UI, lol.
Forum: Lua/XML Help 01-26-18, 06:33 PM
Replies: 10
Views: 4,208
Posted By Sweetsour
AceConfigRegistry's NotifyChange()

So, I'm more or less trying to confirm the purpose of this function. My assumption is that I call it to request an update to AceConfig's options? Their site doesn't provide much material on the...
Forum: Lua/XML Help 12-09-17, 11:20 AM
Replies: 6
Views: 3,208
Posted By Sweetsour
Line 20 in core.lua should be doing it. According...

Line 20 in core.lua should be doing it. According to the official AceDB docs, it's correct. Just not sure why the table isn't showing up :(
Forum: Lua/XML Help 12-08-17, 11:06 PM
Replies: 6
Views: 3,208
Posted By Sweetsour
AceDB not building table

I've been at this for hours and I'm not sure why it isn't working. I've been successful with AceDB with my previous Addon, but the only thing ending up in this addon's SavedVariables table is the...
Showing results 1 to 25 of 136