(1 Kb)
Updated: 05-28-08 04:33 AM
File Info
Updated:05-28-08 04:33 AM


Version: 1.0
by: VagrantEsha [More]

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 3: 1211970189.906 ]
[ 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.

1.0: I feel this mod has reached a milestone, in that it's achieved a level of stability to the point where (despite my efforts to break it) I haven't seen any bugs in quite some time. This milestone also implies that I'm unable to think of any relevant features to add at this time without bloating out this mod, and there's nothing left to do that wouldn't be superfluous. Thus, this mod will likely be left untouched until a new feature is desired, or until a new Warcraft patch breaks it (if that happens). As of now, this mod should be considered stable.

revision280508: Initial release.
Optional Files (0)

There have been no comments posted to this file.
Be the first to add one.

Category Jump: