The online racing simulator
LFSRelax 3 in 1 (TS View, AutoMessages, Pit Spotter) by Gai-Luron
(475 posts, started )
PitSpotter is Back!!!
Great work Gai-Luron!!

Just installed LFSRelax 3 in 1...works great

Should help me with those turn1 blue's..... :rally_dri

Ps.im slowly gettin the swing of this insim stuff
/insim=xxxxx!!!
Quote from Krammeh :Anybody actually got this to work on Vista 64, or is it pointless even trying.

I'm running out of patience here.

HELLO ???? Any answer for this?
Quote from nmanley :HELLO ???? Any answer for this?

Yeah me to got same problem Vista x64 ,ppl if any of you get this work on vista?
Vista X64 here.

Didnt work !
Well guys, since the source of the program is given, you may try to compile the source in your enviroment.
Hello!

I used this program before with great success. However after I formatted my PC and installed LFS again it isn't working anymore.. When I start the program I get the error message "The program was not initialized properly. Error oxc0000135"

Has anyone else encountered this? Help would be appreciated!
I've still got problems, i've installed this, of I go in to a game it still saying:

"InSim : first byte in packet does not match size"

how to fix this? Alpha Z
A suggestion of improvement...
Hello racers,

This is just a suggestion about the Pit Spotter of LFSRelax: I think that sometimes the voice of the spotter is annoying. Of course this is the closest to reality that we can have. But I think it would be fantastic if we could have another option of spotter in LFSRelax. My suggestion is change the voice of the spotter to some type of sign in the LFS screen. It can be one simple light that change its position depending on the position of the other car.

Do you think it is possible?
You can make your own soundfiles.
Gai-Luron Merci beaucoup for this geat add-on!! I love it. However I have not been able to set it up as I want. Here is what I want:

- Pit spotter
- Virtual Speedo (when needed)
- split and gap info
- Fuel info + low fuel warning
- Storage of PB's on the PB.txt file for tracking
- Gearshit Bip

I have the first three working but the rest I can't make them work. I still get the ./PB.txt error when I start LFSRelax ... can anyone help? PLEASE!

Below is my .cfg file:

##################################################################
#
# This is sample script for LFSRelax.
#
# Use non-formatting text editor such as notepad to modify script.
# If using unicode characters save script as unicode text document.
#####################################################################

# Lines beginning with # are comments and are ignored by program.

#############################################################################################
#
# General options
#
#############################################################################################

# Host IP.

Host = 127.0.0.1

# Insim UDP or TCP port.
# Before starting LFSRelax you must configure LFS server to use this port for InSim.
# You can do that in command line when starting LFS (/insim=29999) or in talk window of LFS (/insim 29999).

Port = 29999

# TCP mode.
# true if you want to use TCP
# false if tou want to use UDP
TCPmode = true

# Enable or Disable Outgauge
EnableOutGauge = true



# Change Password to match Admin password on LFS server.
Password = yourpass
#############################################################################################
#
# TEamSpeak
#
#############################################################################################
# Position of button and size
# Hbutton = Heigth
# Wbutton = Width
# TButton = Top position ( 0 to 200 )
# LButton = Left position ( 0 to 200 )
# SeeHimSelf = true or false . You can view your button when you speak when set at true
#############################################################################################

EnableTSView = false

Hbutton = 10
Wbutton = 30
Tbutton = 100
Lbutton = 2
SeeHimSelf = true

#############################################################################################
#
# Pit Spotting
#
#############################################################################################
# DxR = Distance between Viewed car an a car on the rigth in meter
# DxL = Distance between Viewed car an a car on the Left in meter
# DxF = Distance between Viewed car an a car Forward You in meter
# DxB = Distance between Viewed car an a car Behind You in meter
# This will make a rectangle around you to determine the area of pitspotting
# minSpeed: Minumum own speed required to do spotting (km/h)
# maxSpeeDiffFaster: Maximum speed difference to do spotting when a faster car passes (km/h)
# maxSpeedDiffSlower: Maximum speed difference to do spotting when passing a slower car (km/h)
# maxAngleDiff: Maximum angle difference between own car and spotted car
# stillThereInterval: Interval in milliseconds between "still there" voices
#############################################################################################

EnablePitSpotter = true

DxR = 25
DxL = 25
DyF = 5
DyB = 5
MinSpeed=25
MaxSpeedDiffFaster=75
MaxSpeedDiffSlower=50
MaxAngleDiff=40
StillThereInterval=2500

# For debugging, show collision coordonate
ViewCollision = false


#############################################################################################
#
# Auto Message
#
# Possible variables to use on all actions
# {ShortTime}
# {LongTime}
# {ShortDate}
# {LongDate}
# {ShortTrackName}
# {colon} = :
# {vbar} = |
# {at} = @
#############################################################################################


EnableAutoMessage = false

# Default car to show, when no car is specified.

#DefaultCar = UF1
DefaultCar = XFG
#DefaultCar = XRG
#DefaultCar = XRT
#DefaultCar = RB4
#DefaultCar = FXO
#DefaultCar = LX4
#DefaultCar = LX6
#DefaultCar = RAC
#DefaultCar = FZ5
#DefaultCar = MRT
#DefaultCar = XFR
#DefaultCar = UFR
#DefaultCar = FOX
#DefaultCar = FO8
#DefaultCar = FXR
#DefaultCar = XRR
#DefaultCar = FZR
#DefaultCar = BF1
#DefaultCar = FBM


# Actions that are executed on received messages. Use '|' for next pattern/action pair and to separate pattern from action.
# If more actions or patterns, separate them with ':'.
# other variables to use with this action:
# {Nickname} - Nickname of driver who send the initial message ( No color )
AutoAction =
hoho|^3What's so funny,^4 {Nickname}?:isn't it!|
unnamed|no name no game:/kick unnamed|
!test|{Nickname} is testing...

# When you join a server
OnConnectServer = Hello / Hi / Ciao

# When a new player join a server
# other variables to use with this action:
# {Nickname} - Nickname of driver who join
# {Username} - Username of driver who join
# {Car} - Default Car
OnNewPlayerConnect = Hello {Nickname}:/ws {ShortTrackName} {Car} pb {Username}

# When a race Start
OnRaceStart = Good Race!

# When a race End
# OnRaceEnd = Thank's for racing on {ShortTrackName}!

# When New PB
# {Username} - Username of driver who do PB
# {PBTime} - PB time of new PB
# OnNewPB = Great!! New PB {Username}, new time {PBTime}


#############################################################################################
#
# GameStat
#
#############################################################################################

EnableGameStat = true

Database = ./PB.txt

MyUsername = vicbel

isMph = false

EnableGap=true
coordLibelDiffBefore = 68,185,20,5
coordButtDiffBefore = 88,185,12,5
coordButtLapDoneBefore = 100,185,10,5
coordButtLapTimeBefore = 110,185,12,5

coordLibelDiffBehind = 68,195,20,5
coordButtDiffBehind = 88,195,12,5
coordButtLapDoneBehind = 100,195,10,5
coordButtLapTimeBehind = 110,195,12,5

EnableSplit=true
coordLibelSplit = 0,60,15,7
coordButtDiffSplit = 15,60,15,7
coordButtSplit = 30,60,15,7

EnableDistKm=false
coordDistKm = 140,193,30,7

EnableRemainFuel=true
coordButtFuel = 25,175,20,6
coordButtLogoFuel = 93,22,20,20
# Display icon fule when remain resLap lap in fuel
resLaps = 2

# At which speed to start and stop measuring time. In km/h.
AccelerationStartSpeed = 1
AccelerationEndSpeed = 100

AccelerationStartSpeedMph = 1
AccelerationEndSpeedMph = 60

# Maximum acceleration time in seconds to show message.
AccelerationPrivateMaxTime = 10

# Message to show to player.
# Possible variables to use:
# {AccelerationStartSpeed} - Starting speed
# {AccelerationEndSpeed} - Ending speed
# {AccelerationTime} - Acceleration time achieved from start to end speed
# {UnitSpeed} Unit of the Speed of the player connected

# If you don't want acceleration message put '#' before AccelerationPrivateMessage
#AccelerationPrivateMessage = ^3{AccelerationTime}^7 seconds to {AccelerationEndSpeed} {UnitSpeed} !
coordButtAcc = 60,42,80,20

#############################################################################################
#
# Virtual SpeedoMeter
#
##########################################################################################################################################################################################
EnableVirtualSpeedo = true
#coordVirtualSpeedo = 164,187,30,16
coordVirtualSpeedo = 77,130,30,16
##########################################################################################################################################################################################
#
# Other
#
#############################################################################################

EnableShiftBip = true



Thanks in advance for any help and guidance.
I have yet to see the fuel info or the shift bip working and think they might currently be broken. As for your PB.txt file issue make sure that you have this file in the same directory that you have the LFSRelax.exe file. If there is no PB.txt file there just create a blank one with notepad and it should start working once the file exists.
Quote from Cabby :I have yet to see the fuel info or the shift bip working and think they might currently be broken. As for your PB.txt file issue make sure that you have this file in the same directory that you have the LFSRelax.exe file. If there is no PB.txt file there just create a blank one with notepad and it should start working once the file exists.

I tried creating the blank file ... in the same directory ... and it did not work.

-VBP1
Did you make sure that 'PB' was capitalized? Not sure if it truely matters but mine is capitalized to look exactly like in the config file.
Quote from Cabby :Did you make sure that 'PB' was capitalized? Not sure if it truely matters but mine is capitalized to look exactly like in the config file.

That did not work either. PB.txt
No idea what to suggest then. Don't know why it's not working for you. The only thing I see different between your config file and mine is I have EnableOutGauge = false up near the top.
Thank you Gai for the add-on!
Is there possible to add one more line in the split panel with TPB?I meen to calculate real time the best sections from the "PB.txt" file.
Thank you!
Quote from Gnomie :Hello!

I used this program before with great success. However after I formatted my PC and installed LFS again it isn't working anymore.. When I start the program I get the error message "The program was not initialized properly. Error oxc0000135"

Has anyone else encountered this? Help would be appreciated!

What about reading the first post carefully?
LFSRelax need NET2.0 to run: here http://www.microsoft.com/downloads/d...d-aab15c5e04f5
:haha:
Quote from vicbel :Gai-Luron Merci beaucoup for this geat add-on!! I love it. However I have not been able to set it up as I want. Here is what I want:

- Pit spotter
- Virtual Speedo (when needed)
- split and gap info
- Fuel info + low fuel warning
- Storage of PB's on the PB.txt file for tracking
- Gearshit Bip

I have the first three working but the rest I can't make them work. I still get the ./PB.txt error when I start LFSRelax ... can anyone help? PLEASE!

Below is my .cfg file:

##################################################################
#
# This is sample script for LFSRelax.
#
# Use non-formatting text editor such as notepad to modify script.
# If using unicode characters save script as unicode text document.
#####################################################################

# Lines beginning with # are comments and are ignored by program.

#############################################################################################
#
# General options
#
#############################################################################################

# Host IP.

Host = 127.0.0.1

# Insim UDP or TCP port.
# Before starting LFSRelax you must configure LFS server to use this port for InSim.
# You can do that in command line when starting LFS (/insim=29999) or in talk window of LFS (/insim 29999).

Port = 29999

# TCP mode.
# true if you want to use TCP
# false if tou want to use UDP
TCPmode = true

# Enable or Disable Outgauge
EnableOutGauge = true



# Change Password to match Admin password on LFS server.
Password = yourpass
#############################################################################################
#
# TEamSpeak
#
#############################################################################################
# Position of button and size
# Hbutton = Heigth
# Wbutton = Width
# TButton = Top position ( 0 to 200 )
# LButton = Left position ( 0 to 200 )
# SeeHimSelf = true or false . You can view your button when you speak when set at true
#############################################################################################

EnableTSView = false

Hbutton = 10
Wbutton = 30
Tbutton = 100
Lbutton = 2
SeeHimSelf = true

#############################################################################################
#
# Pit Spotting
#
#############################################################################################
# DxR = Distance between Viewed car an a car on the rigth in meter
# DxL = Distance between Viewed car an a car on the Left in meter
# DxF = Distance between Viewed car an a car Forward You in meter
# DxB = Distance between Viewed car an a car Behind You in meter
# This will make a rectangle around you to determine the area of pitspotting
# minSpeed: Minumum own speed required to do spotting (km/h)
# maxSpeeDiffFaster: Maximum speed difference to do spotting when a faster car passes (km/h)
# maxSpeedDiffSlower: Maximum speed difference to do spotting when passing a slower car (km/h)
# maxAngleDiff: Maximum angle difference between own car and spotted car
# stillThereInterval: Interval in milliseconds between "still there" voices
#############################################################################################

EnablePitSpotter = true

DxR = 25
DxL = 25
DyF = 5
DyB = 5
MinSpeed=25
MaxSpeedDiffFaster=75
MaxSpeedDiffSlower=50
MaxAngleDiff=40
StillThereInterval=2500

# For debugging, show collision coordonate
ViewCollision = false


#############################################################################################
#
# Auto Message
#
# Possible variables to use on all actions
# {ShortTime}
# {LongTime}
# {ShortDate}
# {LongDate}
# {ShortTrackName}
# {colon} = :
# {vbar} = |
# {at} = @
#############################################################################################


EnableAutoMessage = false

# Default car to show, when no car is specified.

#DefaultCar = UF1
DefaultCar = XFG
#DefaultCar = XRG
#DefaultCar = XRT
#DefaultCar = RB4
#DefaultCar = FXO
#DefaultCar = LX4
#DefaultCar = LX6
#DefaultCar = RAC
#DefaultCar = FZ5
#DefaultCar = MRT
#DefaultCar = XFR
#DefaultCar = UFR
#DefaultCar = FOX
#DefaultCar = FO8
#DefaultCar = FXR
#DefaultCar = XRR
#DefaultCar = FZR
#DefaultCar = BF1
#DefaultCar = FBM


# Actions that are executed on received messages. Use '|' for next pattern/action pair and to separate pattern from action.
# If more actions or patterns, separate them with ':'.
# other variables to use with this action:
# {Nickname} - Nickname of driver who send the initial message ( No color )
AutoAction =
hoho|^3What's so funny,^4 {Nickname}?:isn't it!|
unnamed|no name no game:/kick unnamed|
!test|{Nickname} is testing...

# When you join a server
OnConnectServer = Hello / Hi / Ciao

# When a new player join a server
# other variables to use with this action:
# {Nickname} - Nickname of driver who join
# {Username} - Username of driver who join
# {Car} - Default Car
OnNewPlayerConnect = Hello {Nickname}:/ws {ShortTrackName} {Car} pb {Username}

# When a race Start
OnRaceStart = Good Race!

# When a race End
# OnRaceEnd = Thank's for racing on {ShortTrackName}!

# When New PB
# {Username} - Username of driver who do PB
# {PBTime} - PB time of new PB
# OnNewPB = Great!! New PB {Username}, new time {PBTime}


#############################################################################################
#
# GameStat
#
#############################################################################################

EnableGameStat = true

Database = ./PB.txt

MyUsername = vicbel

isMph = false

EnableGap=true
coordLibelDiffBefore = 68,185,20,5
coordButtDiffBefore = 88,185,12,5
coordButtLapDoneBefore = 100,185,10,5
coordButtLapTimeBefore = 110,185,12,5

coordLibelDiffBehind = 68,195,20,5
coordButtDiffBehind = 88,195,12,5
coordButtLapDoneBehind = 100,195,10,5
coordButtLapTimeBehind = 110,195,12,5

EnableSplit=true
coordLibelSplit = 0,60,15,7
coordButtDiffSplit = 15,60,15,7
coordButtSplit = 30,60,15,7

EnableDistKm=false
coordDistKm = 140,193,30,7

EnableRemainFuel=true
coordButtFuel = 25,175,20,6
coordButtLogoFuel = 93,22,20,20
# Display icon fule when remain resLap lap in fuel
resLaps = 2

# At which speed to start and stop measuring time. In km/h.
AccelerationStartSpeed = 1
AccelerationEndSpeed = 100

AccelerationStartSpeedMph = 1
AccelerationEndSpeedMph = 60

# Maximum acceleration time in seconds to show message.
AccelerationPrivateMaxTime = 10

# Message to show to player.
# Possible variables to use:
# {AccelerationStartSpeed} - Starting speed
# {AccelerationEndSpeed} - Ending speed
# {AccelerationTime} - Acceleration time achieved from start to end speed
# {UnitSpeed} Unit of the Speed of the player connected

# If you don't want acceleration message put '#' before AccelerationPrivateMessage
#AccelerationPrivateMessage = ^3{AccelerationTime}^7 seconds to {AccelerationEndSpeed} {UnitSpeed} !
coordButtAcc = 60,42,80,20

#############################################################################################
#
# Virtual SpeedoMeter
#
##########################################################################################################################################################################################
EnableVirtualSpeedo = true
#coordVirtualSpeedo = 164,187,30,16
coordVirtualSpeedo = 77,130,30,16
##########################################################################################################################################################################################
#
# Other
#
#############################################################################################

EnableShiftBip = true



Thanks in advance for any help and guidance.

So? anyone else can give me a hint on how to resolve this?
PB.txt not found
Ok, I figured out the problem with PB.txt not being found or created. I had to run LFSRelax as an admin (in Vista) for it to be able to create and access the file. However no data is being recorded. any thoughts?

-VBP1
All my problems solved.
It's me again. I figured it out. All I had to do was RTFM!!

As a demo racer I had to use my nickname (including color) in the .cfg file. I did that plus running LFSRelax as admin and that solved it. I can now see my fuel laps, the shift blip works ... all is good.
Does the LFSRelax works in Vista 64-bis OS ???
Can somebody tell me about it ???

Many thanks!
i have the pit spotter,split times and virtual speedo but none of the others could someone please help me
i have the shift bip wen only in single player but as soon as i join a multiplayer sever the shift bip doesnt work and i dnt get the fuel info and low fuel warning.
Q: instead of TSviewer can you add Ventriloviewer as complement?

leave tsview and add Ventrilo thingy..

only asking..

might not be possible.

and pls no nagging about why ventrilo..use ts..
i use both but most friends with lfs has only ventrilo.
Ventrilo has a built in overlay that you can use. Just position it somewhere you're comfortable with. Personally I have it on the left center and then I just adjusted the position of the split times that Relax shows.

Gai-Luron, any idea when there might be an update for Relax? I know you've been working hard on the Lapper but there are a lot of us that don't use Lapper as much as we use Relax.
I cant get that PB.txt to work. Everything should be o.k. It just says that it either dont exist or it cant open it. It is in same folder as .exe file.

Whats wrong here?

LFSRelax 3 in 1 (TS View, AutoMessages, Pit Spotter) by Gai-Luron
(475 posts, started )
FGED GREDG RDFGDR GSFDG