Simple random car picker, for when you don't know what to drive or shoot photos of!

  • Thread starter con360
  • 41 comments
  • 15,245 views
737
United Kingdom
UK
Right, this is rather simple, and hopefully it will help someone!

1) Make a new bookmark, be it an empty one or one of this very page.

2) Edit that bookmark by right clicking it and selecting "Edit..." (atleast in chrome, if anyone knows what it is in other browsers feel free to post down below.)

3) Input the script below into the URL box, replacing whatever was in there:

Code:
javascript:window.location.href = 'http://www.kudosprime.com/gt6/car_sheet.php?id='+Math.floor((Math.random() * 1241) + 1);

4) Save the bookmark!

What this does is choose a random car page from the Kudosprime GT6 Car Database so you don't have to sit there thinking of what to drive next!

So now, whenever you click that bookmark icon, it will give you a random car page, when more cars are added to GT6 and the KP page, I will update the javascript to add the new cars!

Cheers for looking peeps!

Edit: Recently, @Milouse has added a randomize button to k-prime:
http://www.kudosprime.com/gt6/carlist.php
(the purple randomize button at the top of the list!)

So if you want a 100% working randomize link no matter what browser/device you are using, bookmark this link:
http://www.kudosprime.com/gt6/carlist.php?picker=y

Also, if you want to randomize from a customized set of cars check this post:
https://www.gtplanet.net/forum/threads/car-collection-sites.290116/page-4#post-10130957
 
Last edited:
Doesnt seem to work on Firefox -_-
Give me an hour or so and I'll do some testing with it. :)

Edit: Works fine for me, add this thread to your bookmarks, go to recently bookmarked, right click this pages bookmark and click Properties, then replace the location with:

javascript:window.location.href%20=%20'http://www.kudosprime.com/gt6/car_sheet.php?id='+Math.floor((Math.random() * 1241) + 1);

JavaScript can't be run by entering it into the URL on Firefox, but will run when it is in a Bookmark.
 
Last edited:
Give me an hour or so and I'll do some testing with it. :)

Edit: Works fine for me, add this thread to your bookmarks, go to recently bookmarked, right click this pages bookmark and click Properties, then replace the location with:

javascript:window.location.href%20=%20'http://www.kudosprime.com/gt6/car_sheet.php?id=' Math.floor((Math.random() * 1241) 1);

JavaScript can't be run by entering it into the URL on Firefox, but will run when it is in a Bookmark.
It still doesnt work for me. it does nothing.

I put this on the location as you said:


I'm using the latest Firefox version which is 29.0.1
 
It still doesnt work for me. it does nothing.

I put this on the location as you said:



I'm using the latest Firefox version which is 29.0.1
Strange, thats the version I was using aswell, I'll check into it a bit more for you :)

ABP
Great idea, is there anyway to do this with tracks too?
If there is a list of tracks that is done as seperate pages with increasing numbers in the url, then yup. If not I'll find another solution!
 
Strange, thats the version I was using aswell, I'll check into it a bit more for you :)


If there is a list of tracks that is done as seperate pages with increasing numbers in the url, then yup. If not I'll find another solution!

Don't think it's an issue with Firefox per se as I used it when I got my ****ing Mazda lol.

I hope there is a suitable list of tracks pages somewhere tho I tend to stick to a few "favourite" tracks for driving anyway. Or I pick events from the career if I want credits...

Hope you get it to work @NixxxoN
 
Unfortunately, I cannot add the newest cars on the KP site to this randomizer as he seems to have put the Mitsubishi VGT and Senna cars 100 places away from the rest of the cars, so where the normal set end: 1241, the new ones start at 1341... so unless you want the possibility of getting 100 blank pages, I can't update it until I figure something to get around this.

Sorry guys, no Senna stuff just yet!
 
Unfortunately, I cannot add the newest cars on the KP site to this randomizer as he seems to have put the Mitsubishi VGT and Senna cars 100 places away from the rest of the cars, so where the normal set end: 1241, the new ones start at 1341... so unless you want the possibility of getting 100 blank pages, I can't update it until I figure something to get around this.

Sorry guys, no Senna stuff just yet!

I can see why he/she is leaving room for dlc cars though he/she could have put the mitsu in the normal section and just left the senna cars separate or something. To be honest most of these new cars will get driven even without coming up in your great randomiser anyway.

Is the scripting a mathematical equation, if so you might be able to add another component like "but if x>1241 And x<1341 then go back to start". I don't have a clue if you can do that in the context of the script you used, probably not, but if anyone who understands this more sees the problem, hopefully they can help.
 
I can see why he/she is leaving room for dlc cars though he/she could have put the mitsu in the normal section and just left the senna cars separate or something. To be honest most of these new cars will get driven even without coming up in your great randomiser anyway.

Is the scripting a mathematical equation, if so you might be able to add another component like "but if x>1241 And x<1341 then go back to start". I don't have a clue if you can do that in the context of the script you used, probably not, but if anyone who understands this more sees the problem, hopefully they can help.
It does seem rather strange to do it that way, especially since all the other DLC cars have been added in the right places/order.

Well, I'll keep looking into it and if I find a way to ignore those numbers in between I'll update the script for everyone! :)
 
EPIC! 👍
It gave me my current favorite car to drive right now, the Viper SRT10 ACR '08. Great little tool, it could also be good for challenging yourself through the career. :)
 
Nice one mate: it just gave me Corvette StingRay Racer Concept '59. Been looking at this car for a while; will go and buy one as soon as I get home from work.
 
It does seem rather strange to do it that way, especially since all the other DLC cars have been added in the right places/order.

Well, I'll keep looking into it and if I find a way to ignore those numbers in between I'll update the script for everyone! :)

This is weird indeed, and i had no clue what you were talking about before checking the database a few minutes ago: i must confess that this 100 slot size hole in the car's #id is totally unwanted, i've just made a typo once during a DLC insertion. I didn't even noticed it before you do :bowdown:.
 
This is weird indeed, and i had no clue what you were talking about before checking the database a few minutes ago: i must confess that this 100 slot size hole in the car's #id is totally unwanted, i've just made a typo once during a DLC insertion. I didn't even noticed it before you do :bowdown:.
No problem dude, it's just a small mistake, we all make them :)
 
Back