Forum: Lua/XML Help
Today, 09:43 AM
|
Replies: 6
Views: 205
Kanegasi mentioned that PutItemInBag requires a...
Kanegasi mentioned that PutItemInBag requires a bag id. (InventorySlotId) not a bag number and these start at 20 (bag 1+19 = 20).
Using the table keeps track of where you put the last item instead...
|
Forum: Lua/XML Help
05-24-22, 11:25 PM
|
Replies: 6
Views: 205
|
Forum: Lua/XML Help
05-14-22, 11:44 AM
|
Replies: 3
Views: 392
The problem being the dropdown menu is a common...
The problem being the dropdown menu is a common widget that gets updated depending on the initialise function.
This should work but because it's hooking the dropdown menus OnHide you never know what...
|
Forum: Lua/XML Help
05-08-22, 11:49 AM
|
Replies: 9
Views: 408
|
Forum: Lua/XML Help
05-08-22, 08:58 AM
|
Replies: 9
Views: 408
First install seemed to work. GUI popped up,...
First install seemed to work. GUI popped up, PrintCommands() ran, slash command worked, events were processed and in expected order.
Worked just the same after exiting and deleting the SV file.
And...
|
Forum: Lua/XML Help
05-08-22, 12:22 AM
|
Replies: 9
Views: 408
On the face of it it looks like it should work...
On the face of it it looks like it should work but what's here obviously isn't the entire addon.
If you cut the addon down (create a test addon) to just this code and it works then the problem is...
|
Forum: Lua/XML Help
05-07-22, 09:03 PM
|
Replies: 9
Views: 408
What is TSM_StringConverter and is it LOD?
If...
What is TSM_StringConverter and is it LOD?
If it is, maybe it is loaded by the "host" addon at PLAYER_LOGIN meaning that event will have already passed before TSM_StringConverter is loaded... or...
|
Forum: Macro Help
05-07-22, 09:00 AM
|
Replies: 2
Views: 305
|
Forum: Lua/XML Help
05-05-22, 02:07 PM
|
Replies: 2
Views: 265
It looks like the addons config. hasn't had a...
It looks like the addons config. hasn't had a chance to register it's Ace layout options.
If the addon has a slash command to open it's options, it might be better to use that if you're not doing it...
|
Forum: Lua/XML Help
05-03-22, 12:07 PM
|
Replies: 7
Views: 371
With something like SUF, it's highly unlikely...
With something like SUF, it's highly unlikely your problem is the addon load order but more likely the event and event processing order where SUF does it's actual profile/frame initialisation...
|
Forum: Lua/XML Help
05-03-22, 10:34 AM
|
Replies: 7
Views: 371
Yeah, dependancies won't work if you're talking...
Yeah, dependancies won't work if you're talking about making your addon a dependacy of someone elses.
Probably need to see if there some way to re-initialise SUF after you've done your changes.
If...
|
Forum: Lua/XML Help
05-03-22, 09:35 AM
|
Replies: 7
Views: 371
|
Forum: Lua/XML Help
04-28-22, 10:24 PM
|
Replies: 3
Views: 338
text:SetPoint("TOPLEFT", 5,...
text:SetPoint("TOPLEFT", 5, -15)
text:SetSize(raidLockoutFrame:GetWidth() - 10, 12) -- fixed with/height
Adjust numbers to suit.
If the string itself has new line characters (\n) they will need to...
|
Forum: Lua/XML Help
04-24-22, 10:29 AM
|
Replies: 3
Views: 572
|
Forum: Lua/XML Help
04-24-22, 10:06 AM
|
Replies: 3
Views: 572
That or just...
That or just FocusFrameNameBackground:SetTexture() is fine.
|
Forum: Lua/XML Help
04-21-22, 01:33 AM
|
Replies: 4
Views: 394
local f =...
local f = CreateFrame("Frame","PantherWelcome",UIParent, "BackdropTemplate")
|
Forum: Lua/XML Help
04-21-22, 01:09 AM
|
Replies: 4
Views: 394
Every frame used to have a backdrop if it was...
Every frame used to have a backdrop if it was needed or not. Now they are optional (at least in retail, I don't think change has been backported to the classics yet but...?).
In retail, your frames...
|
Forum: Lua/XML Help
04-20-22, 08:25 PM
|
Replies: 2
Views: 288
|
Forum: AddOn Help/Support
04-07-22, 01:31 PM
|
Replies: 5
Views: 499
The Lua/XML support...
The Lua/XML support (https://www.wowinterface.com/forums/forumdisplay.php?f=16) forum is probably best
|
Forum: AddOn Help/Support
04-07-22, 12:35 PM
|
Replies: 5
Views: 499
Most addons rely on updating when things happen...
Most addons rely on updating when things happen in-game. They are notified of these "happenings" through an event system.
If you just put code in a .lua file withouot setting up a method to listen...
|
Forum: AddOn Help/Support
04-07-22, 10:10 AM
|
Replies: 5
Views: 499
|
Forum: Lua/XML Help
04-06-22, 03:13 PM
|
Replies: 4
Views: 476
The method attribute is used if the script is a...
The method attribute is used if the script is a method of the frame (usually added to the frame via a mixin attribute included in the <Frame ...> tag).
Because your function is a global (and so long...
|
Forum: Lua/XML Help
04-04-22, 09:29 AM
|
Replies: 1
Views: 498
Every time it's shown you run...
Every time it's shown you run listview_CreateList
Every time listview_CreateList is run, among other things, it creates a new fontstring on the buttons so you are getting overlay.
Maybe change your...
|
Forum: Lua/XML Help
03-29-22, 02:34 PM
|
Replies: 6
Views: 547
|
Forum: Lua/XML Help
03-29-22, 12:22 PM
|
Replies: 6
Views: 547
|