Showing results 1 to 25 of 30
Search took 0.00 seconds.
Search: Posts Made By: Codger
Forum: AddOn Help/Support 04-04-24, 01:10 PM
Replies: 5
Views: 567
Posted By Codger
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: 567
Posted By Codger
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: 567
Posted By Codger
Thank you

I really appreciate the help!!
Forum: AddOn Help/Support 04-02-24, 03:51 PM
Replies: 5
Views: 567
Posted By Codger
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: 620
Posted By Codger
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: 620
Posted By Codger
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: 857
Posted By Codger
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: 540
Posted By Codger
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: 841
Posted By Codger
Forum: AddOn Help/Support 03-24-24, 11:06 PM
Replies: 10
Views: 857
Posted By Codger
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: 536
Posted By Codger
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: 857
Posted By Codger
Xinfo doesn't seem to be creating a menu?

I loaded the Xinfo addon but I'm not seeing a menu come up?
Forum: AddOn Help/Support 03-22-24, 03:45 PM
Replies: 10
Views: 857
Posted By Codger
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: 857
Posted By Codger
Updated example frame with LibDBIcon minimap button

This is a simple example of an addon with a frame and minimap button(using LibDBIcon-1.0).
The Addon has been renamed to "MyAddonFrameExample" to incorporate some necesssary changes noted in the...
Forum: AddOn Help/Support 03-22-24, 11:36 AM
Replies: 10
Views: 857
Posted By Codger
Simple example frame with LibDBIcon minimap button (for review)

This is a simple example of an addon with a frame and minimap button(using LibDBIcon-1.0).
Since I'm fairly new to addon development I thought I would post this to see if there is anything I should...
Forum: AddOn Help/Support 03-22-24, 10:33 AM
Replies: 6
Views: 572
Posted By Codger
Here is updated code for the Saved Variables example

Thank you Fizzlemizz. Those are both very good points and I appreciate your thoughtful replies.
This code has been modified to use a unique database name and a more generic form of the date...
Forum: AddOn Help/Support 03-22-24, 09:53 AM
Replies: 6
Views: 572
Posted By Codger
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: 572
Posted By Codger
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: 1,107
Posted By Codger
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: 926
Posted By Codger
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: 926
Posted By Codger
Works better but... question about when to release a widget

Thanks for the help. Moving the :hide call fixed the button issue.
I also commented out the line:
--frame:SetCallback("OnClose", function(widget) AceGUI:Release(widget) end)
and now the button shows...
Forum: Tutorials & Other Helpful Info. 03-21-24, 01:33 PM
Replies: 13
Views: 50,533
Posted By Codger
Post 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: 926
Posted By Codger
Post 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: 1,536
Posted By Codger
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: 1,536
Posted By Codger
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...
Showing results 1 to 25 of 30