Showing results 1 to 25 of 33
Search took 0.00 seconds.
Search: Posts Made By: AeroMaxxD
Forum: General Authoring Discussion 05-30-23, 11:40 AM
Replies: 4
Views: 3,282
Posted By AeroMaxxD
How to dump a table to the screen

Is there a lua equivalent to var_dump from https://www.php.net/manual/en/function.var-dump.php

Basically I wanting to know what's inside a table.
Forum: General Authoring Discussion 05-02-23, 02:12 PM
Replies: 4
Views: 1,970
Posted By AeroMaxxD
Ok I will try that. The link say it's fine. It...

Ok I will try that.



The link say it's fine. It does that anyway when you omit it.

https://wowpedia.fandom.com/wiki/API_ScriptRegionResizing_SetPoint
Forum: General Authoring Discussion 04-30-23, 11:49 PM
Replies: 4
Views: 1,970
Posted By AeroMaxxD
I tried your changes but still doesn't...

I tried your changes but still doesn't work.

local panel = CreateFrame("Frame");
panel.name = "MyAddOn";

-- Create the scrolling parent frame and size it to fit inside the texture
local scrollFrame...
Forum: General Authoring Discussion 04-30-23, 06:27 AM
Replies: 4
Views: 1,970
Posted By AeroMaxxD
Using the Interface Options Addons panel

I'm wanting to use the Interface Options Addons Panel on my new addon.

I create a test addon with the code below which is an example from...
Forum: General Authoring Discussion 04-30-23, 05:25 AM
Replies: 3
Views: 1,678
Posted By AeroMaxxD
On another note I also asked about how to add a...

On another note I also asked about how to add a tab to the character frame on the official Blizzard forums, someone there responded with the code below.

This is what gave me the idea of a scroll...
Forum: General Authoring Discussion 04-30-23, 04:42 AM
Replies: 3
Views: 1,678
Posted By AeroMaxxD
This is what I use right now to output the list...

This is what I use right now to output the list contents to the frame.

I thought I would just use the same code but change the frame that was the output.

for k = ((15 - (CURRENT_PAGE * 15)) * -1) +...
Forum: General Authoring Discussion 04-30-23, 02:39 AM
Replies: 9
Views: 3,852
Posted By AeroMaxxD
Oh but my onload function updates some...

Oh but my onload function updates some stuff.

function AMD_OnLoad(self)
print("AMD: AddOn...
Forum: General Authoring Discussion 04-30-23, 02:07 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
Also, the tab I was using to set options for the...

Also, the tab I was using to set options for the addon itself, but I am trying to use the Interface Options within the escape menu instead.
Forum: General Authoring Discussion 04-30-23, 01:59 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
I just have one tab, but what if another user who...

I just have one tab, but what if another user who used the addon had more tabs?
Forum: General Authoring Discussion 04-28-23, 11:32 AM
Replies: 9
Views: 3,852
Posted By AeroMaxxD
Oh sorry what I meant was how to change...

Oh sorry what I meant was how to change this:

<Scripts>
<OnLoad>
AMD_OnLoad(self)
self:Hide()
</OnLoad>
</Scripts>

into lua code?
Forum: General Authoring Discussion 04-28-23, 10:48 AM
Replies: 9
Views: 3,852
Posted By AeroMaxxD
Ah ok sure I understand now, yeah I removed the...

Ah ok sure I understand now, yeah I removed the button and pretty much everything as I was trying to figure out what I had broken.

If what was in my Onload function was a script that prints out a...
Forum: General Authoring Discussion 04-28-23, 09:44 AM
Replies: 9
Views: 3,852
Posted By AeroMaxxD
I'm not sure I understood that. What is "OnLoad...

I'm not sure I understood that.

What is "OnLoad Change" is that the name of a function?

I'm getting the error "attempt to call method 'SetText' (a nil value)".

I'm using this code however,...
Forum: General Authoring Discussion 04-28-23, 09:27 AM
Replies: 9
Views: 3,852
Posted By AeroMaxxD
Actually, it's ok I remember what I had changed,...

Actually, it's ok I remember what I had changed, I put the XML file before the LUA file in the TOC file.
Forum: General Authoring Discussion 04-28-23, 08:56 AM
Replies: 9
Views: 3,852
Posted By AeroMaxxD
Attempt to call global a nil value?

Would anyone happen to know why self would be a nil value?

This has been working perfectly fine for a few days, but I must have broken it somehow, I stripped the code right back to try and hung down...
Forum: General Authoring Discussion 04-28-23, 06:46 AM
Replies: 3
Views: 1,678
Posted By AeroMaxxD
Adding a ScrollFrame to a CharacterFrame tab

So I am trying to write my first addon, it would just list a table of results 2 columns on the tab.

My initial idea was to have next and previous buttons to look through the results.

But I have...
Forum: General Authoring Discussion 04-28-23, 06:46 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
Oh I didn't know that, I will put it above now...

Oh I didn't know that, I will put it above now and see if it works.



Oh that is disappointing, I am not really sure why is even there. I can't seem to see anywhere that template is used in Blizzard...
Forum: General Authoring Discussion 04-28-23, 12:04 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
That didn't seem to work. This is the button xml...

That didn't seem to work.

This is the button xml code.

<Button name="$parent_Options" inherits="PanelTopTabButtonTemplate" text="Options">

This is the main frame the button is nested...
Forum: General Authoring Discussion 04-27-23, 03:58 PM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
Would you happen to know why there is a gold...

Would you happen to know why there is a gold vertical line on this tab?

https://imgur.com/a/5FiQzbl

XML is here. https://paste.ee/p/zzGka


<Button name="$parent_Options"...
Forum: General Authoring Discussion 04-27-23, 11:52 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
Yeah, your right, I don't need it I just liked...

Yeah, your right, I don't need it I just liked the three buttons part at the bottom of the frame, but I have ditched it.

Would you happen to know where I can find out about what other templates I...
Forum: General Authoring Discussion 04-27-23, 01:19 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
I've made some small changes, the code below is...

I've made some small changes, the code below is the most current version, I've tried setting a size to the main frame, tried changing the anchor settings for the layer but it's never in the right...
Forum: General Authoring Discussion 04-26-23, 02:21 PM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
Ok awesome I have some stuff on my new tab from...

Ok awesome I have some stuff on my new tab from the xml after lots of trial and error.

I do have something I can't figure when I the code below to the Frame that is the New tab on my character...
Forum: General Authoring Discussion 04-26-23, 11:08 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
That works great thank you! I added some...

That works great thank you!

I added some comments, so I'd remember what does what in the future when I need to look at it again.

I do have a question if I wanted to add stuff to the new Frame from...
Forum: General Authoring Discussion 04-26-23, 05:28 AM
Replies: 18
Views: 2,257
Posted By AeroMaxxD
Adding new tab to the character frame

I am looking to add a new tab to the character panel, I did some googling and found a post here which mentioned how to add a new tab to the collections journal which I have amended to add the tab to...
Forum: AddOn Help/Support 12-11-22, 11:31 AM
Replies: 8
Views: 2,723
Posted By AeroMaxxD
That's fine it was just a link I found. Yes,...

That's fine it was just a link I found.



Yes, although this is really a yes and no answer, basically I know there needs to be a toc file in the folder just from looking at other addons, as to the...
Forum: AddOn Help/Support 12-10-22, 05:00 PM
Replies: 8
Views: 2,723
Posted By AeroMaxxD
Thanks for the reply. I was kinda hoping to use...

Thanks for the reply.

I was kinda hoping to use this library, but for the life of me can I get it to work!

Others are using it however, but I can't seem to figure out what I am doing...
Showing results 1 to 25 of 33