Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.10 seconds.
Search: Posts Made By: Kanegasi
Forum: Lua/XML Help 01-22-22, 11:40 PM
Replies: 13
Views: 746
Posted By Kanegasi
Oops, missed some frame references to your...

Oops, missed some frame references to your variables that used to be local. Probably could've kept those local. My base goal with those was to put the three letter variables into indexes of the...
Forum: Lua/XML Help 01-22-22, 09:10 PM
Replies: 13
Views: 746
Posted By Kanegasi
There's an issue with having this code happen...

There's an issue with having this code happen every time you leave combat. You're creating three frames that listen to the same event every time. Eventually, over the course of a play session, you...
Forum: Lua/XML Help 01-21-22, 01:10 AM
Replies: 13
Views: 746
Posted By Kanegasi
local whitelist = { [116841] = "player",...

local whitelist = {

[116841] = "player", --Tiger's Lust
[228287] = "player", --Mark of the Crane
[115078] = "all", --Paralysis

}

local function replacefilter(unit)
...
Forum: Macro Help 01-09-22, 10:31 AM
Replies: 3
Views: 1,763
Posted By Kanegasi
Not possible. Only your position is available in...

Not possible. Only your position is available in the API.
Forum: AddOn Search/Requests 01-08-22, 02:09 PM
Replies: 1
Views: 191
Posted By Kanegasi
Here's a basic layout of something that prints...

Here's a basic layout of something that prints dispels and steals to your chatframe only.

If you're not familiar with code, you can use https://addon.bool.no to make this an addon.

local...
Forum: Macro Help 01-01-22, 10:44 PM
Replies: 8
Views: 565
Posted By Kanegasi
There might be some weird delay with UninviteUnit...

There might be some weird delay with UninviteUnit on nonexistent members, causing something to happen after the loop. Normally, unit functions on nonexistent units are silently ignored.

In any of...
Forum: Macro Help 01-01-22, 03:49 PM
Replies: 8
Views: 565
Posted By Kanegasi
I'm a bit confused as to how your original macro...

I'm a bit confused as to how your original macro even worked. On retail, UninviteUnit is supposed to take only name-realm and is hardware protected, as well as LeaveParty() moving to C_PartyInfo in...
Forum: AddOn Help/Support 12-31-21, 11:35 AM
Replies: 3
Views: 265
Posted By Kanegasi
When viewing a wago page, there is a big...

When viewing a wago page, there is a big orange-red button that says "COPY WEAKAURA IMPORT STRING" but in this case it says TBC-WEAKAURA to warn you it's only for Burning Crusade Classic.

You click...
Forum: AddOn Search/Requests 12-30-21, 07:04 PM
Replies: 8
Views: 528
Posted By Kanegasi
The ingame calendar is like any other part of the...

The ingame calendar is like any other part of the UI, it uses functions to request data from Blizzard's servers. There is no "Internet connection" there. The only exception to "Internet connection"...
Forum: Lua/XML Help 12-26-21, 07:30 PM
Replies: 6
Views: 604
Posted By Kanegasi
The gsub function accepts three arguments: the...

The gsub function accepts three arguments: the string, what to look for, and what to substitute.

msg=gsub(msg,find,replace)

or

msg=msg:gsub(find,replace)

This means that replace being an empty...
Forum: Lua/XML Help 12-25-21, 09:12 PM
Replies: 6
Views: 604
Posted By Kanegasi
ChatFrame_AddMessageEventFilter("CHAT_MSG_BG_SYSTE...

ChatFrame_AddMessageEventFilter("CHAT_MSG_BG_SYSTEM_ALLIANCE",function(_,_,msg,...)
msg=msg:gsub(" If left unchallenged, the Alliance will control it in 1 minute!","")
return nil,msg,...
end)
Forum: Lua/XML Help 12-11-21, 03:31 PM
Replies: 6
Views: 551
Posted By Kanegasi
Tooltips require an owner frame. You need to use...

Tooltips require an owner frame. You need to use ST_Tooltip:SetOwner().

Useful pages:

https://wowpedia.fandom.com/wiki/UIOBJECT_GameTooltip
https://wowpedia.fandom.com/wiki/API_GameTooltip_SetOwner
Forum: Lua/XML Help 11-30-21, 05:05 AM
Replies: 1
Views: 569
Posted By Kanegasi
sleep isn't a valid function. SendChatMessage is...

sleep isn't a valid function.

SendChatMessage is hardware protected when using the CHANNEL option, which means code cannot call it unless a keystroke or mouse click was used to execute the code. In...
Forum: Lua/XML Help 11-29-21, 06:04 AM
Replies: 5
Views: 1,037
Posted By Kanegasi
GetSpellLink wasn't added until 2.4.0. It should...

GetSpellLink wasn't added until 2.4.0. It should be available in BCC but it's not in Classic.
Forum: AddOn Help/Support 11-28-21, 07:35 PM
Replies: 1
Views: 489
Posted By Kanegasi
For the alt power bar, see how this addon does...

For the alt power bar, see how this addon does it:
https://www.curseforge.com/wow/addons/betterpowerbaralt
https://www.wowinterface.com/downloads/info19225-BetterPowerBarAlt.html

For the alert...
Forum: Lua/XML Help 10-13-21, 10:42 PM
Replies: 3
Views: 1,041
Posted By Kanegasi
For a more in-depth explanation, ... in Lua is...

For a more in-depth explanation, ... in Lua is called a vararg, short for variable arguments. It is used when defining a function when the number of arguments being passed to it is unknown.

function...
Forum: Classic - AddOn Search/Requests 09-29-21, 03:09 PM
Replies: 1
Views: 1,247
Posted By Kanegasi
Here's the bare minimum if those buttons are...

Here's the bare minimum if those buttons are standard button frames:

local Masque=LibStub("Masque",true)
if Masque then
local group=Masque:Group("SamyTotemTimers")
group:AddButton(button1)
...
Forum: General Authoring Discussion 09-19-21, 08:17 PM
Replies: 2
Views: 1,022
Posted By Kanegasi
https://www.wowhead.com/spell=186263/shadow-mend#s...

https://www.wowhead.com/spell=186263/shadow-mend#sounds
Forum: AddOn Help/Support 09-19-21, 11:33 AM
Replies: 5
Views: 1,675
Posted By Kanegasi
By default, your macros, keybinds, action bars,...

By default, your macros, keybinds, action bars, and cvars are all saved serverside. No matter how many times you reinstall, the game will restore them.

You can reset your cvars with the following...
Forum: Lua/XML Help 09-16-21, 06:25 AM
Replies: 1
Views: 561
Posted By Kanegasi
I suggest looking into ls:toasts on how they...

I suggest looking into ls:toasts on how they handle alerts.

https://www.wowinterface.com/downloads/info24123.html
Forum: Lua/XML Help 09-06-21, 05:40 PM
Replies: 4
Views: 902
Posted By Kanegasi
That custom font belongs to the addon Details. If...

That custom font belongs to the addon Details. If you disabled or uninstalled Details, you need to go into TipTac settings and choose another font.
Forum: AddOn Help/Support 08-22-21, 12:38 PM
Replies: 2
Views: 808
Posted By Kanegasi
DuffedUI replaces OpenAllBagsMatchingContext with...

DuffedUI replaces OpenAllBagsMatchingContext with an empty function, but the Blizzard UI expects a number returned from that function.

Here's the function called when you open the Soulbind...
Forum: AddOn Help/Support 08-15-21, 11:56 AM
Replies: 1
Views: 818
Posted By Kanegasi
The issue is with Prat, possibly with the Alias...

The issue is with Prat, possibly with the Alias module. Are you using that module? If so, did you set any aliases with a percent sign? Did you put a percent sign anywhere in Prat's settings? It's...
Forum: Lua/XML Help 08-08-21, 02:39 PM
Replies: 4
Views: 979
Posted By Kanegasi
The "SAY" channel is protected when not in an...

The "SAY" channel is protected when not in an instance. What you are trying to do here will not work. You can still send to "PARTY" though. You can also send to "EMOTE" if you want, like...
Forum: Carbonite: General Discussion 08-04-21, 02:47 PM
Replies: 2
Views: 836
Posted By Kanegasi
That won't work. The new GetCurrencyInfo returns...

That won't work. The new GetCurrencyInfo returns a table and the current iteration of Honor has the ID of 1792.

local honor = C_CurrencyInfo.GetCurrencyInfo(1792).quantity
Showing results 1 to 25 of 500