Here's a little scuffed project I threw together in the last week. This is the first public version, it's going to have some minor issues, many I'm already aware of.
Version 3.0 added TornPDA support.
This script adds two new tabs in the 'Crimes' section on the faction page. "Player Statistics" and "Faction Statistics". These new tabs populate data based on cached data from your completed tab.
Download link. ( make sure you read/skim this post to understand how it works. )
When you first install this script you will need to scroll through all of your OCs in the 'Completed' tab to get accurate numbers.
Player Analytics Dashboard:
I don't think much needs explaining here. Respect is calculated by the rewarded respect divided by number of members in that scenario. similarly with money earned ( minus the faction cut that is set on the Faction Stats page )
Faction Analytics Dashboard:
Not much else needs explaining here imo. just some more interesting data.
set your faction cut % ( if there is a faction cut ), the remainder of the reward is divided equally to participants.
If you would like to submit your scenario data you can select the checkbox to do so. It implements functionality for scenario path and reward tracking exactly as described in it's stand-alone script found here. ( no need to have both installed at the same time. however the stand-alone script works on tornPDA )
The table in the Player Performance Overview section is sortable, and you can also click the player names to quickly see their player stats.
What's is currently scuffed?
- Not currently supported by TornPDA
- Navigating from the Completed Tab to either new stats tabs and then scrolling down will load the next block of completed OCs
- Time sorting isn't exactly accurate. This is due to a limitation in how i'm getting the data from intercepted XHR data. currently my only option here is to use the expiresAt time since endTime isn't populated.
- no light mode support ( honestly don't plan on adding this. quit punishing your eyeballs! )
What makes this better than current alternatives?
- Other sites and tools use your API key, while they can derive better more time accurate data- they require faction API access, which a large majority of players don't have.
- You don't have to open new tabs or go to external websites to see mildly interesting statistics.
- Ched said it's better? ( don't fact check this, he doesn't know who I am )
What this isn't going to be:
- Due to self inflicted limitations I've put on the scope of this project. This won't be a tool to replace other websites and tools that utilize your API key. I have no intention of mixing XHR data interception and API calls into this script at the same time. Unfortunately this means I'm at the whims of the accuracy of the data thrown while loading the OCs.
- This won't be a tool to help you min-max your OC spawning and make decisions on which OCs to spawn.
- This won't track or display CPR growth over time.
Enjoy.
Mentions: [Site + Script] Torn OC Scenario Tracker