Go to Page... |
Updated: | 10-03-06 09:09 AM |
Created: | unknown |
Downloads: | 2,154 |
Favorites: | 1 |
MD5: |
Note that this is a developer tool, and doesn't provide any end-user functionality
Have you ever wanted to write a combat log parser (of any sort) and just didn't know which events to look for?
Eventlogger is a very simple addon that runs silently (or nearly) in the background, collecting data on which events correspond to which combat strings, and saving this into Eventlogger's SavedVariables file (i.e., there is no ingame output at all). After its been running for a while (and I recommend running it in a few raids, doing quests, PvP, battlegrounds, etc., to make sure you have a good sample of event data) you can look in the Eventlogger.lua in your SavedVariables folder, and look for what you are interested in.
Eventlogger's SavedVariables data
Eventlogger stores events and their corresponding format strings in two ways - indexed by event in the subtable EventloggerState.Events (so you can see all the format strings corresponding to a specific event) and indexed by format string in the subtable EventloggerState.FormatStrings (so you can see what events correspond to a specific format string). Each table entry contains an example text string to help you determine what the various %s's and %d's in the format string are actually used for.
As an example, this might look something like:
EventLoggerState = { ["FormatStrings"] = { ["SIMPLEPERFORMOTHERSELF"] = { ["CHAT_MSG_SPELL_CREATURE_VS_SELF_DAMAGE"] = "Greater Plainstrider performs Dazed on you.", }, ["VSBLOCKOTHEROTHER"] = { ["CHAT_MSG_COMBAT_CREATURE_VS_PARTY_MISSES"] = "Rage Talon Captain attacks. Vean blocks.", ["CHAT_MSG_COMBAT_FRIENDLYPLAYER_MISSES"] = "Barnswallow attacks. Lava Annihilator blocks.", ["CHAT_MSG_COMBAT_HOSTILEPLAYER_MISSES"] = "Scurrvy attacks. Dgswarrior blocks.", ["CHAT_MSG_COMBAT_PARTY_MISSES"] = "Feliciana attacks. Onyxia blocks.", ["CHAT_MSG_COMBAT_PET_MISSES"] = "Hathkresh attacks. Green Recluse blocks.", ["CHAT_MSG_COMBAT_CREATURE_VS_CREATURE_MISSES"] = "Flamewaker Elite attacks. Thunderous blocks.", }, ... ["Events"] = { ["CHAT_MSG_SPELL_CREATURE_VS_SELF_DAMAGE"] = { ["SPELLPOWERLEECHOTHERSELF"] = "Moam's Drain Mana drains 500 Mana from you. Moam gains 1000 Mana.", ["SIMPLEPERFORMOTHERSELF"] = "Greater Plainstrider performs Dazed on you.", ["SIMPLEPERFORMOTHEROTHER"] = "Flesh Eater performs Dazed on Hathkresh.", ["SPELLIMMUNEOTHERSELF"] = "Magmadar's Panic failed. You are immune.", ["SPELLLOGSCHOOLOTHERSELF"] = "Scalding Broodling's Fireball hits you for 201 Fire damage. (74 resisted)", ["SPELLINTERRUPTOTHERSELF"] = "Molten Destroyer interrupts your Heal.", ["SPELLPARRIEDOTHEROTHER"] = "Skeletal Warrior's Hamstring was parried by Hathkresh.", ["SPELLDODGEDOTHERSELF"] = "Defias Henchman's Shield Slam was dodged.", ["SPELLBLOCKEDOTHERSELF"] = "Defias Watchman's Shoot was blocked.", ["SPELLDODGEDOTHEROTHER"] = "Mottled Scytheclaw's Rend Flesh was dodged by Hathkresh.", ["SPELLPARRIEDOTHERSELF"] = "Riverpaw Bandit's Backstab was parried.", ["SPELLLOGSCHOOLOTHEROTHER"] = "Skeletal Mage's Frostbolt hits Hathkresh for 66 Frost damage.", ["SPELLLOGOTHEROTHER"] = "Skeletal Warrior's Hamstring hits Hathkresh for 35.", ["SPELLMISSOTHEROTHER"] = "Dragonmaw Grunt's Shield Slam missed Hathkresh.", ["SPELLLOGOTHERSELF"] = "Molten Destroyer's Massive Tremor hits you for 975.", ["SPELLRESISTOTHEROTHER"] = "Thunderhead's Lizard Bolt was resisted by Hathkresh.", ["SPELLRESISTOTHERSELF"] = "Black Broodling's Fireball was resisted.", ["SPELLLOGABSORBOTHERSELF"] = "You absorb Black Broodling's Fireball.", ["SIMPLECASTOTHERSELF"] = "Forlorn Spirit casts Polymorph on you.", ["SPELLMISSOTHERSELF"] = "Molten Giant's Smash misses you.", }, ... }, ["Enabled"] = 1, }
Comment Options |
10-03-06, 05:03 PM | |
|
Awesome as usual, Cirk! This will help me better configure SimpleCombatLog. (Wait a second. That's kinda like an end-user benefit )
__________________
MazzleUI Home Page: Mazzlefizz.WoWInterface.com Info, FAQs, Forums, Download can be found at that link. |
|
Mazzlefizz |
View Public Profile |
Send a private message to Mazzlefizz |
Visit Mazzlefizz's homepage! |
Find More Posts by Mazzlefizz |
Add Mazzlefizz to Your Buddy List |