mimky
Account Details
SteamID64 76561198347491669
SteamID3 [U:1:387225941]
SteamID32 STEAM_0:1:193612970
Country United States
Signed Up April 11, 2017
Last Posted June 9, 2021 at 1:27 AM
Posts 14 (0 per day)
Game Settings
In-game Sensitivity 3.1
Windows Sensitivity 1
Raw Input 1
DPI
750
Resolution
1920x1080
Refresh Rate
144hz
Hardware Peripherals
Mouse Logitech G602
Keyboard Glorious GMMK - Full Size
Mousepad SteelSeries QcK Large
Headphones SteelSeries Arctis 7
Monitor BenQ ZOWIE XL2720 27"
#10 Logs.TF Stats Calculator v3 in Projects
bsiani think i just filtered for 6s matches

So for some reason in log files certain medigun names are listed as "unknown". Could be a logs.tf API bug, might happen whenever someone is using a modified medigun (re-skin, australium, festive, etc.). Every medigun in your log files was named "unknown" so there was no way of differentiating between uber and kritz. The bug has been fixed now, but unfortunately uber and kritz charges have been merged into one number.

Download link updated.

posted about 3 years ago
#8 Logs.TF Stats Calculator v3 in Projects
bsiancool tool

https://i.imgur.com/0622faG.png

either this feature is broken or im really really bad at medic

What filtering settings did you use?

posted about 3 years ago
#1 Logs.TF Stats Calculator v3 in Projects

Python script that iterates through up to 10,000 logs on a player's account and calculates every stat imaginable. 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 third version of a script that I first started working on about 6 months ago. I returned to developing it yesterday because of boredom and dissatisfaction with the slow log grabbing speed. Version 3 now has multithreading, so calculation times have been sped up considerably.

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:

  • Medic Stats (Healing, Charges, Drops)
  • Total Caps
  • Combined version of specified class's stats

Unfortunately, Logs.tf rate limits their website when accessed from one point too frequently in a short period of time. The "Cooling Down (Logs.tf Data Request Overflow)" that you see every 20-25 logs is the result of logs.tf denying access to more pages, each time the script receives this error it stops all threads for 2.25s. On my PC I average between 9 - 13 logs per second. I ran it on a virtual machine and was averaging 5 - 7, the speed at which the iterator runs is completely dependent on your internet speed and CPU.

The Logs.tf API only supports logs that use the latest uploader plugin. All logs pre 2013 or servers you've played on
with the old plugin will be detected as broken and won't be calculated towards your final stats.

Download

Source Code

posted about 3 years ago
#6 airtime lft advanced in Recruitment (looking for team)

confirmed NOOB KILLER will own you in MGE on his laptop

posted about 3 years ago
#9 Python Logs.TF Stats Calculator v2 in Projects

Feel free to keep posting suggestions everybody, I'd love to expand on this project more.

posted about 3 years ago
#8 Python Logs.TF Stats Calculator v2 in Projects
Moisti didnt do any filtering and it didnt show stats for heavy

Turns out the script was using the search term "heavy" instead of "heavyweapons". Should be fixed now, download link has been updated.

posted about 3 years ago
#7 Python Logs.TF Stats Calculator v2 in Projects
bearodactylCool idea but downloading a .exe is a little sus lol can you link the original python source? (or host a webapp that does it or something) Also multithreading in python isn't too bad, you should be able to speed up the 2 hour run time to look through 10,000 logs if you haven't done that already.

I'm definitely considering making it open source, if enough people ask for it then I'll probably post it. Utilizing multithreading in this project is actually kind of a beast idea, I'll give it a go soon.

Edit: Decided to just say fuck it and post SC. Enjoy!

posted about 3 years ago
#1 Python Logs.TF Stats Calculator v2 in Projects

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

posted about 3 years ago
#17 Python Script to Average All DPM / KD from Logs.TF in Projects
NathanNathanhttps://i.imgur.com/3kdXjY4.png

maybe i play too much tf2

not sure what causes it but about 90 minutes into parsing these logs (85% completion) the program crashes. too many logs maybe?

Must've been an error while iterating through a specific log. Most of these issues will be fixed when I upload v2 of the program in a couple days.

posted about 4 years ago
#15 Python Script to Average All DPM / KD from Logs.TF in Projects
AntecedentNice work!

If you're curious, I did something similar for pugs ( https://github.com/TheAntecedent/Quintessence ), which was based on grabbing logs uploaded by a single uploader. You could swap out the intake piece with grabbing all logs for a given player and use the rest of the code, if that's helpful.

Zesty also wrote some log analysis code a little while back to predict which team would win a given match, and 1Stirling ran a long-term metrics project that ranked both players & teams for about 3 years ( https://tf2metrics.wordpress.com/ ).

Very cool stuff, I've only been using python for about a year so I'm always looking forward to learning more. I'll definitely take a look at these and see what I can use in my project.

posted about 4 years ago
#12 Python Script to Average All DPM / KD from Logs.TF in Projects
BvI don't want to be that annoying guy but I think you should be using logs.tf API for this. Most definitely if you want to continue working on this.
This way you can get the last 10000 logs from a player in a JSON format (which is the limit):
http://logs.tf/api/v1/log?player=<Steam64ID>&limit=10000
And this way you can get the information from each log:
http://logs.tf/api/v1/log/<logid>;
More on this here: logs.tf

I've been working on a project for a year now which uses that api and some other stuff to return the ticks of certain events that happen in game (e.g. killstreaks, airshots etc,) so one can easily record a frag movie or something of the sorts. It's pretty much finished I've just been too scared to release it ^^"

If you have any questions about this stuff I'd be glad to help!

Thanks for introducing me to this, search times will be significantly sped up using this method.

Edit: After testing out this method a little bit I've noticed a couple things. The API / json version of log files are grabbed nearly just as fast as the original page source code. This is due to the limited internet speed of the python requests module, which can access most websites like logs.tf/<log-id>; just as fast as it's API counterpart. I'll definitely still be using the API / json method for grabbing log files purely because it's much easier to read and iterate through, however don't expect a major speed increase. The API for the profile page seems very handy, as it completely eliminates the "Preparing for Iteration" you see when you first run the script by quickly grabbing the entire list of a user's log IDs. It'll also be a big help when I start developing custom searches, as it shows the date and how many players participated.

posted about 4 years ago
#11 Python Script to Average All DPM / KD from Logs.TF in Projects

This started as a small project but I can see a lot of people are enjoying it! Thanks for the feedback everyone, I'm taking all of your ideas into consideration and will be expanding upon this project soon :)

posted about 4 years ago
#1 Name Change in Requests

Change name from Exboxs to mimky

posted about 4 years ago
#1 Python Script to Average All DPM / KD from Logs.TF in Projects

Last night I started writing a python script that would iterate through all logs.tf files linked to an inputted steam ID. It grabs all the important details from your logs and averages them out to give you a good idea of your logs.tf profile as a whole. It runs in a CMD window and has been compiled to .exe using PyInstaller.

Features:
Average DPM
Average KD Ratio

Average Kills/Game
Average Deaths/Game

It only runs at the speed of which the requests module in python can harvest a logs.tf page source code. I've found that it takes on average 0.795s to iterate through an entire log file and isolate a specific steam ID's elements. The Average KD ratio grabbed from logs.tf will be slightly different than dividing Average Kills by Average Deaths due to rounding error.

Download

Source Code

Version 2 is now available here: https://www.teamfortress.tv/57870/python-logs-tf-stats-calculator-v2

posted about 4 years ago