#Fake CLEU event with WeakAuras.ScanEvents

17 messages · Page 1 of 1 (latest)

frail cobalt
#

Hiya! Is there anyway to send a fake CLEU event using WeakAuras.ScanEvents?

This doesn't seem to work, but I know CLEU can be finicky.

/run WeakAuras.ScanEvents("COMBAT_LOG_EVENT_UNFILTERED", 1, "UNIT_DIED")
winter wing
#

No and that would also be a terrible idea to do

#

What are you trying to achieve

frail cobalt
#

Testing purpose, Instead of having to kill all enemies 🙂

#

Used to run macros like this, to get a quick and dirty fake event to fire instead of having to put a keystone in and then start the challenge mode etc.
/run WeakAuras.ScanEvents("CHALLENGE_MODE_START", 169)
But cleu doesn't seem to wanna cooperate.

winter wing
#

No ofc it doesn't

#

A world where you can fake combat log events would be horrible

#

It would mean no one else could trust the combat log

frail cobalt
#

Well I'm not trying to fake a server cleu event. Ofcourse that doesn't work. Just trying to get my WA to pick up a pseudo event instead of having to actually kill enemies.

winter wing
#

How would WA differentiate between a real and a fake if it were to accept both things as cleu events?

#

You can have WAs listen to fake events just fine, and it would probably work in custom code to listen to COMBAT_LOG_EVENT_UNFILTERED and it would hit on your "fake" one too, but it does not work in default options since they protect against that. That's the reason why we always recommend to send uniquely named things to avoid a) accidentally someone elses WA events and b) avoiding someone else hitting your WA events.

UNIT_DIED is pretty easy to replicate though, so not sure what the issue is - just go slap low level mobs to trigger your aura.

crystal garnet
frail cobalt
#

@crystal garnet That works wonderfully. But I'm trying to achive the same thing with a unit_died cleu event

crystal garnet
#

Unless you are trying to test another addon, and not an aura.

winter wing
#

If you're testing custom code, you can just listen to a proper fake event - testing default triggers, just go slap a low level mob

#

(or trigger off something super simple like a spellcast or similiar, then swap to UNIT_DIED aftewards)

crystal garnet
#

Indeed. Enter in a low-level Dungeon and you can one-shot enemies.