• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Blackbox

 

Project Updated:
Files Updated: Wed, May 27 2009
Supports Game Version: 3.1.0
Category: PvP, Data Export, and Libraries
Tags:

[Edit Tags]

Project Manager: Mourningblade
Additional Authors: No additional authors
Current Version: v0.2-beta4
License: GNU General Public License version 3 (GPLv3)
Development Site: CurseForge
Avg Daily DL (last 30 days): 2
Downloads Total: 580
Favorites: 6
Comments: 0
  • About Blackbox
  •  

Blackbox (AKA Lib: Blackbox) works much like the black box in an airplane - it records position, buffs, debuffs, heals, and damage in a 30 second loop that is saved whenever anyone dies.

The primary purpose of Blackbox is to have both a way to export data about deaths to external tools, and to have a single optimized library for death reports.

One optimization that Blackbox does is that it has very, very little allocation during combat. All calls during combat are O(1) (unless there's overflow - ie if you have a very, very busy raid your first few fights may incur some allocation). Blackbox waits to process death information until after you are out of combat.

The result is that you should see very little CPU use and no garbage collection calls from Blackbox.

This is an alpha upload. There are a few things remaining to do before the library is usable by the general public.

  • Easy library access
  • Configurable loop duration
  • Expirations
  • Combat log message inclusion

Another element that may interest programmers is that Blackbox is written in a code-by-contract style using macros. If you have access to CPP, they're easily used. Take a look at the Makefile and contract.h. All WoW addon developers have experienced the "...how the hell did THAT happen?" effect, and this is a good way of detecting bad errors as soon as possible. Please note, however, that because of my paranoia during coding (it paid off), alpha versions run very slowly - they run all checks.

If there is interest, I'll see about packaging up ringbuffer.lua and stackbuffer.lua for others to easily include.

  • Downloads (6)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Blackbox v0.2-beta4 Beta 3.1.0 411 5/27/2009
  Blackbox v0.2-beta3 Beta 3.1.0 22 5/27/2009
  Blackbox v0.2-beta2 Beta 3.1.0 25 5/26/2009
  Blackbox v0.2-beta1 Beta 3.1.0 12 5/25/2009
  Blackbox v0.1-alpha3 Beta 3.1.0 90 5/14/2009
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Similar Addons
  •  

Average downloads per day

  1. 33,884 Atlasloot Enhanced PvP, Arena, Map & Minimap...
  2. 9,151 CurseProfiler 2.0 Data Export
  3. 5,538 Ackis Recipe List Professions, and Data Export
  4. 3,182 Decursive Buffs & Debuffs, Boss Encounters...
  5. 2,760 Addon Control Panel Libraries, Development Tools...