About

This script uses node.js to make tracking the Time-Lost Proto-Drake easier. The script keeps track of the Vyragosa kills of players you add to it, and will also check and see if they have already collected the Time-Lost Proto-Drake mount.

How It Works

Using node.js and the Blizzard WoW API, this script will:

Note: This script can not track Vyragosa kills that are not looted. Additionally, since looting the Reigns of the Time-Lost Proto-Drake does not appear in the character's activity feed, the script can not accurately predict when the Time-Lost Proto-Drake itself was killed.

Requirements

You must have node.js and npm installed to run this script.

How to Use

Installation & Running the Script

  1. Clone the GitHub repo to your computer, and navigate to the directory where you cloned the script.
  2. Add the names of characters you'd like to track, and their servers, to the data.json document.
  3. Install the dependencies (namely, moment.js) by running npm install inside the directory.
  4. Execute the script by navigating to the folder where you have saved the script and typing node tlpd.js in the command line or terminal.
    • By default this will load the data.json document, however you create separate documents to track a separate group of characters, such as characters from specific server pools. You can them pass them to the script as an argument (eg. node tlpd.js illidan.json).
    • Unix based systems can also type ./tlpd.js into the terminal to execute the script.
    • Unix based systems may also install the script as a global executable by running npm link from inside the directory, and then using tlpd from anywhere instead of the command above in step 4.

Formatting data.json & other JSON documents

The data.json file is in standard JSON format. Each object stored within the characters object array includes both a character name & server. Each character name should be entered exactly how it appears in-game, including special characters. Each server name should be entered in all lowercase and with dashes in place of spaces similiar to how they would appear in the armory URL (eg. http://us.battle.net/wow/en/character/the-venture-co/{character}/)

Troubleshooting

  1. Before attempting to execute the script, please ensure that node.js and npm are installed correctly.
  2. If errors persist ensure that the character name & server have been entered correctly.
  3. If errors still persist copy the contents of data.json into a JSON linter such as JSONLint to check for formatting errors.

Example Output

Your Awesome Terminal v0.1337

> node tlpd.js

========================================

CHARACTER1
Has killed Vyragosa: 13-Aug-2013 04:38
Has killed Vyragosa: 11-Aug-2013 05:32
Has killed Vyragosa: 10-Aug-2013 08:19

========================================

CHARACTER2
Has killed Vyragosa: 16-Sep-2013 17:17
Has killed Vyragosa: 26-Aug-2013 08:07

========================================

CHARACTER3
Has Time-Lost Protodrake
Has killed Vyragosa: 05-Sep-2013 00:38

========================================

CHARACTER3
Has Time-Lost Protodrake
Has killed Vyragosa: 13-Sep-2013 20:30

========================================

CHARACTER4
Has killed Vyragosa: 16-Sep-2013 04:26
Has killed Vyragosa: 15-Sep-2013 08:52
Has killed Vyragosa: 15-Sep-2013 04:14
Has killed Vyragosa: 14-Sep-2013 11:10
Has killed Vyragosa: 12-Sep-2013 05:29
Has killed Vyragosa: 12-Sep-2013 00:09
Has killed Vyragosa: 11-Sep-2013 04:00
Has killed Vyragosa: 10-Sep-2013 12:27
Has killed Vyragosa: 09-Sep-2013 04:01
Has killed Vyragosa: 08-Sep-2013 11:07
Has killed Vyragosa: 08-Sep-2013 06:34
Has killed Vyragosa: 07-Sep-2013 04:43
Has killed Vyragosa: 06-Sep-2013 08:16

========================================