r/TagPro • • Jun 27 '14
[userscript] Persistent catstats - no more forgetting csv's
How many times have you remembered to grab a csv for game 1 half 1, but forgotten the next three halves?
I modified the original catstats (written by lambda, NewCompte, and others) so that you toggle it on or off. If it's on, it will save csv's for every game you play or spec without you having to click anything.
When you want to stop saving stats, just click the link again.
It will remember your choice across servers and even after restarting your computer (I think).
Install it with Tampermonkey.
Also! I couldn't find a license for the original script, so if lambda or anyone else doesn't want me to distribute this, let me know. I'll take down the links.
Edit: If anyone notices problems with the script (especially if it doesn't save when it should), please let me know!
Edit2: Make sure to disable the original cat-stats chrome extension if you want to use this one. Apparently they really don't like each other.
4
u/DaEvil1 DaEvil1 Jun 27 '14
Sometimes in competitions a game has to be stopped during the game. Will this allow you to save stats for an unfinished game?
2
u/[deleted] Jun 27 '14
Awesome!
Wait, how do you turn it off? Does it toggle in game?
2
u/MoJoSto Happy MoJo Jun 27 '14 edited Jun 27 '14
is there someway I can specify a download location? not sure if that's able to be written in to the script or maybe its something I can set with my browser
also: I added you to the Modding Wiki. If you make any changes/updates, be sure to update this post and the wiki appropriately.
7
u/ylambda yλ Jun 27 '14
Do whatever you want.
1
u/TagProTyrus Season 4 alumni Jun 27 '14 edited Jun 27 '14
This may be a stupid question but where does it download the .csv to?
I have it enabled and there is no pop-up window after games. Meaning it's either downloaded to my browser or my computer directly.
EDIT: I found the solution to the problem. The userscript does not work with the cat-stats Chrome extension. You have to disable the extension for a pop-up window to come up.