The online racing simulator
Random Track Car combo generator
2
(34 posts, started )
If you publish or PM the source to me, I might be able to get rid of that bug.
And I'd implement a check whether the "cfg.txt" is present or not.

Have a basic function
Function FileExist(FileName$) As Boolean
FileExist = True
On Error GoTo FESkip
Open FileName$ For Input As #235
Close #235
FileExist = False
FESkip:
FileExist = Not (FileExist)
On Error GoTo 0
End Function

There ya go, updated. I never thought about a check on the cfg.txt file because it is supposed to be put into the folder where your live for speed cfg.txt file is, if it isnt, it wont load the car or track. Enjoy!
Very nice update thank you

Btw, I noticed an unexpected behaviour. The last track info in the cfg file is changed every time the Go! button is pressed.

Imo it would be better the cfg file to get updated only when you click on the Go Race! button instead.

The way it is now does too much read/writes to the hard drive with no reason, because only if you launch LFS you'll have to load the new track.
well yes, but i have made it so you do not have to launch lfs through the program for it to work. I could change it, but it wouldnt make a difference to the functionality of the program.
Updated, now loades selected setup.
Updated! Enjoy!
there was a bug... didnt work. lol, but im pretty sure it works now. Thanks
Changed my mind now, got fed up with no reply.........
You serious?
2

Random Track Car combo generator
(34 posts, started )
FGED GREDG RDFGDR GSFDG