WeakAuras

WeakAuras

206M Downloads

Arena unit triggers are not working correctly.

Kazimazi opened this issue ยท 21 comments

commented

Description

When enemy has certain buff proc in arena weakaura should trigger.
Trigger type: Aura
Unit: Arena
Not sure if having the weakaura in a dynamic group is relevant.
The export string I shared is set up so it should instantly trigger on almost every arena game start, since I chose most common or must have buffs in it. It's not so practical for real games.

(Having multiple weakauras for respected units arena1, 2, 3, 4, 5 works as intended.)

WeakAuras Version

4.1.5

World of Warcraft Flavor

Wrath of the Lich King Classic

Tested with only WeakAuras

  • Yes
  • No

Lua Error

No response

Reproduction Steps

  1. Import weakaura.
  2. Enter skirmish game.
  3. Aura doesn't trigger.

Last Good Version

No response

Screenshots

No response

Export String

!WA:2!DJ5(ZTr1vCCufbiBOeJsWqGuQAkKPanEsCiqHFaQxBzBrSTuxjJdPp0E1UxP9gVA3139U2wUpO4sPPL(ae9jTPpuFLsjLu12W0b(Ho(pGoNXth(dW)jKP)whMPN7URKL8RqG0Pd4FW(U39(ApNpNVNZ1jEYu(Ap4ahBGtKQwkZuMN9OQv5Ul0C8CAzpDUPko0eRv2LBs5QeJzn5UEE9PAZwAjc3mDrxxBbZJVyUkv8PIe86rng)tN7P)pV9t)2)ZwehdlxEExMJO8WzMQygTwrR2WU2U8NirIej189ig0DXjgcMRJ)dP5liCHIkZHjukxb)JVLYYcoRAvk3)opmpU5Z10KwoOsLI19O8XZmr(rNEcvb(GgjGtgCzFpQTDwtFL18dktNN6ikGJMTyRsdpuHILkuCiTIQb4Mu2ZMuNY1Ci1O(kAHdT84uITWQZuZZP4u1kKpZet0iWj(iO0YW1oOMtb5xqYYCIjlW)zV5g(u7kHFZWU1i2SQoWUvnP(gC1aCAMdWXpr58t0exFnAv53TIQTlXCuvF2s0(1QfGgwfv8BWOF4bu0mSj((YwLfeB88iB2OkNzodZuyTNvlh7CImRjtMmFYJoWj4ehwnIGA1iQbUppe8Hhf2VQJRdDfkXNwqWPovfw34QMOvtoIssBi3NA46y6VSCmslmCC1AeMdox44W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jrlKerEejlez3az1L0OeGq46vdPSEiRZ3RcNeUIjluna9)rGaIgiJ8Mj6wD62AduJWXIU7WtiiDPiPPyDgTw2doD9Pdojzg2es8cr0ru2KQeUfBhzfsF9knTMMmTa1nWhVkeVUeIqG4kOoj5LEKNAdw9arYiQ)NP0GURyLg0R1LkdIcsIOlvgjVG0ZvJmdIoXq0guAoFVknxOlLMlUbLMxzBvAIuzIDQr0GwRIpY0ZvyStp19n2CBoTvEInPhDMlfQZGo)iDMxpmLthPM3T5f2jaAJP0UCrIVGMgR4iTkwf47e1N25W6r9PZnCEhaoxtesA2rij2fVJAjrPOUA0rwpfv3cjNFtcjVsBHKlSbHKlUTcjVRvL7i)0j1wxYp3EBkBgcNZq)zxcqX1gP1Ag)Jx7rwOYOAZmzCITy(ns9PRexBBYTnqqp6kfcRZn9iY6kxohwS1SmB7Mr9ISL3hSlv6f6uQKex2rfS1tOD1iI1jH212sLq(P7KjrIzrP1clzsuz8tnMyUzpD2j3Cgon3Qb0EuYqSg5SyyQtvtiN2rn7kKzBtyvgcxyLUGfJABUwgBAnQJGyNohryT20o4Tr8TOMP1WBc8b7kMIZqICeIb7OixCgYRgvUEYqETTIjeKKja6OzfZgiO0BztDQdhvmQrC2I6M0AnL7tCgvYGNYF8SBSGPnlzTTxNB7kE6rV80owU21XBcq9POk2AJYDXBe05XWmJDE89n1wTt3IBZQtxRUf31KARUHKB(sCIPY(i1ltSxAX8DGNuDQ5(KBXf46OdDnSQk8aDLRQA1I8a5)mqr6Hc4K33ut1)FUC279AQqV979AQ2XcQSDnMTBLjerLy2nil5F0fg5mfozg7XSSVc1uLA()1P(Vp
commented

Does the aura work in a normal arean?

Looking at the code and what you describe that sounds like ARENA_OPPONENT_UPDATE does not fire. I don't have a char on WotLK to check skirmishes, so figuring out what happens will be somewhat slow.

commented

I'm gonna try it today.

commented

ARENA_OPPONENT_UPDATE fires at the start of a skirmish.

commented

I have built a special package that contains some debug output, please try this https://github.com/WeakAuras/WeakAuras2/suites/9455169241/artifacts/447444912. It should print some debug output whenever ARENA_OPPONENT_UPDATE fires

commented

@Kazimazi can you test that?

commented

I'm gonna take a look and @ you with the result.

commented

ARENA_OPPONENT_UPDATE indeed fires, but the weak aura doesn't trigger

commented

Output in the waiting room:

LoadAura Alert - Priest - Arena 1 table: 00000191A2E813E0 true
LoadAura Alert - Mage - Arena 1 table: 00000191A2EAB4D0 true
LoadAura Alert - Warlock - Arena 1 table: 00000191A2B290D0 true
LoadAura Alert - Druid - Arena 1 table: 00000191A2E58D60 true
LoadAura Alert - Pala - Arena 1 table: 00000191A2C14000 true
LoadAura Alert - Warrior - Arena 1 table: 00000191A2BEC150 true
LoadAura Alert - DK - Arena 1 table: 00000191A2B6FA60 true
LoadAura Alert - Rogue - Arena 1 table: 00000191A2BC0530 true
LoadAura Alert - Shaman - Arena 1 table: 00000191A2B97F00 true
commented

After doors open:

ScanUnit arena arena1
ScanUnit arena arena2
commented

Is that all output?

commented

yes, that's all I noticed

commented

Are you sure that's the full output? That seems unlikely.

commented

Gonna give it another roll.

commented

No response from reporter anymore.

commented

I noticed that Arena buff trigger does not work for me either on Wotlk classic. Should I use "debug" package linked above or there is a new one ?

commented

If you can provide the full output from that, yes I'd be interested.

commented

@InfusOnWoW
LoadAura test 1 table: 000002430C6986E0 true
ScanUnit arena arena1
ScanUnit arena arena2

Aura used:
!WA:2!DrvtUTTru4i4w0aUOiso1aPOlmsr7oBy42KIMffquvk2fYsoK01URKgsoKZetnZ0zgkz5DrR8ADe06Us3G6tabrrpa(i4tqFZqkhNQfcV)M37779dB0R1KwXTIV5BxrJ4mFEUmc)nprE1WKefw3qoVwynIfr4Yt5uMoSt3bbD9kJ48Sy(mM)mQap(2nQDJtXext6gVqlPPPyP6l)EzT4nnVlxHpbPJiJI45m9yJ(BL8CrLoXnNr1EijMHwp5JX16GvX4W8KKG5cS8O2EN07S(Rue(SozCgwn2vdo8q5s0H3PYdXtXmTpep9Q1J602pyKFqBVapR9WJWOmn5EO0DVcfP9f4SSJJjsWWa0e84fQklkhpgORCwAsSv8Rfn9jiGP7Eoxg)MDpfrzpuWtLyOGE(N2TFFX2pc(dbqJ0CzRFPeQXXPmU0wjYsWzvRXr0eGcDkoOs)eEm(VEY9qhhlzOSFh6JuoB(9xIXI2a(IGUKMYjlv4Se7KP4ZHEKcPbOQXKvaO8WPWBuVzNITlb1qu0LPqVMfFZZfT04R0JuwUCr9Cw8cRr7FjCjqGrQAbxg0Mx(G7x(DkXZEug6WZ4YFRrJgBDxL1nGYT9zbdfBBnIY1Civ0OZPXWKUnOEFvTOxHJTg)qz1Q2FuJOBT(FFUsttMdeuY1a5caJUdgoOBX2sGxMywzdmYcJTGFlRjbtlEwpj96DFxokgAmODdc(eUVPsLwBZGH65sKyX51cvaykvrdZWJR58JohenpEWGUEJChgem8eVJF7rbLpuAF614xuZOl(K6y8AxLhEwq)Jh09FltZ4Z6jX)zoMfn)0p7G9p8vvSZ4yT5VnzyHrX84YWCTMZgoflZqZxzm3hZs1KVYg)gMT0O05HoZTMlUnwiUgNeB1di0OlHBj1w2x4hHYWvI9PG5M2c4c9fSKesW0uI(dUzCuCVqnektVJ3K8mn1X1SEUtXfoErziLYi5QGwHryL0UtAGFXtfpFZNnmt0FLQqqtoMSeXOM9eo71EknsQ7DlgPW(APLDFrX2f7vgBwZHqgzo8Lkm8fNy1ctC2CVN7e4YSxXyB0fOIWIOI9ctOmQI8)nVMYQ2YH854nZUi6EnNpPH0CtcNqVUyKtb2XfEU2zLMhnT6E8Pt)7xsJD1yL27JlFRtKWXnGxyFBR7RM)9mMmql0VJx3UdomNgV(63FUq9t8Jot8UqGaj0uhjLzYnMiAbdQo19h4RbW5oEShktqqBTYWwQfzol20dhxchyqLgkQC0sjA(Q9pC)d27WFCV04Oee6N)Hwt)Nl(Vd

commented

But I have found out how to "fix" this. If I open and close WA auras frame in the middle of the fight (after arena started) then the aura becomes working. Simple /reload also helps.
If I do this manipulation then I am getting following logs:
RecheckActive unit:arena1 exists:true
RecheckActive unit:arena2 exists:true
LoadAura test 1 table: ...

Additionally, the aura works as expected for the consequent skirmishes but untill reload.

commented

Please let me know if you need any additional information. Also we might arrange a call so I could share my screen to help with investigation, find me in discord on WeakAuras Community server in this case.

commented

btw, ARENA_OPPONENT_UPDATE actually fires (the game was against 2x rogues)
image

man, the problem is here tho:

if WeakAuras.IsRetail() then
Buff2Frame:RegisterEvent("ARENA_OPPONENT_UPDATE")
end

All worked after I droped that condition, there were multiple entries of the bunch of logs. Chat was looking like following:
image

commented

thanks, that looks indeed like the cause of the issues.