The online racing simulator
#1 - Kova.
[Solved] Qualifying goes to 10 minutes every time lapper is on or restarted
Hello!

I noticed every time lapper is started or restarted, it's setting qualifying time to 10 minutes.
Is there any way to get rid of that or to make Lapper setting qual at the maximum amount possible (which is IIRC 240 mins) ?
That's a bit annoying because considering my server (hosted at rack) is restarting sometimes (lapper included), and we're - at the french league - running a month of pre-qualify to set the grid of the race, so if i dont check daily or whatever, it can happen to only have 10 minutes of qualifying, and since there is also drivers that are making race stints, it's boring for them.

I already got a look at it quickly with Gai-Luron, but we didnt found in which files it's coded..

If you guy know.. I'd like to know it ! Smile

Thanks in advance !

Regards
i havent seen this before.

-Which LFSLapper version do you run?
-Did you have this issue with older Lapper versions aswell?
-Are your sure the server is configured correctly?

look those the options below:

// qualifying minutes, 0 for no qualifying
/qual=0

// number of laps, 0 for practice
/laps=0

// if laps not specified: hours
//hours=24

Yes, seen it and solved it Smile

Your server hosted at Rack Services I guess.
For an unknown reason they are offering a very old Lapper version (6.0.12) that has the exact issue you described.

Luckily I recently found the solution after a fellow Frenchmen asked about it here at the forum.
Open 'addonsused.lpr' and then changed this line: include( "./guiconfig.lpr");

To: #include( "./guiconfig.lpr");

Save the file and restart Lapper and the problem will be gone.
Thx Yisc for the quick fix.

Going to disable that script in the next update.
To avoid the confusion.
Quote from Bass-Driver :Thx Yisc for the quick fix.

Going to disable that script in the next update.
To avoid the confusion.

As far as I know, that issue is no longer there in the current versions of Lapper.
Like I said, Rack Service uses a very old version of Lapper and that has that script and it's causing trouble.
** Best answer **
ye sorry,
looking throught that script, it seems that many lines has been disabled.
So no need to disable the script.

### SET THE FOLLOWING VAR'S TO SETUP YOUR SERVER WHEN LFSLAPPER (RE)START ####
$GUI_Lap = 5 ; #Number of race laps
$GUI_qual = 10 ; #Number of qual minutes
$GUI_wind = 0 ; #0=no wind 1=low wind 2=hard wind
$GUI_weather = 1 ; #set type of wheather 0,1 or 2
$GUI_mustpit = "no" ; #need to pit yes or no
$GUI_fcv = "no" ; #Force cockpit view yes or no
$GUI_drift = "no" ; #Drift option yes or no ( see the part at end of this script)
$GUI_midrace = "yes" ; #Join midrace yes or no
$GUI_start = "finish" ; #Race start order : fixed/finish/reverse/random
$GUI_current_car = "?" ; #You can set here the default car. If not set,the first time when the config GUI start its show's a "?".
### END ###

# cmdLFS( "/laps " . $GUI_Lap );
# cmdLFS( "/qual " . $GUI_qual );
# cmdLFS( "/wind " . $GUI_wind );
# cmdLFS( "/weather " . $GUI_weather );
# cmdLFS( "/mustpit " . $GUI_mustpit );
# cmdLFS( "/midrace " . $GUI_midrace );
# cmdLFS( "/fcv " . $GUI_fcv );
# cmdLFS( "/start " . $GUI_start );

#7 - Kova.
It's the 6.0.1.3 that's installed on RackService yes.
We're sure it wasn't a server issue, we had that also on the past (I'm managing the league alone since 2013) while we had a server offered by our country mate MRc-Sam, so at that time Gai-Lu' had already checked both server and lapper config quickly.

Quote from Bass-Driver :ye sorry,
looking throught that script, it seems that many lines has been disabled.
So no need to disable the script.

### SET THE FOLLOWING VAR'S TO SETUP YOUR SERVER WHEN LFSLAPPER (RE)START ####
$GUI_Lap = 5 ; #Number of race laps
$GUI_qual = 10 ; #Number of qual minutes
$GUI_wind = 0 ; #0=no wind 1=low wind 2=hard wind
$GUI_weather = 1 ; #set type of wheather 0,1 or 2
$GUI_mustpit = "no" ; #need to pit yes or no
$GUI_fcv = "no" ; #Force cockpit view yes or no
$GUI_drift = "no" ; #Drift option yes or no ( see the part at end of this script)
$GUI_midrace = "yes" ; #Join midrace yes or no
$GUI_start = "finish" ; #Race start order : fixed/finish/reverse/random
$GUI_current_car = "?" ; #You can set here the default car. If not set,the first time when the config GUI start its show's a "?".
### END ###

# cmdLFS( "/laps " . $GUI_Lap );
# cmdLFS( "/qual " . $GUI_qual );
# cmdLFS( "/wind " . $GUI_wind );
# cmdLFS( "/weather " . $GUI_weather );
# cmdLFS( "/mustpit " . $GUI_mustpit );
# cmdLFS( "/midrace " . $GUI_midrace );
# cmdLFS( "/fcv " . $GUI_fcv );
# cmdLFS( "/start " . $GUI_start );


Oh that's perfect it's just what i wanted to know !

So i changed that 10 minutes to 240, and now it's all good, i tried restarting both server and lapper, and qual is staying at 240 minutes, thanks a lot guys !

I think i should have checked each files instead of going with the feelings like "that name should have something related to qualif"

Thanks again !

FGED GREDG RDFGDR GSFDG