r/TagPro • u/nabbynz ° • May 17 '15
[Userscript] Rolling 300 Timeline & Streak
Script: https://gist.github.com/nabbynz/23a54cace27ad097d671
Screenshot: http://imgur.com/WzXLhlc
Uses the official data from the server.
Hopefully the screenshot is self-explanatory!
Note: If you have other scripts that also add things to your server homepage and you want to move their positions, change the order the scripts get loaded in TamperMonkey by dragging them (putting this one higher up works well).
Edit: Successful Save Attempts should be displaying properly now
40
Upvotes
7
u/K1nn1ck K1nn1ck || Origin May 17 '15
Does this work if you use multiple computers?
4
u/ButterChurn Butter May 17 '15
This is great, but I don't think the data on save attempts is correct (this may be an issue on the official data end rather than the script end). I have a 44% save percentage, but it says I have 0 successful attempts and 9 unsuccessful attempts. I'd guess 4 of those unsuccessful attempts are actually successes.
1
u/cfginn CocaCola/Texas // Sphere May 18 '15
Is there anyway to display this between games?
1
u/OnceUponaDome UnderTheBall May 18 '15
Can you explain what the blue, white, and yellow lines within the timeline are? I'm assuming they're ties/save attempts but I'd just like some clarification.
1
u/Davpetm Monks May 19 '15
Hey, how do I load the script to work on tagpro?
3
u/XMBOTX AKA THE WORST ☯ Centra May 17 '15
Sweet! Thanks for making this, it actually pairs really well with the other win streak script, one acts as a close up and one a long term.
2
u/[deleted] May 18 '15
YIS, I love you
1
u/MyNameIsDor Dor // Chord May 18 '15
Great script!
I can't seem to understand the win % calculation though. I have 218 wins, 78 losses, 2 DCs, and 1 successful save out of 5 (so 4 unsuccessful save attempts :( ).
I saw in your script you calculate the win% as (total_win + total_ssa) / (total_win + total_ssa + total_loss + total_dc) * 100%. I guess I'm wrong somewhere, but taking total_win = 218, total_ssa = 1, total_loss = 78 and total_dc = 2, I get 73.24%, when the script shows 73.65%, consistent with my profile showing 74% rather than 73%. Do you know what I got wrong?
1
u/r3ll1sh r3ll1sh//radius May 17 '15
Cool! Also, how did you get the cool looking buttons?
1
u/Assess Jules May 18 '15
/u/Arfie99
1
u/tottinhos FTotti10 May 18 '15
amazeballs
1
u/ExtendoJoint [Centra] lil doggo May 18 '15
Thank you so much!
1
u/soundhaudegen Lord_Quas - Chorbit May 18 '15
I really like how this script integrates into the others: http://i.imgur.com/Tul0W4x.png
Maybe I should change some colors though
1
u/sizviolin Fairy // B€ May 18 '15
This is fantastic, thanks!
1
u/ZippityZoppity ZipZop - Can't Zip the Zop May 18 '15
This is awesome. Thanks nabby!
0
u/[deleted] May 18 '15
[deleted] — view deleted comment
3
u/[deleted] May 17 '15
[removed] — view removed comment