Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help Today, 12:10 PM
Replies: 6
Views: 98
Posted By Fizzlemizz
It doesn't check if the GMEXP_CFG exists so on a...

It doesn't check if the GMEXP_CFG exists so on a new install where the game has created the placeholder (GMEXP_CFG = nil) but you haven't assigned a table to it, this will fail.

if event ==...
Forum: Lua/XML Help Today, 09:14 AM
Replies: 6
Views: 98
Posted By Fizzlemizz
1. You can't local string.format =...

1. You can't
local string.format = string.format
directly, you would need a local "string" table to assign the functions to (a bit self defeating):
local string = {
format = string.format,
}

but...
Forum: Lua/XML Help 04-02-20, 10:26 AM
Replies: 11
Views: 314
Posted By Fizzlemizz
Blizzard don't want addons reloading the UI...

Blizzard don't want addons reloading the UI unless the user OKs it by clicking a mouse or keyboard button.

I was using April 1 as an example where programmatically reloading the UI might be misused.
Forum: Lua/XML Help 04-02-20, 09:58 AM
Replies: 11
Views: 314
Posted By Fizzlemizz
Specially around April 1 ;)

Specially around April 1 ;)
Forum: Lua/XML Help 04-02-20, 09:42 AM
Replies: 11
Views: 314
Posted By Fizzlemizz
Calling an OnClick script from a timer is not the...

Calling an OnClick script from a timer is not the same as physically pressing a button.

Your timer could show a hidden button that the user then presses in order to run ReloadUI().
Forum: Lua/XML Help 04-02-20, 08:50 AM
Replies: 11
Views: 314
Posted By Fizzlemizz
ReloadUI is protected and requires a hardware...

ReloadUI is protected and requires a hardware event (button/keyboard press) so it can't be run from a timer.
Forum: Lua/XML Help 04-01-20, 12:00 PM
Replies: 2
Views: 462
Posted By Fizzlemizz
When you press a physical button it usually...

When you press a physical button it usually effects the appearance of it's location (a keyboard button "looks" lower and slightly offset from normal). Using separate textures allows you to create the...
Forum: Lua/XML Help 03-31-20, 03:20 PM
Replies: 9
Views: 355
Posted By Fizzlemizz
The addon can't communicate but the only way for...

The addon can't communicate but the only way for an external program to extract the latest information from an addons SavedVariables file(s) is after /reload or logout/exit.
Forum: Lua/XML Help 03-31-20, 08:30 AM
Replies: 9
Views: 355
Posted By Fizzlemizz
/reload also causes saved variables to be...

/reload also causes saved variables to be eeerrrr... saved.
Forum: Lua/XML Help 03-29-20, 06:04 PM
Replies: 6
Views: 188
Posted By Fizzlemizz
ADDON (or whatever you call it) is always a...

ADDON (or whatever you call it) is always a string containing the name of the addon. You treat the ... passed to your .lua file as you would the ... passed to an OnEvent function ie. a variable...
Forum: Lua/XML Help 03-28-20, 07:42 PM
Replies: 15
Views: 341
Posted By Fizzlemizz
Maybe something like Discord Art...

Maybe something like Discord Art (https://www.wowinterface.com/downloads/info21942-DiscordArt.html) (or probably KgPanels) where you can create a texture with the artwork and click some buttons...
Forum: Lua/XML Help 03-28-20, 05:16 PM
Replies: 15
Views: 341
Posted By Fizzlemizz
For the most part, find the Blizzard XML file the...

For the most part, find the Blizzard XML file the frame/texture is defined in and check for its TexCoords tag.
<TexCoords left="0" right="0.675" top="0" bottom="0.675"/>

Exporting the Blizzard UI...
Forum: Lua/XML Help 03-26-20, 11:14 PM
Replies: 10
Views: 400
Posted By Fizzlemizz
You do the check if...

You do the check
if (checkItemOnGlobalProtectList(currentItemID) or checkItemOnCharacterProtectList(currentItemID)) and
itemValue ~= 0


If itemValue is nil then it is...
Forum: Lua/XML Help 03-26-20, 10:20 PM
Replies: 10
Views: 400
Posted By Fizzlemizz
The function called by C_Timer.After can't have...

The function called by C_Timer.After can't have parameter so you can't pass self to it. You would have to do it by another mechanism.

If it's not that then the code you posted does not include the...
Forum: Lua/XML Help 03-19-20, 02:50 PM
Replies: 15
Views: 485
Posted By Fizzlemizz
Really just a stab in the dark but possibly you...

Really just a stab in the dark but possibly you need something that stops the dataobj.OnLeave parent call doing it's default thing (presumably hiding the data frame)

Try doing this as a test which...
Forum: Lua/XML Help 03-19-20, 01:34 PM
Replies: 15
Views: 485
Posted By Fizzlemizz
Doing an OnEnter on the frame on top causes an...

Doing an OnEnter on the frame on top causes an OnLeave for the frame underneath it which would cause the closure of your information frame.

I don't know LibQTip or what else you might be using but...
Forum: Lua/XML Help 03-19-20, 12:31 PM
Replies: 10
Views: 362
Posted By Fizzlemizz
Doing it the proper (Seerah) way it would be: if...

Doing it the proper (Seerah) way it would be:

if not CommunitiesFrame or not CommunitiesFrame:IsShown() then
ToggleGuildFrame()
end...
Forum: Lua/XML Help 03-19-20, 09:13 AM
Replies: 10
Views: 362
Posted By Fizzlemizz
You need to change both instances of the tab...

You need to change both instances of the tab frame name in the call.

CommunitiesFrame.RosterTab:GetScript("OnClick")(CommunitiesFrame.RosterTab)

Otherwise you're calling the roster tab but passing...
Forum: Lua/XML Help 03-18-20, 10:32 PM
Replies: 10
Views: 362
Posted By Fizzlemizz
As an addon (retail) running /gdo using the code...

As an addon (retail) running /gdo using the code below opens the guild window to the guild information tab.

If the frame isn't shown, it will open it and if it is shown but on another tab it will...
Forum: Lua/XML Help 03-18-20, 11:46 AM
Replies: 10
Views: 362
Posted By Fizzlemizz
I took the lazy option :D

I took the lazy option :D
Forum: Lua/XML Help 03-18-20, 11:41 AM
Replies: 10
Views: 362
Posted By Fizzlemizz
ToggleGuildFrame()...

ToggleGuildFrame()
CommunitiesFrame.GuildInfoTab:GetScript("OnClick")(CommunitiesFrame.GuildInfoTab)
Forum: Lua/XML Help 02-28-20, 05:30 PM
Replies: 3
Views: 278
Posted By Fizzlemizz
Various attributes of the GameTooltip can change...

Various attributes of the GameTooltip can change each time it is shown although the scale is unlikely to be one of them.

Try hooking it's OnShow script

GameTooltip:HookScript("OnShow",...
Forum: Lua/XML Help 02-28-20, 05:10 PM
Replies: 9
Views: 582
Posted By Fizzlemizz
You can do with it as you please, I have no need...

You can do with it as you please, I have no need for credit. Just happy to help you get started.
Forum: Lua/XML Help 02-28-20, 04:30 PM
Replies: 9
Views: 582
Posted By Fizzlemizz
Certainly no professional :). If you install a...

Certainly no professional :).

If you install a debugger it should be reasonably straight forward to keep the code in order should anything break (I don't think there's anything earth shattering in...
Forum: Lua/XML Help 02-28-20, 03:07 PM
Replies: 9
Views: 582
Posted By Fizzlemizz
The first two are pretty simple, the last one not...

The first two are pretty simple, the last one not so much as it's beyond the scope of the PlayerModel widget and into things I've not played with yet.

Updated the code in the original post and...
Showing results 1 to 25 of 500