I haven't seen any talk on the forums, and even privately it doesn't seem to be too super discussed, so I figured I'd drop some ruby scripts I've been tinkering with over the past while and see if anyone had any other reports they're generating from private lobby data.
Here's a basic tech stack for working with this kinda technical stuff:
- Git (a way to share and archive code)
- A decent terminal (git-scm is bundled with git bash luckily)
- Ruby (a programming language that doesn't waterboard you with tons of boilerplate typing)
So with those tools properly installed on even a windows machine, you can right click on a project folder, choose 'git bash' and then you'll bring up a terminal that's almost like a linux terminal. In that terminal you can paste the commands to pull down my codes, and run them to check the outputs. Each bullet point is worth it's own google if you're new to this kindsa stuff and would like to figure out what I'm talking about.
# PS, pound signs are comments and are ignorned # when you paste them into terminals # get the codes git clone https://github.com/TheNotary/smurfy_api.git # move into the new directory with terminal cd smurfty_api # put in an example match_id into the matches.txt file echo "312013716556150" > matches.txt # Execute the API lookup and report generation code mwo_api_key=<your API key> \ ruby mwo_match_data.rb
Running that last line of code about mwo_match_data.rb produces a couple reports. The one I'm finding fancy right now is the `cpd.txt` one that looks like this:
PolarHighlands Component Efficacy Team 2 WINNER Components Opened and Destroyed by Team: 19 Component Waste: 3 Extrapolated Waste: 3 Damage Waste: <total_team_damage - total_leg_armor + total_leg_structure> PolarHighlands Component Efficacy Team 1 Loser Components Opened and Destroyed by Team: 10 Component Waste: 2 Extrapolated Waste: 4 Damage Waste: <total_team_damage - total_leg_armor + total_leg_structure>
I like this report, not only because I was on Team 2, but also because it can help represent your whole team and how well you're working together rather than straight damage and straight kills, both of which can be padded very easily on an individual level by folks who are easily distracted from their team's success.
Pro Tips: If you're annoyed by having to put your API key in the terminal every time, just paste a line like 'export mwo_api_key=<your API key>' right into your ~/.bash_profile file.
Anyone else have reports they're using? Anyone have a favorite metric? Are you using html5 web 2.0 graphing libraries yet?
Edited by Congress Hating Ur Freedoms, 31 March 2018 - 04:53 AM.