The online racing simulator
Searching in All forums
(43 results)
1
loconstant
S2 licensed
Hi Gai Luron,

We have an issue with the Lapper on LFSFrance, we are on version 6.0.11, and after 1 or 2 days the Memory usage is growing and growing until our Linux server crash.
The only solution is to restart the Lapper processes before everything is full, Did you experiment this before?

Cheers,
Fred
loconstant
S2 licensed
works for me too, not so much live server left...
loconstant
S2 licensed
Tks for your work.
loconstant
S2 licensed
Up
loconstant
S2 licensed
I would say 10 minutes after races....

We still use it Gay
loconstant
S2 licensed
hello

in the default addonused.lpr there is mention to listenvent.lpr. But I do not see it in the archive.

What is it for?

Thx.
loconstant
S2 licensed
Thanks for your comment, I will try to apply some of yours tips for next movie.
PLFS Winter League
loconstant
S2 licensed
Small video from a beginner. HD available.

http://www.youtube.com/watch?v=edTe7gAkQOE

Cheers
loconstant
S2 licensed
Ouais mais gcomp fait de nouveaux truc , je me lance ce soir sur lapper....
loconstant
S2 licensed
Merci Gai-luron, pour tout ton travail !!!!
loconstant
S2 licensed
Thanks to Gai-Luron, I had a beta version which solved my issue.
loconstant
S2 licensed
Hello,
I think having "setlappervar" would be nice in fact
Loco
loconstant
S2 licensed
Gai-Luron: if you are around here

I have an issue, you provided me a beta version but I do no have the src.

I would need a way to use the same piece of code you have in the loop.cs

if (newCfg.varsLapper.RotateCars != "")
{
SendMsg("/cars=" + tmpCars[currRace.currRotateCar]);
newCfg.executeFunction("OnRotateCar", null, null);
RestartTimer();
}
if (newCfg.varsLapper.RotateTracks != "")
{
SendMsg("/track=" + tmpTracks[currRace.currRotateTrack]);
newCfg.executeFunction("OnRotateTrack", null, null);
}

and call it from my lpr file. Is it possible?

Thax,
Loco
loconstant
S2 licensed
Thanks,

But no need to test.

There is incompatibility, rotate only work with AutoRestartRaceSec.
As sson, I disable it, rotate does not work....
loconstant
S2 licensed
Thanks Bass, I changed my mind, and tried to use cmd LFS instead of embedded Lapper restart function.

So I insert, my restartAutoMain() in my onResult. BUT the automatic LFSLapper rotateTrack does not work anymore. Is there some incompatibilities with cmdLFS ( "/restart" ); ??


Sub restartAutoMain()
privMsg( "Test" );
DelayedCommand($restart_A-15, restartAutoDisplay);
DelayedCommand($restart_A, restartAuto);
EndSub

Sub restartAuto()
cmdLFS ( "/restart" );
EndSub

Sub restartAutoDisplay()
openGlobalButton ("test",70,100,60,20,4,15,16,"^7Restart in (%cpt%) second(s)");
EndSub

Cheers
loconstant
S2 licensed
Thanks Tim.
I managed to do it with "privdelayedcommand" function

Cheers
loconstant
S2 licensed
Hi Bass-Driver,

thanks but this is not what I am looking for.
I think the onFinish is not for a race but for the global event finish.

I just need to know when you activte the autorestart: when the time start for the delay.

Cheers
loconstant
S2 licensed
Thx,
On what do you base the time for the automatic restart ?
Is it the finish(onResult) for the first one which cross the line?
Loco
loconstant
S2 licensed
Hello,

Is there a way to catch the end of race event?
I am not talking about the onResult.

I need really the End for the server, not the player.

Thanks,
Loco
loconstant
S2 licensed
Oki I understand very well
loconstant
S2 licensed
Hi Tim,

Ok I tried unsucessfully. This is done with the method onResult (and point system)

do you see somethin completly wrong in my piece of code?

DEFAULT:
BREAK;
ENDSWITCH
SetCurrentPlayerVar( "ps_points_total",ToNum(GetCurrentPlayerVar( "ps_points_total" ))+ GetCurrentPlayerVar( "ps_race_points" ) );
setUserStoredValue( "ps_points_total", GetCurrentPlayerVar( "ps_points_total" ) );

#Loco
DelayedCommand( 15, test1 );

EndEvent

Sub test1()
privMsg( "Test" );
EndSub


Thanks,
Frederic
loconstant
S2 licensed
Thanks.
So if i understand the delay only work when using a Sub method, right?

Loco
How to : delayed Command
loconstant
S2 licensed
Hello,

I tried simple commande like:


Event OnResult( $flagConfirm )
DelayedCommand( 15, privMsg( "Test" ) );
EndEvent

But the result is not as expected. I have the display as soon I cross the line.
How does this command should work?

Thanks in advance
loconstant
S2 licensed
Hello,

Issue solved.
Gai-Luron provided me a new LFS Lapper dev version, which resolves it.

Thanks all for your help.
loconstant
S2 licensed
Thanks Tim.

I tried with complete fresh install, and your modified lpr, same result

I must have an issue with SQLLite and my Linux server installation.

Gai: if your around here, may you have a look to it?

Fred
1
FGED GREDG RDFGDR GSFDG