The online racing simulator
Linux Support: LFSLapper V7.0.9.3
Hello

This small LFSLapper release brings back Linux support and storing offline playerdata to the LFSLapper database (storedvalue.dbs).

Thx to iceman121 to test LFSLapper on is linux server during development.
LFSLapper 7.0.9.3 has been tested on Ubuntu 20.04.5 LTS

Here are some steps provided by iceman121, to make LFSLapper working on your Linux server.

============================================================================================
1. Follow this guide by Mono: https://www.mono-project.com/download/stable/#download-lin
2. Install Mono dependencies using sudo apt install libmono-i18n4.0-all
3. Make sure you're in LFSLapper.exe directory and run the command Mono LFSLapper.exe.
============================================================================================

See the summary of other changes below.

################################################################
#LFSLapper changelog: Updated @ 18-02-2023
#################################################################
+---------------------------------------------------------------+
|Changes from 7.0.9.2 to 7.0.9.3
+---------------------------------------------------------------+
Thx to iceman121 for Testing LFSLapper on his Linux server Ubuntu 20.04.5 LTS.

=================================================
Fix:
=================================================
1: Coundn't run LFSLapper on Linux

=================================================
New:
=================================================

1: Save offline playervalues to the StoredValue.dbs Database
-You can use SetUserStoredValue() with the same parameters SetUserStoredValue($userName, $Variable, $Value);
-Be sure the username is correct.
-Nickname will not be saved. The database adds the NickName when the player join the server.

2: New variable when retreiving data from the StoredValue Database
ListCount : counts the total of the requested Variable

$list = getlisttopuser($value,$flagdesc,$flagNear,$StartPos); #Get List from stored database
$list["ListCount"];

Files to replace: LFSLapper.exe

If you are using 7.0.9.0 or higher, you can take LFSLapper.exe from this version and replace it with your current LFSLapper.exe
Don't forget to BACKUP!!
Attached files
LFSLapper V7.0.9.3.zip - 6.4 MB - 225 views
I noticed that it does not read or edit the files correctly, possibly due to windows directories having backward slashes, unlike Linux with forward slashes. Should solve the problem.
I installed on Amazon Linux.

rpmkeys --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
su -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo'
yum install mono-devel
yum install mono-complete
mono LFSLapper.exe

When I run it, I get an error.

WARNING: ./drifttop.lpr doesn't exist!
WARNING: ./layoutlist.lpr doesn't exist!
WARNING: ./usertop.lpr doesn't exist!

Correcting the extension to lowercase will solve the error.

Closing the terminal also closes the program.
To run in the background, use the following command.

nohup mono LFSLapper.exe > lapper.log &

Logs can be output to the screen.

tail -f lapper.log

You can terminate programs running in the background.

ps -ef | grep LFSLapper.exe
kill [PID]

Quote from yschoi93 :I installed on Amazon Linux.

rpmkeys --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
su -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo'
yum install mono-devel
yum install mono-complete
mono LFSLapper.exe

When I run it, I get an error.

WARNING: ./drifttop.lpr doesn't exist!
WARNING: ./layoutlist.lpr doesn't exist!
WARNING: ./usertop.lpr doesn't exist!

Correcting the extension to lowercase will solve the error.

Closing the terminal also closes the program.
To run in the background, use the following command.

nohup mono LFSLapper.exe > lapper.log &

Logs can be output to the screen.

tail -f lapper.log

You can terminate programs running in the background.

ps -ef | grep LFSLapper.exe
kill [PID]


Thanks for the information
On Linux we have the same functionalities as on Windows?
It run on Amazon Linux ?
Quote from neron59 :On Linux we have the same functionalities as on Windows?
It run on Amazon Linux ?

Mono is a platform for developing and running cross-platform applications based on ECMA/ISO standards. It is a free and open source implementation of Microsoft's .NET framework.
This thread is closed

FGED GREDG RDFGDR GSFDG