The online racing simulator
Quote from Abo Nawaf :I set the password, port etc. set the port in dedicated server,
When I press on the LfsRelax.exe it comes up, says
error while loading./.pb.txt or the file does not exist yet!
conencting.connecting.connect

It keeps trying to connect but no success ever :S

Make sure that the port is forwarded correctly/unblocked by your NAT/Firewall
#352 - SFL
Could you add an option in pitspotter to not say inside/outside, only right/left?

It looks like it would be really easy to fix. It could probably be done like this (bold code is added):

Main.cs Line 1371-1451
switch (CVCollision)
{
case "C":
switch (lastSound)
{
case "L":
snd.SoundLocation = "./sounds/clearleft.wav";
break;
case "R":
snd.SoundLocation = "./sounds/clearright.wav";
break;
case "I":
snd.SoundLocation = "./sounds/clearin.wav";
break;
case "O":
snd.SoundLocation = "./sounds/clearout.wav";
break;
case "M":
snd.SoundLocation = "./sounds/clear.wav";
break;
default:
snd.SoundLocation = "./sounds/clear.wav";
break;
}
snd.Stop();
snd.Play();
lastSound = "C";
break;

case "L":
nbRand = random.Next(0, 2);
sRand = "";
if (nbRand == 1)
sRand = "2";
if (CVTurn == "N"[B] || OutsideInside == false[/B])
{
snd.SoundLocation = "./sounds/left" + sRand + ".wav";
lastSound = "L";
}
if (CVTurn == "L")
{
snd.SoundLocation = "./sounds/inside" + sRand + ".wav";
lastSound = "I";
}
if (CVTurn == "R")
{
snd.SoundLocation = "./sounds/outside" + sRand + ".wav";
lastSound = "O";
}
snd.Stop();
snd.Play();
break;
case "R":
nbRand = random.Next(0, 2);
sRand = "";
if (nbRand == 1)
sRand = "2";
if (CVTurn == "N"[B] || OutsideInside == false[/B])
{
snd.SoundLocation = "./sounds/right" + sRand + ".wav";
lastSound = "R";
}
if (CVTurn == "L")
{
snd.SoundLocation = "./sounds/outside" + sRand + ".wav";
lastSound = "O";
}
if (CVTurn == "R")
{
snd.SoundLocation = "./sounds/inside" + sRand + ".wav";
lastSound = "I";
}
snd.Stop();
snd.Play();
break;
case "M":
snd.SoundLocation = "./sounds/middle.wav";
lastSound = "M";
snd.Stop();
snd.Play();
break;

(The syntax might not be correct)

Thanks for keeping pitspotter alive!
Quote from SFL :Could you add an option in pitspotter to not say inside/outside, only right/left?


Easier yet ... just change the audio files so that the inside and outside audio are the same as the left/right. (copy and rename the files.)
#354 - SFL
Quote from vicbel :Easier yet ... just change the audio files so that the inside and outside audio are the same as the left/right. (copy and rename the files.)

That doesn't work.. Think about it again! (or read the code)
switch (CVCollision)
{
case "C":
switch (lastSound)
{
case "L":
snd.SoundLocation = "./sounds/clearleft.wav";
break;
case "R":
snd.SoundLocation = "./sounds/clearright.wav";
break;
case "I":
snd.SoundLocation = "./sounds/clearin.wav";
break;
case "O":
snd.SoundLocation = "./sounds/clearout.wav";
break;
case "M":
snd.SoundLocation = "./sounds/clear.wav";
break;
default:
snd.SoundLocation = "./sounds/clear.wav";
break;
}
snd.Stop();
snd.Play();
lastSound = "C";
break;

case "L":
nbRand = random.Next(0, 2);
sRand = "";
if (nbRand == 1)
sRand = "2";
if (CVTurn == "N"[B] || OutsideInside == false[/B])
{
snd.SoundLocation = "./sounds/left" + sRand + ".wav";
lastSound = "L";
}
if (CVTurn == "L" [U][B]&& [/B][B]OutsideInside == true[/B][/U])
{
snd.SoundLocation = "./sounds/inside" + sRand + ".wav";
lastSound = "I";
}
if (CVTurn == "R" [U][B]&& [/B][B]OutsideInside == true[/B][/U])
{
snd.SoundLocation = "./sounds/outside" + sRand + ".wav";
lastSound = "O";
}
snd.Stop();
snd.Play();
break;
case "R":
nbRand = random.Next(0, 2);
sRand = "";
if (nbRand == 1)
sRand = "2";
if (CVTurn == "N"[B] || OutsideInside == false[/B])
{
snd.SoundLocation = "./sounds/right" + sRand + ".wav";
lastSound = "R";
}
if (CVTurn == "L" [U][B]&& [/B][B]OutsideInside == true[/B][/U])
{
snd.SoundLocation = "./sounds/outside" + sRand + ".wav";
lastSound = "O";
}
if (CVTurn == "R" [U][B]&& [/B][B]OutsideInside == true[/B][/U])
{
snd.SoundLocation = "./sounds/inside" + sRand + ".wav";
lastSound = "I";
}
snd.Stop();
snd.Play();
break;
case "M":
snd.SoundLocation = "./sounds/middle.wav";
lastSound = "M";
snd.Stop();
snd.Play();
break;

You are right, that won't work, but I realized the code you had wouldn't either. I think you'd need to add the underlined portion.
#356 - SFL
Quote from vicbel :You are right, that won't work, but I realized the code you had wouldn't either. I think you'd need to add the underlined portion.

Yeah, you're right. I would probably even change it to a switchcase if i would do it. But im not really a programmer..
Getting ready to change my OS over to Vista 64. Has anyone gotten this to work on that yet and if so how? Was it as simple as compiling in Vista as suggested earlier?
Hey folks,

got the problem, that relax always closes after about 1 lap , tested today with AI Drivers. Here the Msg (OS is XP)
Attached images
rlax.JPG
SiL3nT,

Did you edit the config? Does it work if you use the original config?

To edit the config I suggest to use PSPad! I have had the same problem after editing the config with Windows editor...
this thing is awsome

great job on the spotter

im gonna be using this every time i play now
Digital Speedo
Nice, work on Vista x64.
How to edit LFSRelax, i want to do if some one tipe bad word to be kicked?
Hi there,

everything works fine except shift bip!

Any suggestions why shift beep isn't working? TS, Pit Spotter, etc. all works realy nice, BUT I want that beep on shifting
I might give it a try! ^^

It looks interesting!!!!!
Quote from slinger.lfs :Hi there,

everything works fine except shift bip!

Any suggestions why shift beep isn't working? TS, Pit Spotter, etc. all works realy nice, BUT I want that beep on shifting

I am not sure but I think it only works on single player
Still not working in Vista? I have a 32bit vista and it's giving all sorts of errors then closing.
Quote from slinger.lfs :Hi there,

everything works fine except shift bip!

Any suggestions why shift beep isn't working? TS, Pit Spotter, etc. all works realy nice, BUT I want that beep on shifting

If it is EnableShiftBip = true in LFSRelax.cfg file so will it work
whether it is to do, to record our pb txt file?

every time you turn on, we have new times


preferably, to recognize the cars, because driving xrt I make sure a better time than xfg and then I have to reset lfsrelax







edit

ok, I read about and found unless the answer to my problem, but not quite.
surely it is a file, but I can not force him to work. Does not save pb
lfsrelax use the same for you, not as a supplement to the server.

can i just have the pitspotter? and not the other stuff???
Quote from Streets Ghost :...every time you turn on, we have new times

MyUsername = Streets Ghost should do the trick...
any1?
Take a look at config file to disable all options

Gai-Luron
Quote from VoiD :MyUsername = Streets Ghost should do the trick...

thx mate, works
Quote from Gai-Luron :Take a look at config file to disable all options

Gai-Luron

i looked in the CFG file do i just put false next to the ones i want to disable?
Yep, its that simple...

...Did not work for virtual speedo on my side (RTFM and tried everything)

FGED GREDG RDFGDR GSFDG