Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Kanegasi
Forum: General Authoring Discussion 06-15-21, 05:48 PM
Replies: 6
Views: 181
Posted By Kanegasi
Post your code. All of it. We appreciate the very...

Post your code. All of it. We appreciate the very detailed explanation of how your code works, but we can't debug code without looking at the code. It's a waste of time to try and do anything when...
Forum: AddOn Search/Requests 06-09-21, 03:58 PM
Replies: 4
Views: 218
Posted By Kanegasi
While you search for a solution, you're welcome...

While you search for a solution, you're welcome to thank Ketho for causing this...
Forum: Macro Help 05-28-21, 06:33 AM
Replies: 1
Views: 318
Posted By Kanegasi
/run local c,p,t,m=C_Map,"player","target"...

/run local c,p,t,m=C_Map,"player","target" m=c.GetBestMapForUnit(p)c.SetUserWaypoint({position=c.GetPlayerMapPosition(m,p),uiMapID=m})SendChatMessage("%t...
Forum: AddOn Search/Requests 05-21-21, 05:30 PM
Replies: 3
Views: 270
Posted By Kanegasi
You got this code from a file in an addon folder....

You got this code from a file in an addon folder. Put it back into the file.
Forum: AddOn Search/Requests 05-21-21, 05:20 PM
Replies: 20
Views: 1,357
Posted By Kanegasi
Let others make that determination. Honestly, the...

Let others make that determination. Honestly, the fact that you can't write what you believe is "simple" is closely related to the fact that you can't extract this functionality from existing code.
Forum: AddOn Search/Requests 05-21-21, 05:12 PM
Replies: 3
Views: 270
Posted By Kanegasi
This code runs every time you leave combat. This...

This code runs every time you leave combat. This is fine, especially since some things may reset themselves in combat, but this also means you're creating several more function hooks (the...
Forum: AddOn Search/Requests 05-21-21, 04:42 PM
Replies: 20
Views: 1,357
Posted By Kanegasi
It would be a hell of a lot easier if you...

It would be a hell of a lot easier if you actually shared that addon. It wouldn't make sense for anyone to "make" this addon when the code already exists and someone can just take it out.
Forum: AddOn Help/Support 05-01-21, 10:10 PM
Replies: 21
Views: 1,482
Posted By Kanegasi
Any nameplate you see has a valid unit in the...

Any nameplate you see has a valid unit in the form of nameplaten where n goes up to 40. All functions that accept a unit work with nameplate units.

As for looking for nearby guildies, in my...
Forum: AddOn Help/Support 04-30-21, 12:36 PM
Replies: 6
Views: 980
Posted By Kanegasi
You are not limited to that soundkit constant...

You are not limited to that soundkit constant table. If you want to explore all of the possible sound IDs, you can browse https://www.wowhead.com/sounds and use the number in the URL for the sound...
Forum: Macro Help 04-21-21, 02:40 PM
Replies: 3
Views: 1,232
Posted By Kanegasi
As a disclaimer, WoW Classic uses the same macro...

As a disclaimer, WoW Classic uses the same macro system as main WoW.

There is no option in the macro system that allows checking for cooldowns. Macros aren't Lua, they're a simple set of conditions...
Forum: Lua/XML Help 04-16-21, 07:57 AM
Replies: 8
Views: 893
Posted By Kanegasi
You haven't provided anything in your code about...

You haven't provided anything in your code about how the frame should look. No templates or textures. It exists, but it's effectively invisible and it spans the entire length and width of the screen....
Forum: General Authoring Discussion 04-15-21, 05:20 AM
Replies: 26
Views: 2,272
Posted By Kanegasi
Concerning the very first sentence, what is your...

Concerning the very first sentence, what is your end goal? A pin you can immediately shiftclick to share? I have some custom code I can share later when I get the chance that generates a pin at your...
Forum: PTR General Discussion 04-13-21, 06:17 PM
Replies: 3
Views: 1,034
Posted By Kanegasi
Those inline arguments are really nice. Still no...

Those inline arguments are really nice. Still no CLEU args though. Hopefully it won't break the arg code on the CLEU wiki page or be too different.
Forum: Lua/XML Help 04-13-21, 12:49 PM
Replies: 1
Views: 628
Posted By Kanegasi
I posted on your MMOC thread, but I'll answer...

I posted on your MMOC thread, but I'll answer here as well. UnitCanAttack will filter for hostile or neutral units, and I'm pretty sure you can't attack yourself so your nameplate will be left alone....
Forum: AddOn Search/Requests 04-06-21, 10:42 PM
Replies: 4
Views: 686
Posted By Kanegasi
It is not possible for players to customize their...

It is not possible for players to customize their name this way. If those are their actual names, you need to report them. Otherwise, you have an RP addon of some kind receiving custom player data...
Forum: AddOn Search/Requests 04-05-21, 03:46 PM
Replies: 2
Views: 591
Posted By Kanegasi
I use CopyPasta...

I use CopyPasta (https://www.curseforge.com/wow/addons/copypasta). It was last updated in 8.1.0 but it still works for me, just enable out-of-date addons or edit the toc file to version 90005 instead...
Forum: Lua/XML Help 04-04-21, 08:54 AM
Replies: 19
Views: 2,898
Posted By Kanegasi
C_PetJournal.SummonPetByGUID...

C_PetJournal.SummonPetByGUID (https://wowpedia.fandom.com/wiki/API_C_PetJournal.SummonPetByGUID)

C_PetJournal table (https://wowpedia.fandom.com/wiki/Category:API_namespaces/C_PetJournal)
Forum: Lua/XML Help 03-18-21, 05:59 PM
Replies: 3
Views: 607
Posted By Kanegasi
Patch 8.2.5 (as well as Classic patch 1.13.3) has...

Patch 8.2.5 (as well as Classic patch 1.13.3) has partically protected SendChatMessage if you're trying to send to SAY, YELL, or CHANNEL. Those three message destinations require a hardware event in...
Forum: Lua/XML Help 03-13-21, 08:58 PM
Replies: 5
Views: 870
Posted By Kanegasi
It was originally just %f, but I edited my post...

It was originally just %f, but I edited my post after their reply to be %.0f instead.
Forum: Lua/XML Help 03-12-21, 09:33 PM
Replies: 5
Views: 870
Posted By Kanegasi
Here you go. I also future-proofed it by...

Here you go. I also future-proofed it by formatting higher numbers, if you ever run into that.

local function FormatValue(val)
if val<1000 then return ("%.0f"):format(val)
elseif val<1000000...
Forum: Lua/XML Help 03-10-21, 10:14 PM
Replies: 6
Views: 1,224
Posted By Kanegasi
Creating objects makes them global by default....

Creating objects makes them global by default. The only exceptions are objects passed into a function and loop objects.

For example, say you have function(self,event), the objects "self" and "event"...
Forum: Lua/XML Help 03-10-21, 05:35 PM
Replies: 6
Views: 1,224
Posted By Kanegasi
A few issues: 1. The second argument of...

A few issues:

1. The second argument of CreateFrame is the global name of the frame. You do not want to create global objects named "btn1" etc. Choose a unique name.

2. Line 5, you're missing...
Forum: AddOn Search/Requests 03-08-21, 06:16 PM
Replies: 2
Views: 951
Posted By Kanegasi
Replace everything you have here with the...

Replace everything you have here with the following:

local f=CreateFrame("frame")
f:RegisterEvent("PLAYER_LOGIN")
f.update=function(frame)
if frame and frame.unit=="player" and frame.portrait...
Forum: Lua/XML Help 03-01-21, 07:31 PM
Replies: 10
Views: 1,565
Posted By Kanegasi
Spec info for enemy players is not available. All...

Spec info for enemy players is not available. All you get is their class, what they look like, and the spells they cast.
Forum: AddOn Search/Requests 02-04-21, 11:11 AM
Replies: 2
Views: 815
Posted By Kanegasi
You can bypass an account mute by not being muted...

You can bypass an account mute by not being muted in the first place.
Showing results 1 to 25 of 500