WeakAuras

WeakAuras

200M Downloads

LUA error in Automatic COvenant Swap & check 2x superior parts

Dusamavn opened this issue ยท 1 comments

commented

Description

I use a WA for covenant check of 2 superior parts, it says there's LUA error. The WA I'm using is this: https://wago.io/kt9oOksQt (it was fine before the pre patch).

here's bugsack:

2x Lua error in aura 'Automatic Covenant Swap & check 2x superior parts': Trigger 1
WeakAuras Version: 5.0.5
Aura Version: 1.0.0
[string "return function(s, e, ...)"]:8: attempt to call field 'GetNumOptions' (a nil value)
[string "return function(s, e, ...)"]:8: in function <[string "return function(s, e, ...)"]:1>
[string "=[C]"]: in function xpcall' [string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:548: in function <Interface/AddOns/WeakAuras/GenericTrigger.lua:537> [string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:752: in function ScanEventsInternal'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:713: in function `ScanEvents'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:885: in function <Interface/AddOns/WeakAuras/GenericTrigger.lua:870>

WeakAuras Version

WeakAuras-5.0.5

World of Warcraft Flavor

Retail (Default)

Tested with only WeakAuras

  • Yes
  • No

Lua Error

2x Lua error in aura 'Automatic Covenant Swap & check 2x superior parts': Trigger 1
WeakAuras Version: 5.0.5
Aura Version: 1.0.0
[string "return function(s, e, ...)"]:8: attempt to call field 'GetNumOptions' (a nil value)
[string "return function(s, e, ...)"]:8: in function <[string "return function(s, e, ...)"]:1>
[string "=[C]"]: in function xpcall' [string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:548: in function <Interface/AddOns/WeakAuras/GenericTrigger.lua:537> [string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:752: in function ScanEventsInternal'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:713: in function `ScanEvents'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:885: in function <Interface/AddOns/WeakAuras/GenericTrigger.lua:870>

Reproduction Steps

  1. install https://wago.io/kt9oOksQt
  2. go to hall of enclave in oribos
  3. click on any covenant representative (like general draven)
  4. that's it

Last Good Version

before prepatch

Screenshots

image
image

Export String

No response

commented

According to your first screenshot you have even more errors, but his particular error is cause by an api change in wow and is not a WA bug.

The api funciton C_GossipInfo.GetNumOptions() was removed. You can either contact the author, or if you know a bit of programming follow the advice at https://wowpedia.fandom.com/wiki/API_C_GossipInfo.GetNumOptions