Two races with different duration

PlanRZ

Guest
Hello is it possible to configure two races but with a different duration ?
Like : P 1h > Q 10m > Wu1 2m > R1 30m > Wu2 2m > R2 1h55 ?
Thanks
 
Did you try it with something like that:
Race1Start = 13:00
Race1Duration = 30
Race2Start = 14:00
Race2Duration = 115
in the rfm File?
But check if the Track gdb File has such Entries already, because gdb Values often overwrite rfm Values.
 
@DanRZ
or...maybe better:
Race1Day = Sunday
Race1Start = 13:00
Race1Time = 30
Race2Day = Sunday
Race2Start = 14:00
Race2Time = 115
 
Last edited:
The redapg problem is the access to those files in some circuits and having to redistribute the track with the changes....
You normally have Access to all Track/Layout Files, so that's no Problem.
And it currently is the only Way to do it until it gets integrated into the Game, to set Things up like that.
And if the rfm is dominant for these Settings, it is no Problem at all anyway.
 
I agree that at the moment this is the only way to do it but what if you want the second race to be in the rain or if you want to invert the grid between races?

This suggestion of integrating this functionality in the interface, which on the other hand would not require a radical change in the code, would avoid us having to edit files, uninstall the track and the mod (we always run online), install it again, redistribute the track...

If the interface also includes the number of races, the duration of each of them, the associated weather and a warmup between sessions, it would make our life easier. If it also includes the possibility to invert the grid, it would be perfect.
 
Last edited:
@Brutten Yes, there still are many Things that have to be done by editing Files.
And yes, it would be great to have more of them in the UI.
But......it doesn't help now, where we don't have it. ;)
 
Right, but if we don't talk about it it will never happen. Maybe it's time to apply.

We, in this type of race, have to:
Run the first race.
Generate the inverted grid.
Exit the server.
Reset the weather/duration conditions on the server.
Re-enter and get to the warmup to generate the grid with the previous data.

It's not a big deal but it's a bit annoying for me, being the administrator, and boring for my drivers.
We are already used to do it but if these options were available in the interface everything would be smoother.

This section should be expanded, and it would also be interesting to include all the practices in it, and make small changes in the code to take the data from there instead of from the rfm/gdb.

upload_2023-8-14_22-0-27.png
 
Hello, thanks for the response.I will try the gdb way one day ...
Is it some kind of Upgrade of the track ? Like we do with cars.

My best option is to prepare two player folders for each race.
Run first race, save the BatchTemplateR1.ini file of positions at end of Race 1 to Race2.ini, shutdown server.
Use the second player player folder to restart server. Edit the positions in Race2.ini.
Go straight to Warmup, redo grid inverted as wanted by the batch command " /batch Race2.ini " and start Race 2.

That should be easier to do such thing ... :confused:

By the way i can start a second server just after race automatically.
 
I think it is easier to do it as I said in my previous post, there is no need to close the server or have a second server.

All you have to do is click on the dedicated server option button and adjust the necessary settings, access the warmup and perform the editgrid.

Maybe I am not explaining it well because I depend on a translator as I do not know English.
 
Problem is i don't use the GUI, my server run with the 'oneclick' option ...
Admin is spectator in game and have no access to the server machine itself.
Server is started by cron or planified tasks ...
 
Hello is it possible to configure two races but with a different duration ?
Like : P 1h > Q 10m > Wu1 2m > R1 30m > Wu2 2m > R2 1h55 ?
Thanks
The Admin in spectator mode needs to be logged in as Admin.
At the end of Race 1 the Admin clicks the 'Restart Warmup' button.
He then changes race length with this option-->
20230815003030_1.jpg
That's all. Done.

When doing the restart warmup, you get the same grid order as the first qualify.
If you want an order that is different, for example the finish order of Race 1 then the admin will need to use a 3rd party Grid Editing program that outputs to his Clipboard that he just pastes into the chat box. This is done in Warmup.

If you need the weather changed too, then the above will not work.

Yes I agree, I would also like more options as said by Brutten.
 
Problem is i don't use the GUI, my server run with the 'oneclick' option ...
Admin is spectator in game and have no access to the server machine itself.
Server is started by cron or planified tasks ...
As mentioned - I think you have no chance to run the dedicated server after race automatically.

I am doing this by script, but I have access to the server - one way is to use start command of Windows CMD and to wait for the dedicated server process being closed and starting another one (can be done in a loop e.g.).

A couple of more commands / options in the dedicated server would help a lot, e.g. an equivalent of /callvote str like /callvote stw (straight to warmup), kind of forward time to start (2nd) race at another time of day etc.
 
...
He then changes race length with this option-->
View attachment 53706
That's all. Done.

Thanks, i didn't thought of that.
I was thinking this command sets the length of the next race in the next session and not the current one.
I tested it but not in warmup ... And it probably work only in Warmup like the editgrid.

As mentioned - I think you have no chance to run the dedicated server after race automatically.

I was saying to start the second server at the right time by script/cron/task or even manually.
Example :
Server Race 1 starts at 09:00.
15m Practice, 15m Quali, 2m Warmup , 25m Race.
That is a bit more than 57 minutes long, so i can start Server Race 2 at 9:55 for example, by script, cron or planified task ...
Player will be sent to Server Race 2 by chat or informed during briefing.

Some games have a reconnect command to send player to another server by chat admin command ... That would be useful here too.

My best option is the Admin spectator.
But i won't be able to change Race StartingTime, Time factor or Weather, which is sad but not that much ...

Thanks for all the responses, there is actually many ways to manage that with what is available in game or outside by script/command.

;)
 
Last edited:
Thanks, i didn't thought of that.
[...]
I was saying to start the second server at the right time by script/cron/task or even manually.
[...]

I missed that, sorry.

So the server is running on Linux in a Wine environment or native? Or is it the task scheduler of Windows?

If you have the chance of running a custom script it would be possible to have the server being restarted automatically - of course, I am using duration based scheduling, too, on my server.
 
I run the server by task scheduler (Windows Server 2019 native) but as a Windows Service which is set ro restart automatically in case of crash ...
 
I run the server by task scheduler (Windows Server 2019 native) but as a Windows Service which is set ro restart automatically in case of crash ...
Lucky one - I was not able to establish it as a restartable service (followed couple of guides, but still have the problem Windows complaining about the service takes too long to start).

But I think you have no possibility to have a custom script running?

I wrote a couple of scripts doing some tasks on the dedicated server in order to achieve different functions or to make life a little easier in general ...
 
Back
Top