Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 495
Search took 0.01 seconds.
Search: Posts Made By: Kanegasi
Forum: AddOn Search/Requests 09-10-20, 04:49 PM
Replies: 11
Views: 5,987
Posted By Kanegasi
Register for ADDON_LOADED so you can execute the...

Register for ADDON_LOADED so you can execute the code when the talent UI loads.

local f=CreateFrame("frame")
f:RegisterEvent("ADDON_LOADED")
f:SetScript("OnEvent",function(self,event,addon)
if...
Forum: AddOn Search/Requests 09-04-20, 08:09 AM
Replies: 2
Views: 1,759
Posted By Kanegasi
VendorBait still works, I've been using it for...

VendorBait still works, I've been using it for years. You need to install the unreleased beta version tekkub uploaded back in Warlords. It is the current file here on this site, but you have to go to...
Forum: Lua/XML Help 08-29-20, 03:57 PM
Replies: 5
Views: 1,887
Posted By Kanegasi
I tested the code you provided and all three...

I tested the code you provided and all three buttons work for me. The left and right buttons even work in combat, but the middle button does not. I used a piece of a weakaura I have for the...
Forum: Lua/XML Help 08-29-20, 11:19 AM
Replies: 5
Views: 1,887
Posted By Kanegasi
Try using CastSpell(prof1) instead....

Try using CastSpell(prof1) instead. GetProfessions() returns spell book indexes which can be fed straight into CastSpell().
Forum: Lua/XML Help 08-28-20, 07:46 PM
Replies: 18
Views: 5,432
Posted By Kanegasi
local functions = {} functions.functionA =...

local functions = {}
functions.functionA = function()
-- stuff here
end
Forum: AddOn Help/Support 08-26-20, 03:33 PM
Replies: 2
Views: 2,052
Posted By Kanegasi
ActionButton1.Border = nil Using hide won't...

ActionButton1.Border = nil

Using hide won't work, since the code responsible for the green border will show it again.

\FrameXML\ActionButton.lua

-- Add a green border if button is an equipped...
Forum: AddOn Help/Support 08-15-20, 03:15 PM
Replies: 2
Views: 2,886
Posted By Kanegasi
TomTom has a function that adds waypoints to the...

TomTom has a function that adds waypoints to the current zone. You can also drop the "if TomTom" at the beginning, its redundant if you're using this macro in the first place.

/run for _,v in...
Forum: AddOn Help/Support 08-14-20, 12:21 AM
Replies: 2
Views: 1,056
Posted By Kanegasi
hooksecurefunc("CompactUnitFrame_UpdateName",funct...

hooksecurefunc("CompactUnitFrame_UpdateName",function(frame)
local arena
if IsActiveBattlefieldArena() and frame.unit:find("nameplate") then
for i=1,5 do
if...
Forum: General Authoring Discussion 08-02-20, 01:48 PM
Replies: 3
Views: 2,729
Posted By Kanegasi
The addon Blizzard_Communities is LoadOnDemand....

The addon Blizzard_Communities is LoadOnDemand. Out of all actions in the UI that load it, the one that usually gets it first is when your chat channel list updates in...
Forum: AddOn Search/Requests 08-01-20, 04:31 PM
Replies: 2
Views: 4,299
Posted By Kanegasi
This addon does something similar:...

This addon does something similar: https://www.wowinterface.com/downloads/info25160-ItemTooltipProfessionIcons.html
Forum: Macro Help 07-29-20, 10:27 PM
Replies: 1
Views: 3,776
Posted By Kanegasi
Could you be more specific? What is "darkness...

Could you be more specific? What is "darkness face" or "face of darkness"?
Forum: AddOn Help/Support 07-17-20, 02:16 AM
Replies: 11
Views: 1,585
Posted By Kanegasi
Sometimes a frame's Show widget, or at least the...

Sometimes a frame's Show widget, or at least the pointer you can hook, isn't used to show the frame. The OnShow handler is guaranteed to fire every time the frame shows.
Forum: General Authoring Discussion 07-15-20, 04:10 PM
Replies: 5
Views: 2,137
Posted By Kanegasi
The 0 index is exactly what OP is asking for....

The 0 index is exactly what OP is asking for. What OP wants is an easy way to clear all markers off the group without spamming messages. The 0 index at the end of the loop only clears the last marker...
Forum: Carbonite: Maps (Main AddOn) 07-08-20, 11:40 AM
Replies: 3
Views: 689
Posted By Kanegasi
Carbonite.lua line 956 disables the function that...

Carbonite.lua line 956 disables the function that would display the time played in chat.

function Nx:OnPlayer_login (event, ...)
Nx:OnParty_members_changed()
Nx.Com:OnEvent...
Forum: Lua/XML Help 07-04-20, 02:16 PM
Replies: 2
Views: 841
Posted By Kanegasi
The text size is dictated by UIErrorsFrame...

The text size is dictated by UIErrorsFrame itself, I don't think you can change the size of an individual line.

As for the icon, I don't think you can dynamically get the file path to use in the...
Forum: Lua/XML Help 07-03-20, 05:16 AM
Replies: 3
Views: 970
Posted By Kanegasi
The SetScript part isn't going to affect the AH,...

The SetScript part isn't going to affect the AH, you're right, but the suggestion is still valid. SetScript replaces whatever function was on that frame while HookScript adds a function to a frame....
Forum: Lua/XML Help 06-30-20, 01:42 PM
Replies: 4
Views: 1,107
Posted By Kanegasi
It's possible the LOOT_CLOSED event is too early...

It's possible the LOOT_CLOSED event is too early to use, since it fires before the last CHAT_MSG_LOOT event for everything you looted. I suggest using BAG_UPDATE_DELAYED, which fires once at the end...
Forum: Lua/XML Help 06-30-20, 02:07 AM
Replies: 4
Views: 1,107
Posted By Kanegasi
When asking help with code, please avoid the...

When asking help with code, please avoid the phrases "not working correctly" and "getting an error".

Instead of declaring the code "not working correctly", you need to be specific with what you want...
Forum: Macro Help 06-28-20, 11:19 PM
Replies: 4
Views: 2,570
Posted By Kanegasi
Ah, DBM. I was confused by the /count since DBM...

Ah, DBM. I was confused by the /count since DBM uses /pull. Same format, different function. Unfortunately, DBM doesn't expose its pull function, but we can use the registered SlashCmdList function...
Forum: Macro Help 06-28-20, 09:22 PM
Replies: 4
Views: 2,570
Posted By Kanegasi
I'm assuming you're talking about the new...

I'm assuming you're talking about the new countdown feature on the alpha. Unfortunately, the /countdown command does not parse any secure macro options and only accepts numbers. However, you can skip...
Forum: Lua/XML Help 06-24-20, 10:57 PM
Replies: 16
Views: 1,713
Posted By Kanegasi
The functions that SDPhantom mentioned aren't...

The functions that SDPhantom mentioned aren't functions you use, they are what transform the special {} strings into icons in clients that receive your message.

All you need to send a raid icon in...
Forum: Lua/XML Help 06-24-20, 03:27 PM
Replies: 8
Views: 1,278
Posted By Kanegasi
Thank you for trying my code out, even though you...

Thank you for trying my code out, even though you stated you had something working. Unfortunately, "it gives you an ERROR" is not helpful at all.
Forum: Lua/XML Help 06-24-20, 02:46 PM
Replies: 5
Views: 1,284
Posted By Kanegasi
hooksecurefunc("GuildStatus_Update",function(_) l...

hooksecurefunc("GuildStatus_Update",function(_)
local index,name,rank,online
local showOffline=GetGuildRosterShowOffline()
local offset=FauxScrollFrame_GetOffset(GuildListScrollFrame)
local...
Forum: Lua/XML Help 06-23-20, 10:16 PM
Replies: 16
Views: 1,713
Posted By Kanegasi
{rt8} is not a string, it is a table. You need to...

{rt8} is not a string, it is a table. You need to surround it with quotes to make it a string.

local chatString = "{rt8}"
Forum: AddOn Search/Requests 06-22-20, 01:15 PM
Replies: 2
Views: 1,399
Posted By Kanegasi
The following settings are included in...

The following settings are included in WoW:

/console UnitNameGuildTitle 0
/console UnitNamePlayerGuild 0
/console UnitNamePlayerPVPTitle 0

There is no setting to hide the server name.

There are...
Showing results 1 to 25 of 495