The online racing simulator
Searching in All forums
(10 results)
whiterat
S3 licensed
Your Name: László Hézinger
Your LFS Username: whiterat
Team Name: teamGTi
Driver Number: 95
Car Selection: XFG
Nationality: Hungary
whiterat
S3 licensed
Will be there some handicap for XRG next round? XFG is more than 1.5 sec slower than xrg.
Last edited by whiterat, .
whiterat
S3 licensed
I can not start today on the race.

#95 L.Hezinger
whiterat
S3 licensed
Full name: Laszlo Hezinger
LFSWorld username: whiterat
Full team name: Team GTi
Country: Hungary
Preferred number: 95
Car: XFG
whiterat
S3 licensed
95 - Laszlo Hezinger - whiterat - teamGTi - Hungary
whiterat
S3 licensed
Real Name: Laszlo Hezinger
LFS license name: whiterat
Country[in ISO 3166-1 alpha-3]: HUN
Number(01-99): 95
Team(you can have up to 3 drivers a team): teamGTi
Car: RAC
whiterat
S3 licensed
Real Name: Laszlo Hezinger
LFS license name: whiterat
Country[in ISO 3166-1 alpha-3]: HUN
Number(01-99, #01 being reserved to the series' champion): 95
Team(you can have up to 3 drivers a team): teamGTi
Pace lap, Favorite hosts, Setup filter
whiterat
S3 licensed
My suggestions (sorry if someone mentioned one of these before):
- Pace lap system (with standing start and flying start)
- A Favourites list of hosts (and store their password)
- A setup name filter in garage (for example I want to see only the setups that contains then 'FE2' characters, I just type the 'fe2*' string to the filter input box)

thanks
whiterat
S3 licensed
Here is a simple particular code in VB.NET using Lfslib. This code isn't full, it just shows how works the outgauge in lfslib.net


Imports FullMotion.LiveForSpeed.InSim
Imports FullMotion.LiveForSpeed.InSim.EventHandlers
Imports FullMotion.LiveForSpeed.InSim.Events
Imports FullMotion.LiveForSpeed.InSim.Enums

'class declaration, etc...

Dim WithEvents handler As InSimHandler

'connect to insimhandler procedure:
Sub Connect()
handler = New InSimHandler(False)
handler.Configuration.LFSHost = "127.0.0.1"
handler.Configuration.LFSHostPort = 30000
handler.Configuration.ReplyPort = 30001
handler.Configuration.UseSplitMessages = true
handler.Configuration.UseTCP=true
handler.Configuration.Local=True
handler.Configuration.ProgramName="outgauge_xmpl"
handler.Initialize()
'start outgauge (there is a handler.Stopoutgauge() method too :-))
handler.StartOutGauge(10)
End Sub

'this is the outgauge eventhandler:
Sub outGauge_Updated(byval sender as System.Object , byval gauge as FullMotion.LiveForSpeed.OutGauge.Events.Gauge) handles handler.GaugeUpdated
'the gauge object has the outgauge datas
End Sub

Multiply propertynames in Visual Basic.NET
whiterat
S3 licensed
I can't use the version 0.18b in Visual Basic.NET
For example: RaceTrackPlayer event

Sub handler_RaceTrackPlayer(sender As FullMotion.LiveForSpeed.InSim.InSimHandler, e As FullMotion.LiveForSpeed.InSim.Events.RaceTrackPlayer) handles handler.RaceTrackPlayer
...
players(e.PlayerId)= New PlayerInfo(e.PlayerName, e.PlayerId,handler)
players(e.PlayerId).Car = e.Carname
...
End Sub


The result is this error messages:
['Playername' is ambiguous because multiple kinds of members with this name exist in class 'FullMotion.LiveForSpeed.InSim.Events.RaceTrackPlayer'...]
['Carname' is ambiguous because multiple kinds of members with this name exist in class 'FullMotion.LiveForSpeed.InSim.Events.RaceTrackPlayer'..."]

Visual Basic isn't case-sensitiv, he don't see difference between 'e.Carname' and 'e.CarName'.
FGED GREDG RDFGDR GSFDG