Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 30
Search took 0.01 seconds.
Search: Posts Made By: Nightness
Forum: Tutorials & Other Helpful Info. 05-25-19, 01:26 AM
Replies: 15
Views: 5,197
Posted By Nightness
Are secure templates passing into classic unaltered?

Are secure templates passing into classic unaltered?
Forum: Lua/XML Help 04-26-19, 08:36 PM
Replies: 1
Views: 327
Posted By Nightness
I need to learn regex

local primaryAttributes = {
"type", "spell", "item", "action", "macro", "macrotext", "checkselfcast", "checkfocuscast",
"toy", "flyoutDirection", "clickbutton", "unit", "marker", "harmbutton",...
Forum: Lua/XML Help 04-24-19, 10:20 PM
Replies: 1
Views: 327
Posted By Nightness
Would like to be able to scan all set attributes for a SecureActionButton

I'm trying to make a (pseudo) GetAllSetAttributes function for use on SecureActionButtonTemplate. I'm looking to generate a table of all potential attributes that could be set using the attribute...
Forum: General Authoring Discussion 04-15-19, 07:33 PM
Replies: 0
Views: 308
Posted By Nightness
Summon Random Favorite Mount [Improved]

I have created these global functions for my addon. "SummonRandomFavoriteMount()" has one difference from "C_MountJournal.SummonByID(0)"... Instead of only dismounting, if mounted (normal for that...
Forum: AddOn Help/Support 04-06-19, 08:12 PM
Replies: 3
Views: 299
Posted By Nightness
Try Twitch

Try Twitch
Forum: Lua/XML Help 04-06-19, 12:56 AM
Replies: 12
Views: 581
Posted By Nightness
Thanks, you always have the best advice. :) /run...

Thanks, you always have the best advice. :)
/run ToggleGuildFrame() works perfect... Ty fizz! :)
Forum: Lua/XML Help 04-05-19, 10:02 PM
Replies: 12
Views: 581
Posted By Nightness
That is a good idea, although I hide the bar, I...

That is a good idea, although I hide the bar, I think it's still doable...

Still trying to figure the global function names out though. It's suppose to be the "proper way" to Hide/Show main Blizzard...
Forum: Lua/XML Help 04-05-19, 09:59 PM
Replies: 3
Views: 476
Posted By Nightness
Nice, thanks! :)

Better than my answer and helps me too, thanks
Forum: Lua/XML Help 04-04-19, 11:56 PM
Replies: 3
Views: 476
Posted By Nightness
I'm looking into this...

I'm looking into this for my MagnetButtons addon. I will let you know when I know... Crazy day, but if you want a go at figuring it out, I will quickly explain what to look for... create a frame and...
Forum: Lua/XML Help 04-04-19, 11:33 PM
Replies: 12
Views: 581
Posted By Nightness
Force loading a blizzard addon...

So I want to create a macro to load Guild and Communities dialog; got...
/script LoadAddOn("Blizzard_Communities")
/script if (CommunitiesFrame:IsShown()) then CommunitiesFrame:Hide() else...
Forum: General Authoring Discussion 04-04-19, 02:46 AM
Replies: 15
Views: 1,024
Posted By Nightness
Keep in mind...

Keep in mind Blizzard will not let you f*ck with attribute values while in combat or out of control... Your use of SetAttribute().
Forum: Lua/XML Help 02-14-19, 02:15 AM
Replies: 3
Views: 926
Posted By Nightness
Nice idea from the dev that made that; all you...

Nice idea from the dev that made that; all you need to do is know CD times and watch for spell casts... Although that only will work if you are in range to detect the spell casts, the point being it...
Forum: Lua/XML Help 02-03-19, 09:56 PM
Replies: 3
Views: 926
Posted By Nightness
Functions that work on other units typically...

Functions that work on other units typically start with "Unit" (https://wow.gamepedia.com/World_of_Warcraft_API?veaction=edit&section=94#Unit_Functions). There wouldn't be a passive way to do this....
Forum: General Authoring Discussion 02-02-19, 09:12 PM
Replies: 5
Views: 526
Posted By Nightness
The gsub worked perfectly, thanks!!! :banana:

The gsub worked perfectly, thanks!!! :banana:
Forum: General Authoring Discussion 02-02-19, 09:49 AM
Replies: 3
Views: 359
Posted By Nightness
It's really ClearTarget(), since it's the one...

It's really ClearTarget(), since it's the one that breaks the elseif chain.
Forum: General Authoring Discussion 02-02-19, 08:28 AM
Replies: 5
Views: 526
Posted By Nightness
Tried '\n', and "|n", and \013\010...

Tried '\n', and "|n", and \013\010 already.
Forum: General Authoring Discussion 02-02-19, 12:14 AM
Replies: 5
Views: 526
Posted By Nightness
Multiple line macros using the macrotext attribute of a SecureActionButtonTemplate?

I'm looking to make a multi-line macro (and have it work) in my MagnetButtons (https://www.wowinterface.com/downloads/info14679-MagnetButtons.html) addon, that uses SecureActionButtonTemplate...
Forum: General Authoring Discussion 02-01-19, 10:58 PM
Replies: 3
Views: 359
Posted By Nightness
Think I found it...

SpellStopCasting(), SpellStopTargeting(), and ClearTarget() are what is generating the tainted error, they are not in a secure call.
Forum: General Authoring Discussion 02-01-19, 03:40 AM
Replies: 3
Views: 359
Posted By Nightness
ToggleGameMenu can be called from addons (or /script) in a limited way

Check out the API bug I found…

“/script ToggleGameMenu(); StaticPopup1:Hide()”.

Game menu toggle is not really protected but it’s calls to SpellStopCasting(), SpellStopTargeting(), and...
Forum: oUF (Otravi Unit Frames) 12-31-18, 01:30 AM
Replies: 5
Views: 550
Posted By Nightness
Google is your friend (Bing too!!), took me 1...

Google is your friend (Bing too!!), took me 1 minute to find this...

health, maxHealth, power, speed, rarity = C_PetJournal.GetPetStats("petID")
Forum: Lua/XML Help 12-29-18, 11:49 AM
Replies: 4
Views: 448
Posted By Nightness
See "zip files".

See "zip files".
Forum: Lua/XML Help 12-29-18, 11:31 AM
Replies: 4
Views: 544
Posted By Nightness
Zone

Keep using isUsable from C_MountJournal.GetMountInfoByID, and create a pseudo-event that triggers off of the "ZONE_CHANGED", "ZONE_CHANGED_NEW_AREA", and the "ZONE_CHANGED_INDOORS" events; trigger...
Forum: Lua/XML Help 12-28-18, 12:50 AM
Replies: 1
Views: 400
Posted By Nightness
Not enough info...

Have you checked what is being passed as activityID to GetActivityInfo(activityId). The GetActivityInfo function didn't change from what I can tell. So it's probably being passed a bad argument.
Forum: Lua/XML Help 12-28-18, 12:35 AM
Replies: 1
Views: 297
Posted By Nightness
Does anyone know of property sheets widget (XML)?

I'd like to save a few days of scripting here... Does anyone know of a property sheets widget (in XML).

An example, if you have AdvancedInterfaceOptions; it's Interface -> Addon ->...
Forum: Tutorials & Other Helpful Info. 12-24-18, 02:43 AM
Replies: 1
Views: 418
Posted By Nightness
Some helpful info with InterfaceOptionsFrame_OpenToCategory

This is used to display a specific addon's settings in Menu -> Interface -> Addons...

Call this function twice (in a row)... There is a bug in Blizzard's code which makes the first call (after login...
Showing results 1 to 25 of 30