|Go to Page...|
LOGwut?, to try to make sense of COMBAT_LOG_EVENT_UNFILTERED.
This is a little mod I threw together because... well, I don't know about you but sometimes COMBAT_LOG_EVENT_UNFILTERED absolutely mystifies me, in some places it's broken, in others it's just confusing and generally I just wanted something that would help me learn how it thinks.
I wanted a mod I could keep around all the time though, so LOLwut doesn't do anything or take up any CPU cycles unless it's enabled. And once it's toggled off it goes back to being just as silent.
I also wanted a mod that could check the tables that CLEU spits out, along with any numbers... and should on a wild chance should CLEU return a function, I wanted to be able to execute that function and get the return from it (covering all bases). Of course, the strings and numbers it gives go without saying, and nil args simply get ignored.
Here's an example of a LOGwut output:
-=-=- Doing LOGwut? for SPELL_AURA_REMOVED -=-=-
[ Arg 1.0: userdata: 1456C008 ]
[ Arg 2: COMBAT_LOG_EVENT_UNFILTERED ]
[ Arg 3: 1211970189.906 ]
[ Arg 4: SPELL_AURA_REMOVED ]
[ Arg 5: 0x0000000000000000 ]
[ Arg 7: -2147483648 ]
[ Arg 8: 0x0000000001722671 ]
[ Arg 9: Playername ]
[ Arg 10: 1297 ]
[ Arg 11: 783 ]
[ Arg 12: Travel Form ]
[ Arg 13: 1 ]
[ Arg 14: BUFF ]
-=-=- Finished LOGwut? for SPELL_AURA_REMOVED -=-=-
it's nicely coloured and stuff in game though to make it more easily readable, but you get the gist of it from that.
Only other thing to say is that /logwut works as a toggle for turning the mod on/off.