The online racing simulator
Searching in All forums
(968 results)
Gai-Luron
S3 licensed
Hello,

New Beta version of LFSLapper done by Yisc ( Scripts and Docs ) and Gai-Luron ( Code ). Download in the first post: test version

Many changes in this version, all old config files are obsolete, you can find all modifications in changes.txt in doc folder

Some changes
- Add include command to include other script into lapper config file
- default script writen by Yisc included in this version
Change track script
PitBoard script
PitWindows script
SafetyCar script
- Use of sqllite3 Database to store Drift and PB file, export file for FTP with .elp extension ( format changed )
- Now all command !command are in silent mode
- One LFSLapper can handle one or more LFS Servers, no syncing needed between 2 or more LFS server
- No limitation on LFS Server handled by one LFSLapper ( Only CPU Power )
- Add a config file with a list of all tracks available on LFS, with length
- Scripting language upgraded, renamed to GLScript. Quick reference docs coming soon
FOR ... BREAK ... ENDFOR
WHILE ... BREAK ... ENDWHILE
SWITCH ... CASE ... DEFAULT ... ENDSWITCH
Add Multidimensional Array in GLScript
Add numerous built-in functions. Take a look to reference.doc ( download reference. zip. To be finished )
- New events actions
Event OnNewGapPlayerBehind() // When a new gap are available for player behind you
Event OnNewGapPlayerBefore() // When a new gap are available for player before you
Event OnQualStart() // triggered when qualify start
Event OnPit( ) // when you are teleported to pit shift+P
Event OnChangeTyres( $FL_Changed, $FR_Changed, $RL_Changed, $RR_Changed )
Event OnNewPlayerJoin() // New PLayer joining race or leaving pits ( After Shift + P )
Event OnFinish // triggered when a player finish a race or qualification
Event OnResult // Triggered when result are available after a race or
qualification
- Ability to use 1 to 10 PB to calculate an AVG PB
- Lapper can send a notification via mail when Lapper crash
you must configure this values
$adminEmail = ""; // Email address to sent email to
$smtpServer = ""; // smtp server used
$loginMail = ""; // login connection to smtp server
$passMail = ""; // Pass connection to smtp server
- Instance of Lapper will automaticly restart when there is a crash. When it restarts 4 times within a short period of time, the instance will be stopped.
In case of crash you receive a notification via mail each time
- Admin LFSLapper via console command on console windows, coming soon a GUI interface to administrate LFSLapper remotely
- LFSLapper can store your script variables in a database to reuse them
- Add new command openPrivTextButton, to open a button who query an input string
- Add function TextPrivButton( "id_button", "new text"); to change one button text
- Complete Group management system for the authorization to use commands
- In timed button, you can put in string text : %txt% to view the countdown in the button

Enjoy!


Yisc & Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from Termi :It Runs on Windows Server 2003 64bit. I dont think it is the Memory...

You must recompile Lapper. 64bit, here you are the Answer!!. If i remember, i say you to recompile Application.


Gai-Luron
Gai-Luron
S3 licensed
Hello,

I go on your server Yisc[NL]

Great job. I do not imagine that we could do so much with new Lapper.

I think's, many add-on on LFSLapper appear when we release it!

I am impressed !!!!!!

Now, I will be forced to put the "include" directive in the GLScript to facilitate add-on integration

Gai-Luron
Gai-Luron
S3 licensed
Yes, but it's not called on lapper if i remember well

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Not compile to work with mono!

If you want do it, remove SetConsoleCtrlHandler to source and recompile it


Gai-Luron
Gai-Luron
S3 licensed
Hello,


When new version of LFS will out! . For pitBoard, Yes

No date for now Sorry! We work on own rythm .

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Thank's for your answer, i know now yours reasons.

Good Dev.

Gai-Luron

PS: I'am not a master , if you take a look at Lapper source, you can see that is so dirty code. it's my first object and c# application ( i work on a new version of Lapper with, in part, code a little cleaned ). your code seem more clean and most oriented object, good! continue in this way
Gai-Luron
S3 licensed
Hello,

Look at upper or Lowercase. In Windows computer

PB.TXT = pb.txt

On Unix Not

PB.TXT != pb.txt

If your host use Unix System. Maybe it's this. Put all in lowercase and test

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Good Idea for this tracker, it's seem's very good. but i have two questions

1) Why do you have two version with one limited?
2) Why don't you release source? (Easy to retreive in C#)

I think you have a good reason for not release sources, but for the LFS community it's very interesting to have access to this file. Not to copy it, it's many year i release source for Lapper and only one person copy it. This is an old story and it is solved.

Continue your good job. Most programmer's make insim app for LFS, better is

Greetings

Gai-Luron
Gai-Luron
S3 licensed
I am impressed :jawdrop:

Gai-Luron
Gai-Luron
S3 licensed
Hello,

To using new PitBoard i release intermediate update version to fix some bugs before the 5.8 !

Quote :
+----------------------------+
|Changes from v5.714 to 5.715|
+----------------------------+
1. Fix Bug when synchro of multiple PB instance in the same directory

2. Fix conversion float to string in parser eval "=="

3. Add new var
$LapsDone -> Lap done for the current player

4. Add new config var and event
$PitWindowStart=2; -> Begin allowed pit start at this lap ( included )
$PitWindowStop=4; -> End allowed pit finish at this lap ( included )

Event OnNotPitWindow() -> Triggered when a play do a pit on not allowed window
Event OnBeginPitWindow() -> Triggered when a player enter in the pit window allowed lap
Event OnEndPitWindow() -> Triggered when a player exit off the pit window allowed lap

5. Fix HandicapUsers issue when you want use a file

Gai-Luron
Gai-Luron
S3 licensed
Hello,

$NickName is the nickname of the player doing action. In this case You. You can display argv to show username. But for now, what you want it's not possible ( $NickName of the banned user ). For now

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Here is a progress report (Like Scawen do ):

Firstly happy new year!

Using Sqlite (database) instead of a text file seems to work well on the test server. I don't use Sqlite now with the drift database and syncing between two Lapper no longer work (for now).
I started big changes on the script parser. I rewrite it!. It is not easy because it's the first time I code this kind of thing. FOR ... BREAK ... ENDFOR and WHILE ... BREAK ... ENDWHILE work currently in my development version. For SWITCH ... CASE ... BREAK ... ENDSWITCH is not a priority as easily achievable with IF ... THEN ... ELSE ... ENDIF. In future version it will be possible to call a function with arguments and this function will return a value.
I think also implement Array vars in the next version. To access to the variables of the current racer use $CurPlayer [idVar]. Example $ CurPlayer [ "nickname"] for $nickname or $CurPlayer [ "LapDones"] for numbers of laps. Unfortunately the newer language scripts are no longer compatible with the older version.

Be patient because my work will not let me much free time and I program the short time I have left.

Bye

Gay-Luron
Gai-Luron
S3 licensed
Hello Racer,

You can test new Lapper at server "Champ CILF2009 Test" ( The new international championship organised by LFS France ).
For now, i don't release it because it's on dev and many internal modification are to be tested. For now drift database and sync don't work yet. But you can see i continue to dev it. Major modification is the use of sqlite, real SQL database in place of txt file. this can offer much power for the future extensions.
An other ability is to set the number of PB used to calculate an Average PB. Usefull if you don't wan't a PB do with lucky.

Good Xmas to all

Gai-Luron

Quote :+----------------------------+
|Changes from v5.715 to 5.800|
+----------------------------+
1. Use of sqlite database instead of txt file to minimize memory usage
to convert old txt file, remove .txt extension in config file
in $Database

exemple, if your PB file is named PB.txt
change
$Database = "./PB.txt";
to
$Database = "./PB";
Launch Lapper and it will be create sqlite database with your old data

2. Export file have now .elp ( export lapper ) extension, not txt

3. Export file have now a new header with version in it

4. Add new config var
$LapTimeUsedForPb = 1; # How many PB lap used to make average PB time, Min = 1 and Max = 10

5. Removed confid var
$TimeFormat



+----------------------------+
|Changes from v5.714 to 5.715|
+----------------------------+
1. Fix Bug when synchro of multiple PB instance in the same directory

2. Fix conversion float to string in parser eval "=="

3. Add new var
$LapsDone -> Lap done for the current player

4. Add new config var and event
$PitWindowStart=2; -> Begin allowed pit start at this lap ( included )
$PitWindowStop=4; -> End allowed pit finish at this lap ( included )

Event OnNotPitWindow() -> Triggered when a play do a pit on not allowed window
Event OnBeginPitWindow() -> Triggered when a player enter in the pit window allowed lap
Event OnEndPitWindow() -> Triggered when a player exit off the pit window allowed lap

5. Fix HandicapUsers issue when you want use a file

Gai-Luron
S3 licensed
I don't know, maybe a trace i forgot to remove in Lapper . Don'tWorry, no problem.

@Nilex Send me in MP your not working .bat with your pub_stat_idk. I try if it work here ( don't worry is only for try, i have my pubstat_idk ^^ )

Gai-Luron
Gai-Luron
S3 licensed
Hello,



Do you use a pubstat IDK? Don't use login and pass it's more safe!


If Yes try this in your browser

www.lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=[B]your_pub_idk[/B]&action=wr

Do you have a child protection?

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
ConvWr.exe -l licenseName -p pass -c coef -mlc maxLapCoef -o outputFile"
or
ConvWr.exe -i idk -c coef -mlc maxLapCoef -o outputFile
licenseName = Your lfs license Name
pass = Your pass of lfs license Name");
idk = it's your idk. to obtain it in lfsworld 'My LFSW Setting'");
coef = multiple coef possibility separated by ':'");
ex:100.5
100.5:101:101.5
maxLapCoef = one coef possibility, to generate MaxLapTime

Only work with last version of Lapper

What is your result file???? ( Only th beginning )

This utility don't work on vista or XP 64. You must recompile it prior to use it with this systems

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote :$HandicapCars = "XFG:20:10";

IF ($P_Mass != $H_Mass)
THEN
OnToLowHandicap();
ENDIF

IF ($P_TRes != $H_TRes)
THEN
OnToLowHandicap();
ENDIF

This syntax is wrong

Try with this, i think this work. The goal is to trigger onToLowHandicap everytime and test value for the handicap in the event.

# This high value are to force onTolowHandicap every time for the XFG
$HandicapCars = "XFG:1000:1000";

Event OnToLowHandicap()
IF ($P_Mass != 20)
THEN
OnToLowHandicap2();
ENDIF
IF ($P_TRes != 10)
THEN
OnToLowHandicap3();
ENDIF
EndEvent

Sub OnToLowHandicap2()
cmdLFS("/spec " . $Nickname );
cmdLFS("/msg " . $Nickname . "^3 spectated for to low handicap" );
cmdLFS("/msg ^3need " . $H_Mass . " kg "!");
End Sub


Sub OnToLowHandicap3()
cmdLFS("/spec " . $Nickname );
cmdLFS("/msg " . $Nickname . "^3 spectated for to low handicap" );
cmdLFS("/msg ^3need " . $H_TRes . "% of intake restriction!");
End Sub


Sorry, but i'am no very present on this forum. But i have no much time with Open Race Trophy. Then i make improvement because LFS France do a new international championship who need special modification on Lapper. Be Patient

@Yisc[NL] i put your wish on todo list

@Aid there isn't documentation for Lapper but if you want you can help me completing the Wiki here : http://wiki.frh-team.net/doku.php?id=lfslapper

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Hello,

There is a bug when you want use a handicap file, sorry

Fixed for the next release

Gai-Luron
ORT Race 2 Results
Gai-Luron
S3 licensed
Hello,

Here the result of the second race:

Group A
1,MT ™ Logan,MadJ37,UFR,59:49.12,1:44.31,34,0,,4,
2,R4F Maurizio N.,MaurizioNaselli,UFR,+0:03.93,1:44.81,34,0,,5,
3,Bruno.Inferno,bruno7529,UFR,+0:03.98,1:44.30,34,0,,3,
4,PLZ-Sypher,Sypher85,UFR,+0:10.23,1:44.79,34,0,,2,
5,PLZ-Marcutz,Marcutz,UFR,+0:16.48,1:45.00,34,0,,9,
6,[RFR] - Mam21,Mam21,UFR,+0:27.86,1:45.47,34,0,,13,
7,SST FALGAYT,falgayt,UFR,+0:30.85,1:45.21,34,0,,10,
8,[TBF] JPRC,JPRC,UFR,+0:38.00,1:45.64,34,0,,7,
9,®Dav,crazydav,XFR,+0:38.53,1:45.62,34,0,,6,
10,FRH Shim,shimanofr,UFR,+0:39.18,1:45.17,34,0,,18,
11,(2F2F) Kevin,kevin32,XFR,+0:48.23,1:45.87,34,0,,14,
12,R4F Lysergic,Lysergic,UFR,+0:50.12,1:45.58,34,0,,17,
13,PLFS-Jeannot,blisch,UFR,+0:57.57,1:45.61,34,0,,20,
14,[TLP] MaGiC42,kenfool42,UFR,+0:58.03,1:45.70,34,0,,21,
15,MT ™ Bzhrallye,Bzhrallycross,UFR,+1:05.62,1:45.45,34,0,,16,
16,MT ™ Ace,tournois,UFR,+1 laps,1:44.95,33,0,,12,
17,PLZ-Cr45h,cr45h,UFR,+6 laps,1:45.67,28,0,,19,
18,PLZ-Owermax,owermax,UFR,+9 laps,1:46.08,25,0,,15,
19,®Worm,worm,UFR,DNF,1:43.98,26,0,,1,
20,R4F Il Nonno,Il Nonno,UFR,DNF,1:46.35,17,0,,11,LEAVR_TIMEOUT
21,Profet,Profet,XFR,DNF,1:45.86,11,0,,8,LEAVR_LOSTCONN

Group B

1,[TLP] Florent,neron59,UFR,60:27.74,1:45.69,34,0,,4,
2,Kws [fr],ssflorent,UFR,+0:00.02,1:45.61,34,0,,3,
3,sccc^vColt,ldriver,UFR,+0:09.30,1:45.56,34,0,,5,
4,R4F LOGAN 5,Logan 5,UFR,+0:09.83,1:45.60,34,0,,12,
5,mugenhpower,mugenhpower,UFR,+0:11.78,1:45.45,34,0,,8,
6,PLFS-Shumeric,schumeric,UFR,+0:12.59,1:45.69,34,0,,13,
7,Sh!n!,Shini,UFR,+0:24.64,1:46.01,34,0,,6,
8,FRH Gai-Luron,Gai-Luron,UFR,+0:33.49,1:46.05,34,0,,17,
9,[TLP] Roudim,Roudim,UFR,+0:35.67,1:45.38,34,0,,7,
10,(2F2F) GOTCHA,GotiKGotcha,XFR,+0:36.74,1:46.07,34,0,,10,
11,PLZ-Mario D.,mario dallacurva,UFR,+0:58.33,1:45.92,34,0,,9,
12,FRH LeManchot,lemanchot,UFR,+1:00.00,1:46.06,34,0,,11,
13,PLZ-Ercules,ercules,UFR,+1:06.28,1:45.97,34,0,,18,
14,103 I beniwiwi,beniwiwi,XFR,+1:13.57,1:47.09,34,0,,16,
15,FRH Lagamel,lagamel,UFR,+1:17.70,1:45.32,34,0,,15,
16,R4F FREESTYLE,freestylei974,UFR,+1:21.31,1:45.82,34,1,,14,
17,Dennis,Dennis93,XFR,+1 laps,1:45.50,33,1,,2,
18,^lSS^rDan,TheRivieraKid,UFR,+31 laps,1:45.05,3,0,,1,
19,helium66,helium66,XFR,DNF,1:46.88,9,1,,19,LEAVR_TIMEOUT


Group C

1,S^Jェyムk,siyak,UFR,61:08.95,1:46.60,34,0,,6,LEAVR_DISCO
2,SST JPé 12,papeu,XFR,+0:02.48,1:46.64,34,0,,1,
3,^lSS^rTim,tim.ellis,UFR,+0:26.53,1:45.98,34,1,,2,LEAVR_DISCO
4,JMT78,JMT78,UFR,+0:34.45,1:46.88,34,0,,4,
5,FRH _-Z-_,_-Z-_,UFR,+0:45.56,1:46.86,34,0,,12,LEAVR_DISCO
6,PLZ-Dado,PLZ-dado,XFR,+0:51.45,1:46.57,34,0,,8,LEAVR_DISCO
7,[TBF] cayenne,cayenne 49,UFR,+1:03.17,1:47.09,34,0,,13,LEAVR_DISCO
8,#302- Glop -,- glop -,XFR,+1:04.85,1:46.66,34,1,,7,
9,[TLP] Papat•r,Papator,UFR,+1:49.36,1:48.23,34,0,,15,LEAVR_DISCO
10,MT™ ^9fabiosdi,fabiosdi,UFR,+1 laps,1:48.48,33,0,,14,LEAVR_DISCO
11,Eigle,Eigle,XFR,+1 laps,1:48.13,33,0,,11,
12,SST PAT 12,koune1,UFR,+1 laps,1:47.38,33,1,,3,
13,BOoZe,eZoOB,UFR,+1 laps,1:47.91,33,0,,10,LEAVR_DISCO
14,FCY-Pierre,FCY-PBA,XFR,+1 laps,1:49.86,33,1,,19,LEAVR_DISCO
15,[TLP] 4nt0,4nt0,XFR,+2 laps,1:48.33,32,1,,17,
16,[OG]ALDUM,Aldum,UFR,+2 laps,1:52.92,32,0,,18,LEAVR_DISCO
17,FRH Ti Trappeur,Eur-Can,UFR,+11 laps,1:47.42,23,1,,999,
18,FRH C-quad,c-quad,UFR,DNF,1:46.67,19,0,,5,
19,fred82517,fred82517,XFR,DNF,1:53.68,18,1,,20,LEAVR_TIMEOUT
20,(2F2F) SunMan,SunMan,UFR,DNF,1:49.82,6,0,,16,LEAVR_DISCO
21,PLFS-Tibouchon,Oghkhood,UFR,DNF,0:00.00,0,0,,9,LEAVR_DISCO


Next race 22 October 2008

Gai-Luron
S3 licensed
Quote from Mandel :Hi all!

I've been fiddling with the Lapper code to find out why it doesn't show the nicknames of the AIs (bots) instead of the player to which they belong, or why it doesn't have any variable to sort out bots and real players. It renders the whole pit information and split information useless, because you get a bunch of messages of your AIs and of you, all with the same username-nickname.

The problem is that the code does not represent the 1..n relationship between users and players, so when I ask for information of a player, I get information of the associated user.

The correct solution (renaming infoPlayer to infoUser, creating the real infoPlayer, and storing all the information and links) is something that requires time, and I have cooked a quick'n'dirty patch to store the player information at NPL (new player) events, and then, when retrieving the (user) information by PLID, stuff that NPL data in a variable of the infoPlayer object.

With this patch, you get the correct value with $Nickname and also you get the plate with $Plate.

I am planning to implement this correctly, I'd like to know if you are already working on this issue, Gai-Luron...

Saludos from Spain! Ignacio Calvo

Hello,

For now i work on ... nothing, because i manage the Open Race Trophy. You can made change if you want. I never implement this functionnality because i don't understand why guys want using Lapper with AI. But if you want do it, you can

Gai-Luron
Gai-Luron
S3 licensed
Quote :yes for sure, but now i'm don't know where to put my name...

Where you want! the only things is to not forgot name of previous dev and so on with new dev.

Gai-Luron
Gai-Luron
S3 licensed
Hello,


Clean display JackCY

Share your work please ( with source )!, i put on the first page the link or maybe you can create a new topic, as you want!

Gai-Luron
ORT Race 1 Results
Gai-Luron
S3 licensed
Hello,

Result of the first ORT Race. Worm with XFR win race. hight race level in group A

Greats races.

DNF = Do Not Finish

Group A

1,®Worm,worm,XFR,63:20.30
2,MT ™ Logan,MadJ37,UFR,+0:04.42
3,PLZ-Marcutz,Marcutz,UFR,+0:07.13
4,Bruno.Inferno,bruno7529,UFR,+0:08.97
5,PLZ-Sypher,Sypher85,UFR,+0:11.28
6,®Ricou,Ricou,UFR,+0:13.12
7,®NarKø,narko,UFR,+0:16.26
8,®Dav,crazydav,XFR,+0:21.37
9,MT ™ Ace,tournois,UFR,+0:31.06
10,FRH Shim,shimanofr,XFR,+0:35.24
11,[TBF] JPRC,JPRC,UFR,+0:36.38
12,(2F2F) Kevin,kevin32,XFR,+0:38.83
13,[TLP]Johanov,podgy29,XFR,+0:41.49
14,R4F Lysergic,Lysergic,UFR,+0:42.14
15,[TLP]stff,stff,XFR,+1:06.64
16,Kws [fr],ssflorent,UFR,+1:12.50
17,[RFR] - Mam21,Mam21,UFR,+1 laps
18,PLZ-Ercules,ercules,UFR,+5 laps
19,PLZ-Drifter K,Trojans24,UFR,+29 laps
20,[TLP] MaGiC42,kenfool42,UFR,+35 laps


Group B

1,(2F2F) Oliv76,oliv76000,XFR,63:56.53
2,PLZ-Mario D.,mario dallacurva,UFR,+0:03.74
3,sccc^vColt,ldriver,XFR,+0:12.01
4,(2F2F) GOTCHA,GotiKGotcha,XFR,+0:15.41
5,David 09,David 09,XFR,+0:48.98
6,[TLP] Beaud57,beaud57,XFR,+0:54.88
7,Sh!n!,Shini,UFR,+1:10.15
8,SST_helium66,helium66,UFR,+1:11.33
9,lll - ZiRiX™,zirix,XFR,+1:11.99
10,S^Jェyムk,siyak,UFR,+1 laps
11,JMT78,JMT78,UFR,+1 laps
12,Ulmo[Fra],Ulm0,XFR,+1 laps
13,#103-beniwiwi,beniwiwi,XFR,+1 laps
14,MT™ ^9fabiosdi,fabiosdi,UFR,+1 laps
15,R4F ScorpioGT,ScorpioGT,XFR,+1 laps
16,FRH Gai-Luron,Gai-Luron,XFR,+2 laps
17,PLFS-Shumeric,schumeric,XFR,+2 laps
18,R4F Il Nonno,Il Nonno,UFR,DNF
19,[RFR]Veng,Melo,UFR,DNF


Group C

1,FRH Lagamel,lagamel,XFR,64:40.18
2,PLFS-Jeannot,blisch,UFR,+0:21.94
3,FRH C-quad,c-quad,UFR,+0:24.94
4,BOoZe[FR],eZoOB,UFR,+0:51.33
5,#302- Glop -,- glop -,XFR,+0:57.90
6,FRH Phoenix17,phoenix design,XFR,+1 laps
7,[TLP] Papat•r,Papator,UFR,+1 laps
8,PLFS-satanas,dmahistre,XFR,+1 laps
9,FRH ^9Ti Trappeur,Eur-Can,UFR,+2 laps
10,FCY-Pierre,FCY-PBA,XFR,+2 laps
11,SST JPé 12,papeu,XFR,+20 laps
12,SST PAT 12,koune1,XFR,+49 laps
13,[TLP] Roudim,Roudim,XFR,DNF
14,PLFS-Tibouchon,Oghkhood,UFR,DNF
15,R4F FREESTYLE,freestylei974,UFR,DNF
16,SF K.Balthazar,kevinb,UFR,DNF
17,SF L.Jadot,giorgio92,UFR,DNF
18,[OG]ALDUM,Aldum,UFR,DNF
19,[TBF] cayenne,cayenne 49,UFR,DNF
20,FRH LeManchot,lemanchot,XFR,DNF
21,fred82517,fred82517,XFR,DNF


Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Hello,

When i say makefile is the makefile generated by visual c# 2005 express edition. In this soft you can change version in

project/properties/assembly/assembly version

Good joob, continue

Gai-Luron
FGED GREDG RDFGDR GSFDG