Forum: AddOn Help/Support
04-04-24, 01:10 PM
|
Replies: 5
Views: 1,193
Works great
That works.
I opened up /framestack to understand the difference.
Thanks for the help.
|
Forum: AddOn Help/Support
04-03-24, 11:16 PM
|
Replies: 5
Views: 1,193
Persistence problem with the button
I noticed that the button is showing up on the frame when the quest is being turned in.
i've tried a couple ways of hiding the button with no luck.
I tried setting IsShown to the same state as the...
|
Forum: AddOn Help/Support
04-02-24, 06:49 PM
|
Replies: 5
Views: 1,193
|
Forum: AddOn Help/Support
04-02-24, 03:51 PM
|
Replies: 5
Views: 1,193
First Button Hook Attempt
This adds a button next to the quest "Accept" button labeled "Accept Track". When pressed the quest is accepted and quest tracking is turned on. It seems to be working ok, but thought I would put...
|
Forum: Lua/XML Help
04-01-24, 01:15 AM
|
Replies: 3
Views: 1,183
Lua code for xml (found)
I went to ChatGPT https://chat.openai.com/ and asked them to convert the xml code to lua and the code below is the result.
local frame = CreateFrame("Frame", "SimpleFrame", UIParent,...
|
Forum: Lua/XML Help
04-01-24, 12:08 AM
|
Replies: 3
Views: 1,183
XML to Lua?
So... I'm not very good with xml (old brain doesn't like it)
but I see a lot of UI examples in XML and I'm wondering if there is an easy way to convert them to lua code.
As an example I found this...
|
Forum: AddOn Help/Support
03-31-24, 08:16 PM
|
Replies: 10
Views: 2,011
New version. Added a missing library (AceDB).
So I must have been lucky enough in my previous testing to have had another addon installed that loaded AceDB-3.0. A new Wow install due to a computer crash revealed the bug due to the missing...
|
Forum: Lua/XML Help
03-29-24, 09:52 AM
|
Replies: 3
Views: 1,149
What does this code do?
I've seen this in a couple addons but haven't been able to find any info on what it does:
local frame1 = {}
myAddon.frame1 = frame1
I'm guessing it's another way of setting up a namespace?
What I...
|
Forum: Lua/XML Help
03-25-24, 10:58 PM
|
Replies: 2
Views: 1,723
|
Forum: AddOn Help/Support
03-24-24, 11:06 PM
|
Replies: 10
Views: 2,011
New version using LibDataBroker
This fixes an issue affecting coordination with other addons.
I noticed that although the icon was being shown on the mini-map, addons that combined mini-map buttons would not display this addons...
|
Forum: Lua/XML Help
03-23-24, 02:22 PM
|
Replies: 2
Views: 1,399
Where do I find information on Templates?
I'm trying to create a frame for a tab control:
I was looking at an old addon and found this code:
local tabButton = CreateFrame("Button", nil, frame, "TabButtonTemplate")
...but when I load the...
|
Forum: AddOn Help/Support
03-22-24, 07:10 PM
|
Replies: 10
Views: 2,011
|
Forum: AddOn Help/Support
03-22-24, 03:45 PM
|
Replies: 10
Views: 2,011
Lib dependency
Ok. I'm still trying to figure this stuff out. Thanks again for your thoughtful and instructional replies.
The reason I thought I needed it was an entry in the Libs\LibDBIcom-1.0\embeds.xml file...
|
Forum: AddOn Help/Support
03-22-24, 03:05 PM
|
Replies: 10
Views: 2,011
|
Forum: AddOn Help/Support
03-22-24, 11:36 AM
|
Replies: 10
Views: 2,011
|
Forum: AddOn Help/Support
03-22-24, 10:33 AM
|
Replies: 6
Views: 1,503
|
Forum: AddOn Help/Support
03-22-24, 09:53 AM
|
Replies: 6
Views: 1,503
Saved variables work now
Thank you Fizzlemizz!!
I changed the time to a date function and renamed the db file in the toc.
Here is the final code, toc file first:
## Title: MyAddon
## Interface: 100206
## Version: 1.0
##...
|
Forum: AddOn Help/Support
03-22-24, 09:25 AM
|
Replies: 6
Views: 1,503
Saved variables not working
I've created a very simple addon to see how saved variables work but the saved variables are not working.
Here is what I have so far:
My .toc file:
## Title: MyAddon
## Interface: 100206
##...
|
Forum: PTR API and Graphics Changes
03-21-24, 02:28 PM
|
Replies: 0
Views: 2,573
10.2.6 API Changes to Item functions
Most of the item functions now require the use of the C_item namespace as noted here Warcraft Wiki - Patch_10.2.6 API changes (https://warcraft.wiki.gg/wiki/Patch_10.2.6/API_changes)
As an example:...
|
Forum: Lua/XML Help
03-21-24, 02:19 PM
|
Replies: 4
Views: 1,854
Thanks again
The code looks so much better.
I really appreciate all the help you provide!!
|
Forum: Lua/XML Help
03-21-24, 01:53 PM
|
Replies: 4
Views: 1,854
|
Forum: Tutorials & Other Helpful Info.
03-21-24, 01:33 PM
|
Replies: 13
Views: 52,683
New site Warcraft Wiki
Some of the information on wowpedia is no longer being maintained?
Warcraft Wiki (https://warcraft.wiki.gg/wiki/Warcraft_Wiki) is a fairly new site with some great information.
A couple links that I...
|
Forum: Lua/XML Help
03-21-24, 01:11 PM
|
Replies: 4
Views: 1,854
Button not showing on frame
I'm a beginner when it comes to addon development...
I created a simple addon with a frame and a button but the button is not showing up on the frame.
I've looked at a few other examples but can't...
|
Forum: AddOn Help/Support
03-18-24, 12:42 PM
|
Replies: 7
Views: 2,640
Working great now
Thank you for your help!!
It's working the way I want now.
local function getGearItemLvl(slotName)
local lvl = 0
if (slotName ~= nil) then
local slotID, texture, checkRelic =...
|
Forum: AddOn Help/Support
03-18-24, 11:56 AM
|
Replies: 7
Views: 2,640
Working but clunky
Thank you for the help.
It's working now... had a bit of trouble with empty slots and used a clunky workaround by looking at the texture. I'm sure there must be a better way to detect an empty slot...
|