#Fake CLEU event with WeakAuras.ScanEvents
17 messages · Page 1 of 1 (latest)
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.
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
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.
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.
You can do:
if event == "CHALLENGE_MODE_START" or event == "TEST_MODE_START" then
And then:
WeakAuras.ScanEvents("TEST_MODE_START", 169)
No?
@crystal garnet That works wonderfully. But I'm trying to achive the same thing with a unit_died cleu event
Unless you are trying to test another addon, and not an aura.
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)
Indeed. Enter in a low-level Dungeon and you can one-shot enemies.