Talk:API COMBAT LOG EVENT

In Base Parameters, source GUID and destGUID, i've found 2 new Unit Type in addition to Player(0x0), NPC(0x3) and Pet(0x4):

If you perform a bit-wise AND on the GUID with the mask 0x00F0000000000000:

Few exemples from my very limited french development CombatLog sample
 * Object(0x1)
 * fishing bob (Flotteur, dest of SPELL_CREATE)
 * wintergrasp central tower (Tour centrale de Joug-d'hiver, dest of SPELL_BUILDING_DAMAGE)
 * Controlled Object(0x5)
 * Wyrmrest Vanquisher (dest of SPELL_AURA_APPLIED/REMOVED BUFF)
 * Wyrmrest Defender (SPELL_AURA_A/R, SPELL_DAMAGE when your mount takes damage, UNIT_DIED)

Tendra (talk) 11:29, 4 February 2009 (UTC)

I've found an odd quirk with the bit-masking technique, summoned pets, such as DK's gargoyles show up as NPCs, not pets. From a combat log: 5/14 19:55:57.030 SPELL_SUMMON,0x06000000027B533E,"Siyeg",0x514,0xF130006CB5004379,"Ebon Gargoyle",0xa28,49206,"Summon Gargoyle",0x20 Note that the destId is 0xF130006CB5004379 and when masked with 0x00F0000000000000 yields 0x0030000000000000 identifying it as an NPC not a pet as you might expect.

Troutinator (talk) 23:02, 19 May 2009 (UTC)

It doesn't look like _MISSED actually does NOT have an amount passed as its second suffix-specific parameter. Can anyone else verify either way? I only have access to limited logs right now. Farlox (talk) 10:31, 11 December 2008 (UTC)
 * According to Blizzard_CombatLog.lua, SWING_MISSED and SPELL_MISSED have up to two arguments: missType and amountMissed. A value for amountMissed is only possible when missType is RESIST, BLOCK, or ABSORB. Parser (talk) 21:20, 11 December 2008 (UTC)

There is also an event for arg2 called PARTY_KILL. This fires when a unit dies... I don't know more yet, I was killing random mobs. And there is SPELL_DISPEL when dispelling a debuff.

--Sharandris (talk) 21:42, 17 July 2008 (UTC)


 * The event PARTY_KILL occurs when you or a member of your group/raid kills something. Parser (talk) 00:14, 7 September 2008 (UTC)

I've added "pet happiness" to the power type. The only time I've encountered this value was for a SPELL_PERIODIC_ENERGIZE log event where someone's pet was energized by "Feed Pet Effect".

While investigating the possibilities of writing a parser for the text combat log, I've been investigating the blizzard interface data. Are there any serious reasons around here why I shouldn't put that info up here? PleegWat 20:36, 27 March 2008 (UTC)
 * What "info"?

Event Descriptions
Summary Of what I have learned about when events fire and when they don't: (Preliminary)

School Strings
In the current Blizzard_CombatLog.lua, Blizzard has a table with strings for combinations of schools. I'll paste it below. I'd like to know how to best describe this table in the article. Currently, these strings seem to only be used in the combat log name of a spell. As far as I can tell, they don't necessarily result in separate spell schools that need to be handled (though Frostfire is a completely new school). This seems to be the beginning of a much larger spell school table, but not yet?

Blizzard_CombatLog.lua
local SchoolStringTable = { -- Single Schools [SCHOOL_MASK_PHYSICAL]				= STRING_SCHOOL_PHYSICAL, [SCHOOL_MASK_HOLY]				= STRING_SCHOOL_HOLY, [SCHOOL_MASK_FIRE]				= STRING_SCHOOL_FIRE, [SCHOOL_MASK_NATURE]				= STRING_SCHOOL_NATURE, [SCHOOL_MASK_FROST]				= STRING_SCHOOL_FROST, [SCHOOL_MASK_SHADOW]				= STRING_SCHOOL_SHADOW, [SCHOOL_MASK_ARCANE]				= STRING_SCHOOL_ARCANE, -- Physical and a Magical [SCHOOL_MASK_PHYSICAL + SCHOOL_MASK_FIRE]	= STRING_SCHOOL_FLAMESTRIKE, [SCHOOL_MASK_PHYSICAL + SCHOOL_MASK_FROST]	= STRING_SCHOOL_FROSTSTRIKE, [SCHOOL_MASK_PHYSICAL + SCHOOL_MASK_ARCANE]	= STRING_SCHOOL_SPELLSTRIKE, [SCHOOL_MASK_PHYSICAL + SCHOOL_MASK_NATURE]	= STRING_SCHOOL_STORMSTRIKE, [SCHOOL_MASK_PHYSICAL + SCHOOL_MASK_SHADOW]	= STRING_SCHOOL_SHADOWSTRIKE, [SCHOOL_MASK_PHYSICAL + SCHOOL_MASK_HOLY]	= STRING_SCHOOL_HOLYSTRIKE, -- Two Magical Schools [SCHOOL_MASK_FIRE + SCHOOL_MASK_FROST]		= STRING_SCHOOL_FROSTFIRE, [SCHOOL_MASK_FIRE + SCHOOL_MASK_ARCANE]		= STRING_SCHOOL_SPELLFIRE, [SCHOOL_MASK_FIRE + SCHOOL_MASK_NATURE]		= STRING_SCHOOL_FIRESTORM, [SCHOOL_MASK_FIRE + SCHOOL_MASK_SHADOW]		= STRING_SCHOOL_SHADOWFLAME, [SCHOOL_MASK_FIRE + SCHOOL_MASK_HOLY]		= STRING_SCHOOL_HOLYFIRE, [SCHOOL_MASK_FROST + SCHOOL_MASK_ARCANE]	= STRING_SCHOOL_SPELLFROST, [SCHOOL_MASK_FROST + SCHOOL_MASK_NATURE]	= STRING_SCHOOL_FROSTSTORM, [SCHOOL_MASK_FROST + SCHOOL_MASK_SHADOW]	= STRING_SCHOOL_SHADOWFROST, [SCHOOL_MASK_FROST + SCHOOL_MASK_HOLY]		= STRING_SCHOOL_HOLYFROST, [SCHOOL_MASK_ARCANE + SCHOOL_MASK_NATURE]	= STRING_SCHOOL_SPELLSTORM, [SCHOOL_MASK_ARCANE + SCHOOL_MASK_SHADOW]	= STRING_SCHOOL_SPELLSHADOW, [SCHOOL_MASK_ARCANE + SCHOOL_MASK_HOLY]		= STRING_SCHOOL_DIVINE, [SCHOOL_MASK_NATURE + SCHOOL_MASK_SHADOW]	= STRING_SCHOOL_SHADOWSTORM, [SCHOOL_MASK_NATURE + SCHOOL_MASK_HOLY]		= STRING_SCHOOL_HOLYSTORM, [SCHOOL_MASK_SHADOW + SCHOOL_MASK_HOLY]		= STRING_SCHOOL_SHADOWLIGHT, -- Three or more schools [SCHOOL_MASK_FIRE + SCHOOL_MASK_FROST + SCHOOL_MASK_NATURE]	= STRING_SCHOOL_ELEMENTAL, [SCHOOL_MASK_FIRE + SCHOOL_MASK_FROST + SCHOOL_MASK_ARCANE + SCHOOL_MASK_NATURE + SCHOOL_MASK_SHADOW] = STRING_SCHOOL_CHROMATIC, [SCHOOL_MASK_FIRE + SCHOOL_MASK_FROST + SCHOOL_MASK_ARCANE + SCHOOL_MASK_NATURE + SCHOOL_MASK_SHADOW + SCHOOL_MASK_HOLY] = STRING_SCHOOL_MAGIC, [SCHOOL_MASK_PHYSICAL + SCHOOL_MASK_FIRE + SCHOOL_MASK_FROST + SCHOOL_MASK_ARCANE + SCHOOL_MASK_NATURE + SCHOOL_MASK_SHADOW + SCHOOL_MASK_HOLY] = STRING_SCHOOL_CHAOS, };

Did Blizzard Take out this event??