Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Kanegasi
Forum: General Authoring Discussion 04-05-22, 01:35 PM
Replies: 5
Views: 1,013
Posted By Kanegasi
The first argument in the ADDON_LOADED payload is...

The first argument in the ADDON_LOADED payload is the name of the addon that just loaded, equal to the filename of the toc which is also passed to every file loaded within an addon. You are not...
Forum: Lua/XML Help 04-03-22, 04:30 PM
Replies: 2
Views: 404
Posted By Kanegasi
This is not possible.

This is not possible.
Forum: AddOn Search/Requests 03-21-22, 05:22 PM
Replies: 1
Views: 398
Posted By Kanegasi
The only two ways to view someone's lockout is if...

The only two ways to view someone's lockout is if they link it to you or they are the leader of a group and you see them in the group finder under that instance. You cannot query someone else's...
Forum: AddOn Search/Requests 03-14-22, 06:05 PM
Replies: 6
Views: 580
Posted By Kanegasi
"Only loadable on demand" is a Blizzard option...

"Only loadable on demand" is a Blizzard option available to addons that allows the addon to stay unloaded until it's actually needed. For example, DBM utilizes this to keep massive amounts of raid...
Forum: AddOn Search/Requests 03-14-22, 04:12 AM
Replies: 6
Views: 580
Posted By Kanegasi
Bagnon is what you're looking for. Just tick the...

Bagnon is what you're looking for. Just tick the box at the top of the addon list to load out-of-date addons. I can personally confirm Bagnon still works.
Forum: Macro Help 03-13-22, 05:29 PM
Replies: 3
Views: 767
Posted By Kanegasi
The purpose behind macros in WoW is for a secure...

The purpose behind macros in WoW is for a secure way to do Blizzard-approved things in combat.

UseInventoryItem(8), which will activate whatever is in your feet slot, should work in combat in a...
Forum: Lua/XML Help 03-10-22, 07:15 PM
Replies: 2
Views: 608
Posted By Kanegasi
itip:ClearBackdrop() will also cause an error,...

itip:ClearBackdrop() will also cause an error, since the BackdropTemplate still does not exist on the frame.

The first change didn't work because you aren't actually changing...
Forum: Lua/XML Help 03-01-22, 09:50 PM
Replies: 3
Views: 704
Posted By Kanegasi
When expiring buffs flash, Blizzard doesn't use...

When expiring buffs flash, Blizzard doesn't use any animation functions, they just change the alpha every frame. Here's the complete math behind it if you want to try matching it with animations or...
Forum: Macro Help 02-26-22, 02:49 PM
Replies: 2
Views: 1,160
Posted By Kanegasi
Spells that require you to cast at a location...

Spells that require you to cast at a location with that big green targeting circle can only accept @cursor or @player. There are no other options.
Forum: AddOn Help/Support 02-25-22, 11:14 AM
Replies: 2
Views: 1,077
Posted By Kanegasi
An addon is only available where the author wants...

An addon is only available where the author wants it available. Assuming the similar names aren't a coincidence, that addon was created, or is currently maintained by, that website. If they aren't...
Forum: Lua/XML Help 02-22-22, 11:00 PM
Replies: 10
Views: 927
Posted By Kanegasi
The only difference between the two IDs is...

The only difference between the two IDs is whether or not the friendship functions return data. A friend is a type of faction. Factions and friends aren't like 1-10 for one then 1-10 for another,...
Forum: Lua/XML Help 01-31-22, 05:04 PM
Replies: 3
Views: 788
Posted By Kanegasi
The following command will always print the name...

The following command will always print the name and ID of the main zone you are in, except for edge cases like swimming in open ocean, where it should report the continent instead:

/run local...
Forum: Lua/XML Help 01-22-22, 11:40 PM
Replies: 14
Views: 2,584
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: 14
Views: 2,584
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: 14
Views: 2,584
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: 2,715
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: 464
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: 1,276
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: 1,276
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: 906
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: 1,022
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: 1,134
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: 1,134
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: 1,041
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: 838
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...
Showing results 1 to 25 of 500