âšī¸Race types explained
Want to know more about race types / competitions? Or just have some questions? Read below.
What are the types of races?
There are two types of races: normal races and competition races.
Normal races are the default races. They are meant for racing with your friends, testing tracks, testing vehicles, practice. You don't gain ELO (leaderboard positions) with these races.
Competition races are like the name suggests - competitive. In these races you gain ELO to help you climb the leaderboard. By default these races are automatically generated.
When will competitions be generated?
Competitions will be generated at config 'competitionGenerationHour'. If this for example is set to 14, then competitions will be generated at 14:00 and a Discord notification will be sent if you have set up the webook.
When will competition races start?
The races will start at competitionHour & competitionMinute. When these are set to 19 and 0, the races will start 19:00. Using the example from our previous question, this means that the tracks will be generated 5 hours before the race (19 - 14, this is to let people know so they could prepare).
How does the competition generator work?
The generation algorithm chooses a random class (chances configurable, if you want one class to be picked more than others).
It will try to pick a random track for that class. It will only choose from tracks that have a result for that class. So if you have a new track and you have never driven it with a S class car, it will never be picked into S class competitions. If it can't find any tracks for that class, it will start from the beginning with another class.
It takes the best result on that track, uses it to estimate how long the race will take and adds a break time. So let's say a 10 minute track is chosen and the race starts at 19:00. Then the race after that will probably start in 10 (best track result) + 15 (break time) minutes = 19:25.
How many competitions will be generated?
It depends on your config competitionTargetLength. If the target length is 50 minutes, then the generator could pick 1x50 mins, 2x25 mins, 10x5 mins. Break times between races aren't included in this value, this is pure racing time.
Keep in mind that this value is the minimum length. For example when 49 minutes of tracks have been generated, then the minimum isn't reached and the last track could be for ex. 20 minutes long, taking the total length to 69 minutes. So you have to take into account that generally more will be generated.
Why are no competitions being generated?
You probably don't have enough results on different tracks with different classes for the generator. Or your server time is not at competitionGenerationHour.
The generator is picking the same tracks / classes every day?
You probably only have results on those tracks. Drive on other tracks, finish them at least once with different classes. Then they will be included in the generation algorithm.
Last updated