Stunts Forum

Stunts - the Game => Live Races => Topic started by: Duplode on June 10, 2024, 12:20:52 AM

Title: Stunts Online race (2024-06-15)
Post by: Duplode on June 10, 2024, 12:20:52 AM
@HunterBoy344 has generously offered to host a live race on his Stunts Online server, and I think we should definitely do it  :)

As usual, we just gotta arrange a date and time will make for a reasonably well-attended race. On the shoutbox, HunterBoy has suggested doing it this Thursday, June 13th. While, personally, I might be able to make it for a quick race in the South American evening, between 22:00 and midnight UTC or so, aligning schedules on a weekday could get tricky. What do y'all think about it?
Title: Re: Stunts Online June race
Post by: HunterBoy344 on June 10, 2024, 05:26:23 AM
If a weekday is hard to plan, I'd be happy to move it to the weekend on the 15th or 16th! Whatever works for you guys should work for me, last I checked I'm free for that entire week.
Title: Re: Stunts Online June race
Post by: dreadnaut on June 10, 2024, 09:49:09 AM
Plus one for the weekend!
Title: Re: Stunts Online June race
Post by: Erik Barros on June 10, 2024, 09:28:58 PM
During the weekend is better for me. Between 6am and 1pm UTC-3
Title: Re: Stunts Online June race
Post by: Cas on June 10, 2024, 11:17:32 PM
I adhere to the weekend. If it should be a business day, I can too, but it'd had to be before 22:00 UTC-3. It's more complicated... Can't be a Wednesday, for example, unless it's much earlier.
Title: Re: Stunts Online June race
Post by: HunterBoy344 on June 10, 2024, 11:45:10 PM
Alright, consensus is weekend! I think Saturday the 15th should be good. As for the time, does 3:00 PM UTC work? That's 11:00 AM in my time zone (EDT/UTC-4) and 12:00 PM in UTC-3, which falls within Erik's time range. Does that work for the rest of y'all, or should I make it earlier? The event will last about an hour over the course of 6 tracks.

Let me know if I've got my timezones wrong, I'm using an online converter!
Title: Re: Stunts Online June race
Post by: Cas on June 11, 2024, 07:51:18 PM
It's good for me. That'll be noon here :)
Title: Re: Stunts Online June race
Post by: Duplode on June 11, 2024, 11:34:16 PM
Saturday 15th and 15:00 UTC are okay for me as well!
Title: Re: Stunts Online June race
Post by: HunterBoy344 on June 12, 2024, 11:56:38 PM
Alright, the date and time have been decided! 3:00 PM UTC on Saturday, June 15. Now, for a few questions:

How should scoring work? If we're going to do 6 tracks, should they all count towards a total score, or are we counting individual victories? Stunts Online has no built in scoring system, so we'd have to tally up points separately if we're doing things tournament style.

Also, is anyone willing to help design tracks for the event? I can make all of them if necessary, but I fear my general lack of knowledge of good track design would make the live race boring and repetitive. There will be 6 in total, and ideally they should be about half the length of a usual ZakStunts season track (or less) to ensure every pipsqueak can learn the track and finish several attempts within each 10 minute round.
Title: Re: Stunts Online June race
Post by: Erik Barros on June 13, 2024, 06:46:24 PM
Quote from: HunterBoy344 on June 12, 2024, 11:56:38 PMAlright, the date and time have been decided! 3:00 PM UTC on Saturday, June 15. Now, for a few questions:

How should scoring work? If we're going to do 6 tracks, should they all count towards a total score, or are we counting individual victories? Stunts Online has no built in scoring system, so we'd have to tally up points separately if we're doing things tournament style.

Also, is anyone willing to help design tracks for the event? I can make all of them if necessary, but I fear my general lack of knowledge of good track design would make the live race boring and repetitive. There will be 6 in total, and ideally they should be about half the length of a usual ZakStunts season track (or less) to ensure every pipsqueak can learn the track and finish several attempts within each 10 minute round.

Great, I can contribute with a track. On how to count the score, I believe you can have a score per track and also in general, without any problems. I will be in the online chat at least 1 hour before scheduled if you need any help.
Title: Re: Stunts Online June race
Post by: HunterBoy344 on June 13, 2024, 07:58:29 PM
Alright, awesome! Should I make a separate post for track submissions or just do them here?

Also, for score counting, I agree with your idea of both individual and overall scores. As for the actual process of saving scores for each track, there is one little problem, but I don't think it'll be that much of an issue as long as at least one person has a text editor open. Let me explain:

At the end of each 10 minute round, the results of that round are displayed for 20 seconds before the leaderboard is cleared and the next track is loaded. As long as someone copies and pastes those results into a text file every round, we'll have a complete record of each pipsqueak's score. As a "just in case" measure, I personally think everyone should do that at the end of each round to make sure we have the scores even if someone forgets. All in all, not much of an issue, but definitely something to be aware of.
Title: Re: Stunts Online June race
Post by: HunterBoy344 on June 13, 2024, 08:05:08 PM
Oh, one more thing: When the time of the live race rolls around, we should all meet in the live chat. There are a few quirks to Stunts Online and the way I'm hosting the server that I gotta explain before the race starts.
Title: Re: Stunts Online June race
Post by: HunterBoy344 on June 13, 2024, 08:41:17 PM
I've decided the tracks should go here because it's convenient. If possible, try not to play any of the tracks (unless you made them) until the event! It'll be way more fun if it's a surprise ;)
Title: Re: Stunts Online June race
Post by: Duplode on June 13, 2024, 11:37:16 PM
Quote from: HunterBoy344 on June 13, 2024, 07:58:29 PMAt the end of each 10 minute round, the results of that round are displayed for 20 seconds before the leaderboard is cleared and the next track is loaded. As long as someone copies and pastes those results into a text file every round, we'll have a complete record of each pipsqueak's score. As a "just in case" measure, I personally think everyone should do that at the end of each round to make sure we have the scores even if someone forgets. All in all, not much of an issue, but definitely something to be aware of.

All right  :)  Something related: Stunts Online allows us to download files from the running game. right? (I remember having tried that in the client, at least.) It would be nice if we could save our race replays for posterity.

Quote from: HunterBoy344 on June 13, 2024, 08:05:08 PMOh, one more thing: When the time of the live race rolls around, we should all meet in the live chat. There are a few quirks to Stunts Online and the way I'm hosting the server that I gotta explain before the race starts.

Sure, we meet at the chat for coordination 👍
Title: Re: Stunts Online June race
Post by: HunterBoy344 on June 14, 2024, 12:00:58 AM
Quote from: Duplode on June 13, 2024, 11:37:16 PM
Quote from: HunterBoy344 on June 13, 2024, 07:58:29 PMAt the end of each 10 minute round, the results of that round are displayed for 20 seconds before the leaderboard is cleared and the next track is loaded. As long as someone copies and pastes those results into a text file every round, we'll have a complete record of each pipsqueak's score. As a "just in case" measure, I personally think everyone should do that at the end of each round to make sure we have the scores even if someone forgets. All in all, not much of an issue, but definitely something to be aware of.

All right  :)  Something related: Stunts Online allows us to download files from the running game. right? (I remember having tried that in the client, at least.) It would be nice if we could save our race replays for posterity.

About that... back when I initially developed the time-sending system for Stunts Online, I made it so that you couldn't add or remove files while connected to a server (to prevent cheating). Thinking about it now, I probably should've kept in the ability to save replays but not upload them while connected, since that accomplishes the same effect while still allowing for the preservation of replays, but there's not enough time to fix it and debug it before the race on Saturday. I'll put it on my priorities list for the next update so future live races can be better documented.
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 14, 2024, 09:42:26 PM
Track #2 is ready, but we still need 4 more!
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 14, 2024, 10:38:48 PM
Here's track #3.
Title: Re: Stunts Online race (2024-06-15)
Post by: Erik Barros on June 14, 2024, 11:12:04 PM
Here's a track
Title: Re: Stunts Online race (2024-06-15)
Post by: Cas on June 15, 2024, 02:45:41 AM
My help has been requested by my dad two hours before the race. I think I'll surely be home before the event, but even if I happen to delay a little, I'll try to log in as soon as I arrive and get to the chat.
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 15, 2024, 03:32:37 AM
Quote from: Cas on June 15, 2024, 02:45:41 AMMy help has been requested by my dad two hours before the race. I think I'll surely be home before the event, but even if I happen to delay a little, I'll try to log in as soon as I arrive and get to the chat.

Understandable! Just show up whenever you can. Hope it goes well :)

Quote from: Erik Barros on June 14, 2024, 11:12:04 PMHere's a track

Thanks! That's track #4. More than halfway there!

By the way, one important thing I should probably mention before tomorrow: you'll need some variant of Chromium to connect to the Stunts Online server. For some reason, Firefox handles websockets differently compared to Chromium and its variants, and I have no idea why. Any Chromium-based browser will work, including Ungoogled Chromium.
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 15, 2024, 03:33:16 AM
Oh, and here's track 5. One more!
Title: Re: Stunts Online race (2024-06-15)
Post by: Duplode on June 15, 2024, 06:16:14 AM
Here's one more! The track title is Level Five -- there indeed were four earlier tracks here when I started sketching  :) Tested with the Jaguar; it should be suitable for any of the faster cars on the IMSA/DTM/Indy tiers.
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 15, 2024, 01:56:43 PM
Quote from: Duplode on June 15, 2024, 06:16:14 AMHere's one more! The track title is Level Five -- there indeed were four earlier tracks here when I started sketching  :) Tested with the Jaguar; it should be suitable for any of the faster cars on the IMSA/DTM/Indy tiers.

Awesome! Looking forward to racing on it during today's live race :)

Now that the tracks are ready, I'll get the server all set up for the event. I'll try to show up to the live chat a little early to make sure I'm there when everyone arrives.
Title: Re: Stunts Online race (2024-06-15)
Post by: Spoonboy on June 15, 2024, 03:13:26 PM
I can't make this live race, which are hard for me to plan for, but good luck and good racing everyone!  :D
Looking forward to trying some of the tracks later.
Title: Re: Stunts Online race (2024-06-15)
Post by: Duplode on June 15, 2024, 05:14:15 PM
How to join the race:


Don't forget to join us at the chatroom in a separate tab! https://forum.stunts.hu/chat/

Track maps attached for reference! In order:

sus.trk
divot.trk
riverhill.trk
CHAINS.TRK
simcity.trk
LEVEL5.trk

(Edit: maps replaced to match the order the tracks were raced.)
Title: Re: Stunts Online race (2024-06-15)
Post by: Cas on June 15, 2024, 05:33:25 PM
Just came up here and read!  Sorry, I couldn't prepare properly. Anyway, Ungoogled Chromium is running on my end, but for some reason, it doesn't connect to the internet. I have no idea why so surely that will take time to discover. I don't think I can make it today :(
Title: Re: Stunts Online race (2024-06-15)
Post by: Duplode on June 15, 2024, 06:35:01 PM
Rounds 1-3
Title: Re: Stunts Online race (2024-06-15)
Post by: Duplode on June 15, 2024, 06:35:34 PM
Rounds 4-6

(Note that the server went down during round 4 with thirty seconds remaining, and Erik about to complete a 58.30 lap.)
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 15, 2024, 06:39:19 PM
The scores, in text form:

ROUND 1 (SUS):
#1: Duplode (00:47.450)
#2: dreadnaut (00:47.950)
#3: Erik Barros (00:49.150)
#4: HunterBoy344 (00:50.700)

ROUND 2 (DIVOT):
#1: dreadnaut (00:41.800)
#2: Duplode (00:42.950)
#3: Erik Barros (00:45.150)
#4: HunterBoy344 (00:50.300)

ROUND 3 (RIVRHILL):
#1: Duplode (00:56.550)
#2: dreadnaut (00:59.650)
#3: Erik Barros (00:59.650)
#4: HunterBoy344 (01:03.800)

ROUND 4 (CHAINS):
#1: Duplode: 58400 ms
#2: Erik Barros: 59050 ms
#3: dreadnaut: 59600 ms
#4: HunterBoy344: 60850 ms

ROUND 5 (SIMCITY):
#1: Duplode (01:06.100)
#2: dreadnaut (01:09.450)
#3: Erik Barros (01:10.050)
#4: HunterBoy344 (01:29.400)

ROUND 6 (LEVEL5):
#1: Duplode (01:03.300)
#2: dreadnaut (01:05.050)
#3: HunterBoy344 (01:10.950)
#4: Erik Barros (01:18.700)
Title: Re: Stunts Online race (2024-06-15)
Post by: Erik Barros on June 15, 2024, 06:45:53 PM
Quote from: Duplode on June 15, 2024, 06:35:34 PMRounds 4-6

(Note that the server went down during round 4 with thirty seconds remaining, and Erik about to complete a 58.30 lap.)

The server broke right at the finish line, but I think it's fair not to count this lap.
Title: Re: Stunts Online race (2024-06-15)
Post by: Cas on June 15, 2024, 07:34:13 PM
Great that this could be tested and enjoyed :)  I hope I can join next time!  Is there a way to obtain the replays?
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 15, 2024, 07:43:48 PM
Quote from: Cas on June 15, 2024, 07:34:13 PMGreat that this could be tested and enjoyed :)  I hope I can join next time!  Is there a way to obtain the replays?

Not yet, but definitely a feature I'll add next time!
Title: Re: Stunts Online race (2024-06-15)
Post by: Spoonboy on June 16, 2024, 12:14:52 AM
What car/cars did you guys use, for reference? :)
Title: Re: Stunts Online race (2024-06-15)
Post by: Erik Barros on June 16, 2024, 12:54:27 AM
Quote from: Spoonboy on June 16, 2024, 12:14:52 AMWhat car/cars did you guys use, for reference? :)


There were insane laps with the Indy, 10 minutes to race without knowing the track was intense.
Title: Re: Stunts Online race (2024-06-15)
Post by: Daniel3D on June 17, 2024, 01:20:21 PM
Quote from: HunterBoy344 on June 15, 2024, 07:43:48 PM
Quote from: Cas on June 15, 2024, 07:34:13 PMGreat that this could be tested and enjoyed :)  I hope I can join next time!  Is there a way to obtain the replays?

Not yet, but definitely a feature I'll add next time!
Since replay files are created while driving, would it be possible to make a tsr that auto saves the replay?
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 17, 2024, 03:43:17 PM
Quote from: Daniel3D on June 17, 2024, 01:20:21 PM
Quote from: HunterBoy344 on June 15, 2024, 07:43:48 PM
Quote from: Cas on June 15, 2024, 07:34:13 PMGreat that this could be tested and enjoyed :)  I hope I can join next time!  Is there a way to obtain the replays?

Not yet, but definitely a feature I'll add next time!
Since replay files are created while driving, would it be possible to make a tsr that auto saves the replay?

I already have a function in the code to automatically detect scoreboard files and send them to the server, so I can definitely add automatic replay saving as well! I'd just have to modify the existing function (which checks for scoreboard files every second) to check for replay files as well and handle them accordingly. The player would still have to save their replay in game manually, but since all other replay files are cleared at the start of the race, it'll be easy to tell when the player saves their own and automatically download it. I'll work on it today!
Title: Re: Stunts Online race (2024-06-15)
Post by: Daniel3D on June 19, 2024, 08:08:13 AM
Quote from: HunterBoy344 on June 17, 2024, 03:43:17 PM
Quote from: Daniel3D on June 17, 2024, 01:20:21 PM
Quote from: HunterBoy344 on June 15, 2024, 07:43:48 PM
Quote from: Cas on June 15, 2024, 07:34:13 PMGreat that this could be tested and enjoyed :)  I hope I can join next time!  Is there a way to obtain the replays?

Not yet, but definitely a feature I'll add next time!
Since replay files are created while driving, would it be possible to make a tsr that auto saves the replay?

I already have a function in the code to automatically detect scoreboard files and send them to the server, so I can definitely add automatic replay saving as well! I'd just have to modify the existing function (which checks for scoreboard files every second) to check for replay files as well and handle them accordingly. The player would still have to save their replay in game manually, but since all other replay files are cleared at the start of the race, it'll be easy to tell when the player saves their own and automatically download it. I'll work on it today!
It's not that easy, the replay file isn't finalised until you manually save it.
You don't have time for that in the setup of the last event.
It's is somewhere in memory so it can be done.
Maybe linking the save replay code to the enter name for the high score part, so it saves a replay whenever you get a high score (so only a NoRH finish) and saves with a timestamp and first part of the player name..
Title: Re: Stunts Online race (2024-06-15)
Post by: Duplode on June 19, 2024, 02:38:35 PM
Having to remember to save each improved replay might be a little awkward, but I think it is workable, specially if we assume that the saved replays is a nice-to-have thing rather than the source of truth for the race results (that's the online scoreboard). Besides, it's a solution that's ready at hand, so it could be useful at least until we get over the technical hurdles in the way of, say, hook ing into the Stunts saving code, or reliably dumping the replay data from memory.

Auto-uploading saved replays already gets rid of needing to type the file names to download them at the end of the race, which is at least as inconvenient than saving in-game (and potentially even more so). If the time spent saving is a concern, we might add a minute or so to the round time to cover for that.
Title: Re: Stunts Online race (2024-06-15)
Post by: HunterBoy344 on June 19, 2024, 07:52:37 PM
Quote from: Daniel3D on June 19, 2024, 08:08:13 AM
Quote from: HunterBoy344 on June 17, 2024, 03:43:17 PM
Quote from: Daniel3D on June 17, 2024, 01:20:21 PM
Quote from: HunterBoy344 on June 15, 2024, 07:43:48 PM
Quote from: Cas on June 15, 2024, 07:34:13 PMGreat that this could be tested and enjoyed :)  I hope I can join next time!  Is there a way to obtain the replays?

Not yet, but definitely a feature I'll add next time!
Since replay files are created while driving, would it be possible to make a tsr that auto saves the replay?

I already have a function in the code to automatically detect scoreboard files and send them to the server, so I can definitely add automatic replay saving as well! I'd just have to modify the existing function (which checks for scoreboard files every second) to check for replay files as well and handle them accordingly. The player would still have to save their replay in game manually, but since all other replay files are cleared at the start of the race, it'll be easy to tell when the player saves their own and automatically download it. I'll work on it today!
It's not that easy, the replay file isn't finalised until you manually save it.
You don't have time for that in the setup of the last event.
It's is somewhere in memory so it can be done.
Maybe linking the save replay code to the enter name for the high score part, so it saves a replay whenever you get a high score (so only a NoRH finish) and saves with a timestamp and first part of the player name..

Oh, I see what you mean, having the replay itself save automatically. I thought you meant automatically downloading a replay when it's saved, which I was able to implement in the client. No idea how to make the game itself save replays at the same time as high scores.
Title: Re: Stunts Online race (2024-06-15)
Post by: Daniel3D on June 20, 2024, 10:03:39 AM
Quote from: HunterBoy344 on June 19, 2024, 07:52:37 PM
Quote from: Daniel3D on June 19, 2024, 08:08:13 AMIt's not that easy, the replay file isn't finalised until you manually save it.
You don't have time for that in the setup of the last event.
It's is somewhere in memory so it can be done.
Maybe linking the save replay code to the enter name for the high score part, so it saves a replay whenever you get a high score (so only a NoRH finish) and saves with a timestamp and first part of the player name..

Oh, I see what you mean, having the replay itself save automatically. I thought you meant automatically downloading a replay when it's saved, which I was able to implement in the client. No idea how to make the game itself save replays at the same time as high scores.
Cas made a call change for the colour needle mod, so I am positive it is possible to do this as well.
But it is not easy.