Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 287
Search took 0.03 seconds.
Search: Posts Made By: Kanegasi
Forum: AddOn Help/Support 12-05-18, 10:28 PM
Replies: 7
Views: 231
Posted By Kanegasi
Wow. This absolutely sucks. I have beta/PTR on a...

Wow. This absolutely sucks. I have beta/PTR on a separate drive than WoW. I donít have the SSD space to install more than just the live version. Looks like I wonít bother with beta/PTR for a long...
Forum: AddOn Search/Requests 12-01-18, 07:41 PM
Replies: 2
Views: 169
Posted By Kanegasi
I'm sorry, but photobucket is just terrible. I...

I'm sorry, but photobucket is just terrible. I reuploaded them to imgur instead, click for larger versions.

https://i.imgur.com/KwpGaeBm.jpg...
Forum: AddOn Search/Requests 11-22-18, 11:38 PM
Replies: 8
Views: 309
Posted By Kanegasi
I use UnitName("npc") to get the name of the...

I use UnitName("npc") to get the name of the trading target for my addon.

local f = CreateFrame("frame")
function f.TRADE_SHOW()
local name, realm = UnitName("npc")
print(name..(realm and...
Forum: Lua/XML Help 11-06-18, 06:11 PM
Replies: 12
Views: 709
Posted By Kanegasi
local function hexColorNames(chatMessage,...

local function hexColorNames(chatMessage, modChatColor)
local words,coloredMessage,s,p,class = {strsplit(' ', chatMessage)},''
local combinedName = UnitName('player')..'-'..GetRealmName()
...
Forum: Lua/XML Help 11-03-18, 10:43 AM
Replies: 8
Views: 284
Posted By Kanegasi
I see the confusion. GatherMate2 is using...

I see the confusion. GatherMate2 is using setmetatable() but you tried to put a block of code directly into a table.

GatherMate2:

local sortedFilter = setmetatable( object, metaTable )

You:

local...
Forum: General Authoring Discussion 10-29-18, 09:04 PM
Replies: 5
Views: 284
Posted By Kanegasi
Any code that touches any part of friendly...

Any code that touches any part of friendly nameplates and any chat bubbles is blocked in instances. Enemy nameplates are not affected.
Forum: Lua/XML Help 10-25-18, 04:11 AM
Replies: 16
Views: 493
Posted By Kanegasi
You missed the negative one Xrystal...

You missed the negative one Xrystal mentioned.

for i = 5,1,-1 do
Forum: Lua/XML Help 10-22-18, 12:52 PM
Replies: 2
Views: 255
Posted By Kanegasi
Change RegisterEvent to RegisterUnitEvent. Youíre...

Change RegisterEvent to RegisterUnitEvent. Youíre getting nil because itís firing for every UNIT_AURA instead of just yours.
Forum: Lua/XML Help 10-18-18, 07:34 PM
Replies: 4
Views: 253
Posted By Kanegasi
The 12th and 13th return from GetItemInfo is an...

The 12th and 13th return from GetItemInfo is an ID that matches the type and subtype of returns 6 and 7 respectively.

Doing some digging, here are the ID variables ingame you can match to the 12th...
Forum: Lua/XML Help 10-15-18, 03:48 AM
Replies: 12
Views: 709
Posted By Kanegasi
Terenna is recreating...

Terenna is recreating ChatFrame_MessageEventHandler, that filter is to completely block the original event while their new code handles it, otherwise you get double messages printed.
Forum: Lua/XML Help 10-14-18, 09:07 AM
Replies: 5
Views: 428
Posted By Kanegasi
I don’t believe in ignoring players unless...

I don’t believe in ignoring players unless they’re directly whispering me or are truly a menace in a public channel. Ads aren’t a good enough reason for me to ignore them since I can just filter the...
Forum: Lua/XML Help 10-11-18, 03:00 PM
Replies: 5
Views: 428
Posted By Kanegasi
The only way around that is to use the /who API,...

The only way around that is to use the /who API, and since that's not instant, filtering the message directly won't work.

Personally, I've been filling BadBoy's custom filter list. When I see a new...
Forum: Lua/XML Help 10-10-18, 01:55 PM
Replies: 5
Views: 428
Posted By Kanegasi
No. The only two functions available to get data...

No. The only two functions available to get data about a guild you aren't in are GetGuildInfo(unit) and GetInspectGuildInfo(unit), both requiring a unit.

local guildName, guildRankName,...
Forum: Lua/XML Help 10-08-18, 01:50 PM
Replies: 10
Views: 358
Posted By Kanegasi
Oh, I missed that part, sorry. What I did to...

Oh, I missed that part, sorry. What I did to "build" the channel copy was just follow Blizzard's ChatFrame_MessageEventHandler function, which processes every chat event shown in the chat frames. You...
Forum: Lua/XML Help 10-08-18, 11:29 AM
Replies: 10
Views: 358
Posted By Kanegasi
The method I presented, using filters as one...

The method I presented, using filters as one piece printing and filtering, does seem like it's complicated, but using the filters is the best (or only) way to do what you want without replacing...
Forum: Lua/XML Help 10-07-18, 09:46 PM
Replies: 10
Views: 358
Posted By Kanegasi
Ah, I missed that. The taint source for that is...

Ah, I missed that. The taint source for that is at the bottom.

frame.DefaultAddMessage = frame.AddMessage --idk what all of this is
frame.AddMessage = AddMessage --idk what all of this is

As for...
Forum: AddOn Search/Requests 10-07-18, 12:35 PM
Replies: 3
Views: 252
Posted By Kanegasi
I was in the middle of editing it. Make sure you...

I was in the middle of editing it. Make sure you have the current code shown.
Forum: Lua/XML Help 10-07-18, 11:59 AM
Replies: 3
Views: 214
Posted By Kanegasi
Try /console noBuffDebuffFilterOnTarget 0

Try /console noBuffDebuffFilterOnTarget 0
Forum: Lua/XML Help 10-07-18, 11:52 AM
Replies: 10
Views: 358
Posted By Kanegasi
Just a quick look at your code, I noticed you're...

Just a quick look at your code, I noticed you're iterating CHAT_FRAMES. Temporary chat windows from whispers and the pet battle log aren't added to that table. Their ID is forced as 11 and above and...
Forum: AddOn Search/Requests 10-07-18, 11:05 AM
Replies: 3
Views: 252
Posted By Kanegasi
https://addon.bool.no hooksecurefunc("GameTooltip...

https://addon.bool.no

hooksecurefunc("GameTooltip_SetBackdropStyle",function(self,style)
if style==GAME_TOOLTIP_BACKDROP_STYLE_AZERITE_ITEM then
...
Forum: Lua/XML Help 10-02-18, 08:10 PM
Replies: 8
Views: 701
Posted By Kanegasi
As the linked code above shows, UnitPower has two...

As the linked code above shows, UnitPower has two arguments: unit and type. Type is a number and is one of the numbers I posted above.

Usage: UnitPower(unit,type)

This returns player mana:...
Forum: General WoW Chat 09-30-18, 10:31 PM
Replies: 1
Views: 1,076
Posted By Kanegasi
As you have already figured out, the darkmoon...

As you have already figured out, the darkmoon trinkets make this sound every time they shuffle in combat.
You can "mute" this sound by creating the following empty file:

World of...
Forum: AddOn Help/Support 09-28-18, 01:50 PM
Replies: 2
Views: 323
Posted By Kanegasi
Go to https://addon.bool.no and create an addon...

Go to https://addon.bool.no and create an addon with this code:

local f = CreateFrame("frame")
f:SetScript("OnEvent", function()
local shift = IsShiftKeyDown()
...
Forum: Lua/XML Help 09-16-18, 09:39 AM
Replies: 8
Views: 701
Posted By Kanegasi
The Enum.PowerType.Mana shown in the linked code...

The Enum.PowerType.Mana shown in the linked code is a number. Here’s the full table:

Enum = {
PowerType = {
Alternate = 10,
ArcaneCharges = 16,
Chi = 12,
...
Forum: AddOn Help/Support 09-09-18, 05:13 PM
Replies: 3
Views: 435
Posted By Kanegasi
This error is coming from either line 204 or line...

This error is coming from either line 204 or line 295 of the file Profit_Options.xml in the addon Tradeskill Profit (https://wow.curseforge.com/projects/ts_profit).

I'm not familiar with XML nor do...
Showing results 1 to 25 of 287