Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Kanegasi
Forum: AddOn Help/Support Today, 05:19 PM
Replies: 1
Views: 88
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 Yesterday, 10:22 PM
Replies: 2
Views: 102
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: 283
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: 283
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,684
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,193
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,409
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,600
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,509
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,243
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,777
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: 2,972
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: 2,972
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,679
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,419
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,867
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,815
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,483
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,350
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,584
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,528
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,006
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: 1,060
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: 1,049
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: 1,190
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....
Showing results 1 to 25 of 500