The online racing simulator
Insim request: Racing - Safety Car and Pit open indication
Hi
during the Kyoto 250, a single day race event, I noticed that it is difficult to see the pace car instruductions over the normal message system (blue or yellow flags were shown by LFS)

so my requested insim should include:
  • a button showing the track condition (green - yellow - red)
  • another button showing the pit condition (open/closed)
  • complete control over the insim only by admins
  • visibl to all persons on the server
  • if someone enters pits when they are closed, this someone will get a stop'n'go penalty
thats all

thanks
Zz0
I have no idea how to code it, but would it be something like this?
Attached images
Kyoto 250.jpg
yeah... well at least, when theres a caution that the button is yellow, and when everything is clear the button is green. A bit like on CTRA servers but now controled by the admin.
It sounds like a good program, but can't the admin just use race control (/rcm Message) commands? You could put them on your hot keys.
how do you want it controlled? in-game buttons that only the admin can use, or a separate gui outside of LFS?
What determines weather the pits are open or not?
Quote from burnsy1882 :how do you want it controlled? in-game buttons that only the admin can use, or a separate gui outside of LFS?

ingame buttons would be the best solution, i think, but if it is too difficult an outside GUI would be fine

Quote from mcgas001 :What determines weather the pits are open or not?

basically the first laps under full-course yellow the pits are closed until the whole field is lined up behind the safety car. After that the pits are opened by the race control (admins).
Quote from DarkTimes :It sounds like a good program, but can't the admin just use race control (/rcm Message) commands? You could put them on your hot keys.

Thats what we did, but many times they were 'blocked' by blue flag or yellow flag messages.
ok, give me a little bit, got most of it done, just need to position the buttons, and make sure that racers are added to the db correctly. first, spend a little time with family, as it's easter.

i think this program may come in handy for other people too.

EDIT: just thought of something else to put in it...
Quote from burnsy1882 :ok, give me a little bit, got most of it done, just need to position the buttons, and make sure that racers are added to the db correctly. first, spend a little time with family, as it's easter.

i think this program may come in handy for other people too.

EDIT: just thought of something else to put in it...

Thanks soo much - this will help us a LOT for the Kyoto 500
Quote from burnsy1882 :
EDIT: just thought of something else to put in it...

hmm easteregg? I'm curious what it will be
Quote from JO53PHS :Thanks soo much - this will help us a LOT for the Kyoto 250

I hope you mean Kyoto 500, as it takes a year til the next Kyoto 250
Quote from TFalke55 :
I hope you mean Kyoto 500, as it takes a year til the next Kyoto 250

yes
i'll be on our server, [FG] Racing, testing it out right now if you'd like to stop by and see it, and if you have other ideas, can tell me there. plus it'd help with bug finding.
ok, here's the final version of the program. let me know if you'd like any changes to it, i'd be happy to do it. definitely give it a try and find any bugs that i wasn't able to. i tested it thoroughly, but bugs are sticklers. will be adding this to our main program as well.
Attached files
RaceControl.zip - 303.4 KB - 255 views
sry for the silly question but:
how does this program work? I mean what do I have to do to get it to run?
I can't get it to work

Probably because I'm an insim n00b. I type /insim= and then the port number. Then I open up the Application... and then nothing else happens... Am I stupid or is there something wrong?

Lol @ Falke - We're both having the same problem
Quote from JO53PHS :I can't get it to work

Probably because I'm an insim n00b. I type /insim= and then the port number. Then I open up the Application... and then nothing else happens... Am I stupid or is there something wrong?

Lol @ Falke - We're both having the same problem

sorry, it was late by the time i finished.

edit the config.ini file for the ip, insim port number, and admin password used on the server you want it to connect to.
then the other options allow you to change other optional functionality.
  • rcm clear - enter the time in milliseconds to wait to clear the RCM messages on screen
  • admin command - change this to whatever you want to access the admin menu, whatever you change it to, you add $ in front
  • the language translations allow anybody to use the application with any language, and to change what the messages and buttons say
hmm, when i connect it this is shown

Race Control System
Version: 1.0.0.0
Kevin Burns
Connecting
Eine Ausnahme vom Typ FullMotion.LiveForSpeed.InSim.Exceptions.InSimHandlerExcep
tion+NoVersion wurde ausgelöst.
System.Collections.ListDictionaryInternal

EDIT: works now, accidently a wrong digit
EDIT 2: would it be possible to give the driver entered the pits the penalty after leaving? Normally the drivers who enter the pit need to pit. E.g. they are damaged and would be a risk for others, or they would run out of fuel. So they could do their pitstop and are repaired, leaving pits and then get the penalty.
i believe you can still do your normal pitstop, you have to complete the penalty the next time you go around to the pits, but yes, it can be changed to have it give the penalty on the pit exit if you'd like.
Quote from burnsy1882 :i believe you can still do your normal pitstop, you have to complete the penalty the next time you go around to the pits, but yes, it can be changed to have it give the penalty on the pit exit if you'd like.

It would be better. I did some Online tests minutes ago, and when someone got a drivethrough because he entered the pit under yellow and closed pits, he just drove through the pit, without pitting and the penalty was over.
ok, here's just the newly compiled exe with the penalty at the exit of the pitlane.
Attached files
RaceControlexe.zip - 7.4 KB - 172 views
sry that i make you work so much is it possible to combine the two ehm, exes? In your latest one you get an penalty when you exiting the pits in the "closed pit" situation. When you are pitting and the pits are open when you enter, and during the pit stop the "closed pit" is called, you'll get the penalty.

I just wanted to say that if you enter the pits under "Open Pitlane" and the situation changes, you shouldn't get a penalty.
If you enter the pits under "Closed Pitlane" you should get the penalty at the pit exit.

sry that I didn't said it at the beginning. You've done a great work. I really love it and it will help racing
not sure i follow you. are you saying that if a racer enters the pits while the pitlane is open, but then the pitlane is closed, the racer gets no penalty?
Quote from burnsy1882 :not sure i follow you. are you saying that if a racer enters the pits while the pitlane is open, but then the pitlane is closed, the racer gets no penalty?

yep that's what I meant. If a racer enters the pits, before the pitlane is closed, he gets no penalty, if the racer enters the pits, after the pits were closed he gets a penalty. When I said I'd like to have the penalties given at the pit exit, I just wanted to avoid, that the racers just drive through the pits (when the closed-pit-entering penalty is set to DT), and lose less time then the ones who (have to) pit.

Sry that I didn't said it clearly.
obviously you said it clearly enough, as i understood. ok, i'll see what i can come up with. having henry right now help me with some threading in the program to help speed it up.
1

FGED GREDG RDFGDR GSFDG