Results 1 to 4 of 4

Thread: Random Race Generator and API

  1. #1
    Superkart Pilot JasonSandwich's Avatar
    Join Date
    Jun 2017
    Location
    Arizona
    Posts
    172
    Platform
    XBOX1 X

    Random Race Generator and API

    In the spirit of Spongleton's Randomizer page, I've created my own that spits out a bit more detail. This takes the list of cars, tracks, weather, classes, and times to try to give you a pretty crazy race. I turned the script into an API just to play with Azure functions.

    Here's the most basic output both tall and wide.

    The API will spit out HTML or XML to be used how you like. Here's the API documentation https://pc2randostorage.blob.core.wi...C2RandAPI.html

    I'm hosting all of the images myself and am missing a good amount so I did the best I could with what I had. Let me know if you find this useful or have any questions. If it gets too expensive to host, I'll make sure to give plenty of warning before it moves or is taken down.

    Click image for larger version. 

Name:	Capture.JPG 
Views:	106 
Size:	46.5 KB 
ID:	255199
    Last edited by JasonSandwich; 30-05-2018 at 02:57. Reason: deleted an image
    Xbox One X with public non-insider OS release - Thrustmaster TX with T3PA mounted to Wheelstand Pro - Sony XBR-930C - Check out the Randomizer (http://pc2rando.jasonsandwich.com)
    The following 5 users likes this Post: Maskmagog, pcars rookie, Rober, VelvetTorpedo, Zeratall


  2. #2
    Kart Driver pcars rookie's Avatar
    Join Date
    May 2015
    Posts
    43
    Platform
    PC
    Thank you JasonSandwich, this is a great idea, well done.
    Windows 10 Pro, I7-6700K, 16GB Ram, G27, GTX 1080 Gaming X 8GB, triple monitor, G27 Controller
    The following user likes this Post: JasonSandwich


  3. #3
    Superkart Pilot JasonSandwich's Avatar
    Join Date
    Jun 2017
    Location
    Arizona
    Posts
    172
    Platform
    XBOX1 X
    I sloppily put together a mobile-friendly page that lets you choose the options in the API. Give it a swing.

    https://pc2randostorage.blob.core.wi...2RandCell.html

    It looks terrible on desktop. I'm not a CSS wizard or a web developer.
    Last edited by JasonSandwich; 01-06-2018 at 16:01. Reason: saved too early
    Xbox One X with public non-insider OS release - Thrustmaster TX with T3PA mounted to Wheelstand Pro - Sony XBR-930C - Check out the Randomizer (http://pc2rando.jasonsandwich.com)
    The following user likes this Post: Maskmagog


  4. #4
    Superkart Pilot JasonSandwich's Avatar
    Join Date
    Jun 2017
    Location
    Arizona
    Posts
    172
    Platform
    XBOX1 X
    A few more minor updates make the cell page and the desktop page more friendly.

    https://pc2randostorage.blob.core.wi...2RandCell.html

    Click image for larger version. 

Name:	Screenshot_20180605-134429.jpg 
Views:	1 
Size:	58.4 KB 
ID:	255649Click image for larger version. 

Name:	Screenshot_20180605-134434.jpg 
Views:	0 
Size:	46.7 KB 
ID:	255650
    Xbox One X with public non-insider OS release - Thrustmaster TX with T3PA mounted to Wheelstand Pro - Sony XBR-930C - Check out the Randomizer (http://pc2rando.jasonsandwich.com)
    The following user likes this Post: ShneebnaMRR108


Similar Threads

  1. Why AI random fuel in pratice, qualifyng and in race?
    By jamespoly86 in forum General Discussion
    Replies: 5
    Last Post: 13-12-2017, 09:05
  2. [Bug?] Random flickering during Race
    By xeek in forum Technical Help & Support (PC)
    Replies: 2
    Last Post: 23-09-2017, 20:14
  3. about the random wheather in a custom race
    By Didd31 in forum XB1 - Technical Help & Support
    Replies: 0
    Last Post: 23-06-2015, 19:08
  4. Probably a stupid idea but what about a track and car generator
    By nomen nescio in forum Feature Suggestions
    Replies: 0
    Last Post: 22-06-2015, 09:57
  5. Track generator
    By gp20 in forum Feature Suggestions
    Replies: 6
    Last Post: 21-05-2015, 10:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •