WeakAuras

WeakAuras

206M Downloads

On Init runs on loaded never

Pewtro opened this issue ยท 3 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

This weakaura has some code in on init that hides the default casting bar.

I would expect that this code would not run if the aura is set to loaded never (or just in general, not to load on this character) - but I don't have any casting bar when logging on if this weakaura is installed.

This also happens if it's the only aura installed at all.

EDIT: A bit further debugging - it seems that the trigger runs an OPTIONS event when entering world which then causes it to happen? I wouldn't expect a trigger to run on entering world when it's set to load never.

WeakAuras Version

5.13.2

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

No response

Reproduction Steps

  1. Have the aura installed
  2. Log into wow - see no cast bar
  3. remove aura, reload, see cast bar

Last Good Version

No response

Screenshots

No response

Export String

!WA:2!LUttVTrs2jTkXtwLft8h74m2RDsVk7mHYMMIFyjB5SAueLOgPz1xGKYE84XGSj7IS71n7Ut1nPe9aNDhJKSgd28b0MSxtGUMGCq5FGrWcS3kiema5qU4Cjxso4tjN28Evv9xKnfTtegy2DvV3REF)Ev11m56xSZf1UO2lw8yxhv6tEGHMN(7DSrtBRk2DPnjxBIghO22EZ1oQywRg5EAUnE6PQD90TP764zyB5(v3VOxFhsdDIQgHs76s2rTdPErpYHEoN)JjweQQPsfINNHvBxQL92eABIE5dWvAQwSZvUPTPnn)ti9p2ZO5tQXFLQrAP2107tMc(ROfqXJRctQSkFsyrwJ42uN9TM6RPU2T822WAVPYMjhqnQQvBcTHr7kEeh(G57OE4VSOl(6Vw2mzZbyLVJH1KS3vSGCoHDEe2ccQPE4uSliwqXKxQErnybDwAd7dWHikU62Dn1u80jkirCvAquuDvuvCiGwZYtTnrXUfF(wDnnvAOsxUh7Cn8SB32KWoFDGlyxW5YBGeROPXtFQkvtzvvxpLIQuybzVRZ7PdtwRHCYAnHjbYWUUZxUMHRAdtIlN(byJaGlKst7ooMepIz)mkpqNyPOXHhmaacgUk2CtxAL(2Dv60fqIsmT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aQFr3gZNjxHm5VyV)Lp9)n

Bisector Report

No response

commented

Occording to Oi:

if using a progressbar and a custom trigger (that is a TSU) and you have a condition
init will run

commented

for some further reading, consider #4262

commented

I have taken a look at why exactly in this case we run the init function, that is what custom code does get executed on adding. Most of them are due to creating the conditions function, which requires knowing what the state will contain. Which is done by either examining the custom variables, or by running the trigger function.