The online racing simulator
Searching in All forums
(713 results)
kristofferandersen
S3 licensed
As mentioned above, Proton can be used to run LFS and is probably your best bet here.
I've been running LFS for years using proton. I can't say I've had any issues.
kristofferandersen
S3 licensed
You can decrease the steering lock in the setup.

or you can do what i used to do and make the axis ranger longer than it usually is.
The default values for it is -1000 to 1000 iirc

so you can do -1500 to 1500 or -500 to 500 depending on what you're looking for.
kristofferandersen
S3 licensed
Quote from Flame CZE :Several people have reported an issue during their LFS account creation - they...

I've just tested this and the e-mail went through just fine with a brand new account. Perhaps their ISP blocks off *@lfs.net e-mails? Or if they're using some local e-mail provider, they could be blocking? Wild guesses at this point.

kristofferandersen
S3 licensed
Quote from breadfan :I have a similar issue when trying to change my email address. I never receive...

I don't think you're supposed to get an e-mail notification when changing passwords. The "success message" also doesn't tell you to verify/check e-mail, minor security flaw here? Uhmm

kristofferandersen
S3 licensed
I just found out about this. Its a really nice van
kristofferandersen
S3 licensed
Ah yes. You're using the wrong packet if you're trying to request a list of relay hosts.

This code is used when you are targeting a host that you want to get Relay data from. As specified per documentation.

// Select a host
insim.Send(new IR_SEL {
HName = "", // Host to select
Admin = "", // Optional admin pass
Spec = String.Empty // Optional spectator pass
});

You'll want to use HostListRelay to request data from Relay.

#define IRP_ARQ 250 // Send : request if we are host admin (after connecting to a host)
#define IRP_ARP 251 // Receive : replies if you are admin (after connecting to a host)
#define IRP_HLR 252 // Send : To request a hostlist
#define IRP_HOS 253 // Receive : Hostlist info
#define IRP_SEL 254 // Send : To select a host
#define IRP_ERR 255 // Receive : An error number

You need to send this packet:

struct IR_HLR // HostList Request
{
byte Size; // 4
byte Type; // IRP_HLR
byte ReqI;
byte Sp0;
};

https://en.lfsmanual.net/wiki/InSim_Relay
kristofferandersen
S3 licensed
I see LFS is installed on your D drive. Is that an external harddrive? Or a 3.5 inch mechanical harddrive? (yes those old chunky ones). They are good for preserving data, but they're quite bad for gaming as they cause latency with those slow read and write speeds.

I'm not saying this IS the cause, but it sure looks like it.

There have been times where I've run into LOCAL : TIMER BOUNDED myself, and its usually because there isn't a single frame being rendered in LFS. Ideally a total freeze of the computer.

You can verify this by checking the disk I/O latency
kristofferandersen
S3 licensed
Quote from joao-neri14 :Yes, it's the commands, it must be through the server's isin, because I saw some...

Ah, yeah that is likely the /light command.

/light ind [off/left/right/all] - switch indicators/hazard
/light head [off/side/low/high/low_off/low_high/next/prev]
/light [rfog/ffog/extra] [off/on/toggle] - switch fog/extra
/light all [off/on] - all switchable lights off/on at once

kristofferandersen
S3 licensed
Okay, there are apparently other users having this same issue. There's something about v4.6.6 that doesn't work too well with windows. As i am linux user, i didn't get this tested.

The links for previous versions are still hosted, so those can still be used.

I'll return to this issue in a few days.
kristofferandersen
S3 licensed
What do you need help with? Find the mods with open-hood? Do you want to learn how to make mods with open-hood?

When you say 'restore the car faster', do you mean how to reset the car faster? I think some servers can do this with the help of insim, so you'll have to ask on the server you're playing on.
kristofferandersen
S3 licensed
Quote from Litro :No errors

Did you install .NET Core 8 as well? You can easily verify the dotnet version in the terminal (attached image)
dotnet --version

If yes:

Set the insim port in LFS you specified in the insim configuration file (<insim_directory>/Config/Connection.ini)

Set insim port in lfs with /insim insim_port_here. If you're still having issues after all this, and you have verified that you are using the correct .NET version - then you likely have a firewall or additional antivirus blocking the insim from connecting.
kristofferandersen
S3 licensed
Quote from Litro :It closes after some seconds

The output of the terminal doesn't say a whole lot, so refer to my previous post. You need to check if a log file was generated.

Quote from kristofferandersen :Could you check if it has generated an error message in the logs?
<insim_directory>/Logs/error.txt


kristofferandersen
S3 licensed
Quote from Litro :Doesn't run for me

Could you check if it has generated an error message in the logs?
<insim_directory>/Logs/error.txt

kristofferandersen
S3 licensed
Quote from Hapetutt Baker :Well.. VPS is a good idea.Just wanted to check out if rental had an environment...

There is indeed no insim package for linux, though if you are developing an insim from scratch - you can use InSim.NET to write a .NET application, which you can then compile as a linux binary. I've done this myself and it works beautifully. It even wraps all the libraries used inside it, so all you'd need is a single binary/executable.

Though from re-reading the post, this is obviously not what you're looking for - but it was worth a mention, regardless.
kristofferandersen
S3 licensed
LFS doesn't offer to host insims, only the dedicated server itself.

You'd want to rent a cheap VPS somewhere. If your linux knowledge is up to date, you can do this quite cheap by running linux on a VPS and running the insim with "wine insim.exe"
kristofferandersen
S3 licensed
The strobe and siren can be set with /o commands. See /o help.

4.6.6 (05/03/2025)

Features (1 change)
- Added periodic insim connect attempts: InSim will attempt to connect every 10 seconds. This feature will fix the freezes LFS client is experiencing.

4.6.51 (02/03/2025)

Features (2 changes)
- Vehicle strobe.
- Vehicle siren.

Improvements (4 changes)
- Modified strobe pattern.
- Strobe and siren can be set with /o commands (see /o help).
- Added siren variation, the siren switches between SIREN_SLOW and SIREN_FAST every 30 seconds.
- Fixed outdated playername (i.e player renames their driver).

I'm using a self-hosted file upload due to cloudflare issue the forum is facing.

Download

BROKEN VERSION, DO NOT DOWNLOAD.
Last edited by kristofferandersen, .
kristofferandersen
S3 licensed
I used to rent a VPS for years from ovh, but due to an insane rise in payments i gave that up and built my own server at home. Hosting from home is by far the best option.

With a quick search i was able to find a $2/mo VPS at ionos, I've used them before and they're quite reliable.

Though personally its nice not having to worry about ever having to rent a server again.
kristofferandersen
S3 licensed
Quote from Flame CZE :It seems like the LCD brightness got fixed too? Uhmm

Maybe it's because at night, the inside of the tunnel is brighter than outside, whereas it's the other way round during the day?

https://www.lfs.net/attachment/660328

I was going to mention this as well, this last change made it look so much better!
It feels illegal for LFS to look this good Na-na
Last edited by kristofferandersen, . Reason : fixed typo
kristofferandersen
S3 licensed
Quote from YoLolo69 :Exact same issue wit S3, I tried 2 different cards, Visa and Mastercard, same...

This might be a crazy question to ask, but: What error?
kristofferandersen
S3 licensed
Might as well throw in my 2cents..

My brother is 5 years older than me, so he introduced me to LFS in 2010. A core memory i have is just listening to skrillex on the classic westhill track Shrug

Cruise servers in 2013 hit different Na-na

Westhill
kristofferandersen
S3 licensed
Quote from Viperakecske :Im the Mayor of Westhill and South City.

So thats why the property taxes has been spiking all of a sudden Looking
kristofferandersen
S3 licensed
Quote from Pasci :maybe Scawen can include the current FF value in a suitable Insim package (for reading; to change the value, the solution with the command is sufficient). Smile

Actually i disagree with this one. A better solution to this would be to change the /ff [value] command.

- Typing /ff 15 would set the force-feedback to the value of 15.
- Typing /ff would return the force-feedback value in the chat, like Force Feedback : 15

All Pasci then had to do is read the chat and parse the value.


Although, this is also quite possible without even needing to know the value of the force-feedback.
Say you have storage, sqlite in this example - each time you (the local player) enters the track:
- You query the database and check if the ffCars table has a record of the car you just joined with. If it does, you send an IS_MST with the command /ff [value] (replace with value from the record).

If the query didn't find any records, you add the record and apply the value you prefer for this vehicle. Of course this kind of feature needs some kind of ff management, so you can change the ff for said car at any time.

I have not played around with this (except for in my head), but i definitely do think it is possible with both approaches.
kristofferandersen
S3 licensed
yeah i don't there's any efficient way to track what force-feedback each car has.

I would probably do what Flame suggested.
kristofferandersen
S3 licensed
4.6.5 (07/02/2025)

Features (8 changes)
Messages Panel:
- Added checkbox to only show local data.
- Added clear button to remove the text from the search input.
- Paginator now shows the total amount of records.
- Records that contains local username are now highlighted.
Settings Panel:
- Greeting input now fills in the old value when clicked.
- Fuel warning input now fills in the old value when clicked.
- Pubstat input now fills in the old value when clicked.
- A friendly GUI shows how to get the api_client and api_id values.

Improvements (5 changes)
Messages Panel:
- Optimized cached lists.
- Optimized search, you can now search for users and words in messages.
- Added IS_TOC packet: No longer out of date nicknames.
- The LFS Mods API id and secret is now required. Can be set in the Connection.ini configuration file.
- Cached messagelists in the application are now limited to 10,000 records.

I'm using a self-hosted file upload due to cloudflare issue the forum is facing.

Download
Last edited by kristofferandersen, .
kristofferandersen
S3 licensed
This version requires .NET 8!

v4.6.4 (04/02/2025)

Features (5 additions)
- Best PB widget.
- Race Positions widget.
- Theoretical PB widget.
- LFSW Integration (pubstat key is required).
- Split time comparison.

Improvements (9 changes)
- Optimized messages panel. It should be way less laggy now.
- Refactored the entire button customization codebase. Buttons are now stored in lists with all of its properties.
- Migrated project to .NET 8.
- Race related widgets no longer reset themself after a valid lap.
- Laptimes Panel now has inclusive filtering. Meaning you can filter each one individually.
- Configuration files were not automatically generated when running InSim for the first time.
- Fixed side menu not showing when spectating an AI.
- CarContact no longer sends messages about car contact with AI.
- UI Template names now allow for whitespaces.

I was not able to upload the windows version to the forum, so here's a self-hosted site:
https://files.bitbolt.cc/s/iU4OeDgA
Last edited by kristofferandersen, .
FGED GREDG RDFGDR GSFDG