The online racing simulator
Searching in All forums
(354 results)
TechEdison
S3 licensed
Sure, why not. I'm in Smile

Just started playing LFS a few days ago and my gosh it's amazing. Already bought a wheel, created a web based instrument cluster with the OutGauge API, and I'm soon to build a full simulator setup from scratch.

Best of luck to everyone!
TechEdison
S3 licensed
I beat everyone on oldest wheel I think

the original Logitech Driving Force

TechEdison
S3 licensed
Quote from gu3st :Heh, that's interesting.

Reminds me of something that I wrote a long time ago: https://github.com/gu3st/SLI-JS/tree/master/src

It works with an SLI-M, but I created a web interface for it (becuase I could) as a mirror to what the SLI-M would display.

No clue if this would still work in modern LFS, but it's fascinating and reminds me of something I wrote before.

It's always a good learning experience to write things using something you find fun and enjoyable.

Glad you like it Smile

Only took about 30 minutes to finish the basics, styling isn't my thing so that took a bit longer. I indeed have been using it with my wheel setup to provide a really neat experience racing.
OutGauge PHP/Web Instrument Cluster
TechEdison
S3 licensed
Hello everyone, this is my first post on the forums!

I figured I should share what I've been working on lately with LFS.

After messing around with OutGauge in Python (just using the default examples), I decided to write an AJAX and PHP based instrument cluster optimized for using your phone as an instrument cluster!

There's not much to explain, screenshots give all the info you need, but I will list the basic features.

For now I've only implemented what I thought was most important:

- Top left shows gear (and R and N for Reverse and Neutral respectively)
- Top right shows turbo boost
- Mid left shows speed
- Mid center shows RPM, and has a background color that fills the area as the RPM goes higher (bad at explaining, screenshots tell the story)
- Mid right shows fuel left as a percent
- Bottom center shows a shift light that will blink when you get to ~1000RPM below redline

Edit the config to change things like speed to "MPH" or "KMH". Only the demo cars are added, I need someone with an s2 license to send me the maxrpm and idle rpm values.

How to use:

1: The program requires a computer with both Python 2.6+ and a WAMP (windows)/LAMP (linux) install for the web front-end.

2: Put your files in your web directory, making sure they are all in the same spot.

2a: Edit config.php to add your local settings (KMH/MPH and BAR/PSI)

3: Default port is 30000 so make sure your computer or server host supports opening that port

4: In a terminal (or windows CMD) type "cd path/to/your/www" replacing that with the path to your web directory (with raw.py).

5: Run "python raw.py" and it should be working.

6: Edit your LFS config to send OutGauge data to your host IP address (if you are running it on the same machine, 127.0.0.1) and port 30000

7: You need your private IP, look it up on how to do it in windows, or on linux find connection information. On your phone go to your ip (for example http://192.168.0.100) and you should have your working gauges!

Credits:

- Font: Orbitron by Matt McInerney
- PHP/HTML: Me
- Python: LFS Devs?

Download: http://www.techedison.tk/random/lfs/

Last edited by TechEdison, .
FGED GREDG RDFGDR GSFDG