The online racing simulator
Lapper 5.321
I found another small glitch in Lapper version 5.321
When someone sends the first message after Lapper has been started, an error (see attachment) is displayed. So only with the first message since the start of Lapper.
Maybe something is wrong in my config-file (on the other hand, Lapper won't start proper with an error in config-file) or there's a small bug in the program it self. Let me know if you want more information.
Attached images
lapper_5.321.png
Hello,

There is a problem with automessage in your config file. Check | and ;


Gai-Luron
I´ve got a question.
I like to make a command like Redline Racing.
I like to create the Command :
!RaceControl
!voteon
!voteoff
!ban USERNAME
!kick USERNAME

But i want that only Member can use these Commands... i know how to add commands but not those. Plz help me!
Quote from Gai-Luron :Hello,

There is a problem with automessage in your config file. Check | and ;

Gai-Luron

Checked again and found the problem
Thanks again.
Quote from DonTimmi :I´ve got a question.
I like to make a command like Redline Racing.
I like to create the Command :
!RaceControl
!voteon
!voteoff
!ban USERNAME
!kick USERNAME

But i want that only Member can use these Commands... i know how to add commands but not those. Plz help me!

!kick&./adminlist.txt|/kick {*}| ... etc.

where adminlist.txt is file with (lfs usernames) list of your MEMBERs


notes:
wont work (here) if lapper is launched as batch from different directory (bug?)
/qualify (!qualify) command wont work (here) this way (bug?)
I'm getting the following errors under mono:

LFSLapper, Version=5.4.0.36795, Culture=neutral
Copyright (C) 2005-2007 Janez Cufer and Gai-Luron
LFSLapper comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. Read LICENSE for details.

Intercept don't work
Loading WR...Not Loaded
Mode Sync = True
Connecting
Connection OK
Product:S2 Version:0.5Y InSim Version:4
Sync Upload DB Thread Started...
Warning:Error loading ./PB.txt or file does not exist yet!
Warning:Error loading ./DriftPB.txt or file does not exist yet!

** (LFSLapper.exe:16941): WARNING **: Missing method Sort in assembly /home/badc
/lfslapper/bin/LFSLapper.exe, type Array

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
in <0x00000> <unknown method>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
LFSLapper is running...

It doesn't appear to be communicated with the server. Also, it hasn't created the PB.txt and DrivePB.txt files.
Hello,


Seem to be sync mode. How is configured your sync mode?

Sync dowload not started!
Quote from Gai-Luron :Hello,


Seem to be sync mode. How is configured your sync mode?

Sync dowload not started!

Yep, that was the problem. Working fine now thanks.
Hello,

New Lapper version 5.41:

Quote :+--------------------------+
|Changes from v5.40 to 5.41|
+--------------------------+

1. New penalties work
OnFastDriveOnPitL1 = Actions on 30 Sec Penalty or drive-through
OnFastDriveOnPitL2 = Actions on 45 Sec Penalty or Stop&Go
MaxFastDriveOnPit = Max Fast Drive on Pit allowed per race
OnMaxFastDriveOnPit = Actions on Max Fast Drive on Pit allowed
OnFalseStartL1 = 30 Sec Penalty or drive-through
OnFalseStartL2 = 45 Sec Penalty or Stop&Go

Obsolete parameters
MaxDriveThroughPenalties
StopGoPenaltyAction
MaxStopGoPenalties
Time30PenaltyAction
Time45PenaltyAction

2. New feature : execute an action whenever a user drives more laps in a single session than allowed
New config vars:
MaxSessionLaps = Number;
OnMaxSessionLaps = Action;
Add new var in onConnect action
{MaxSessionLaps} -> Max laps allowed per session

3. You can Register your lfs name server on FRH TEAM WEB Server( Only name Server is transmitted look at RegisterWeb.cs )
Soon ability to display the name server list Running Lapper on frh-team server
This allow user to know where are server running Lapper and connect to them
New config vars:
EnableRegisterWeb = true;

4. New command for command line to allow or no authorization mode
/license on
/license off
/license ?

New command for text input in LFS
!license on
!license off
!license ?

5. Add Minimum player config
this enable Authorization. if less: All player allowed, if upper: AuthAllowPlayer only allowed
AuthMinPlayer = 0;

Enjoy


Gai-Luron
Thanks for another update of this great program.
I go and try this tonight and let you know how much I like it
I installed the new version and spotted to minor errors in the config-file.

OnFastDriveOnPitL1 = /msg {Nickname}^1 Warning fast drive on pit|pm ^1WARNING-KICK POSSIBLE;
OnMaxFastDriveOnPit = /msg {Nickname}^1 banned to fast drive on pit|/rcm ^1YOU ARE BANNED|/rcm_ply {Username}|/msg ban {Username};

Should be:

OnFastDriveOnPitL1 = /msg {Nickname}^1 Warning fast drive on pit|/pm ^1WARNING-KICK POSSIBLE;
OnMaxFastDriveOnPit = /msg {Nickname}^1 banned to fast drive on pit|/rcm ^1YOU ARE BANNED|/rcm_ply {Username}|/ban {Username};

Can you tell me a little bit more about the new penalty-system? I think it works as follows. Someone is getting a penalty and the first message (L1) is shown. After the second penalty the second message (L2) is shown and if maximum is 2, MaxFastDriveOnPit is executed. What happens when I set maximum to, let's say, 4? Three times a warning and then a kick or ban? What kind of actions can I make after: OnFalseStartL1 = ; and OnFalseStartL2 = ; ?
Anyway, I cann't thank you enough for all the work you are doing. Thanks again mate.
Hello,

L1 = 30 sec or DT penalty assigned to player by LFS
L2 = 45 sec od S&G penalty assigned to player by LFS

MaxFastDriveOnPit = Number of penalties L1 and L2 allowed for one race. When this value is reached OnMaxFastDriveOnPit is started.



Quote :What kind of actions can I make after: OnFalseStartL1 = ; and OnFalseStartL2 = ;

What you want


Gai-Luron
Thanks for the explanation, Lapper 5.41 is working like a charm. Well done my friend, well done.
I got a wierd problem. It tells me in the game that Insim cant connect because of my password. even tho i put it in the LFSLapper.cfg file.

"InSim : password does not match your multiplayer admin password"

any ideas?
does anyone have a default 5.20 cfg i can have


i stuffed mine up royally and my hosting company only allow 5.20 as the highest version
Quote from Monkay :I got a wierd problem. It tells me in the game that Insim cant connect because of my password. even tho i put it in the LFSLapper.cfg file.

"InSim : password does not match your multiplayer admin password"

any ideas?

When you are running an LFS-server, you can asign two passwords in the configfile of your server. One for entering your server as a normal driver and one for the admin with all the rights to kick/ban/etc.

/pass=Pass :if required - password
/admin=Pass :if required - admin password

The value entered after "/admin=" should also be entered in the configfile of Lapper.
After that, you have to make sure Lapper starts with the correct configfile. On default, Lapper starts with the configfile that is placed in the cfg-directory. If you want to use another configfile, you have to change the file "netstartdefault.bat" which can be found in the bin-directory.
Quote from hughesie89 :does anyone have a default 5.20 cfg i can have


i stuffed mine up royally and my hosting company only allow 5.20 as the highest version

Here you go, a default configfile of Lapper 5.20
I had to rename the file to *.txt in order to upload it.
So download the file and rename it to *.cfg
Attached files
LFSLapper.txt - 23.5 KB - 230 views
Now I've got a question too

I made an adminlist.txt to be used with the autoactions. (see attachment 1)
When I use the !kick command, everything is fine and I can kick myself.
When I use the !ban command, it gives the message "user name is not valid" (see attachment 2)
When I use the !ban14 command, it first gives the message "/ban 14 Yisc[N]" and then "user name is not valid" followed by "/ban Yisc[NL] 14" and then "User is banned for 14 days" (see attachment 3)

I also included a screenshot of my username (see attachment 4) to prove I'm really using the correct name every time. So I think, but I might be wrong ofcourse , something isn't working correctly in the autoactions of Lapper. (version 5.41 used to test this)
Please let me know if I'm doing something wrong, or otherwise please correct these functions in Lapper.
Attached images
1.png
2.png
3.png
4.png
Hello,

I try to explain what happen.

First: /ban need 2 parameter: name and Number of day. If you type directly on server /ban user. You got an unvalid username.
But /ban user 14 is good.

Secondly: When you type !ban14 toto. LFSLapper execute all commands beginning with !ban in autoaction. In this case !ban and !ban14.

In your config first Lapper find !ban in autoaction and execute /ban 14 username. Lapper assume that 14 in !ban14 is an argument of !ban command.

Then it find !ban14 and execute /ban username 14


I hope you understant what i would say in my poor english. I try to remove this border side effect

Gai-Luron



EDIT :

Fixed in 5.42. Download it

Gai-Luron
-
(Gai-Luron) DELETED by Gai-Luron
Thanks for the explation. I just downloaded 5.42 and will have a go at it in a few minutes. Your english is very good considering you're a frenchmen
Sorry mate, just kidding. I've got very much respect for you and your work. Thanks again!
Hello,


Here all server running Lapper ver > 5.40 if registered is true in config file.

http://www.frh-team.net/reglapper/

Bye

Gai-Luron
Quote from [d9] :!kick&./adminlist.txt|/kick {*}| ... etc.

where adminlist.txt is file with (lfs usernames) list of your MEMBERs


notes:
wont work (here) if lapper is launched as batch from different directory (bug?)
/qualify (!qualify) command wont work (here) this way (bug?)

I done it but i dont know what i have to write in adminlist.txt only the usernames? i wrote only the User names in it and it doesnt work.
Hi, it's me again
I found to small problems this time.
First thing is the FBM car missing in trackinfo.cfg
Second thing is a problem with escaping : in the scheduled actions.
I tried to escape : by writing \: but after that the message is sent from host instead of displaying : in the message it self (see attachments)
I feel almost guilty by reporting so many things but I hope you don't mind too much.
Attached images
Image1.png
Image2.png
Quote from DonTimmi :I done it but i dont know what i have to write in adminlist.txt only the usernames? i wrote only the User names in it and it doesnt work.

Do you have an Demo- or S2-server?
When using Demo, try this:

Quote :UseUsernameForAuthentication = false;

AutoAction =
!kick&./adminlist.txt|/kick {*}|
!ban&./adminlist.txt|/ban {*} 1|
!ban14&./adminlist.txt|/ban {*} 14
;

Then you have to make a file adminlist.txt with all the nicknames of your teammembers in it, with a one name a row.

When using S2, try this:

Quote :UseUsernameForAuthentication = true;

AutoAction =
!kick&./adminlist.txt|/kick {*}|
!ban&./adminlist.txt|/ban {*} 1|
!ban14&./adminlist.txt|/ban {*} 14
;

Then you have to make a file adminlist.txt with all the usernames of your teammembers in it, with a one name a row.

So the authentication differs between Demo and S2 and the names in adminlist.txt differ between nicknames and usersnames.
Quote from Yisc[NL] :Hi, it's me again
I found to small problems this time.
First thing is the FBM car missing in trackinfo.cfg
Second thing is a problem with escaping : in the scheduled actions.
I tried to escape : by writing \: but after that the message is sent from host instead of displaying : in the message it self (see attachments)
I feel almost guilty by reporting so many things but I hope you don't mind too much.

For FBM : Use tool to regenerate trackinfo file, find it in the first post

For ':' you have an explanation for this special car in the top of config file:

Quote :
...
# Symbol replacements:
# {colon} - symbol ':'
# {at} - symbol '@'
# {vbar} - symbol '|'...

Gai-Luron
This thread is closed

LFSLapper insim4 Release
(2101 posts, closed, started )
FGED GREDG RDFGDR GSFDG