Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Kanegasi
Forum: Lua/XML Help 04-16-21, 07:57 AM
Replies: 8
Views: 170
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: 6
Views: 246
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: 2
Views: 210
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: 172
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: 298
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: 202
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: 903
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: 246
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: 418
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: 418
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: 724
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: 724
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: 607
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: 940
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: 453
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.
Forum: AddOn Help/Support 01-24-21, 05:18 PM
Replies: 7
Views: 961
Posted By Kanegasi
Lua does not use regex. It has a similar but...

Lua does not use regex. It has a similar but limited engine:

https://wow.gamepedia.com/Pattern_matching

In this case, since I assume you want to keep the comma in the center, you need %d with...
Forum: Lua/XML Help 01-17-21, 03:33 PM
Replies: 3
Views: 1,122
Posted By Kanegasi
I kind of like this, so I made my own. However, I...

I kind of like this, so I made my own. However, I use LiteMount, which recognizes when you can't use a mount and doesn't send out a spellcast event. For those that want a weakaura warning with...
Forum: Lua/XML Help 01-17-21, 10:36 AM
Replies: 3
Views: 1,122
Posted By Kanegasi
You're in the right direction. The way that maw...

You're in the right direction. The way that maw mount counter works is that it loops through all of your mounts and saves each spell ID when it loads, then listens for UNIT_SPELLCAST_SENT and...
Forum: Macro Help 01-13-21, 07:37 PM
Replies: 4
Views: 3,084
Posted By Kanegasi
Ah, my bad. "BATTLEGROUND" was removed a long...

Ah, my bad. "BATTLEGROUND" was removed a long time ago. All instances use "INSTANCE_CHAT" instead.

/run SendChatMessage(string.format("{Triangle} %s {Triangle} -...
Forum: Macro Help 01-13-21, 05:26 PM
Replies: 2
Views: 1,323
Posted By Kanegasi
The "a" table with the numbers contains the...

The "a" table with the numbers contains the marker ids. It only has 6, in order: skull, moon, square, triangle, diamond, and cross. You just need to add the other two, which is 5 for star and 6 for...
Forum: Lua/XML Help 01-10-21, 11:04 PM
Replies: 7
Views: 1,549
Posted By Kanegasi
I was curious what addon had those ebars,...

I was curious what addon had those ebars, googling brought me to your unanswered reddit thread. Since you want to check if the group has 4 or more players, checking the number of members is...
Forum: Lua/XML Help 01-10-21, 09:09 PM
Replies: 7
Views: 1,549
Posted By Kanegasi
local...

local f=CreateFrame("frame")
f:RegisterEvent("GROUP_ROSTER_UPDATE")
f:SetScript("OnEvent",function()
if UnitName("party3")...
Forum: Lua/XML Help 01-09-21, 11:39 PM
Replies: 2
Views: 1,159
Posted By Kanegasi
The GW table is indeed their local addon table....

The GW table is indeed their local addon table. This is at the top of their core/consts.lua file (where OP's code is)

local _, GW = ...

GW is not accessible outside of the addon.
Forum: Lua/XML Help 01-05-21, 08:28 AM
Replies: 2
Views: 2,055
Posted By Kanegasi
Yes, this is important information. It means we...

Yes, this is important information. It means we can't help you here. This site is only for official WoW servers.
Forum: Macro Help 01-04-21, 08:30 PM
Replies: 4
Views: 3,084
Posted By Kanegasi
The WorldStateFrame was removed, so...

The WorldStateFrame was removed, so GetNumWorldStateUI no longer exists. All extra info frames, such as capture bars under the minimap, world pvp zones, battleground information, and so on was...
Showing results 1 to 25 of 500