Big SW-Exporter Update Available May 20, 2019

Xzandro and I have just released a big update to SW-Exporter. Check out the release for the feature list. The big item is the external plugin support - now anyone can write plugins for SW-Exporter! Details of developing plugins are in the readme.

Specifically for the SWARFARM logger plugin, I have a couple new features. First, the plugin now authenticates with the provided API key when logging events. This fixes an issue where some users have multiple SWARFARM accounts associated with the same in-game accounts, and SWARFARM did not know which account to attach log events to. The API key will ensure that a specific SWARFARM account is used.

Second, there is now support for multiple API keys by entering a JSON mapping instead of just a plain API key. The mapping provides an association between your in-game account number and the API key. The mapping should look like this:

{ "12345678": "19fc64e770084cafac2e2494d6cc0aec", "87654321": "36443dd2e6ad422dad433292b18efa5e" }

I have set up an example in an online JSON editing tool for you to start with here. Be sure to check if your mapping is valid before using it in the plugin! You can add as many new entries to the mapping as you have accounts.

The first, shorter number is your in-game account ID. This matches the number in the profile json filename you normally import into SWOP and SWARFARM. For example, if the profile JSON filename is porksmash-44553123.json, your account number is 44553123. The second longer alphanumerical string is your SWARFARM API key. To find or generate an API key, log into the website, click on your account name, and select Edit Profile. There is an API key field there with a generate button.

The final update for the SWARFARM logger plugin is that it will automatically update itself if the server has changed the in-game events that can be logged. I do this occasionally to add new areas of the game to log, or fix bugs because I am not requesting the right data. This was a problem for people who leave SW-Exporter running for extended periods of time.


Enhancing Monster Storage added May 18, 2019

All the angel/devil/king/rainbowmons you put into that nice new building Com2US added now appear under the material storage section of your profile. These values are automatically updated when you import your profile from the SW-Exporter profile dump.


Patch 4.2.5 Updates Applied April 7, 2019

If you notice any issues please leave a note in the feedback section.


Personal Data Logs Now Available April 7, 2019

Yes, the Data Logs button disappeared from the top bar. No, don't panic! There is a new section available when viewing your profile to access your personal data logs. At the moment this is simply a table view of data logs, with no statistical reports. If you care, check your logs for accuracy and please report any issues in the feedback section.

Here's the short-term roadmap, which covers all the steps involved in item #3 in the previous post:

  1. Completed Table based views for personal data logs
  2. Personal log statistical reports
  3. Integration of dungeon data into bestiary
  4. Globally aggregated statistical reports integrated into bestiary.

Status of Data Logging March 9, 2019

If you've opened up SW-Exporter with the SwarfarmLogger plugin enabled, you'll see that instead of a big red error message, there is a notice that SWARFARM is now logging a few in-game events. The new logging framework is being slowly rolled out over the next few weeks. There will be at least 3 phases before the logging is fully functional again:

  1. Gradual reintroduction of all data logging and debugging DONE
  2. Reset logs (if necessary) and start permanent data logging NOT REQUIRED
  3. Introduction of new reports
  4. SW-Exporter plugin updates

The new reports will come along with an update to the bestiary to add dungeon information. The logs will be boiled down into static reports generated weekly or every 2 weeks (depending on the volume of data) and you will be able to scroll back in time week by week. The data will be presented alongside other dungeon information such as enemy waves.

Personal logs will now be integrated into your profile section of the website and have a slightly different format, including a tabular view of the actual data from your runs. Personal logs will also continue to be fully dynamic and not subject to any caching or static report generation.

Currently Logging: EVERYTHING!

Still in the works: NOTHING!