Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 284
Search took 0.02 seconds.
Search: Posts Made By: Kanegasi
Forum: Lua/XML Help 11-06-18, 06:11 PM
Replies: 12
Views: 639
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: 227
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: 238
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: 423
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: 206
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: 226
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: 639
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: 368
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: 368
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: 368
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: 320
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: 320
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: 320
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: 199
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: 195
Posted By Kanegasi
Try /console noBuffDebuffFilterOnTarget 0

Try /console noBuffDebuffFilterOnTarget 0
Forum: Lua/XML Help 10-07-18, 11:52 AM
Replies: 10
Views: 320
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: 199
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: 650
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: 857
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: 268
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: 650
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: 382
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...
Forum: AddOn Search/Requests 09-03-18, 08:42 PM
Replies: 1
Views: 246
Posted By Kanegasi
I don’t know how long the game has had this, but...

I don’t know how long the game has had this, but the default UI supports previous chat entries. With the chat box focused, hold alt and use up or down arrows.

As for Prat, it’s modular. You can...
Forum: AddOn Help/Support 09-03-18, 02:51 PM
Replies: 3
Views: 317
Posted By Kanegasi
Trigger: function() return IsResting()...

Trigger:

function() return IsResting() end

Untrigger:

function() return not IsResting() end

Edit: I don't know if WeakAuras supports direct textures, but this is the data for the rest icon:
Forum: Lua/XML Help 09-01-18, 11:49 AM
Replies: 5
Views: 574
Posted By Kanegasi
The quest IDs are discovered by comparing a list...

The quest IDs are discovered by comparing a list of completed IDs to a new list after killing the rare. There is no method to directly search quest IDs.

You can download BfA treasures for HandyNotes...
Showing results 1 to 25 of 284