Throughout the last four days I've been working on a python script that searches through all of an inputted steamID's logs.tf pages. It can output many different things depending on what you want to search for, such as average dpm, total caps, total time played on a class, etc.
It's fully customizable, offering a wide range of search terms and various log type separation. This is the second version of an older script that was posted about a week back, here are all the new additions and changes:
Features:
- Date Range Filtering
- Gamemode Separation
- Class Separation
For Specified Classes:
Total Kills
Total Deaths
Total Damage
Average Kills per 30m
Average Deaths per 30m
Total DPM
Total K/D
Total Time Played
Also Includes:
- Total Caps
- Combined version of specified class's stats
- Intuitive UI
This is my first large-scale python project, so you're gonna have to live with the occasional error / crash / miscalculation. If you run into a bug and you're willing to report it, please let me know the inputs you gave leading up to it and I'll try to fix whatever went wrong in the code. I'll update the download link for every patch that's made.
If you have a logs.tf profile with over 10,000 logs, it'll only include the first 10,000 logs. This is due to the maximum amount of logs that logs.tf can show on the json version of a player profile. However, the script will now skip 'broken / old logs', so logs from before 2013 won't be included anyway. I tested it on b4nny's account and let it run while I went out to eat. His 9,700 logs look just under 2 hours to iterate through.
Download
Source Code
To do:
Utilize multithreading to speed up search times
Airshot calculator
Heal stats calculator