Giter VIP home page Giter VIP logo

weakauras2's Introduction

WeakAuras

Build Status WeakAuras on Discord Patreon

Logo

WeakAuras is a powerful and flexible framework that allows the display of highly customizable graphics on World of Warcraft's user interface to indicate buffs, debuffs, and other relevant information. This addon was created to be a lightweight replacement for Power Auras but has since introduced more functionalities while remaining efficient and easy to use.

Features

  • An intuitive and powerful configuration interface
  • Custom textures including all textures from Power Auras and Blizzard's spell alerts
  • Progress bars and textures that show the exact duration of auras
  • Displays based on auras, health, power (mana, rage, soul shards, holy power, etc.), cooldowns, combat events, runes, totems, items, and many other triggers
  • Preset and user-defined animations
  • Custom side-effects such as chat announcements or sounds
  • Grouping, which allows multiple displays to be positioned and configured at the same time
  • CPU optimizations such as conditional loading/unloading of displays, modularity, and prevention of full aura scanning
  • Powerful customization options, such as animation paths, on-show/on-hide code, and custom triggers, for Lua-savvy users

Quick Start

To open the options window, type /wa or /weakauras into your chat and hit enter or use the minimap icon.

Extensions

  • WeakAuras Companion: This application adds the missing link between Wago.io and the World of Warcraft addon, enabling you to update your auras in a convenient fashion.
  • WeakAuras_StopMotion: This addon adds a new region type to WeakAuras that allows for stop motion animations. Stop Motion textures contain each frame of the animation as a separate image. The addon ships with a number of animations and it supports custom textures.
  • SharedMedia for more bar textures.
  • SharedMediaAdditionalFonts for more fonts.
  • ColorPickerPlus for a better version of the WoW color picker that includes class color templates and a copy and paste function.

Documentation

For in-depth documentation, see the wiki page.

Examples

For some examples of what WeakAuras can do, take a look at wago.io where tons of people upload their creations and even feature complete interfaces utilizing WeakAuras!

Problems

  • Please see the wiki page.
  • If you've discovered something that's clearly wrong, or if you get an error, please create a ticket.
  • You're a programmer yourself and want to contribute? Check out our contributing guidelines to get started!
  • Feel free to join our Discord Community to talk, get help and discuss everything WeakAuras!

Support

If you want to help out with development without providing code yourself, you can always donate to the WeakAuras project maintainers using PayPal or become a Patreon:

WeakAuras on PayPal Become a Patreon!

weakauras2's People

Contributors

acidweb avatar asaka-wa avatar causese avatar crablicious avatar dependabot[bot] avatar durcyn avatar emptyrivers avatar gragagrogog avatar healarious avatar infusonwow avatar ironii avatar jgersti avatar jjholleman avatar jodsderechte avatar krazyito65 avatar krucifom avatar lqnrd avatar mrbuds avatar nebularg avatar nekizalb avatar nevcairiel avatar nightwarden24 avatar nilkemoryaoryhara avatar nullkomplex avatar raethkcj avatar road-block avatar rrekw avatar smb avatar stanzilla avatar vardex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weakauras2's Issues

Wrong localization in italian client

What steps will reproduce the problem?
Update to lastest release and run with the italian client

What is the expected output? What do you see instead?
the addon should be at least in english (or italian if localized) , instead it's localized in chinese

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
yes

What version of WeakAuras are you using?
Last release pulled from curse

Was it working in a previous version? If yes, which was the last good one?
It was working in english (previous release from curse)

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.
No errors

Please provide any additional information below.
image

If you do not know which aura is causing issues for you, please attach a ZIP archive of your WeakAuras SavedVariables file. It's the WeakAuras.lua file in World of Warcraft\WTF\Account\YOUR_ACCOUNT\SavedVariables\

SavedVariables.zip

Region aurabar not supported and /wa doesn't work

Hi guys, i have a problem with wa; when I type /wa or /weakauras in game, the menu doesn't show up, but some wa bars show up in combat (not complete, but with half icons). i use elvui with a player custom profile, could it be an interaction with this? i also use DBM, Detail, and vuhdo

Search filter periodically resets to empty

The issue is only on my warlock. I type something into the search filter, and periodically it just disappears. It still occurs with WeakAuras as the only enabled addon.

I traced it down to the SPELLS_CHANGED event periodically firing for my warlock (not sure why), This causes WeakAuras.ScanForLoads to be called, then WeakAuras.afterScanForLoads, then WeakAuras.SortDisplayButtons() which resets the filter to empty.

I'm confused about the logic at the beginning of WeakAuras.SortDisplayButtons:

local recenter = false;
filter = filter or (overrideReset and previousFilter or "");
if(frame.filterInput:GetText() ~= filter) then
  frame.filterInput:SetText(filter);
end
if(previousFilter and previousFilter ~= "" and (filter == "" or not filter)) then
  recenter = true;
end
previousFilter = filter;
filter = filter:lower();

What's the purpose of that? Would there be issues if it simply said,

local recenter = true;
filter = frame.filterInput:GetText():lower();

Looped sound actions don't stop with "Stop Sound"

What steps will reproduce the problem?

Have an aura with a looped sound, with Stop Sound selected OnHide.

What is the expected output? What do you see instead?

The looped sound doesn't stop. However, if the aura is hidden during the initial sound, that will stop.

What version of WeakAuras are you using?

2.4.3

Was it working in a previous version? If yes, which was the last good one?

First version that I've checked.

In case you do know which aura is problematic, please export the string and paste it below.

dSdVdaGAuv0UuIETuQMPusZvvA2k1nLk9yjCBP4ZcStHyVKDRy)cPFIQsdJs14qfLllAOOQQblOgUs6GukBJsQJjvDour1cfklfvelwQOLlPhsj5PGLPkEoftevvMkvnzQmDKlsjQRkLYZqvUokBKsKtRYMvv2UQQ)krFLsW0eQ(UGyKOI0HHA0OsJxkXjPe6wcsxtjCEuHdHQcFtQWVHS6LxawEbDXdoAy(D)3Ctq0WaHMur65fp(dprcmcEwgFjpbncCcCYlWDg(Knf09NcW7Ta3zw3yo8zlKao1YT2kFfGlO7p91liiRDrUurcT3UadInobwCOS(HlYxBohAmVwiXTBJvXMx(JcjR2yvSPB6o8lGyJZ8wWfp0ZsuqGaQEbbzvEbSj)ZHeqxt6e4yvmDOrG9L9cY)CibwHA6etrd3kkqWGBsJ8ksVGU4bhnm)U)BUjiAyGqtksaZKLgeRwKTnhPycyMSKnhPycmSoZ)CiG99DTiO0kBGVeAZkRSmacmiwTiBBosW6gZrwfGcz47S5qXejGBEbCjzjRxyFrpNX7HN18EwWRdR1xOX5CbgeBCLRyIRabgeBCLfCXZKBbDXgkRcQzWHgphRPakBHeyqSXv2(rLNtGGAUMyYFnPISqGHlITDCsUMysXemSgF9ccYQrr6fGlOdng5fyiCLKxGbXgxznxtmPile4qLBeAvXeyqSXjWIdL1pCr(AZ5qJ51cjUDBSk28YFuiz1gRInDt3HFbeBCM3cU4HEwIcce4qLgeBCkMibF3CgUYlWqO1sdInoftKibNtaF4tdfnmGyJlAyBf0HgJGnc7KxaH35qpYlOHTPtErIeWmz5K)zvDkGW7Ci5f0W20jVircC333vW2ehYlOHTPtErIeuXfP8cAyB6KxKibR)ReENdjVGg2Mo5fjsqfTt5f0W20jVirc(Wf0Hg5f0W20jVirIeeY5iUYsXxyNN12T3H9(((hEp21xOX7qKGFfPp(tVij

Attached aura is using the Mana Divining Stone aura.

Quickly identify Weakaura where a sound is activated

When you import a Weakauras and it has saved a sound trigger somewhere it in, but you dont want it you'll have to search through the whole group to find which triggers a sound.
For me, I like being notified by sound but only when it suits me, so I want to disable the sound of imported weakauras alltogether. Currently you have to do that manually and to save time it would be easier to have some sort of identification which Weakaura (or Group) has a soundtrigger enabled.

Curse of the Dreadblades is untrackable yet

Hi,

I've been trying to make a progress bar to track Curse of the Dreadblades buff but it doesn't work.
Neither with the 4 different spell IDs nor the full scan feature.

Not sure if this is relevant but I'm using a French client, I've seen people posting bars to track this buff using the full name (in English) of it, but it doesn't work either with the French name.

preset animations override condition coloring.

What steps will reproduce the problem?

  • create an aura with any condition to change the color
  • set preset animation to 'flash'

What is the expected output? What do you see instead?

  • condition coloring should stay even with the animation
  • animation changes the color pre-conditioning.

What version of WeakAuras are you using?

  • 2.4.2

Was it working in a previous version? If yes, which was the last good one?

  • unsure

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.

  • no error

Animations: Color not applying to Progress Bar

Setting the 'Custom Function' for 'Color' under the 'Main' animation for a 'Progress Bar' to the following appears to have no effect.

function (p, r1, g1, b1, a1, r2, g2, b2, a2)
    local _, cl = UnitClass("party1");
    local colour = RAID_CLASS_COLORS[cl];
    print(colour);

    return colour.r, colour.g, colour.b, 1;
end

Changing the colour values to be an arbitrary value also achieves nothing. As far as I can tell, the function is not even being run, as the print call is never invoked.

avenger shield/bulwark of order missing text

What steps will reproduce the problem?
Cast spell "avenger shield" on target. Applies a buff "bulwark of order".

What is the expected output? What do you see instead?
I see the buff in the vanilla WoW buf list, but not in the list of Weak Auras 2.

Did you try having WeakAuras as the only enabled addon and everything else disabled?
yes

What version of WeakAuras are you using?
2.3.6

Was it working in a previous version? If yes, which was the last good one?
no, i can't find a working version.

Do you have an error log of what happened?

[string "return function()..."]:3: attempt to compare nil with number
[21:39] [string "return function()..."]:3: in function <[string "return function()..."]:1>
Interface\AddOns\WeakAuras\RegionTypes\text.lua:112: in function `UpdateCustomText'
Interface\AddOns\WeakAuras\WeakAuras-2.3.1.lua:3260: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:3220>
Interface\AddOns\WeakAuras\WeakAuras-2.3.1.lua:3324: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:3316>
Interface\AddOns\WeakAuras\WeakAuras-2.3.1.lua:3401: in function `UpdatedTriggerState'
Interface\AddOns\WeakAuras\BuffTrigger.lua:733: in function `ScanAuras'
Interface\AddOns\WeakAuras\BuffTrigger.lua:1189: in function <Interface\AddOns\WeakAuras\BuffTrigger.lua:1186>

Please provide any additional information below.
Error is only visible with !BugGrabber (my version is 7.1.5) not with BugSack.

Omission from "local class_agnosticize" in WeakAuras.lua?

What steps will reproduce the problem?
Open the WeakAuras.lua file and search for "local class_agnosticize"

What is the expected output? What do you see instead?
I would expect to see a table that de-localizes every class.
I see a table that de-localizes every class EXCEPT Demon Hunter.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
This is not a run-time bug that I'm reporting. I did not have the game open when I found it.

What version of WeakAuras are you using?
From the TOC file:

Interface: 70200

Title: WeakAuras 2

Author: Mirrored and the WeakAuras Team

Version: 2.4.2

Downloaded by and maintained by the Curse/Twitch desktop application.

Was it working in a previous version? If yes, which was the last good one?
Unknown if this is a recent issue or if it's just that no one added Demon Hunter when the last expansion pack came out.

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.
This is not a run-time error. The game was not up when I found it.

Please provide any additional information below.
I was born in a taxi-cab in Evreux, France on the way to the hospital. It was a rainy October afternoon. As this was my mother's first pregnancy, she was apprehensive about the process and a little frightened.... Oh, wait, that's probably not what you meant. Never mind.

If you do not know which aura is causing issues for you, please attach a ZIP archive of your WeakAuras SavedVariables file. It's the WeakAuras.lua file in World of Warcraft\WTF\Account\YOUR_ACCOUNT\SavedVariables\
This hasn't yet cause me any issues other than prompting me to build my own de-localization process. I was digging around in WA to find out how you folks handled de-localization of Demon Hunter because the the gamepedia entry on UnitClass() is missing that class as well.

In case you do know which aura is problematic, please export the string and paste it below.
Not applicable. Note: That's not the aura string. It's a commentary on the applicability of my pasting an aura string in this location. Additional note: This isn't the aura string either. Dang it, I'm never gonna get out of here.

Export -> Import breaks strings

I have multiple strings that users are reporting throwing out errors. They work on my PC, unless I export the string and re-import it.

First string loses every % character from:

  • Display tab Text input box (says only c now).
  • Custom Trigger 1 code
  • Custom Trigger 2 code
  • Actions onInit code

Code DIFF screenshot: http://i.imgur.com/QDceLwV.png

Second string suddenly gains a lot of apostrophes in places that there shouldn't be any, another DIFF screenshot: http://i.imgur.com/iTX2sjL.png

hasPet not working

sience version 2.3.1 hasPet isn't working anymore.

  	["trigger"] = {
  		["type"] = "status",
  		["unevent"] = "auto",
  		["debuffType"] = "HELPFUL",
  		["event"] = "Conditions",
  		["subeventPrefix"] = "SPELL",
  		["names"] = {
  		},
  		["use_unit"] = true,
  		["spellIds"] = {
  		},
  		["subeventSuffix"] = "_CAST_START",
  		["unit"] = "player",
  		["use_alive"] = true,
  		["use_HasPet"] = false,
  		["use_mounted"] = false,
  	},

with version 2.3.0.0 i have no problems

Progress Texture - Orientation clockwise and anticlockwise

While using a progress texture to make a circular bars, the quadrants become offset by 1 pixel down and to the right while the current angle is in that quadrant. This leads to a noticeable 1 pixel gap between the 1st and 4th quadrant while in the 4th as well as slight offsets. I'm not sure how to fix this, but I have narrowed down where I think the problem is: RegionTypes/progresstexture.lua at the spinnerFunctions function for the WeakAuras2 source code. The issue persists across both clockwise and anticlockwise. If anyone has an idea how to fix it, I'd love the help.

I have attached a gif illistruation the issue, as well as the group's export string.

progresstexutre

ProgressTexture.txt

Allow aura to be selected by index.

Currently an aura can be specified by the name, partial aura name or spell ID. If you enter a number, but do not have "Use Full Scan" selected, it would be great if the number was used to check the aura in that index for the unit, rather than passing it in as a string still.

Use-case: Setting up a custom buff frame using WeakAuras.

Import Own Progress Texture

Hi ! Firstly, thanks for making this amazing addon :)

I'm currently trying to create a custom UI for my Assassination Rogue but I could not find any Progress Texture that suit my need (I want a flat drop of water icon that empties in function of a specific debuff duration). I successfully create and import a simple texture.tga but I could not find any information about custom Progress Texture.

Does anyone have information or a tutorial for me?

Sorry if I should not put this here, tell me and I'll move it.

Thanks :)

Question / feature request: Global Group Scaling

I was wondering if it was possible to implement scaling on a group basis?

Quite often when importing a custom weakaura I'd love it to be just a tad smaller. ATM all I know to do is to manually resize all the group elements. It would be really neat if there was simple scale option for the whole thing.

Cheers!

Auto-Clone memory leak(?)

Spoke to Stanzilla about this over Twitter; there appears to be some form of memory leak in the auto-clone functionality (assumed).

WeakAura example: https://ghostbin.com/paste/cd3tk

Reproducing this is slightly difficult, since the effects only start to become apparent after a fair amount of game play. To begin with, changing target will work fine and display the buffs said target has on them. After a few hours of game-play (more or less depending on how much you switch targets), selecting a new target (providing they have at least one buff) will stall the client with a fraction of a section.

The length of the stall increases overall as the player continues to target swap throughout the session, but the effect is also amplified by the amount of buffs on a target. If the client stalls for 1 second when switching targets, switching to a target with 5 buffs will stall for 5 seconds, the former amount still increasing as target swapping continues.

[Feature] Action: On Click

A handy feature for a lot of reasons would be to have an "action" that allows us to define a custom function when a WeakAura is clicked. For editing, this could sit in under the "Actions" tab.

Wiki > Examples images are broken

What steps will reproduce the problem?
Navigate to the Examples wiki page.

What is the expected output? What do you see instead?
I expected to see images for all of the examples given. Instead, all images have broken links.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Technically, no.

What version of WeakAuras are you using?
Google Chrome

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.
Failed to load resource: the server responded with a status of 404 (Not Found)

Please provide any additional information below.
Trying to navigate to the static.wowace.com image page links me to the main Curseforge website.

[Idea] Conditions Tab: Add Buttons for Reordering

The conditions tab, while awesome, suffers greatly from a lack of good "user experience" design. The main issue I find with it is that it's slow to use and if you have a slightly complicated aura, then it becomes immediately unwieldy to read the tall list of conditions in any kind of logical chain when you're trying to fix it. It requires a lot of starting over when you discover issues with your aura, basically requiring trial and error in order to get it right because it's difficult to plan entirely ahead, or otherwise requiring that you prepare the logical chain of command for the conditions ahead of time in something like Notepad.

The suggestion is simply to adjust the UI so that you can reorder conditions quickly and easily in a manner similar to the aura list on the left half of the window. Add buttons, allow 'drag and drop', something like that.

Custom sounds not working due to typo

What steps will reproduce the problem? Adding sounds with a full path do not work.

What is the expected output? What do you see instead? Custom sounds cannot be played.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled? This is an easy fix and not affected by any other addons.

What version of WeakAuras are you using? v2.3.9

Was it working in a previous version? If yes, which was the last good one? Unknown

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.

Please provide any additional information below.
Line 2175 of "WeakAuras.lua" reads as-follows:
if(actions.sound == " custom") then
It should read:
if(actions.sound == "Custom") then

Once the entry above is changed and the file is saved, restart WoW and custom sounds will play.
I loaded my sounds in "interface\addons\wasounds" and referenced the Sound File Path as "interface\addons\wasounds\filename.ogg"

If you do not know which aura is causing issues for you, please attach a ZIP archive of your WeakAuras SavedVariables file. It's the WeakAuras.lua file in World of Warcraft\WTF\Account\YOUR_ACCOUNT\SavedVariables\

In case you do know which aura is problematic, please export the string and paste it below.

HERE

Remaining time trigger as percentage of duration?

i am trying to get a weakaura to work which glows when a debuff is under 30% duration (feral druid dots for pandemic mechanic)
but since it is only possible to set a remaining time as a clear number eg 3 seconds but the debuff duration time changes with haste and a talent, that is not a solution.

could it be possible to set the remaining time trigger as a percentage (in this case 30%)? i know you can do it with custom code but that is not my speciality :P
thanks!

Enhancement: Button/Automation to clean up displays

For example, setting some data to Cooldown Progress: Spell trigger and later on changing it to Item trigger still leaves the old data into the Spell dropdown selection. Now if we re-use a lot of displays by just taking something that exists, and modifying it, we end up with simple displays that have a ton of reduntant data stored in them.

The problem is twofold, for one, this leads into larger export strings which is not good and two, it can lead to all sort of custom code issues. For example: when using for k,v in pairs(aura_env.state.trigger) do print(k,v) end I have a display that prints this kind of output for a Item type trigger:

percenthealth_operator <=
debuffType HELPFUL
itemName 124637
names table: 000001C1CD3ADFB0
unit player
spellName 49576
custom_hide timed
subeventSuffix _CAST_START
type status
event Cooldown Progress (Item)
unevent auto
use_showOn true
spellIds table: 000001C1CD3AE050
realSpellName Death Grip
use_spellName true
spellIds table: 000001C1CD3AE050
subeventPrefix SPELL
showOn showOnCooldown
use_percenthealth true

Now my code is doing custom text stuff based on if if aura_env.state.trigger.itemName then exists or if it's spellName that exists, and the old data makes the custom text display the cooldown of Death Grip instead of Legendary Tank Ring in this case.

I can of course code around this easily, or go clean up the display myself, but I feel that there should be some button in the GUI that let's us scrap all currently unused data in a display and even a group level button would be nice to hit before publishing large groups to other users.

[Idea] Limit amount of shown icons in group / dynamic groups

I like making groups an dynamic groups, but some of them i only want to show few icons in (example quickest off cd), but it doesn't seem to be possible to limit groups to 3-4 only, so far. Is it possible to have that implemented in the future.

Request for anchoring to a frame that is currently not visible because Triggers not met

What steps will reproduce the problem?

  • create a WA Icon (Calling it WA_1) that has a display trigger
  • Create another WA Icon (Calling it WA_2) that is anchored to WA_1 and also has it's own display triggers. (i.e. doesn't have the same display triggers as WA_1)
  • Issue: When WA_1's display triggers are not met, but WA_2's display triggers are met, WA_2 does NOT display.

What is the expected output? What do you see instead?

  • Expected output: To see WA_2 when WA_2 display triggers are met

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

  • No

What version of WeakAuras are you using?

  • 2.2.2.6

Was it working in a previous version? If yes, which was the last good one?

  • No, previous version I use did not support anchoring to frames

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.

  • Bug does not generate an error

Please provide any additional information below.

  • I love the anchoring of frames! Can't wait till all the bugs are worked out. Keep up the good work dev(s)!
  • I'm pretty new to WAs. Sorry if some of the terminology I used seems off.

Lua error in dynamic group with condition effects: Sound and Run Custom Code

What steps will reproduce the problem?

  • create a dynamic group containing two default icon displays
  • in the first icon display, add the Condition: If Trigger 1 [Active] [True], Then [Sound].
  • in the second icon display, add the Condition: If Trigger 1 [Active] [True], Then [Run Custom Code].
  • select the dynamic group.

What is the expected output? What do you see instead?

A Lua error occurs.

1x WeakAurasOptions\ConditionOptions.lua:132: attempt to index field '?' (a boolean value)
WeakAurasOptions\ConditionOptions.lua:132: in function <WeakAurasOptions\ConditionOptions.lua:130>
WeakAurasOptions\ConditionOptions.lua:442: in function <WeakAurasOptions\ConditionOptions.lua:211>
WeakAurasOptions\ConditionOptions.lua:1106: in function <WeakAurasOptions\ConditionOptions.lua:815>
WeakAurasOptions\ConditionOptions.lua:1506: in function `?'
WeakAurasOptions\WeakAurasOptions-2.4.5.lua:6098: in function `ReloadTriggerOptions'
...dOns\WeakAurasOptions\OptionsFrames\OptionsFrame.lua:715: in function `finishPicking'
...dOns\WeakAurasOptions\OptionsFrames\OptionsFrame.lua:751: in function `PickDisplay'
WeakAurasOptions\WeakAurasOptions-2.4.5.lua:6880: in function `PickDisplay'
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:301: in function <...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:276>

Locals:
data = <table> {
 grow = "DOWN"
 controlledChildren = <table> {
 }
 disjunctive = "all"
 yOffset = 0
 anchorPoint = "CENTER"
 activeTriggerMode = -10
 space = 2
 background = "None"
 actions = <table> {
 }
 radius = 200
 selfPoint = "TOP"
 align = "CENTER"
 rotation = 0
 height = 63.999938964844
 load = <table> {
 }
 animate = false
 border = "None"
 regionType = "dynamicgroup"
 sort = "none"
 expanded = true
 constantFactor = "RADIUS"
 borderOffset = 16
 id = "!TEST dgfail"
 frameStrata = 1
 anchorFrameType = "SCREEN"
 width = 64.000122070313
 xOffset = 0
 numTriggers = 1
 untrigger = <table> {
 }
 animation = <table> {
 }
 backgroundInset = 0
 trigger = <table> {
 }
 stagger = 0
}
object = <table> {
 samevalue = true
 property = "sound"
 referenceCount = 1
 references = <table> {
 }
}
variable = "value"
subvariable = "sound_type"
blueString = "Differences"
normalString = nil
(*temporary) = true
(*temporary) = "value"
(*temporary) = "attempt to index field '?' (a boolean value)"

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

No, but I am fairly certain this problem is internal to WeakAuras.

What version of WeakAuras are you using?

2.4.5

Was it working in a previous version? If yes, which was the last good one?

Not sure.

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.

Please provide any additional information below.

If you do not know which aura is causing issues for you, please attach a ZIP archive of your WeakAuras SavedVariables file. It's the WeakAuras.lua file in World of Warcraft\WTF\Account\YOUR_ACCOUNT\SavedVariables\

In case you do know which aura is problematic, please export the string and paste it below.

HERE

[Idea] Split Init Action into 2 parts

For auras that are always shown, or are always loaded, this is a moot point. However, an aura that loads only in combat or in just one particular encounter may have code it wants to run at the beginning of each combat. Neither the On Show action nor the On Init action is sufficient for this task; Init scripts run exactly once per session (unless the aura is modified, of course), while Show scripts might run too late if the aura doesn't show immediately upon load.

Thus, I propose splitting the init action into 2 options: On init, which runs when the session begins (or when the aura is modified), and a new one; On Load, which is called from WeakAuras.LoadDisplay.

Currently you can emulate the behavior of the proposed On Load script by adding an always active trigger, and then setting a condition to run a custom action when that trigger is active (so immediately). However, not only is this hacky and invites kludges, it also doesn't work properly, since as I understand, custom condition actions will run after the On Show action.

Suggestion: Groups within Groups.

I use weakauras for everything. To make it so that I don't get overwhelmed, I tend to create a group for a specific toon that contains all of the auras I use. However there are times that I cannot do this. An example would be that I use several auras for my healing character that are stationary, however there are 4 that I would like to adjust their position dynamically. I either have to do them in a separate group all their own(cluttered) or just have specific positions they never move out of(clunky). If you could put a dynamic group inside of a normal group that would allow for this functionality

Don't play sounds on UI load or Entering combat

Annoying side effect. When you have sounds for when abilities become available, they all play on UI load or when entering combat which is annoying. It would be nice if there were an option to prevent that.

nil passed into ScanEvents in GenericTrigger

This popped up using 2.2.1.0:

Message: [string "return function (event, timestamp, message,..."]:3: bad argument #1 to 'pairs' (table expected, got nil)
Time: 08/13/16 20:44:04
Count: 2
Stack: [C]: ?
[C]: in function `pairs'
[string "return function (event, timestamp, message,..."]:3: in function `table_contains'
[string "return function (event, timestamp, message,..."]:12: in function `is_in_player_table'
[string "return function (event, timestamp, message,..."]:27: in function `triggerFunc'
Interface\AddOns\WeakAuras\GenericTrigger.lua:494: in function `ScanEvents'
Interface\AddOns\WeakAuras\GenericTrigger.lua:548: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:539>

Locals:

Didn't look at the code but seems unlikely that it's related to any of my custom weak auras

Anchoring to frame that is not always loaded/triggered fails to maintain position

What steps will reproduce the problem?

  • create a WA Icon (Calling it WA_1) that has a display trigger and load conditions
  • Create another WA Icon (Calling it WA_2) that is anchored to WA_1
  • Issue: Zoning when WA_1's display triggers are not met and load conditions are not met can sometimes result in WA_2's position to be completely out of place. Seems to happen inconsistently.
  • Note: To resolve the issue, I simply had to go to WA_2, and press enter on the selected frame text entry (i.e. did not change selected frame text, just pressed enter on it to "refresh" the selected frame)

What is the expected output? What do you see instead?

  • WA_2's position to always be anchored to where WA_1's position would be.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

  • No. ElvUI is enabled

What version of WeakAuras are you using?

  • 2.2.2.6

Was it working in a previous version? If yes, which was the last good one?

  • No, previous version I use did not support anchoring to frames

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.

  • Bug does not generate an error

Please provide any additional information below.

  • I love the anchoring of frames! Can't wait till all the bugs are worked out. Keep up the good work dev(s)!
  • I'm pretty new to WAs. Sorry if some of the terminology I used seems off.

After the loading the WoW update, my weakauras are gone.

What steps will reproduce the problem? IDK...uploaded today's patch, entered the game and no WAs.

What is the expected output? What do you see instead? There is nothing but the WeakAurasOptions screen with no Loaded or Unloaded WAs listed.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled? Yes, still no WAs listed on the Options screen

What version of WeakAuras are you using? 2.3.5

Was it working in a previous version? If yes, which was the last good one?

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.

Please provide any additional information below.

If you do not know which aura is causing issues for you, please attach a ZIP archive of your WeakAuras SavedVariables file. It's the WeakAuras.lua file in World of Warcraft\WTF\Account\YOUR_ACCOUNT\SavedVariables\

Would love to but none of my WAs are there...

In case you do know which aura is problematic, please export the string and paste it below.

HERE

[Idea] Weakaura profiles (Change static info like size, position)

In ElvUI and I guess other addons you can switch profiles when entering a specific talent specs, ie. when I switch from Holy to Protection (Paladin) it can change ElvUI profiles automatically.

I often have utility weakauras active on multiple specs, however due to how my UI looks different in each spec I need to find a place for a weakaura which works "everywhere".

Wouldnt it be nice if you could change size, position etc. dynamically in specific specs?

[Feature] Allowing 'trigger replacements' in Custom Messages.

When you create a Custom Function for displaying text in a WeakAura, you're provided with a bunch of Trigger Replacements that you can use, such as %sourceName, %spellId and so on; they vary depending on the trigger.

It would be amazing if we could have these also available for the "Custom Message" action option, so we could set the message to something akin to "%spellName on %destName" without having to write custom triggers and call all sorts of functions to get it done.

Event type custom trigger behaves like Status type

I'm not sure whether this is intended functionality or not, but since I haven't seen it documented anywhere I'll report it here in the case it isn't intended.

Events used in Status type triggers cause events in Event type triggers to also fire when, for example, the WA configuration window is closed.

(Note: I don't believe the type of aura has any impact on this but I'll list the ones I used to reproduce the issue)

Steps to reproduce:

Example 1:

Create aura 1: Progress Bar

  • Trigger: Status > Cast

Create aura 2: Text

  • Trigger: Custom > Event
  • Event: UNIT_SPELLCAST_START
  • Custom Trigger:
    function() print("This should not be printed when WA options is closed") end

Example 2:

Create aura 1: Icon

  • Trigger: Custom > Status
  • Check On: Event(s)
  • Event: PLAYER_ENTERING_WORLD
  • Load condition: Never

Create aura 2: Text

  • Trigger: Custom > Event
  • Event: PLAYER_ENTERING_WORLD
  • Custom Trigger:
    function() print("This should not be printed when WA options is closed") end

Managing Lots of Auras Is Unwieldly

As you probably already know getting all of your auras set up for all of your characters can result in a lot of auras.

It would be nice if there were mechanism to create a hierarchy of auras. Basically I'm just talking about nested groups. The ability to put one group inside of another several times and for that I can better organize my auras.

For example I might have a group for "Shaman" that then contains groups for "Shared", "Elemental", and "Resto." Under Resto I might have "Healing Stream Totem" and under that I may have several auras.

Beyond the nesting, other behaviors should probably remain the same (like inherited triggers).

As for how to represent the tree visually in the UI, there's probably a lot of room for interpretation.

I realize this is much more of a feature request than an issue, but I'm willing to help implement it if this is a direction the project is interested in going.

The Lua isn't my day today programming language, I'd be happy to give it a go.

[options] %c for "Chat message" action does not show a lua editor

What steps will reproduce the problem?

Try to use "%c" in a "Chat message" action (advertised in the hover card as something that should work).

What is the expected output? What do you see instead?

The custom lua code editor doesn't show up. I was expecting the same behavior as you get when using %c as the display text for an aura.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

n/a

What version of WeakAuras are you using?

2.4.2

Was it working in a previous version? If yes, which was the last good one?

Not that I know of.

Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (/run scriptErrors 1) or install BugSack.

n/a

Please provide any additional information below.

This is a minor inconvenience since one can just use a custom action with SendChatMessage to achieve the same thing, but it's still an inconsistency in the UI.

All WAs Wiped

I was working on some enhancements to the Insanity Bar when I went to /reloadui for what was going to be the final time. After reload, all WAs gone from the list. I went and made a backup of the raw LUA before doing anything else. On the next reload/logout, the LUA is replaced with the baseline/empty version. If I restore this backup, regardless of character, the same problem occurs. I have attached my WAs backup.

WeakAuras.lua.txt

I'm in the process right now of manually trimming my backup of all of the Insanity Bar auras to see if that helps anything.

Thanks again for everything you do!

Is `IsSpellInRange` Broken?

I cannot get range check to work in 7.1. I put together a little test...

die5eaGiaAuGkNcu1SusQBPeWUaknmOIJbvTmQsptjunnG01aQABafFtjHXPeHZPek3tjLdcGfsO8qqrteuQlckzJkH0hvIYiPkCsGyLqXlvs0mvI0nvsYovOFQeOHQevlvjvpL0uL4Qkr0xvcXCPkAVI)QGgSuhwslgu4XizYi1LrTza9zqgnHCAiRwjiVgOYSv0TPQ2nr)MGHdLwoINRutx11PY2vGVReuJhQ05juTFkh8Pe1pkDu6uIsJ2lKtsD0aoADoJ6KNGGGyskrDs0J(kbIFEucdHeKfXXYrpJ7DeoAL6ObCHGGGyYQeO5mIp6jiiiMKs0lowo6(172rDsEalF0Q7cr5bS8rxsj6wdtrvsL6mbTpIAh1jrp6Rei(rDBEOtIEelQBZdR)vkWvHXKJy5rrs0hsj4JDYNPZi(ONX9ochfe5zcWkf7ja00lOC75IWvWbGJu3EUkMgv9SW4EhH3EcteHAYdvFbHlAOyceAMeLsykqsjJEZIUIfdVxV4agqXbu8GbuWa6kcWfa8lrgx8mItgbnJ4ZJUWi6lkJGhNOi6ORxLqmSfU1f2h7SEokqs1N1tQVMrqJkD(fcccIj7m6nALMgDKGSohEcccIj7uYi(uIEcccIjPe9IJLJs52xWpkLBFb)OaDsQJeKWbVHXART2Aeq4azRy55ee56vjedhGaG8zARvrchWvBnGVsG4di8wV2AwJhERViwAyS2ART2ART2AcFhrA9jo2WyT1wBnp3SHXART2ART2ARj8DeP1aRZnByS2ARTML0ggwshD7GbpGLxDabIWn6qycGwgQfawVeLsetbUOoS01ZrPC7l4p8IJLJUF9UDuEalFup468IIUDWGhWYVCcdeHBuD5WAPlnpQtEcccIjPeLYTVGFuGoj1rcs4G3WyT1wBnciCGSvS8CcIC9QeIHdqaq(mT1QiHd4QTgWxjq8beERxBnRXdV1xelnmwBT1wBT1wBnHVJiTgyDUzdJ1wBT18CZggRT2ART2ARTMW3rKwFIJnmwBT1wZsAddlPZZZJkIrqIEgbporNcv6uI(6KLpLO(U5rPKNhLAw37uIUrsOjhf2WcGIhRCeKL5rjQVBEukrHnSaO4XkhbzzEuIy55rPrabIOCZlEkr9DZJsjppkryYPe13npkL88OyhG91jlFkr9DZJsjpp6gltLs0nscn5m6nQVBEukz0BelppkPsXPe13npkL88OaRuhjitjQVBEuk5555r3r9cwVG1lyXj6GmIhuV4Zta

Feature Request: Parenting

A nice feature to have in WeakAuras would be the ability to parent to other frames. kgPanels leaves open text inputs to put in the name of the frame to parent to (and anchor to, which would also be nice), as an example. That way it would be fairly simple to create an aura that, say, only showed up when your minimap was displayed or somesuch.

Load condition per character

Is it possible to have one weakaura but have load conditions per character?
One scenario would be this weakaura https://wago.io/UseArtifactPower, which you only want active in your holy paladin specc and guardian druid specc. You cannot use talent specc because Guardian specc equals Retribution specc if you logon to the other character.

Additional Feature Request

Hey, I noticed that WeakAuras does not have an option where you can have a different cooldown indicator for charge based abilities.

For example, here is what I currently see with a WeakAura charged based cooldown:
http://puu.sh/reGm3/a30dd5f334.jpg

And this is what I would like to see (This was taken from my action bars.):
http://puu.sh/reGsa/b910ccda5a.jpg

It's a subtle "sonar" line that would show if stacks are greater than or equal to 1, and less than the max stacks. (Black clock cooldown would show at 0 charges and no cooldown box at max stacks, obviously.)

Hopefully this sounds like a feature that you would be willing to add. =)

Death Knight Rune Count

Using build 2.2.0.6-3-gd6ebf7a (atleast thats what curse shows) on Legion Beta server, The death knight rune count trigger always triggers the Icon regardless of what count I specify.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.