The online racing simulator
Searching in All forums
(307 results)
DarkKostas
S3 licensed
Quote from gu3st :Honestly I don't think it makes much sense for Scawen to implement a third party service like that, given the privacy concerns. Plus it's just work to undo if Discord dies at some point (whcih given LFS' longevity so far, it seems more likely that LFS will last longer than Discord).

I like Discord, but I think third party clients is the right thing for that kind of integration.

It's less than 30 minutes of work to implement it. More time to learn how to use the api than actually the whole process. It's always better to have native support than external programs that do extra stuff. Btw thanks for mentioning my little program. I almost forgot about it! It's nice to have it cause i know a lot of people are looking at what you're playing, so i made it to help others see me and maybe motivate them to join as well and that's exactly the reason i'd love to see it native.
DarkKostas
S3 licensed
Must be dreaming or seeing a very well done photoshop. Can't believe finally LFS goes into that direction!
DarkKostas
S3 licensed
This certainly looks like a lot stuff has been changed. Love it how natural it looks now and the new lighting, oh gosh amazing.
DarkKostas
S3 licensed
players[pll.PLID].PName
Of course you'll have to use it before the "players.Remove"
DarkKostas
S3 licensed
Everyone is talking about the LX8 and i'm just here enjoying RB4 and FXR(damn slicks) with 45 steering lock and fully rwd. It's so fun drifting them properly <3 Now this makes me really wish it could be transferred in the current version.
DarkKostas
S3 licensed
Quote from THE WIZARD DK :i get really laggy online. so much i cant steer nor drive. if someone logs into a server. it halt my game completely. not found skins do too. (R12)



must be my prob then

You said that yesterday and i was wondering how nobody got it before, and after i left my player all night AFK, tried to play today and noticed that i couldn't change name nor move my car. Exited the server, but now it still says my username is online... Not sure if it was something CLC created as an issue, or if it was client side.
DarkKostas
S3 licensed
Scawen i'll just need just 1 more letter for "3h_comfreev". Last word is "προβολή" and the limit spots it at "προβόλ" (for greek translation)
DarkKostas
S3 licensed
Quote from MandulAA :Oh I didn't really notice that there's an update for your program. Just as I thought the discord app should start silent (without messages), I see you already updated it. It's now working flawlessly, as you say! Thanks for your work! Smile

Now that it starts without any messages, the only thing that I don't like is that need of the "files" folder inside the LFS directory. It makes a mess. Frown Is it possible to somehow code it to check for insim.ini inside its own "LFS Discord" directory (I have no idea how to do that as I have no experience in programming Smile)? If it's not really possible, it would be great to have "files" renamed something like "files_discord" or "discord_files" so it's not that confusing - you know, 'files' can almost relate to everything (LFS itself, Discord extension, other apps).

Thanks for reading my suggestion(s). Also, we "advertised" your program on the LFS Discord, so more players get to know about it!

(EDIT: for even less confusion, insim.ini, which contains all the needed config parameters for Discord app to work, should be smth like config_discord.ini Smile )

Hello! Thanks for the share. Unfortunately, i think i can't fix the issue with the files folder, as the .exe is being executed by LFS.exe(so i guess C# gets the folder through that .exe, instead of the actual program....) What i can do is as you said rename the folder to something more specific. insim.ini is called like that because it contains mostly insim settings on how to connect with LFS, and nothing else(except the new variable to skip the messages). The ideal thing would be to make it identify properly the folder through and not touch other stuff.
DarkKostas
S3 licensed
Thanks everyone for testing it!

Quote from MandulAA :It's great, I like it, well done! It would be great if we had this integrated into LFS natively, so there's no need for an extra program running. Smile
https://discordapp.com/developers/docs/rich-presence/how-to

That would be nice too, till then i decided to do it myself as we don't know if Scawen is interested in this(and of course when the new update will be released). Until then though, you can open "LFS Folder/data/scripts/autoexec.lfs" and add these 2 lines
/insim 29999
/exec "C:\YOUR_ROUTE\LFS Discord\LFS Discord.exe"


WARNING: You'll have to move insim.ini at your LFS folder/files, as the program will try to find the file through LFS.exe's route instead of LFS Discord's route. Just create a sub folder into your LFS folder called "files" and copy-paste "insim.ini" there Wink

EDIT: Updated version and added "SkipMessages = true" at insim.ini, which skips Connect and Disconnect message. You can use the method above and it will feel like it's built-in into LFS now. Enjoy! Don't forget to copy the new insim.ini at your LFS's/files folder or else the file won't be found by the program.

EDIT2: Fixed a bug that when you were connecting from menu into a server, the UCID and PLID would be wrong so it wouldn't show correct Car and State. Redownload Wink Seems like now it works flowless automatically from startup without touching it.
Last edited by DarkKostas, .
LFS Discord's Rich Presence
DarkKostas
S3 licensed
LFS Discord's Rich Presence


-Pictures
Singleplayer support

Hovering over track to show its name

Hovering over server name will show it's complete one(if it doesn't fit)


-Usage
Its a program that you can add show your play status on Discord


-Installation
Make sure you edit insim.ini to match your settings. Admin Password can be found when you go to the server host screen(you don't need the password from the server you'll join).
After that you can simply time "/insim 29999" in-game/menu and run the program to connect.

If you want the program to start automatically each time LFS starts,
open "LFS Folder/data/scripts/autoexec.lfs" with notepad or any text editor and add these 2 lines
/insim 29999
/exec "C:\YOUR_ROUTE\LFS Discord\LFS Discord.exe"

WARNING: You'll have to move insim.ini at your LFS folder/files, as the program will try to find the file through LFS.exe's route instead of LFS Discord's route. Just create a sub folder into your LFS folder called "files" and copy-paste "insim.ini" there


-Files
insim.ini has everything you want to set it up
If you get any error it will be at the logs folder. Program is really easy to use so there shouldn't be any bugs or problems in the meanwhile. If something goes wrong, take a look at the logs folder and you should figure it out


-Download Link
https://drive.google.com/file/ ... WrFmUky8/view?usp=sharing


This program doesn't require a setup, it is portable and it's free!
Last edited by DarkKostas, .
DarkKostas
S3 licensed
This is the code i'm using. Little modified for you.

//Convert Function
CarFlags CarToPLC(string CarName)//Add the rest
{
switch (CarName.ToUpper())
{
case "XRG": return CarFlags.XRG;
case "LX4": return CarFlags.LX4;
case "LX6": return CarFlags.LX6;
case "RB4": return CarFlags.RB4;
case "FXO": return CarFlags.FXO;
case "XRT": return CarFlags.XRT;
case "RAC": return CarFlags.RAC;
case "FZ5": return CarFlags.FZ5;
}
return CarFlags.None;
}

//Checking
CarFlags AvailableCars = CarFlags.None;
string AllCars = Conn.Cars;//You will probably have to "split" this, depending how you store them. Like "string[] AllCars = Conn.Cars.Split(' ');"

foreach (string ThisCar in AllCars)
{
AvailableCars |= CarToPLC(ThisCar);
}
insim.Send(new IS_PLC { UCID = UCID, Cars = AvailableCars });

Last edited by DarkKostas, .
DarkKostas
S3 licensed
As the new lock requires an incompatible patch, do you guys(everyone) think that concrete objects should have a little more grip? I don't know, maybe like 10% or something? They're quite slippery compared to normal road and people use these objects to "simulate" new road layouts. So i think it would be useful if rest people agree as well.
DarkKostas
S3 licensed
Quote from Shikari_San :The GTR's/XRR does not get used for drifting because of the low steering lock and the slicks, it may get used more if it is given road normals and more lock.

That's exactly the reason. There's so little lock that with slicks once you lose the grip you especially spin out.

As i've said in my first post, which i doubt anyone seen it.. XRT and FZ5 as they're the most common cars a simple increase to 45 would be perfect. RB4 as a street car is the only which has the least lock being 30 instead of 36 as all the others. So if these 3 get increased i believe it will be ok for a quick change and no need of new car.

Having now a new XR D(rift) would be obviously too much for you, so these 2 (or 3 with the RB4 to 36 or 45 as well) will be enough!
DarkKostas
S3 licensed
Thanks for your interest in steering lock Scawen. XRT and FZ5 are the most common drift cars due to their power and caster/overall feel they have(especially XRT).

Their lock now is 36. I believe we would all be greatful if it goes to 45. Could be more, but i don't think it's really that useful as we don't have the horsepower to keep the angle in that big lock. So, 45 should be enough.

Also RB4 has 30, can this be increased as well? At least 36 as all the other cars.

If people have more into that, we can create a new topic to discuss this. Even though, at least in my opinion, that's all we need. 45 for XRT/FZ5/RB4. RAC and the 2 LXs are used as well, but the other 3 are the most common.
DarkKostas
S3 licensed
Quote from jujek :Hey Scawen there is a problem with one option called "Input when window is inactive" all is good when i have it OFF but when i change this to ON force fedback change to very stiff and have weird feel when i turned it off is like normal soft. I'm on logitech DFGT but as i know g25/7 also have this bug and this come when You add this option i don't really know why this change force fedback.

Your wheel probably changes from per-profile setting, to global settings. Try to match these 2
DarkKostas
S3 licensed
That's indeed useful. It's annoying when you see the chat spammed either when you as a user hit the vote and THEN it gets cancelled, or when people indeed "catch up" and restart, but after that you want to cancel it once again.
DarkKostas
S3 licensed
Now that im thinking of that. Calibration was useful to manually set the maximum value of an axis. For example you could have a joystick to work as an e-brake.

1. Holding it down
2. Clicking on the "C" button
3. Letting it go to its center
4. Lock all the axis

So i guess if you remove it, then the people who use this trick won't be able to do that anymore, unless you have a way to manually set that.

Instead of having the full range of an axis to do something, "split" it into 2, + and - of the center.
DarkKostas
S3 licensed
Sounds great. A little suggestion. Would it be possible to add F# keys to the controller section and make them able to bind in addition of ctrl+F# and alt+F#?
DarkKostas
S3 licensed
This is happening because "profiler" doesn't apply the (game/global)settings until you focus into the window. So as you plug the wheel and the game is already in focus it won't load the new settings.

If you could re-focus the game once a new control is plugged-in, i guess this could fix it.
DarkKostas
S3 licensed
Quote from felplacerad :Just noticed something regarding the auto-update system (that's probably not relevant to the ongoing discussion) and figured I'd mention it:

It appears as if LFS checks for an updated version when you click on the Multiplayer screen but not when you unlock the game. And since you need to unlock LFS after an update (at least in my case going from 0.6K to 0.6M) you might need to use 2 unlocks.

ie:
  • Launch (unlocked) instance of LFS
  • Unlock the Demo
  • Go online (proceed to be prompted about the update, download, install and restart LFS)
  • Unlock the Demo a second time
In short: For a smoother experience, perhaps do an update check before opening the unlock screen.

I had 2 unlocks so I'm good but this approach would probably save some time for both the users and ScaViEr.

Usually, when there's a new version unlocks are getting reset so that shouldn't be a problem.

Although i like your idea, especially for the main reason that it's easier to know if there's a new version. Cause if you play singleplayer, connecting directly to a server, or anything, you won't really know.
P.S It's not that easily visible at that side to understand and find out that there's a new version.
DarkKostas
S3 licensed
Quote from Scawen :A packet goes to the host, the host sends a player info packet to all guests including yours, your guest then sends a car info to the host, the host sends that to all guests.

So... yes, a delay is inevitable. Shouldn't be long though, and it's no longer than it ever was before.

If you have a 3 second delay then someone must have switched on join requests but is ignoring them.

I've been curious, because before the menu was disappearing and now the button gets disabled till you spawn. Once again thanks for the detailed info.
DarkKostas
S3 licensed
About JRR. I noticed some servers that don't use insim, have a small delay after you click OK to exit pits. Is this needed(when there's no insim connected i repeat)?
DarkKostas
S3 licensed
I see now how it effects it. Thanks for clarifying it, and really thanks for the implement of this. Now the movement look way smoother!
DarkKostas
S3 licensed
Were you reading my mind? I was thinking 2 days ago about how the steering ain't smooth.

Also as you're working on that, is it easy to increase the maximum packets per second on internet to be the same as on LAN?
DarkKostas
S3 licensed
Quote from MrSam :Hi all,

New version 0.6M added to the update in the control panel.

Best Regards,
Sam

Would be nice to add it when ordering servers as well. Is there support for custom insim and MySQL?
FGED GREDG RDFGDR GSFDG