#Custom trigger help

18 messages · Page 1 of 1 (latest)

hexed junco
#

I'm getting a LUA error from a WeakAura with a custom trigger. I have started maintaining the WeakAura recently, but it's coming from an aura I haven't touched and don't understand yet.

https://wago.io/KP-BlDV58

This is the WA in question and the LUA error is coming from the Combat Timer Trigger 2.

I've attached screenshots of the error and the entire trigger. Unfortunately I can't copy the code itself as it's too long for a message. I need help figuring this lua error out please.

|| Augmentation Evoker Buff Timers for Raid || Extra Frames (Cell Separated setup): If you use a raid frame setup whic

acoustic echo
#

attempt to call global ... a nil value

#

means that function doesn't exist anymore

#

sometimes the returns etc. change, but in this case nothing changed

#

it's legit just C_AddOns.IsAddOnLoaded now

hexed junco
#

I can't see anywhere in the actual trigger code where it's being called

#

I see some references to it in Custom Actions though

acoustic echo
#

it says t2 line 65 in the error message

hexed junco
#

I know, I looked through every line of Trigger 2, there's no call to IsAddOnLoaded

#

But if I go to Actions, it appears in the Init

#

Okay yeah replacing it there stopped the LUA error

#

Thank you for your help sir 🫡

cursive adder
#

it's not line 65 of trigger 2, it's line 16 of trigger 2, which invokes a function (aura_env.parseAugNote()) defined in init

#

(which has an IsAddOnLoaded call at line 65)

#

maybe we should reformat the error message to make that a little bit clearer which part is the stack trace, and which part is us identifying which custom code was the entry point...

#

eh, no it actually is clear enough i think