The online racing simulator
Searching in All forums
(28 results)
1
malinkie
S2 licensed
Interesting... i went back into my setup.cfg and turned on logging to see if i got any type of decent reply from the server when i started it. The first time i tried to restart it i got the the message that initialization of the socket failed. Oh well. I tried for a second time and then... "ITS ALIVE!"

What is the easiest way to script stopping the server (and the screen for that matter)? I'm not logging the PID number...

Cheers
mal
malinkie
S2 licensed
'screen -dmS lfs wineconsole --backend=curses LFS.exe /cfg=setup.cfg'

I've also tried the nohup version and other versions of the command throughout this thread... i re-emerged wine last night and now, if i run just 'wineconsole --backend=curses LFS.exe' It dictates that it is trying to open X and that there is no $DISPLAY set.

The setup.cfg has 'invisible' set instead of 'nogfx'. Everything else is default atm while i try and run the server for the network.
malinkie
S2 licensed
Hey Angel,

You've helped so many so far! Thanks a heap Now i wonder i you can help me....


I am trying to host a dedicated server on gentoo, 2.6 kernel, wine 0.9.29 (well thats what the recent portage shot says...)

i am running everything default and when i try and run LFS.exe it just dumps and exits. I run netstat to see if the port is open but there is nothing but LFS.exe and wineconsole is in the process list....

I'm just trying to run on the local network so there is no port forwarding problems yet....

This is getting on my nerves

Cheers
Mal
Last edited by malinkie, .
RW sponsors on team skins
malinkie
S2 licensed
What is the offical stand on this? Are actual company logos ( trademarks ) illegal and is it frowned upon for a team skin, during races to have these sponsors on their skins if they arnt "actually" sponsored by that company?

I'm sorry if this has been answered elsewhere...

Cheers
mal
malinkie
S2 licensed
Welcome =)
malinkie
S2 licensed
I've been around for a while. I've had my fair sharee of 1st corner woes
malinkie
S2 licensed
Just glad he's alive. Can't believe the jumps in safety since the Senna incident. I'm in the firm belief that the Montreal track should be removed from the season unless it starts getting used more often during the year.
malinkie
S2 licensed
Quote :"Aye when I were a kid there were no LFS - we used to have to make turn 1 in wooden carts - and there wir nae restarts either"

"Wood'n cart! You wer' lucky! We got dragged on plunk o' wid while holdin' on tae a horses tail"

Seriously though... Experience is all it takes.... and a pack of 30 hungry wolves according to Bram
malinkie
S2 licensed
I've been dying for a track editor for LFS

Just my 2... <insert noun here/>
malinkie
S2 licensed
I'm still waiting for the

"You young 'ungs have got it easy these days! We used to have to walk 15 miles to school in blizzards and there was always a high likelihood of being eaten by a great white shark"

reply.... ermm
malinkie
S2 licensed
Here here Jay!

The funny thing is that 6 days before my wedding, the 17 year old Lexus driver said exactly the same thing to me ( "Learn To Drive!" ) after he rear ended me on the freeway
malinkie
S2 licensed
Hey Loveless,

Just experience overcomes the feelings you are having before races and I'm sure you have noticed that once the race has begun and you are concentrating on the track, those butterflies just disappear. I'm still trying to get rid of that feeling when I'm in front during a race. I start worrying about the car behind me too much and lose the bottle ( and the front of the car to a wall usually )

I just bought a G25 from dell.com for $180 and i highly recommend it.
malinkie
S2 licensed
How do you get the short version??
malinkie
S2 licensed
Thanks I'll try that. Have the strange feeling that this is going to take a lot of practice to get right
S2x Starting Line Help
malinkie
S2 licensed
Hey All,

I have not tried the new patch yet but what is it like having false starts and where do i start by controlling my starts?

I used to race a Black MOMO but have a new G25 sitting in my office for when i get back from my holidays
malinkie
S2 licensed
I have the feeling that a game like LFS would not fair well in shops. By the time that S3 Final is completed, PC games will not be sold, for the most part, in stores anyway (just my opinion).

On the other hand, i would love to have a box set once the final release came out

GT is a great franchise. But it just doesn't have the feeling that LFS has <flame inducing moment> or Forza, or PGR </flame inducing moment>
malinkie
S2 licensed
Finally! I think a post like this has been a long time coming.
malinkie
S2 licensed
yeah, usually too hot rears...
malinkie
S2 licensed
thanks for the reply col

and also thanks for the assistence. Am i right in thinking that the value. I think i will find an easy time finding a value for 'k' since i can open the .set file with LFS and with my parser at the same time.

If:
frontTravel = k - suspensionTravel
Then for each car:
k = frontTravel + suspensionTravel

I'll have this setup so that the user wont need to burden him/herself with k or front/rearTravel values.
.set files
malinkie
S2 licensed
Sorry to dig this up form RSC forums but...


S2 .SET file specification.
---------------------------


TYPES :
=======

char : 1-byte ascii character
byte : 1-byte integer
word : 2-byte integer
float: 4-byte float


offsettypenumberdescription
--------------------------

000 char 6 SRSETT
006 byte 1 0
007 byte 1 Version byte (0.5P is 250)
008 byte 1 Unknown
009 byte 3 0
012 byte 1 Unknown (1 for some cars 0 for others)
013 byte 3 0
016 float 1 brakeStrength (Nm)
020 byte 1 rearWingAngle (degrees)
021 byte 1 frontWingAngle (degrees)
022 byte 2 0
024 byte 1 max steer lock (degrees)
025 byte 1 parallel steer(divide by 100 for decimal value)
026 byte 1 brakeBalance(divide by 100 for decimal value)
027 byte 1 0
028 byte 1 CentreDiffType (0=open, 1=viscous)
029 byte 1 CentreDiffViscous (Nms/rad)
030 byte 1 0
031 byte 1 CentreDiffTorqueSplit (divide by 100 for decimal value)
032 byte 2 0
034 word 1 gearFinal (0 to 65535 = 0.5 to 7.5)
036 word 1 gear1 (0 to 65535 = 0.5 to 7.5)
038 word 1 gear2 (0 to 65535 = 0.5 to 7.5)
040 word 1 gear3 (0 to 65535 = 0.5 to 7.5)
042 word 1 gear4 (0 to 65535 = 0.5 to 7.5)
044 word 1 gear5 (0 to 65535 = 0.5 to 7.5)
046 word 1 gear6 (0 to 65535 = 0.5 to 7.5)
048 byte 1 passengerByte (0x11001111 1=MaleF ; 2:FemF ; 4:MaleRL ; 8:FemRL ; 64:MaleRR ; 128: FemRR)
049 byte 1 carConfig (roof on LX4/6 and UF)
050 byte 2 0
052 float 1 rearTravel (strange value, relative to car model origin or something)
056 float 1 rearSpring (N/mm)
060 float 1 rearComp (N/mm)
064 float 1 rearRebound (N/mm)
068 float 1 rearAR (N/mm)
072 byte 4 0
076 byte 1 rearToe(0 to 18 = -0.9 to 0.9 deg)
077 byte 1 0
078 byte 1 rearTyreType (0:R1 , 1:R2 , 2:R3 , 3:R4, 4:Road Super , 5:Road Normal, 6:Hybrid, 7:Knobbly)
079 byte 1 0
080 byte 1 LR camberAdjust (0 to 90 = -4.5 to 4.5 deg)
081 byte 1 RR camberAdjust (0 to 90 = -4.5 to 4.5 deg)
082 byte 2 0
084 byte 1 rearDiffType (0=open, 1=locked, 2=viscous, 3=clutchpack)
085 byte 1 rearViscousLock (in Nms/Rad)
086 byte 1 rearPowerLock (in %)
087 byte 1 rearCoastLock (in %)
088 word 1 LR TyrePressure (kPa)
090 word 1 RR TyrePressure (kPa)
092 float 1 frontTravel (strange value, relative to car model origin or something)
096 float 1 frontSpring (N/mm)
100 float 1 frontComp (N/mm)
104 float 1 frontRebound (N/mm)
108 float 1 frontAR (N/mm)
112 byte 4 0
116 byte 1 frontToe(0 to 18 = -0.9 to 0.9 deg)
117 byte 1 Caster (10=1.0, 60=6.0)
118 byte 1 frontTyreType
119 byte 1 0
120 byte 1 LF camberAdjust (0 to 90 = -4.5 to 4.5 deg)
121 byte 1 RF camberAdjust (0 to 90 = -4.5 to 4.5 deg)
122 byte 2 0
124 byte 1 frontDiffType (0=open, 1=locked, 2=viscous, 3=clutchpack)
125 byte 1 frontViscousLock (in Nms/Rad)
126 byte 1 frontPowerLock (in %)
127 byte 1 frontCoastLock (in %)
128 word 1 LF TyrePressure (kPa)
130 word 1 RF TyrePressure (kPa)

In the middle of writing a class to load, update and save .set files and i was wondering how to properly convert the frontTravel and rearTravel to actual values ingame (rideHeight)

Any other ideas would be greatly appreciated. I am writing the class in C#. anybody who is interested in the source can plead with me ina PM

Oh and i would like to thank colcob for this stuff.
Reading f1perfview data...
malinkie
S2 licensed
Anyone have a real clue or a tutorial link ling about that would allow me to actually understand the output produced by f1perfview?

Any help would be much appreciated. I have never had any trouble with making my own setups apart from looking at the suspension....
malinkie
S2 licensed
I was thinking of adding this option to PB-Fetch but i dont know if its feasable to do with the information from LFSW. host can tell you which track you are racing on at the time and i could add a few system calls in the software to copy over only the relavent set files for that track...

You want it then i'll do it otherwise im just gonna work on whats already there.

The only minor drawback would be each time you change server / track then you would have to press the update button in the software meaning a lovely and annoying Alt+TAB operation. other than that i dont think i would mind...

Would it be feasable tho and does LFSW update that quickly?

::EDIT::

Changed my mind about adding this to PB-Fetch. It seems out of context for that piece of software. Maybe think of doing a seperate piece for this though

Was thinking about it though and you wouldn't really need a seperate folder for each car... Just for each track. The game itself figures out what car ur using so you wouldnt need to seperate them

Just my 2 cents
Last edited by malinkie, .
malinkie
S2 licensed
well the_angry_angel and all others....

Threading completed and it shouldnt freak out when you press fetch when you aren't online anymore.

Also to save on the amount of times the program coughs up a lung from accessing lfs too quickly, the fetch buttons on each tab dissappear so you cant do 2 fetch operations at the same time.

So now i am calling this a +0.03 upgrade now at 0.40

Thanks for the tips angry_angel.
Last edited by malinkie, .
malinkie
S2 licensed
I know there is a lack of threading but did not see it as much of a problem since there is not much need for changing anything in the ui while its connecting.

I should really change the code so it displays as soon it grabs the data. That would save alot of trouble. I can understand.

I take that as a challenge

Thanks for the ideas. Maybe getting info from lfsw should be in a bg thread so you can mimimize the GUI and so fourth.

A few more additions to come to this software tho. I'll update as it comes along

Renku: yes.
Last edited by malinkie, .
malinkie
S2 licensed
Sorry to drag this back from the dead kinda but ive completed a new version which is .exe rather than java and has sokme added features also....

:INTRODUCTION:

This application was made due to my aggrivation of going online and checking my personal best times. There was no easy way of looking at them against my friends times.

This program makes it so much easier. Allowing you to look at personal best times according to track and car. All the PB's are sorted in decending order of speed.

In addition, I have also added a 'Server' Tab so that you can keep track of your favourite servers without going onto LFSWorld or 'Live For Speed' itself so you can choose which server you would prefer to go to before starting the program proper.

In the future, a third tab will be added to find your friends online.

:USEAGE:

At the moment racer and server names are held in '.pbl' files in the 'txtfiles' directory. These files open up in notepad. From there you can add server names and friends names to the lists.

As from version 0.37-

You can create new .pbl files in notepad and open them from within the program. Different groups of racing friends... Different .pbl fil. You can also store them in other places other than the 'txtfiles' directory

:SERVER_NAMES.PBL:

servername
anotherservername
andanother

RIVER_NAMES.PBL:

lfsname;ingamename
lfsname;ingamename

:FINAL NOTE:

Enjoy. Have fun.
Last edited by malinkie, . Reason : update to attachment
1
FGED GREDG RDFGDR GSFDG