The online racing simulator
Searching in All forums
(14 results)
juxas
S3 licensed
Quote from bunder9999 :got a wiring diagram or a video of the device in use?

Here is the schematic I found on google which should work: http://www.elec.canterbury.ac. ... parport/rsrc/circuit1.GIF
For the video see attachments of this post, my friend made it with his LEDs, since I don't use it myself.

Quote from Latanturle :Hello,

In the same way, you can make a GI Revmeter, it works very fine.

http://www.lfsforum.net/showthread.php?t=13973

I thought to make last LED lit when the RPM reaches REV limit, but just left it to be simple rpm meter. If you want I can add such(or similar) feature.
LFS Car RPM Display on LEDs over LPT
juxas
S3 licensed
In case anybody need it, here it is:

- Description -
This program controls 8 LEDs over LPT to display Car RPM in LFS.

- Requirements -
This program is native Win32 so it does not need additional software to be installed. The only requirement is inpout32(found in this website) which is included in the archive provided.

- Installation -
You need to edit cfg.txt in your LFS folder and replace these lines:

OutGauge Mode 0
OutGauge Delay 0
OutGauge IP 0.0.0.0
OutGauge Port 0
OutGauge ID 0

with these:

OutGauge Mode 1
OutGauge Delay 5
OutGauge IP 127.0.0.1
OutGauge Port 16969
OutGauge ID 0

- Command line options -
-invertorder : Invert order of LEDs
-invertstates : invert LEDs' On/Off states
-debug : Output states of LEDs to console

- Hardware -
You just need to connect 8 LEDs to LPT port through resistors. The schematic is very simple.
Here's the schematic I found on google: http://www.elec.canterbury.ac. ... parport/rsrc/circuit1.GIF
Resistance of resistors can be changed according to your LED specifications.

- Other notes -
If you find LEDs changing too slowly, you can decrease value of OutGauge Delay in cfg.txt.

Any comments, feedback or suggestions are welcome
Last edited by juxas, .
juxas
S3 licensed
I mean number of nodes in track. I am splitting track into more splits(like 10) by using path nodes. So knowing node count and split count I can calculate one split size
juxas
S3 licensed
I needed last node in track's path. MCI contains car's current node.
Node count
juxas
S3 licensed
How to get last node in a track? Without driving through it and watching when node id resets.

Okay... That's IS_RST. Sorry, I haven't checked it
Last edited by juxas, .
juxas
S3 licensed
Thank you That worked.
juxas
S3 licensed
Then, I guess, something has changed
juxas
S3 licensed
How? It refuses my InSim program because of incorrect admin password. It works when LFS client, LFS server and my program all have the same password, but without admin password in LFS server being set like others it doesn't work.
InSim program for LFS Client
juxas
S3 licensed
Is it possible to create a client-side InSim program? For example I connect to remote LFS server. Then I launch my InSim program which connects to my LFS(client)'s InSim, gets my car info, creates buttons and so on.
Last edited by juxas, .
juxas
S3 licensed
Yes I meant driver swap. I don't know how it works, that's why I ask. So you say I can just ignore it? And my program is InSim program if that helps
How to turn off TakeOver?
juxas
S3 licensed
Is there any way to disable TakeOver function in LFS server? It would just be faster to not implement it in my program
juxas
S3 licensed
Thanks for your replies. I think I will use that method with node number.
juxas
S3 licensed
Em, it was an InSim question.
How to get the direction of a car in track(forward/reverse)?
juxas
S3 licensed
I need to know if the car is driving wrong way or not(while /cruise=yes).
Thanks for answers.
FGED GREDG RDFGDR GSFDG