WeakAuras

WeakAuras

200M Downloads

DBM Stage triggers don't work with combat-related load conditions.

Kolmarwow opened this issue ยท 2 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

If you have a trigger with Other Addons -> DBM Stage -> Stage Counter and a combat-related load condition such as In Combat / In Encounter / Encounter ID(s) then the WA won't activate, without those load conditions it behaves as expected.

WeakAuras Version

WeakAuras 5.5.4

World of Warcraft Flavor

Wrath of the Lich King Classic

World of Warcraft Region

EU

Tested with only WeakAuras

  • Yes

Lua Error

^ by "Tested with only WeakAuras" I mean Tested with only WAs + DBM as naturally this trigger needs DBM to function, DBM is on version 3.4.40-wrath. No lua errors.

Reproduction Steps

  1. Create a new aura.
  2. Create a trigger with Other Addons -> DBM Stage -> Stage Counter = 2 (for example).
  3. Enable a combat-related load condition such as "In Encounter".
  4. Aura won't activate, but if you remove the load condition then it will work as expected.

Last Good Version

No response

Screenshots

No response

Export String

No response

commented

Downloaded that and got this error when I went to make another DBM Stage test aura:

2x Lua error in aura 'New': Trigger 1
WeakAuras Version: 5.5.4-9-gc0191a3
WeakAuras/GenericTrigger.lua:3414: attempt to call method 'GetState' (a nil value)
[string "@WeakAuras/GenericTrigger.lua"]:3414: in function `GetDBMStage'
[string ""]:3: in function <[string ""]:2>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/GenericTrigger.lua"]:647: in function <WeakAuras/GenericTrigger.lua:563>
[string "@WeakAuras/GenericTrigger.lua"]:911: in function `CreateFakeStates'
[string "@WeakAuras/WeakAuras.lua"]:4228: in function `UpdateFakeStatesFor'
[string "@WeakAuras/WeakAuras.lua"]:4204: in function `FakeStatesFor'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua"]:1445: in function `SyncVisibility'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua"]:1471: in function `PriorityShow'
[string "@WeakAurasOptions/WeakAurasOptions.lua"]:732: in function <WeakAurasOptions/WeakAurasOptions.lua:701>

I went into line 3414 of that file and changed that to "GetStage" and the error went away but the issue still persists.