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

Fixed

Gai-Luron
Gai-Luron
S3 licensed
Hello,

For now MPRStat project is in stand bye, because Scawen seems to modify MPR file in the next LFS version.

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Another update for test version:

Quote :+---------------------------+
|Changes from v5.60 to 5.61 |
+---------------------------+

1. !topqual, !nearqual, !top, !near, !help now are displayed on Message Box

Screen Here

2. Add new internal command : /cbut
to close one or more message button, only one line in text parameter
Syntax :
/cbut id,ids_to_close,L,T,W,H,I,Time,one line message

id = string id for the button
ids_to_close = ids buttons of all messages button separated by &
L = Left coordonate ( 0 to 200 )
T = Top coordonate ( 0 to 200 )
W = Width for the button ( 0 to 200 )
H = Heigth for the button ( 0 to 200 )
I = Separation bettween multi line message ( 0 to 200 )
Time = Is the time in second that the button is displayed, -1 not closed and closed on click.
Bstyle = Button style, look at insim.txt for value or below

Enjoy

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

i look for it when official patch will be released. I'am waiting if Scawen do another changes.

Bye

Gai-Luron
Gai-Luron
S3 licensed
Hello,

After many weeks, new test version for Lapper : 5.60beta

I'am waiting for bugs reports

What's new
Quote :
+---------------------------+
|Changes from v5.54 to 5.60 |
+---------------------------+
1. Add some variables in AutoMsgPrivate var in config file {Posabs} {Posqual} {Groupqual} to display then in some case

2. New command /termlapper to close lapper in command line or scheduled action. Usefull for end pre-qualification

3. Add new internal command : /pbut
to display a private message button, each line for message are separated by §

LOOK AT SPB OR CONNECTION MESSAGE FOR AN EXEMPLE!!!

Syntax :
/pbut id,L,T,W,H,I,Time,message line1§message line1§...§Message line n

id = string id for the button
L = Left coordonate ( 0 to 200 )
T = Top coordonate ( 0 to 200 )
W = Width for the button ( 0 to 200 )
H = Heigth for the button ( 0 to 200 )
I = Space bettween multi line message ( 0 to 200 )
Time = Is the time in second that the button is displayed
Bstyle = Button style, look at insim.txt for value or below

// BStyle byte : style flags for the button

#define ISB_C1 1 // you can choose a standard
#define ISB_C2 2 // interface colour using
#define ISB_C4 4 // these 3 lowest bits - see below
#define ISB_CLICK 8 // click this button to send IS_BTC
#define ISB_LIGHT 16 // light button
#define ISB_DARK 32 // dark button
#define ISB_LEFT 64 // align text to left
#define ISB_RIGHT 128 // align text to right

32+64 = 86
Exemple:
If you set Bstyle = 86 your text is in dark button and align to left.

// colour 0 : light grey (not user editable)
// colour 1 : title colour (default:yellow)
// colour 2 : unselected text (default:black)
// colour 3 : selected text (default:white)
// colour 4 : ok (default:green)
// colour 5 : cancel (default:red)
// colour 6 : text string (defaultale blue)
// colour 7 : unavailable (default:grey)

Enjoy!

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

Soory, i don't see you Mail but i read your post when i have time. I have many things to do at this time and i can't do all for now.

I try to do this ASAP. Sorry , don't worry, i don't stop dev


Gai-Luron
Insim export file
Gai-Luron
S3 licensed
Hello,

It's possible to have a file with insim output generate by lfs like

connection,
join,
split,
lap,
mci,
...
etc...

The way is to parse it without have to play a replay ( to long ). In fact the best way it's to document MPR file, but i think Scawen don't want it. This solution is an intermediate solution, not very good and not very bad.
it is very usefull to make statistic on race like LFSStat more quickly.

Gai-Luron
Gai-Luron
S3 licensed
Hello,

New version : 0.03 ( first is 0.1, i make mistake )

This version don't work on qualification and don't work if change player on race. maybe in future version.

Quote :
0.1 --> 0.0.3

Work only with Race file

1. Fix wrong directory
2. Add tsv file for graph
3. Add Chat file
4. Now work on multiple replays


CSV file comming soon


Gai-Luron
Gai-Luron
S3 licensed
Hello,

Thank's for the reply. In fact MPRStat is a test version and i don't know if i continue to dev it because i don't have the MPR format and it's so difficult to guess how the data are in it.

- Shutdown is a know problem, i have fixed it
- For the directory, i take a look, for now i only test in same directory with mprstat.
- Graph work only if tsv file is present
- Chat now work, i release it tonight

Quote :Race stats are inaccurate when compared to stats generated using LFSSTAT program.

What'is the PB?

Quote :I noticed there is no pitstop, yellow or blue flag tables, is this a limitation of MPRSTAT?

For now, yes


Bye

Gai-Luron
MPRStat an another LFSStat reading MPR file
Gai-Luron
S3 licensed
Hello racer,

I do a new version of LFSStat reading mpr file. it allow to create a bit of statistical information from a MPR file directly without playing replay.
It's a dev version and i don't know if it will be continued, because MPR file are no documented. ( maybe Scawen do it for me ) It use the templates from LFSSTat and export module ( same code ). You need microsoft .NET for this programm work.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.


To download

http://ks37764.kimsufi.com/mods/MPRStat0.03.zip
In the compressed file you can find source of this prog.




Special thank's

Big thanks to MikeB, for the mpr format file. Thread HERE

ToDo

How to use

This version use also graph.exe of older version for the graph and generate a html and lap by lap file for now.
You'll have to modify MPRStat.cfg to adapt the configuration for your port and admin password.
you can find graph.exe in the old topic : http://www.lfsforum.net/showthread.php?t=75

make a bug report with the mpr if it's possible ( little mpr please ). I have not tested it very much! It's just for a test for now


All prog by Gai-Luron

LFSRelax :http://www.lfsforum.net/showthread.php?t=27913
LFSLapper :http://www.lfsforum.net/showthread.php?t=25756
LFSStat : http://www.lfsforum.net/showthread.php?t=24933


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

New version for Lapper -> 5.54
Maybe registration now work!?

Quote :
+---------------------------+
|Changes from v5.53 to 5.54 |
+---------------------------+
1. Add ability to select multi car in DefaultTopCar
you can specify one or more car with "+" between car
Ex : DefaultTopCar=XFG+XRG

TBO - same as XRT+RB4+FXO
LRF - same as LX6+RAC+FZ5
GTR - same as FXR+XRR+FZR

2. You can use multi car in !top, !near, !topqual, !nearqual

3. You can specify witch car is used by a user in QualUsers adding car after username separated by :
Example : Gai-Luron:XFR,lagamel:UFR
work also in qualusers file.
Don't forget to set DefaultTopCar in accordance with all car used in qualify session

4. Fix Bug on dstats


+---------------------------+
|Changes from v5.52 to 5.53 |
+---------------------------+
1. Fix Bug with mono and http connection

Gai-Luron
Gai-Luron
S3 licensed
Hello

Try to turn off

EnableRegisterWeb = true;
->
EnableRegisterWeb = false;

Gai-Luron

I haven't this issue

Gai-Luron
Gai-Luron
S3 licensed
Ok, i find infos alone

this is the result

Timeframe details

----------------------+-----------------------+ ... +--------------------+
LSB MSB LSB MSB| |
00 00 00 00 00 00 04 00 00 00 00 00 ... 00 00 ....
--+-- -- -- ---+--- -- -- -- --
| | | | | | | | Event
| | | | | Event |
| | | | | Subframe Number
| | | | Subframe Number subsequent bytes
| | | | subsequent bytes
| | | |
| | | frame subsequent bytes
| | UCID
| |
| FrameMarker
|
TimeStamp ( unsigned short )

TimeStamp:
2 bytes timestamp, return to 0 when = #FFFFF

Framemarker:
#FC -> Event frame
#FD -> Messages frame
#FE -> Car positionning, maybe like MCI in insim packet

UCID:
Unique connection ID. When a player leave a connection ( slot ), the player who have upper UCID
get this leaved connection

frame subsequent bytes:
Number of bytes to read after this to completely read a frame

Subframe Number:
Number of bytes to read after this byte to get a subframe. There is one or more subframe.
Each subframe aquire TimeStamp, framemarker and UCID for the main frame

Gai-Luron
S3 licensed
Thank you very much for your response.

Quote :There I read the data size and packettype (Bytes 7 and 8). If the packettype is unknown i jump forward by the size of data and interpret the following data again with the checkEvent() method (see default-handler of switch statement). This is repeated until the end of the package is reached.
You definitely need this handling, because not only STARTFINISH events are sometimes located in this "delayed" data, but also other events sometimes are contained in the later data.

I don't understand sorry . Next first time stamp for my replay. In Red events. You can find all file http://ks37764.kimsufi.com/tmp/readMpr.htm. If you can do an example, i will be very happy .

Thank's

Gai-Luron

07, 00, fc, 15, 05, 00, 04, [COLOR=red]1e[/COLOR], 05, 00, 00

0d, 00, fc, 00, 0d, 00, 0c, [COLOR=red]28[/COLOR], 00, 4b, 0e, 00, 5c, 55, 41, d9, 32, 85, bf

0f, 00, fc, 15, 05, 00, 04, [COLOR=red]1e[/COLOR], 00, 00, 00

1b, 00, fc, 15, 05, 00, 04, [COLOR=red]1e[/COLOR], 05, 00, 00

24, 00, fc, 15, 05, 00, 04, [COLOR=red]1e[/COLOR], 00, 00, 00

38, 00, fc, 0c, 39, 00, 38, [COLOR=red]02[/COLOR], 31, ff, 00, c2, 00, 00, 00, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07

60, 00, fc, 0b, 39, 00, 38, [COLOR=red]02[/COLOR], 18, ff, 00, c4, 00, 00, 00, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07

62, 00, fc, 12, 05, 00, 04, [COLOR=red]0d[/COLOR], 2b, 00, 00

73, 00, fc, 00, 05, 00, 04, [COLOR=red]0c[/COLOR], 08, 00, 00

8e, 00, fc, 14, 3e, 00, 38, [COLOR=red]02[/COLOR], 42, ff, 00, c4, 00, 00, 00, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 00, 00, 00, 00, c7, 71, 1c, 00, c7, 71, fc, 07, 04, 0d, 1a, 00, 00

Gai-Luron
S3 licensed
Hello,

I have some question for you MikeB

I plain to rewrite LFSStat without using Replay with LFS. I download your source, look in IT and i write a little application for now read MPR and Frame. For convenience i use PLID as CarId ( like insim ) and UCID as connectionID. For PlayerID there is not an equivalence in insim ( in the old insim version, it's present )

Along the replay UCID change permanently, there is a packet where i can find this modification?
For now, i update UCID when it's change in Frame. I Need this info for message parsing. Unfortunately, message send only UCID. Retrieving message parsing work with this method perfectly.

Now and this is my big problem, some STARTFINISHLINE packet are missing in replay. It's normal or there are an other packet sending this info or i make a mistake? I try to find if lap time are assigned to another player, but this laptime don't appear in any place in the replay.

If i get ENTERPIT frame, there are not UCID or PLID? so strange, but LEAVEPIT yes!

And the last, what is the Frame 0xFD? I think it's possitionning or MCI ( insim ) packet like? i'am right?


Thank's for your job

Gai-Luron
Gai-Luron
S3 licensed
No,

But you can try this:

!res|/http http{colon}//www.dinamita-racing.net/cron/dataaccess.php?user={username}

Your web response can be /restart or nothing

I don't try it, but i think, it's work

Gai-Luron
Gai-Luron
S3 licensed
Quote from capris :hello is there a way of removing a personal best laptime from the lapper for certain drivers,the lapper is on my server and set on the car park layout track but a lap i did was not right as i hit another car to get speed boost so is it possible to remove that lap time but keep all my other laps for other cars or reset all my personal best and laps done on the layout

Stop Lapper, edit PB file, and remove all lines for the given PB. Restart Lapper, make a copy of your PB file before do this.

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Ok updated. Thank's

One video from the last international FRH ORT3 make by Alex from Renesis Team. Here

lowquality
http://www.youtube.com/watch?v=qY_4JIuYHZY
or
highquality
http://www.megaupload.com/?d=QS5B41PZ

Bye

Gai-Luron
Gai-Luron
S3 licensed
Thank you Yisc[NL]
Thank you commandermas

For the translation done for ORT web site ( Open Race Trophy ).

You can watch your work here : www.frh-team.net/gcomp

Open Race Trophy Restart in September

Thank's again
Gai-Luron
S3 licensed
Hello,


Thank's , update file and version with new translate file 1.11 ( only modification on language pack )



Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from Gekkibi :I reinstalled windows and now it works. Mysterious are the ways of Bill Gates...

I don't know if I am too stupid or something, but I don't find a way to disable digital speedometer and 0..100 acceleration message. Only thing I need is that talking guy (Helps alot when using one monitor and 90 FOV). Do I have to compile it again to disable all other options? If yes, could someone do it for me, as I don't have a compiler software for windows, and don't want to install ANYTHING on this computer (Only additional softwares installed are related to LFS. )

Edit: I think I found a bug. It changes outgauge port to 28999 after I connect to an online server (Works offline,'tho). If I configure gi.exe (outgauge program) to port 28999 and restart LFSrelax, it gives me bunch of errors (Multiple software using the same port). Or am I so dumb that I have missed something critical..?

- You can't use two programm who need OutGauge, you can disable it in LFSRelax config File -> "EnableOutGauge = true" to false

- Remove Speedo : "EnableVirtualSpeedo = true" to false

- Remove 0-100 : "AccelerationPrivateMessage = ^3{AccelerationTime}^7 seconds to {AccelerationEndSpeed} {UnitSpeed} !" Put an empty message

- Programm who manage config file don't work now

Guy, Please, try to read and understand config file . , thank's
Gai-Luron
S3 licensed
You can use what you want.

I use this for my server for each Lapper on two directory

SyncDir=../synchrolapper;

main (Directory)
--- Lapper01 (Directory under main)
--- Lapper02 (Directory under main)
--- synchrolapper (Directory under main)

I don't test it, but this can be absolute. You do what you want. slash work, i don't try \ (antislash)

Gai-Luron
Gai-Luron
S3 licensed
Hello,

SyncDir=synchro;


Two different pb file, one pb file for one lapper
Lapper can be or not on two different directory, but "synchro" must be the same directory for the two instance of Lapper.

Bye

Gai-Luron
Gai-Luron
S3 licensed
Hello,

I don't understand why you have this problems. I have installed Lapper on many Debian and ubuntu linux without any issue and using default get package.

Try to reinstall mono!

Gai-Luron
Gai-Luron
S3 licensed
2 licenses
FGED GREDG RDFGDR GSFDG