The online racing simulator
LFSRelax 3 in 1 (TS View, AutoMessages, Pit Spotter) by Gai-Luron
(475 posts, started )
@Isegura: Please post your relax.cfg.

@crady: The TS "thingy" works fine under XP. Didi you copy the "TSRemote.dll" ?
Thanks Joker:

my LFSRelax.cfg
##################################################################
#
# 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 = lsegura

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=true
coordDistKm = 140,193,30,7

# Fuel Remaining

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

# 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
##########################################################################################################################################################################################
#
# Other
#
#############################################################################################

EnableShiftBip = true



Quote from Joker 1971 :choose a car, which has a working shift bip.

not all cars get it since z25.

Yep, i race in FXR which defo has a shift light and used to have a shiftbip...
Not really sure what to do next, ive tried all i can think of.
@isegura: sorry, couldn´t find any obvious mistakes. No idea anymore....
Quote from Joker 1971 :@isegura: sorry, couldn´t find any obvious mistakes. No idea anymore....

Thanks for your eforts Joker!! appreciate it.

Best regards,
Did you edit your config with the normal Windows editor? If so, try to edit the untouched, original one with PSPad.
Hi there,

I have a question - is there way to track only my car for Spotter? Cause every time I go spectate LFSRelax become to track every driver I watch - it's a bit annoying...

Thank you
Should be possible, but I don´t know how to code it.
@Isegura: I now can confirm, that the fuel indicator doesn´t work anymore. I didn´t realize before last week and tried different (clean install) versions form LXS-Relax. None did it. Would be fine, if someone could fix this in the latest version.
Quote from Joker 1971 :@Isegura: I now can confirm, that the fuel indicator doesn´t work anymore. I didn´t realize before last week and tried different (clean install) versions form LXS-Relax. None did it. Would be fine, if someone could fix this in the latest version.

Appreciate your efforts Joker. Thanks for the follow up.

Luis
Quote from Gai-Luron :Hello,

LFSRelax is not for windows 7! Maybe recompiling it!

Gai-Luron

Will there a win7 x64 Version in the future?
Quote from Isehwurscht :Will there a win7 x64 Version in the future?

Look here.

It should work for WIn 7 x64, because it is made for. I tried only with 32bit, works fine here.
Quote from Joker 1971 :Look here.

It should work for WIn 7 x64, because it is made for. I tried only with 32bit, works fine here.

Thanks!!
I will Test it this evening.
Quote from Isehwurscht :Thanks!!
I will Test it this evening.

Not working.

An attempt was made to load a program with an incorrect format.
(Exception from HRESULT: 0x8007000B)
Gai-Luron, can you add shifting indicator light in LFSRelax?
anyone else having problems with PitSpotter going slient after last LFS update?

mine stopped talking at all however the LFSRelax itself is running, it "just" got silent

i did change the line:
ViewCollision = true
and the screenshot shows what it dispalys

the question is if this is the correct way it should display these distances or not? and what could be a couse of PitSpotter going silent then?
Attached images
lfs_00000033.jpg
Quote from pandera :anyone else having problems with PitSpotter going slient after last LFS update?

I used this program for first time yesterday, and everything ok till I played about with the config file!

I found that if I used the LFSRelax cfg Generator to change settings, then things went wrong, but if I manually changed things, it was ok.

Easiest way might be to reload everything, check it's working, then change config file again.

Also. Make sure you haven't accidentally deleted a # symbol at the beginning of a line, as this will play havoc with things.

And some things (e.g. Fuel warning) depend on OutGauge working properly, and OutGauge sometimes hangs or stops.
well

just checked again with all LFSRelax files new, just changing the admin pass

and nothing changed

everything, except PitSpotter talking, works
Check the volume settings for your computer. It's playing a .wav file so maybe one of your volume settings that affects this got turned down or muted. I've never had any issues with the pit spotter so this is all I can think of.
playing the .wav files, as they are directly from the folder works fine

I was wondering about some LFS sound settings that could have messed something up but the only thing I touched was adding a channel with music for replays to test it.. and I think the PitSpotter was dead before that change
coordinates?
Can someone help me understand how the coordinates work in the cfg file? I tried changing the 1st number out of the 4 for something and it shifted it horizontally, so I guess that's the X coordinate. It sure would be nice having some more detail if anyone can help. What are the coordinates in, pixels?

I would like to shift the split times towards the bottum of the screen, and if possible make the text smaller, it's too big and bright and I find it distracting.

On another note, the stats, distance and fuel remaining don't appear to work in single player mode, but work fine when I connect to a server or host my own server, is this normal? Is there a way to get it to work in single player mode?


Many thanks,


Alex
Quote from alexluther74 :Can someone help me understand how the coordinates work in the cfg file? I tried changing the 1st number out of the 4 for something and it shifted it horizontally, so I guess that's the X coordinate. It sure would be nice having some more detail if anyone can help. What are the coordinates in, pixels?

I would like to shift the split times towards the bottum of the screen, and if possible make the text smaller, it's too big and bright and I find it distracting.

On another note, the stats, distance and fuel remaining don't appear to work in single player mode, but work fine when I connect to a server or host my own server, is this normal? Is there a way to get it to work in single player mode?

Many thanks,

Alex

LFS (and Gui) use a 200 x 200 grid for placing buttons and labels. The grid runs from left to right, and from top to bottom.

The 4 numbers (like coordButtDiffBefore = 88,185,12,5) probably mean;

88 (out of 200) from left of screen, going right
185 (out of 200) from top of screen, going downwards
12 will be maximum text size
5 is spacing round text

So if you wanted to move button left, you might have (50,185,12,5); further up, would be (88,150,12,5); smaller text would be (88,185,9,5); and smaller spacing round text would be ((88,185,12,3).

Although you can place a button at 0,0, you can't place it at 200,200 as both these co-ordinates are off the screen.

Try changing first 2 numbers first, and see if things move left/right and top/bottom, then changing next 2 numbers (text size/text spacing) to see what happens.
Quote from Isehwurscht :Not working.

An attempt was made to load a program with an incorrect format.
(Exception from HRESULT: 0x8007000B)

I just tested that exact same build (7/64bit) and it surprisingly works fine for me..

BUT: I had the same error with the original build.

So this leaves 2 possible options available for you to check:
a) are you sure you've started the correct build and not accidently mistaken it with the original one?
b) is the .NET 2.0 framework installed on your pc?

Frankly I was disappointed as the original build didn't work for me under Win7/x64, but I was as surprised and happy as a monkey finding a banana that the 64bit-build worked out of the box
Well it says admin password failed so I think thats the problem.


Go to multiplayer, start your own host and check what password you are using on your InSim port.
Quote from DarkWolker :Hello, I have tried many ways to connect it, but anyway I can't do it. I have both, new version (installed) and old version (with installation). I have tried many ways to connect. Add admin password, edit the file, even tryed to change the IP to mine I (changed it back later), I writed in the say menu /Insim 29999 too, but anyway can't run it. Maybe someone could help me or send his edited LFSrelax.cfg file. It could be great program and most people I think is satisfied with it only if I could run it.
FireWall is Disabled, and Comodo Defense too.

Hold on, forum say you demo racer but you screenshot say you S2 licensed under different name?? i smell something fishy..

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