Showing results 1 to 25 of 130
Search took 0.00 seconds.
Search: Posts Made By: Sweetsour
Forum: Lua/XML Help 06-02-22, 08:24 PM
Replies: 2
Views: 1,668
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: 1,668
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,184
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,184
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,290
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,290
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,290
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,290
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,290
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: 6,022
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: 2,982
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: 2,982
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: 3,218
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: 3,218
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: 3,218
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: 3,218
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: 3,218
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: 2,343
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: 2,343
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...
Forum: Lua/XML Help 12-08-17, 05:28 PM
Replies: 1
Views: 1,865
Posted By Sweetsour
It figures that the moment I post this, I...

It figures that the moment I post this, I immediately found the issue. I have PLAYER_REGEN_DISABLE() called twice. Changed the second one to PLAYER_REGEN_ENABLED() and everything works fine.

Ugh.
Forum: Lua/XML Help 12-08-17, 05:23 PM
Replies: 1
Views: 1,865
Posted By Sweetsour
Firing events using Ace3 not working?

I've been using Ace3 for a while and have a pretty solid understanding of how it and its mixins work. However, I'm trying to setup a new addon and I can't seem to get the event firings to work.

File...
Forum: Lua/XML Help 11-14-16, 04:21 PM
Replies: 6
Views: 2,275
Posted By Sweetsour
It worked! Thanks again! :D

It worked! Thanks again! :D
Forum: Lua/XML Help 11-14-16, 02:49 PM
Replies: 6
Views: 2,275
Posted By Sweetsour
Thanks! I'm going to try and implement this as...

Thanks! I'm going to try and implement this as soon as I can. This will help immensely if I can get it to work! :)
Forum: Lua/XML Help 11-13-16, 08:49 PM
Replies: 6
Views: 2,275
Posted By Sweetsour
Wow, well that's next level unfortunate, lol....

Wow, well that's next level unfortunate, lol. Thanks for the info!
Forum: Lua/XML Help 11-13-16, 05:20 PM
Replies: 6
Views: 2,275
Posted By Sweetsour
So I discovered that hiding then showing my UI...

So I discovered that hiding then showing my UI (by pressing Alt+Z), will cause my World Scale values to nil. Then when I try to reload UI, the game crashes. Anyone have any idea why this could be...
Showing results 1 to 25 of 130