[userscript] Torn Race Stats
-
Thread created on 17:31:17 - 05/08/15 (11 years ago)|Last replied 09:30:17 - 08/08/21 (5 years ago)This script looks at the width attribute of each bar and displays it numerically for easy reading.
The parts page does not update when you install a new upgrade so the numbers do not update either unless you refresh and go back in. The numbers when looking at parts do not necessarily show you the end result because the bars on torn are not set up that way, they are mainly to compare interchangeable parts.


Words were being automatically removed from the script when posted directly. Please use this link Torn Race Stats 0.1 if you want to try it out.Last edited by PsycWard on 03:21:46 - 27/07/17 (9 years ago) -
-
Posted on 11:20:26 - 06/08/15 (11 years ago)Post link copied to clipboard Copy post linkCheers
-
-
Posted on 16:32:46 - 08/08/15 (11 years ago)Post link copied to clipboard Copy post linknow i can compare what the most effective upgrade is R+
-
-
Posted on 11:22:33 - 09/08/15 (11 years ago)Post link copied to clipboard Copy post linkthanks a lot.

-
-
-
-
Posted on 15:19:21 - 10/08/15 (11 years ago)Post link copied to clipboard Copy post linkDon't know why but it is not working for me
I am using tampermonkey on chrome -
-
Posted on 21:39:33 - 11/08/15 (11 years ago)Post link copied to clipboard Copy post linkdidn't work for me :(
-
-
Posted on 13:57:58 - 12/08/15 (11 years ago)Post link copied to clipboard Copy post linkTried it too but no joy on Chrome with Tampermonkey. Sounds great though :) I can barely see those bars.

-
-
Posted on 16:38:30 - 12/08/15 (11 years ago)Post link copied to clipboard Copy post linkSorry this happened to me before when I posted through message but I didn't know it happened in the forums too, words are being removed. I'll upload it and link it.
-
-
Posted on 21:35:52 - 12/08/15 (11 years ago)Post link copied to clipboard Copy post linkR+

-
-
Posted on 14:11:28 - 13/08/15 (11 years ago)Post link copied to clipboard Copy post linkThanks a lot for this - it's working now and looks pretty handy.
R+
-
-
Posted on 11:09:18 - 25/08/15 (11 years ago)Post link copied to clipboard Copy post linkI can't get this to work, I think it's something with the include line being for racing.php yet the "parts" section adds &add=parts.php
-
-
Posted on 18:22:54 - 25/08/15 (11 years ago)Post link copied to clipboard Copy post linkNice one. Thanks. R+
-
-
Posted on 12:07:59 - 26/08/15 (11 years ago)Post link copied to clipboard Copy post linkOn my browser the url never changes when I click around in the racing area so I kept to one location for the includes.
If your url changes in your browser when you click Parts or you like to type in the url to get directly to parts (http://www.torn.com/loader.php?sid=racing&tab=parts) you could change includes to "*torn.com/loader.php?sid=racing*" and that may fix your problem. The only problem with directly linking would be that some portions of the script are triggered by clicks. So even after entering a url to parts for example you may still have to click the parts icon activate the script. In short if you are directly linking it would probably be much easier to stop and just use http://www.torn.com/loader.php?sid=racing if you want the script to function properly.
If the url doesn't change when you click Part and you are not typing in http://www.torn.com/loader.php?sid=racing&tab=parts to get to parts directly I'm not sure why you would have a problem. I only use Chrome on Linux so other browsers/OS's may have issues I'm unaware of. I no longer try to test my scripts on multiple browsers.Last edited by PsycWard on 14:35:01 - 26/08/15 (11 years ago) -
-
Posted on 15:37:09 - 28/08/15 (11 years ago)Post link copied to clipboard Copy post linkWorks great on Chrome, but cannot figure it out for FF.
Pretty cool stuff, thanks for sharing. -
-
Posted on 12:39:27 - 01/09/15 (11 years ago)Post link copied to clipboard Copy post linkJust a quick idea I had, it might be worth checking if the bar is red or green, because one of my cars is showing the length of the red bar which is incorrect. Anyway, great script. R+
Hello there.
-
-
Posted on 13:23:59 - 01/09/15 (11 years ago)Post link copied to clipboard Copy post linkWhen I originally wrote the script I did have an extra step that checked the color of the bar but from the testing I did the numbers still decreased while displaying the red bar numbers.
I'll look into it again as it has been some time since I wrote it but it is only meant to be a comparison tool; this car vs that car or this part vs that part. So as long as the numbers increase and decrease at a set rate giving comparable data I'm pretty happy with it. -
-
Posted on 07:23:05 - 12/09/15 (11 years ago)Post link copied to clipboard Copy post linkR+
-
-
Posted on 09:42:22 - 12/10/16 (10 years ago)Post link copied to clipboard Copy post linkI tried it a few days ago and it was displaying white screen when I tried to navigate to Racing Page.(Chrome, Tampermonkey)
I fixed it by changing jquery link in the script. -
-
Posted on 11:51:50 - 12/10/16 (10 years ago)Post link copied to clipboard Copy post linkThanks, it's still working for me. Could you post the jquery source you're using just incase someone else has the same problem.
I know that I was lazy and I never updated the description but firefox users need to remove the jquery line because there is a known issue with ff and jquery libraries.
// @require http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js -





