AddOn: DuelDatabase
Version: 1.0.1.0
Description: An in-game duel database
Author: Matthew Cox (matthew.a.cox@gmail.com)
Copyright: Copyright 2005 by Matthew Cox
Description: http://www.jroller.com/resources/pawnxing/WoWAddons.html
Usage Notes: Feel free to use this how you like; however modification with redistribution is strictly prohibited.
Release Notes: This version is fully compatiable with version 1.0.1.0. See the end of this file for the changelog.

=================================================================================================================
INSTALLATION:

<WorldofWarcraft> = The directory where World of Warcraft is installed (e.g. C:\Program Files\World of Warcraft\)

Step 1:
In your "<WorldofWarcraft>" directory there should be a folder called "Interface". If not create one.

Step 2:
In your "<WorldofWarcraft>\Interface" folder you should have a folder called "AddOns". If not create one.

Step 3:
The DuelDatabase files should be copied into the folder "<WorldofWarcraft>\Interface\AddOns\DuelDatabase"

Step 4:
Verify that you have installed correctly. Under "<WorldofWarcraft>\Interface\AddOns\DuelDatabase" you should have:

* DuelDatabase.toc
* Bindings.xml
* DuelFrame.xml
* Duelist.xml
* DuelFrame.lua
* Duelist.lua
* Readme.txt

Step 5:
Start World of Warcraft. After login you should be taken to the character selection screen. In the bottom left 
corner there will be a button labeled "AddOns". Click on this and verify that DuelDatabase is listed there and 
is enabled.

=================================================================================================================
USAGE:

While playing you can launch the DuelDatabase with either of two commands. These commands are typed into chat:

/dd

-or-

/dueldatabase

Typing the commands again will close the database.

Alternatively you can bind a key to launch the database with a single keystroke. In the main menu ("ESC") there is 
a button labled "Bindings". In there you'll find a listing for DuelDatabase (scroll down a bit) with two optional 
key mappings. Click on one of these and set your desired shortcut key. For example I use "j". 

~ Have Fun


=================================================================================================================
ChangeLog:

--
-- Version 1.1.1.0
--

- Feature Release: Duel Details. Now for every duel in the DuelDatabase you can click them and receive full details
including where the duel was fought and how many duels you've had against a player.

- Feature Release: Scoring. Shown as both a new sortable column in the DuelDatabase and in the Duel Details. The 
new scoring system shows you how significant a battle was. The closer the score of a duel to the base value of 
1000 the tougher the opponent was relative to your own character. For defeating an opponent of a higher level you 
may receive greater than 1000 scores. This represents one of the first analytical tools released for the DuelDatabase.

- Bug Fix: Column sorting should now display correctly which column is actually being sorted on.

--
-- Version 1.2.1.1:
--

--
-- Maintenance/Upgrade:
--

Name				Status
======================================
Combined Won and Loss Table       Done
Database Optimization             Done
Database Upgrade                  Done

--
-- Bugs:
--

Name				STATUS
======================================
Naming Collision                fixed
Duel Decline                    fixed
"Unknown Entity"                fixed
Overview (win/loss/pct)         fixed


Notes:
New database structure optimizes searches by turning off entire sub trees during tree diving. 
Even more beneficial is the structuring of the tables as a faction.guild.opponent.duels 
structure. This struture allows for key statistical information regarding siblings to be stored 
on parent tables. The new structure addtional paves the way for future updates.