Encounter Journal Export

This project has become inactive.

This project is inactive and its default file will likely not work with the most recent version of World of Warcraft. The author may have abandoned it, or it may have outlived its usefulness.

Exports data from the encounter journal introduced in patch 4.2 into XML format. The XML can then be further processed for various purposes. Includes XSL stylesheets to convert the XML into simple html or phpbb code.

How to use

There's no UI, you'll have to use /script to call the functions. These will get the data and show it in a simple edit box. You'll then have to copy it to clipboard and then paste in some file. Exporting everything will take a bit of time and it might seem that the game crashes, just be patient.

/script EJExportAll(onlyRaids)

Exports everything. Will only export raid instances unless onlyRaids parameter is provided and is false.

/script EJExportInstance(instance)

Exports a single instance. If instance parameter isn't provided or is nil, will export the instance that's currently open in the encounter journal. Otherwise the instance parameter must either be an instance id or the name of the instance. The name of the instance is case insensitive but is subject to localization.

Example: /script EJExportInstance("firelands")

/script EJExportEncounter(instance,encounter)

If instance and encounter parameters aren't provided or are nil then the encounter that is currently open in the encounter journal is exported. Otherwise the parameters must either be id numbers or names.

Example: /script EJExportEncounter("firelands","ragnaros")

XSL Stylesheets

Two XSL stylesheets are included, tohtml.xsl and tobbcode.xsl. You can use these to convert the XML data to simple html or bbcode used by phpbb and other forum software. The exported XML data will contain a stylesheet definition for the html stylesheet on the second line. Simply edit this if you wish to convert to bbcode instead. Naturally you can also make your own stylesheets for other output formats.

Note that Google Chrome refuses to load the stylesheet for local files.

You must login to post a comment. Don't have an account? Register to get one!

  • 8 comments
  • Avatar of mysticalos mysticalos Sep 01, 2013 at 02:28 UTC - 0 likes

    I made some updates to it that i had modded locally to get it to export 5mans without DCing.

    I have another version I have ALMOST working on 5.4 but still needs more work. 5.4 makes quite a few changes that break the mod (namely the obvious difficulty index changes).

    Last edited Sep 01, 2013 by mysticalos
  • Avatar of Fylwind Fylwind Feb 01, 2013 at 06:53 UTC - 0 likes

    Blizzard has some icons with space (" ") in them and on Wowhead this is translated to a hyphen ("-"). This can be fixed by replacing the corresponding tag with the following:

    <xsl:value-of select="translate(substring(@abilityIcon,17,string-length(@abilityIcon)-17-3),'ABCDEFGHIJKLMNOPQRSTUVWXYZ ','abcdefghijklmnopqrstuvwxyz-')"/>
    

    Other than that, this add-on still works just fine as of 5.2 PTR.

  • Avatar of olog olog Jun 16, 2011 at 13:44 UTC - 0 likes

    onlyRaids is supposed to be a parameter to EJExportAll function. So what you're probably after is "/script EJExportAll(true)". But if you only want Firelands then do "/script EJExportInstance("firelands")". Actually since you have a French client you will need to replace "firelands" with whatever it's called in French. Or you can open the encounter journal window, then open Firelands there and then do only "/script EJExportInstance()".

  • Avatar of fredericcharlais fredericcharlais Jun 14, 2011 at 16:26 UTC - 0 likes

    it not work with last release of ptr?

    I use the French client and nothing append when i use command like /script EJExportAll(onlyRaids)

    Any ideas?

  • Avatar of olog olog May 22, 2011 at 17:09 UTC - 0 likes

    That does explain what some of the flags are used for. The addon still works fine on ptr as they didn't really seem to change anything with the journal api yet.

    The heroic only flag is a bit strange. If you toggle the heroic difficulty on and off with the button in top right corner it'll hide some abilities altogether. But these aren't always the ones marked with a heroic only flag. So I'm guessing that part is still a work in progress at Blizzard's end.

    Also several of the other flags aren't used at all yet, they're probably still adding stuff there.

    Last edited May 22, 2011 by olog
  • Avatar of yoshimo yoshimo May 22, 2011 at 09:09 UTC - 0 likes

    Do you need to update this for:
    http://www.mmo-champion.com/content/2310-Tier-12-Warlock-Video-Nozdormu-Video-Encounter-Journal-Update-Blizzcon-Tickets

    Originally Posted by MMO-Champion
    ENCOUNTER_JOURNAL_SECTION_FLAG1 = "Tank Alert";
    ENCOUNTER_JOURNAL_SECTION_FLAG2 = "DPS Alert";
    ENCOUNTER_JOURNAL_SECTION_FLAG3 = "Healer Alert";
    ENCOUNTER_JOURNAL_SECTION_FLAG4 = "Heroic Only";
    ENCOUNTER_JOURNAL_SECTION_FLAG5 = "Deadly";
    ENCOUNTER_JOURNAL_SECTION_FLAG6 = "Important";
    ENCOUNTER_JOURNAL_SECTION_FLAG7 = "Interruptible";
    ENCOUNTER_JOURNAL_SECTION_FLAG8 = "Magic Debuff";
    ENCOUNTER_JOURNAL_SECTION_FLAG9 = "Curse Debuff";
    ENCOUNTER_JOURNAL_SECTION_FLAG10 = "Poison Debuff";
    ENCOUNTER_JOURNAL_SECTION_FLAG11 = "Disease Debuff";
    ENCOUNTER_JOURNAL_SECTION_FLAG12 = "Enrage";

    or is that already taken care of?

  • Avatar of olog olog May 18, 2011 at 14:52 UTC - 0 likes

    That should be fixed now.

  • Avatar of Stanzilla Stanzilla May 17, 2011 at 17:09 UTC - 0 likes

    chrome gets the image links wrong, too. =/

  • 8 comments

Facts

Date created
May 15, 2011
Categories
Last update
Sep 01, 2013
Development stage
Inactive
License
Public Domain
Curse link
Encounter Journal Export
Downloads
1,108
Recent files
  • R: r7 for 5.3.0 Sep 01, 2013
  • A: r6 for 4.3 Dec 31, 2011
  • A: r5 for 4.2 Nov 24, 2011
  • A: r4 for 4.1 Jun 12, 2011
  • A: r3 for 4.1 May 18, 2011

Authors

  • Avatar of olog
    • Manager
    • Author

Relationships

Embedded library
Ace3