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

New LFSLapper 831Beta, fix the crash in previous Tim Message

Quote :+----------------------------+
|Changes from v5.830 to 5.831|
+----------------------------+
1. Event OnResult now receive the confirm flags
CONF_MENTIONED 1
CONF_CONFIRMED 2
CONF_PENALTY_DT 4
CONF_PENALTY_SG 8
CONF_PENALTY_30 16
CONF_PENALTY_45 32
CONF_DID_NOT_PIT 64

2. Fix bug on Import Airio PB file, incorrect format in date

3. Add new trace on crash when creating instance

4. Add new cron entry in task, DayOfWeek
0 = Sunday
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday

RegisterScheduleAction( "0 0 0 0 * * *", SA_mid );
Do this action only the Sunday at 0:00

5. Fixed crash on finish Line

Gai-Luron
S3 licensed
Drop old DBS before
Gai-Luron
S3 licensed
Link restored Yesterday. I change my server
Gai-Luron
S3 licensed
WOrk here

Do you have Read Write Permission? i am connected on your server
Gai-Luron
S3 licensed
You do not have to put .txt or .dbs

LFSLapper create a DBS if not exist. And if .txt is present is use it to import old PB in new DBS

The bestway is to try whithout this two file, remove the gripDBS.txt

Work fine here



Gai-Luron
Gai-Luron
S3 licensed
Do you have a GripPB.txt in your directory? If yes change it in other folder an retest Prog. If no work

Send me all your file in bin directory to test what's is wrong in PM

Gai-Luron
Gai-Luron
S3 licensed
What message have you? Do you change the LFSServer.cfg file to match with your server
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Done

Gai-Luron
Gai-Luron
S3 licensed
Hello,

New beta version 830

Changes
Quote :
+----------------------------+
|Changes from v5.829 to 5.830|
+----------------------------+
1. Fixed bug on import old PBfile when dat is in english format

2. Optimize access of hudge DBS. Tested with 6600 entry for one track and one car

3. Added new player var for future extension
CurrNode -> is the node on the track where the player is, -1 is player is not on track

4. default GUI script writen by Tim included in this version if you are admin ( look at admin.txt file ),
type !gui to view admin panel

5. Add a default include file addonsused.lpr to set witch addons you want to use


Bye

Gai-Luron
Gai-Luron
S3 licensed
Hello,

link restored, we change our server

Gai-Luron
Gai-Luron
S3 licensed
Hello,

You find in attached file an exemple of new file


Gai-Luron
Gai-Luron
S3 licensed
Quote from Andy King :
Update: Found the answer Gai, set $TCPmode = false and it connected immediatley.

It's not normal that TCP mode won't work!

For the import of old DBS, Normally, I should not talk because unfinalized and I did not want to release this option. I tried your database and what are the dates problem (in English). Fixed

I tried your big database and I make changes in the program to speed up access. They are not yet finished. But in progress

There are no limit of the number of record in Sqlite database

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Connection to manage LFSLapper is done via TCP port like insim, via packet. You can admin LFSLapper with php or any other application in TCP.

Quote :tries to connect 4 times then stops.

Strange all my test are done with LFSLapper on my computer and LFS on a dedicated host hosted by OVH
We can test tomorrow, i connect my msn

Bye

Gai-Luron
Gai-Luron
S3 licensed
Quote from Tim NL :Hi,
@ Gai-Luron & Yisc : Thanks for new Version . Great job works fine.

I created a GUI to control your DEDI server with lapper.
Long time ago i maked this for LFSLapper version 5.714.
I changed the the script to fit in LFSLapper Version 5.829.

Its just an extra add-on .
In header of the script is a small install instruction.

PS: Works also with multiple DEDI server's and one lapper ( tested with 2 dedi's and one lapper )

EDIT: Updated the Gui_V104.zip file ( FIX bug found by Andy King ).

Great, can i put it in release version?

Gai-Luron
Gai-Luron
S3 licensed
Quote from Andy King :Hi Gai,
I think we have a problem with database. I did as you said and added my PB.txt file thats has 1260 Drivers PB's in it. As soon as I use this database Lapper grinds to a halt, its so slow, takes about 35 seconds from start of lapper to seeing welcome messages.

I tested it with a clean database and it shows welcome message immediatley.

Can you send me your old database to test here, PB.txt. Maybe an index issue! I don't have an enought big database to test the beta version.


Bye

Gai-Luron
Gai-Luron
S3 licensed
Take a look at config file to disable all options

Gai-Luron
Gai-Luron
S3 licensed
Quote :First you have to convert all values to MSH and then when the math is done, you have to convert them back.

Conversion in MSH ( Minute, Second, Hundred) Only if you want to display it in understandable format. But for the test it's better to use numerical value instead converted time value.

Gai-Luron
Gai-Luron
S3 licensed
Hello, operation on Time are different now. All to be in numerical value. Do the correct conversion before do test.

GlobalVar $WR_FXR;
$WR_FXR = MSHToNum( "1.40.88" );
GlobalVar $WR_FXR_25;
$WR_FXR_25 = $WR_FXR + MSHToNum( "0.00.25" );
GlobalVar $WR_FXR_50;
$WR_FXR_50 = $WR_FXR + MSHToNum( "0.00.50" );
GlobalVar $WR_FXR_75;
$WR_FXR_75 = $WR_FXR + MSHToNum( "0.00.75");

...

If (GetCurrentPlayerVar("Car") == "FXR" && GetCurrentPlayerVar("PBLapTime") <= $WR_FXR_75 && GetCurrentPlayerVar("PBLapTime") > $WR_FXR_50 ) Then
cmdLFS("/msg " . GetCurrentPlayerVar("NickName") . " ^2= ^6" . GetCurrentPlayerVar("Car") . " ^3Class ^6A* ^3Licence");
Else
Gai-Luron
S3 licensed
Hello,

No due to the new format of export file.

Here the new struct if you want update your script:

Bye

Quote :his is the structure from export file from Lapper

<config>
... Version and Config Infos ...
</config>
data
data
...

Config Info
Version = Verison number
it's the version f the export file

LapTimeUsedForPb = Number
it's the number od PbTime used on average pbTime
between 1 and 10

Data Structure
LFSUsername
LFSNickname
Number of lap done for this combo
Short Car Name
Short Track Name
Date When PB was realised
Time When PB was realised
PBTime in accordance with LapTimeUsedForPb, if this value = 59.59.XX, XX Mean lap do if laps are less than specified in LapTimeUsedForPb. LapDone = 60 - XX
PBTime Split1
PBTime Split2
PBTime Split3
DateForLap1,...,DateForLap10
TimeForLap1,...,TimeForLap10
LapTime1,...,LapTime10
LapSplit1-1,...,LapSplit1-10
LapSplit2-1,...,LapSplit2-10
LapSplit3-1,...,LapSplit3-10
BestSectorSplit1
BestSectorSplit2
BestSectorSplit3
BestSectorSplitLast

Gai-Luron
S3 licensed
Euh you want to say Tracker :huepfenic
:ices_rofl

Because, there is no money on my Paypal

Gai-Luron
Gai-Luron
S3 licensed
Quote from whitey6272 :can i just have the pitspotter? and not the other stuff???

I think, you are Lost here . Go to LFSRelax Thread


Gai-Luron
Gai-Luron
S3 licensed
Quote from Andy King :Hi Gai and Yisc,
I have tried the Lapper.lpr you sent Yisc, I have added the lines Gai asked me to add and still getting error.

Here is the error report attached...

Error.txt

Hope this helps

Try this new exe:
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Hello,

Can you post the error message?

Gai-Luron

PS: ADD in you on connect
WriteLine( "Username is " . GetCurrentPlayerVar( "UserName" ));
WriteLine( "PBLTime is " . GetCurrentPlayerVar( "PBLapTime" ));
WriteLine(" HMS( PBLTime ) is " . NumToMSH( GetCurrentPlayerVar( "PBLapTime" )));
And tell me what's is displayed on your console screen
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from [d9] :thanx, well

$ar[$UserName] = 12;

will work?

dnine

Normally, yes ^^
Gai-Luron
S3 licensed
Quote from Andy King :hi Gai,
Could an import feature be introduced as very reluctant to loose nearly 2000 drivers stats.

How do I get PBLapTime to display as its showing 104090 and not my PB

Put the same name of the old PB file in gripDatabase config without extension. Put your old file, with .txt in the same directory as Lapper. Launch Lapper.

Example:
Old Dbs is myDBS.txt

in config file put

$gripDatabase = "myDbs";

Launch LFSLapper, normally your base will be imported

Gai-Luron
FGED GREDG RDFGDR GSFDG