Author Topic: Suggestion: direct access to scoreboard replays  (Read 553 times)

Cas

  • Corkscrew Cad
  • ***
  • Posts: 1070
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Suggestion: direct access to scoreboard replays
« on: November 23, 2020, 04:07:22 AM »
This isn't a super necessary feature, but it would be very easy to implement and would make it more comfortable for pipsqueaks to check on public RPLs that have already been posted and learn and improve.

My thinking is that, in ZakStunts, when you're looking at the scoreboard, you see somebody got a very good lap and you wonder how. Then, what you have to do is go to All Results and go down the list carefully to identify the replay that corresponds to that lap. This isn't hard to do, but if there were some form of "direct access" to download straight from the scoreboard (not as a replacement, but as an additional choice), it could be even better. I imagine it perhaps as making the "Driven" and/or "Sent" fields links. Same way, when a replay is publicly posted and appears in the Shoutbox, that could be clickable too.

Again, I realise this does not add anything new but comfort, but sometimes, when I want to check several replays, I look at the scoreboard and try to memorise the sent times and laps of each of them to later look them up in the All Results sections and I noticed that in most races, I don't check all final replays and I've been thinking that I should; otherwise, I'm actually missing part of the race.

Another thing that might help would be if we could download a ZIP with all scoreboard public replays so far at any point in the race, but that does sound like a more complicated thing, isn't it?

Anyway, just thoughts and ideas. Thank you!
Earth is my country. Science is my religion.

dreadnaut

  • Straight Specialist
  • ***
  • Posts: 1197
    • View Profile
    • chezDreadnaut
Re: Suggestion: direct access to scoreboard replays
« Reply #1 on: November 27, 2020, 02:34:18 PM »
Uhm uhm... that makes sense! I think I can add download links on the scoreboard. I'd rather create the zip file only at the end, not because it's expensive, but because it's meant for archival, and there should be only one version of it.

dreadnaut

  • Straight Specialist
  • ***
  • Posts: 1197
    • View Profile
    • chezDreadnaut
Re: Suggestion: direct access to scoreboard replays
« Reply #2 on: November 27, 2020, 08:22:00 PM »
Ah, trickier than expected. The "All results" page is new code, that loads a new and an old table. But to get the replays on the scoreboard, I need to convince older code to load the old and the data, which is not as straightforward.

It's probably time I move results to a new structure... it's been on my list for year but... "if it's not broken, don't fix it" they say.
« Last Edit: November 27, 2020, 08:24:01 PM by dreadnaut »

Cas

  • Corkscrew Cad
  • ***
  • Posts: 1070
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Suggestion: direct access to scoreboard replays
« Reply #3 on: November 28, 2020, 04:10:08 AM »
Ah!  I know what you mean. That's why the last time, I chose to rewrite Race For Kicks entirely instead of patching the old one more and more. It had become so much of a mess inside that it was really difficult to make changes. Now version 2.1 is slowly getting to the same stage, ha, ha.
Earth is my country. Science is my religion.

dreadnaut

  • Straight Specialist
  • ***
  • Posts: 1197
    • View Profile
    • chezDreadnaut
Re: Suggestion: direct access to scoreboard replays
« Reply #4 on: February 07, 2021, 12:14:25 AM »
The button to download a single replay from the scoreboard has been there for a few days, I forgot to mention it! It's at the end of the row, just before the points column.

It only appears if the replay is public of course, or after the race is over.
« Last Edit: February 07, 2021, 12:56:37 AM by dreadnaut »

Cas

  • Corkscrew Cad
  • ***
  • Posts: 1070
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Suggestion: direct access to scoreboard replays
« Reply #5 on: February 07, 2021, 12:54:12 AM »
Ah!  Wonderful!  Thanks, this is a very nice addition!  :D
Earth is my country. Science is my religion.

Overdrijf

  • Skid`s Nightmare
  • **
  • Posts: 749
  • Professional idiot
    • View Profile
Re: Suggestion: direct access to scoreboard replays
« Reply #6 on: September 21, 2021, 07:59:09 AM »
Now the next level would be to have an online replay reader to watch the replays straight from the site. ;D

Cas

  • Corkscrew Cad
  • ***
  • Posts: 1070
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Suggestion: direct access to scoreboard replays
« Reply #7 on: September 23, 2021, 11:40:45 PM »
That would be a dream, ha, ha...
Earth is my country. Science is my religion.

alanrotoi

  • Lives on Stunts
  • ******
  • Posts: 4211
  • Suck my Indy!
    • View Profile
    • Maite Zaitut, La Vengadora Oscura
Re: Suggestion: direct access to scoreboard replays
« Reply #8 on: September 24, 2021, 04:13:12 AM »
Now the next level would be to have an online replay reader to watch the replays straight from the site. ;D

Duplode has a replay reader that shows the cars in the track from a top view. I don't know how he does it but sure half of the work is already done.

Cas

  • Corkscrew Cad
  • ***
  • Posts: 1070
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Suggestion: direct access to scoreboard replays
« Reply #9 on: September 24, 2021, 07:07:07 AM »
I think he uses a compiled part of Stunts, which generates a huge file with lots of information from the reply most of which is irrelevant. Then, he applies a second pass to it which selects the useful information and produces the desired results. I figure what you suggest is possible, but it must be a lot of work and especially, very hard to make it work well. The site would have to actually call an executable program when a replay is uploaded to produce the replay animation. That would take a lot of space and would demand some CPU from the server. Then these animations would be downloaded upon access, taking up bandwidth.... It's "no turkey slime", ha, ha.
Earth is my country. Science is my religion.