Forum: AddOn Help/Support
04-26-24, 12:25 PM
|
Replies: 11
Views: 844
|
Forum: AddOn Help/Support
04-25-24, 10:06 PM
|
Replies: 11
Views: 844
The Blizzard_PVPUI is marked as LOD. Have you...
The Blizzard_PVPUI is marked as LOD. Have you tried checking it is actually loaded after you've clicked the stat button and, if not then loading it, before the button does anything else (or before...
|
Forum: Lua/XML Help
04-15-24, 12:05 PM
|
Replies: 2
Views: 608
|
Forum: Lua/XML Help
04-01-24, 11:04 AM
|
Replies: 3
Views: 655
|
Forum: UI Screenshots, Feedback and Design Discussion
03-29-24, 09:01 PM
|
Replies: 6
Views: 950
|
Forum: UI Screenshots, Feedback and Design Discussion
03-29-24, 07:22 PM
|
Replies: 6
Views: 950
|
Forum: UI Screenshots, Feedback and Design Discussion
03-29-24, 07:13 PM
|
Replies: 6
Views: 950
.tga, .png .blp (you will need to add the...
.tga, .png .blp (you will need to add the extension to the texture name in your code if it's .png otherwise the game will choose .blp if it exists then .tga)
The sides should be 4, 8, 16, 32, 64,...
|
Forum: Lua/XML Help
03-29-24, 11:09 AM
|
Replies: 3
Views: 621
|
Forum: AddOn Help/Support
03-27-24, 11:31 PM
|
Replies: 4
Views: 1,749
|
Forum: Lua/XML Help
03-23-24, 03:02 PM
|
Replies: 2
Views: 824
You can export...
You can export (https://warcraft.wiki.gg/wiki/Viewing_Blizzard%27s_interface_code) the entire Blizzard UI code from the game and look for the template there.
Addons can have their own templates so...
|
Forum: Lua/XML Help
03-23-24, 09:53 AM
|
Replies: 6
Views: 1,219
|
Forum: AddOn Help/Support
03-22-24, 04:10 PM
|
Replies: 10
Views: 1,284
You have two (for want of a better term)...
You have two (for want of a better term) "primary" libraries (although your posted code only uses LibDBIcon)
LibDBIcon -- Creates manages the minimap button
LibDataBroker -- Helps creating plugins...
|
Forum: AddOn Help/Support
03-22-24, 03:23 PM
|
Replies: 10
Views: 1,284
That actual code isn't using LibDataBroker-1.1...
That actual code isn't using LibDataBroker-1.1 but I'm guessing it's all meant to come together with the previous code (or other).
As a frame that shows/hides using the minimap button, it works as...
|
Forum: AddOn Help/Support
03-22-24, 11:56 AM
|
Replies: 10
Views: 1,284
LibDBIcon has dependancies on LibStub and...
LibDBIcon has dependancies on LibStub and LibCallBackHandler. Those should both be included in your addon (lib folder) and .toc (or other .XML include file eg. embeds.xml) in case the user doesn't...
|
Forum: AddOn Help/Support
03-22-24, 10:38 AM
|
Replies: 6
Views: 899
After the gobal has been created you can alway...
After the gobal has been created you can alway do
local db = MyVeryLongGlobaVariableName
When using tables, making changes to the local eg.
db.SomeVariable = "SomeThing New"
Will change the entry...
|
Forum: AddOn Help/Support
03-22-24, 10:13 AM
|
Replies: 6
Views: 899
|
Forum: AddOn Help/Support
03-22-24, 10:06 AM
|
Replies: 6
Views: 899
|
Forum: AddOn Help/Support
03-22-24, 09:33 AM
|
Replies: 6
Views: 899
MyAddonDB.lastLogoffTime = time
Should probably...
MyAddonDB.lastLogoffTime = time
Should probably be
MyAddonDB.lastLogoffTime = time()
for the time (https://warcraft.wiki.gg/wiki/API_time) function rather than a non-existant variable because you're...
|
Forum: Lua/XML Help
03-21-24, 02:02 PM
|
Replies: 4
Views: 1,197
The game doesn't "destroy" widgets (frames,...
The game doesn't "destroy" widgets (frames, buttons etc). They remain until you /reload or logout.
I don't use Ace so I can only guess that at what releasing does, possibly some internal pool...
|
Forum: Tutorials & Other Helpful Info.
03-21-24, 01:49 PM
|
Replies: 13
Views: 51,304
|
Forum: Lua/XML Help
03-21-24, 01:41 PM
|
Replies: 4
Views: 1,197
|
Forum: AddOn Help/Support
03-19-24, 11:04 PM
|
Replies: 13
Views: 5,716
|
Forum: AddOn Help/Support
03-18-24, 01:00 PM
|
Replies: 7
Views: 1,928
|
Forum: AddOn Help/Support
03-18-24, 12:06 PM
|
Replies: 7
Views: 1,928
C_Item.DoesItemExist...
C_Item.DoesItemExist (https://warcraft.wiki.gg/wiki/API_C_Item.DoesItemExist)
local slotID = GetInventorySlotInfo(Headslot)
local itemLocation = ItemLocation:CreateFromEquipmentSlot(slotID)
if...
|
Forum: AddOn Help/Support
03-18-24, 11:07 AM
|
Replies: 13
Views: 5,716
If you remove 1 then the overall session of 3...
If you remove 1 then the overall session of 3 hours would run 8 times in a day (24/3). If you added 1 (5 hours) then it would run 4.8 times (24/5) which wouldn't work as it would break the startTime...
|