The online racing simulator
Searching in All forums
(968 results)
Gai-Luron
S3 licensed
New version with one track!! Ahahaha, Great Joke for X-mas!!!! Lol
Gai-Luron
S3 licensed
Hello,

The lower the stability number - more stable one's lap times are. Only racers who completed more than 2 laps are present in stability table. First lap time is excluded from calculation. I use the following deviation formula to calculate stability. Example of calculation for one player: stability = sqrt(sumN((AverageLapTime - LapTimeN)^2) / (N - 1)) where: N - number of laps; AverageLapTime - Player's average lap time; LapTimeN - Player's time of Nth lap;


Take a look here : http://cybex.b0rk.de/lfs/Stats/readme.txt
Gai-Luron
S3 licensed
I stop dev some month ago. You have source and can do it.

Gai - luron
Gai-Luron
S3 licensed
Yes,

but this assume that LFSLapper and LFS server are on the same computer. An other way it's to have LFS server on machine who have http access and make a little script giving IP on web.

Bye

Gai-Luron
Gai-Luron
S3 licensed
No, LFS don't provide such info

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Use "http" GLScript command to call a php web page doing what you want.

The result of the http web page must be nothing or a valid GLscript script.

Ex:
http("http://www.frh-team.net/reglapper/getserver2.php" );

this command reply (try adress via web)

privMsg( "^7Actually, there are ^345^7 LFSLapper powered servers");

this reply is processed by LFSLapper and display a private message. You can have more then one line in reply or nothing

In this way you can call a php script via web doing that you explain in your post.

In onConnect event

http("http://yourwebsite/registerPlayer.php&id=" . $userName );

An exemple of reply of this php web page command is

privMsg( "Player added to database");

Or

privMsg( "Player already exist, not added to database");

that's all



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

I think the issue on 0.6E is corrected now. replace yout tcp.cs file with this attached one.
If you can, put the old incim4.cs. It's not an obligation but it's better because in the new insim4.cs i gave you there are modifications doing nothing for bug.

Thank's

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Release 6.0.1.3b available to replace 6.0.1.3.

Correct LFSLapper issue with 0.6E.
Replace only LFSLapper.exe

Don't replace 6.0.1.4 Krayy version with this version. I wait for Krayy to give him a patch for his version.

Robert
Gai-Luron
S3 licensed
Hello,Good bye, thank, my sister is beautifull, how do you do?

Read post before your own. Be patient or try to dev

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Sound good. Thank you for your help. Yes i need to apply this to all my applications.

Bye bye

Robert
Gai-Luron
S3 licensed
Hello,

Try this, i think i fix error. If no i have an other idea.
Gai-Luron
S3 licensed
Hello Yisc[NL],

I add in this version trace of last 100 incoming packet. This packets are traced in ERR file. Please give me this trace when server crash.

Thank you.

Robert
Gai-Luron
S3 licensed
try this
Gai-Luron
S3 licensed
Hello,

New release fixing insim read error with LFS 0.6E.
Link download in first post

Gai-Luron
Gai-Luron
S3 licensed
Link in the first post
Gai-Luron
S3 licensed
Hello,


New LFSSTAT1.12 release . Fix TCP reading issue with LFS 0.6E. You can replace only exe.

Bye

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Release 6.0.1.3 available to replace 6.0.1.2.

Correct LFSLapper issue with 0.6E.
Replace only LFSLapper.exe

Don't replace 6.0.1.4 Krayy version with this version. I wait for Krayy to give him a patch for his version.

Robert
Gai-Luron
S3 licensed
GlobalVar $AddNewsBlockLine;

without =
Gai-Luron
S3 licensed
No it's not a packet read error. Do you have trace on screen talking about incomplete packet ?
Is read error seem to be solved ?

Thank.

Robert
Gai-Luron
S3 licensed
Quote from 5ini5t3r :Hi, I just updated my server's to 0.6D and I now get a message in the Airio log saying:

12.11.30 18:40:14 AIRIO ERROR : Index was outside the bounds of the array.
of type System.IndexOutOfRangeException
at LiveForSpeed.InSim.Airio.Datas.Read()
at LiveForSpeed.InSim.Airio.Airio.Main()


Does anyone have an clues as how to fix this please.

Thanks

EDIT: Problem solved

It's not me who said that. When i see the message the issue was not fixed. In ths message i guess that error seem to be a read error like LFSLapper.
If airio work fine, it's very good for you and all airio's user

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Can you try this version. I found a potential bug in previous release.

Thank's


Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Do you have some trace on console screen?
Gai-Luron
S3 licensed
Ok,

I'm waiting for Sjoerd test to apply modification in my 6 release.

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Here a version of LFSLapper for Sjoerd 5.8.4.6 to try.

In this modified version, i bufferize stream in queue and read only if len of buffer queue is more or equal to len indicated by the first byte of the queue (len of next lfs packet). I think the reason of incomplete packet before this modified version of LFSLapper is that i'am not using block reading of tcp stream to not freeze LFSLapper loop. But before last lfs release i always receive a complete lfs packet in one shot.

LFSLapper 6 seems to work fine. The only difference is that in the 6 version the stream is received in a thread to avoid lagging issue (waiting for a complete packet in previous version of lapper block LFSLapper loop). In this case i can use block tcp receive and i think i receive in this way always a complete packet.

I hope my explanation are clear in my very poor english

Gai-Luron
Last edited by Gai-Luron, .
FGED GREDG RDFGDR GSFDG