Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Kanegasi
Forum: Lua/XML Help 11-29-20, 09:30 PM
Replies: 6
Views: 255
Posted By Kanegasi
Yes, "replacing" the textures. WoW's client has a...

Yes, "replacing" the textures. WoW's client has a process that looks for any texture files in the install folder before loading the ones in the data, allowing you to load your own textures. Don't...
Forum: Macro Help 11-27-20, 08:42 AM
Replies: 2
Views: 120
Posted By Kanegasi
The equipped conditional only uses weapon type....

The equipped conditional only uses weapon type. Try [equipped:Fishing Poles].
Forum: Lua/XML Help 11-25-20, 04:42 AM
Replies: 5
Views: 296
Posted By Kanegasi
I don't mean to be rude, but at some point, the...

I don't mean to be rude, but at some point, the convenience of addons should win over the inconvenience of someone blindly running a random script or installing a random weakaura.
Forum: AddOn Help/Support 11-24-20, 05:19 PM
Replies: 2
Views: 286
Posted By Kanegasi
The taint log is only for specific taint issues....

The taint log is only for specific taint issues. You need to share the actual error you got while ingame.

As for the interaction between the addon and CopyToClipboard, that function is protected and...
Forum: Lua/XML Help 11-23-20, 10:22 PM
Replies: 5
Views: 296
Posted By Kanegasi
9.0.2 has protected DeleteCursorItem(), it now...

9.0.2 has protected DeleteCursorItem(), it now requires a hardware event.

This is the error I get when Scrap tries to delete an item (reported by Swatter from the Auctioneer package):

"Warning:...
Forum: AddOn Help/Support 11-20-20, 05:02 PM
Replies: 4
Views: 384
Posted By Kanegasi
Oh, I didn't catch this at first. The statement...

Oh, I didn't catch this at first. The statement "if speed<0 and speed>0 then" does not work. It will never be true.

I also didn't catch this other thing because my last math class was almost two...
Forum: AddOn Help/Support 11-19-20, 07:04 PM
Replies: 4
Views: 384
Posted By Kanegasi
That's not the code for the current version of...

That's not the code for the current version of StarCursor. It was updated on Curseforge back on October 19th. Try updating it first.

If it doesn't work after updating, the only suggestion I have is...
Forum: AddOn Search/Requests 10-26-20, 03:18 PM
Replies: 2
Views: 1,873
Posted By Kanegasi
local...

local overlay=CreateFrame("frame",f:GetName().."Overlay",f,"BackdropTemplate")
Forum: Lua/XML Help 10-16-20, 09:37 PM
Replies: 2
Views: 1,296
Posted By Kanegasi
Many API functions that have many returns are...

Many API functions that have many returns are being changed into returning a table.

Instead of the following:

local first, second, third = GetDataStuff()
-- first == "1st" and second == "2nd" and...
Forum: AddOn Help/Support 10-04-20, 08:49 PM
Replies: 3
Views: 2,590
Posted By Kanegasi
Similar to the AddOns.txt file, WoW doesn't...

Similar to the AddOns.txt file, WoW doesn't delete those lines. Once a setting is added, that line stays, so if you unmap a keybinding, it will be assigned to NONE, which is effectively nil. The cvar...
Forum: Lua/XML Help 10-03-20, 10:33 AM
Replies: 9
Views: 3,756
Posted By Kanegasi
The secure part of the UI is very sensitive. If...

The secure part of the UI is very sensitive. If you do anything that involves or even touches any part that is clickable, such as moving and sizing, it taints the entire thing. Even messing with the...
Forum: General Authoring Discussion 09-26-20, 03:56 PM
Replies: 8
Views: 3,621
Posted By Kanegasi
classic has the item api retail uses, at least...

classic has the item api retail uses, at least according to the code extract. Here's what I use in a retail weakaura to track and loot openable looted items:

if event=="BAG_UPDATE_DELAYED" then
...
Forum: AddOn Search/Requests 09-10-20, 04:49 PM
Replies: 11
Views: 10,452
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: 3,904
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: 3,036
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: 3,036
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: 7,897
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: 3,568
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: 3,990
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,879
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: 3,575
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: 5,492
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: 4,682
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: 2,664
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: 3,141
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...
Showing results 1 to 25 of 500