Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Fizzlemizz
Forum: AddOn Help/Support 09-08-24, 01:43 AM
Replies: 19
Views: 6,166
Posted By Fizzlemizz
Does the error say the function is only available...

Does the error say the function is only available from the Blizzard UI? That would indicate it's not something we can use even in secure code.

I remember when they first nobbled guild kick it...
Forum: AddOn Help/Support 09-07-24, 07:50 PM
Replies: 19
Views: 6,166
Posted By Fizzlemizz
That's what I was afraid of but had no way of...

That's what I was afraid of but had no way of testing.

You wouldn't be able to button:Click() to remove a player from the guild. The user would have to click the button with the mouse as with the...
Forum: AddOn Help/Support 09-07-24, 09:50 AM
Replies: 19
Views: 6,166
Posted By Fizzlemizz
Instead of hiddenRemovePlayerFromGuildButton,...

Instead of hiddenRemovePlayerFromGuildButton, have you tried something like:

local function RemovePlayerFromGuild(playername, playerguid)
if playername and playerguid then
local data = { name =...
Forum: AddOn Help/Support 09-07-24, 09:30 AM
Replies: 19
Views: 6,166
Posted By Fizzlemizz
You're declaring...

You're declaring hiddenRemovePlayerFromGuildButton after the menu function so as a local

local hiddenRemovePlayerFromGuildButton = CreateFrame("Button", "hiddenRemovePlayerFromGuildButton",...
Forum: AddOn Help/Support 09-06-24, 11:32 PM
Replies: 19
Views: 6,166
Posted By Fizzlemizz
The error says it all, the click cant "see" the...

The error says it all, the click cant "see" the hiddenRemovePlayerFromGuildButton because it is out of scope. First step woujld be to remove the local in front of hiddenRemovePlayerFromGuildButton...
Forum: PTR General Discussion 09-06-24, 10:42 AM
Replies: 1
Views: 1,208
Posted By Fizzlemizz
Maybe HandyNotes Travel Guide...

Maybe HandyNotes Travel Guide (https://www.curseforge.com/wow/addons/handynotes-travelguide)?
Forum: AddOn Help/Support 09-06-24, 10:35 AM
Replies: 19
Views: 6,166
Posted By Fizzlemizz
Feedback through the in-game system or or...

Feedback through the in-game system or or possibly the bug tracker.

I didn't get to the bottom of the rabbit hole so I might have missed something and as I said, it might be a deliberate omission...
Forum: AddOn Help/Support 09-03-24, 08:49 PM
Replies: 19
Views: 6,166
Posted By Fizzlemizz
As far as I got, there doesn't seem to be any way...

As far as I got, there doesn't seem to be any way to create a menu item based on a template (the use of template in the menu system is not referring to XML templates). While this may be a oversight,...
Forum: Lua/XML Help 08-21-24, 02:00 PM
Replies: 2
Views: 4,770
Posted By Fizzlemizz
I posted this somewhere else as an example of...

I posted this somewhere else as an example of changing the player (SELF) unit menu but...

So here 'tis again.

/tst to toggle wether the menu adds the entries at the top.

local...
Forum: AddOn Search/Requests 08-20-24, 11:20 AM
Replies: 7
Views: 6,044
Posted By Fizzlemizz
If it's in the actual 3D world then only CVars...

If it's in the actual 3D world then only CVars will change things.
Forum: AddOn Search/Requests 08-20-24, 10:11 AM
Replies: 7
Views: 6,044
Posted By Fizzlemizz
If there is a CVar for it, you will most likey...

If there is a CVar for it, you will most likey find it in AIO (https://wowinterface.com/downloads/info25002-AdvancedInterfaceOptions.html) or AIO-C...
Forum: AddOn Help/Support 08-18-24, 10:24 PM
Replies: 4
Views: 1,576
Posted By Fizzlemizz
Just open a copy of LibStub.lua and you can see...

Just open a copy of LibStub.lua and you can see exactly how the libraries are being managed. It's 30 lines of code including comments and blanks.
Forum: AddOn Help/Support 08-18-24, 09:23 PM
Replies: 1
Views: 1,532
Posted By Fizzlemizz
GetSpellInfo moved into C_Spell.GetSpellinfo...

GetSpellInfo moved into C_Spell.GetSpellinfo (https://warcraft.wiki.gg/wiki/API_C_SpellBook.GetSpellInfo) and now returns a single table rather than seperate return...
Forum: AddOn Help/Support 08-18-24, 09:21 PM
Replies: 4
Views: 1,576
Posted By Fizzlemizz
You end up with one global instance of LSM (major...

You end up with one global instance of LSM (major version) that shares a single db of all media registered with it by all addons. That is essentially what LibStub does being the central contoller of...
Forum: AddOn Help/Support 08-18-24, 10:15 AM
Replies: 2
Views: 2,161
Posted By Fizzlemizz
local L = C_ClassTalents.GetConfigIDsBySpecID()...

local L = C_ClassTalents.GetConfigIDsBySpecID()
for i, configID in pairs(L) do
local configInfo = C_Traits.GetConfigInfo(configID)
if configInfo then
print(configInfo.name)
...
Forum: General Authoring Discussion 08-17-24, 04:46 PM
Replies: 6
Views: 4,473
Posted By Fizzlemizz
Left the unit name off the...

Left the unit name off the C_UnitAuras.GetAuraDataBySpellName call, fixed in the post above.
Forum: General Authoring Discussion 08-17-24, 04:42 PM
Replies: 6
Views: 4,473
Posted By Fizzlemizz
Create a table of aura names to...

Create a table of aura names to check/cancel"

local CancelAuras = { -- add aruas to cancel to the list
"A Witch!",
"Arcane Intellect",
"And Another One",
}
local function...
Forum: General Authoring Discussion 08-17-24, 04:13 PM
Replies: 6
Views: 4,473
Posted By Fizzlemizz
Try: local function...

Try:

local function anticosmeticauras_OnEvent(this, event, ...)
if IsInInstance() then
return
end
local auraData = C_UnitAuras.GetAuraDataBySpellName("player", "A Witch!")
if auraData and not...
Forum: General Authoring Discussion 08-16-24, 09:44 PM
Replies: 11
Views: 6,684
Posted By Fizzlemizz
Why is that list showing bugsack/BugGrabber as...

Why is that list showing bugsack/BugGrabber as DISABLED is they're available in-game?
Forum: General Authoring Discussion 08-16-24, 09:19 PM
Replies: 11
Views: 6,684
Posted By Fizzlemizz
I'm sure it's something simple and obvious but I...

I'm sure it's something simple and obvious but I can't think what atm.
Forum: AddOn Help/Support 08-16-24, 09:02 PM
Replies: 8
Views: 3,774
Posted By Fizzlemizz
I wasn't really looking at...

I wasn't really looking at that.

Change

frame_main.body.ScrollView.builder = function(button,data)
-- ...
end

to:
Forum: General Authoring Discussion 08-16-24, 08:49 PM
Replies: 11
Views: 6,684
Posted By Fizzlemizz
The quick test for error reporting would be to...

The quick test for error reporting would be to run

/run xxxccc()
in-game

It errors then check that you are making changes in the correct addons folder for the client you are loggin in to. From the...
Forum: AddOn Help/Support 08-16-24, 08:15 PM
Replies: 8
Views: 3,774
Posted By Fizzlemizz
What buttons? It sounds like you're creating new...

What buttons?

It sounds like you're creating new buttons every scroll instead of testing if the button has been added to the row already before creating/adding.

You don't get a new row for every...
Forum: General Authoring Discussion 08-16-24, 08:04 PM
Replies: 11
Views: 6,684
Posted By Fizzlemizz
Rename tes.lua to something else (but not in the...

Rename tes.lua to something else (but not in the .toc) You should get an error about not being able to find test.lua

If so, rename back to test.lua and in it, replace everything with

xxxcccc()
Run...
Forum: General Authoring Discussion 08-16-24, 07:38 PM
Replies: 11
Views: 6,684
Posted By Fizzlemizz
Install bug-grabber...

Install
bug-grabber (https://www.curseforge.com/wow/addons/bug-grabber)
and
bugsack (https://www.curseforge.com/wow/addons/bugsack)

You should get errors (in case you have script errors turned off)
Showing results 1 to 25 of 500