The online racing simulator
Searching in All forums
(694 results)
April Progress Report
Scawen
Developer
Hello Racers,

As many of you know from the forum and Twitter, Eric has been working on Kyoto and I have been working on a new lighting system. In this month's progress report we would like to show you some of the work in progress and talk a bit about the lighting.

Read the whole report on the Graphics Progress Report: Kyoto and lighting page.
Scawen
Developer
I'm really busy working on the lighting so I've left the test patch for a while. There are a couple of small things on my list to add for this test patch but I'm trying to get other things done at the moment.
Scawen
Developer
Yes, it's an option because some people don't like drop shadows.
Scawen
Developer
Quote from Pasci :Would it be possible to add a shadow to the displayed text for "pit lane speed limit" and the arrow?

Options - Display - Drop shadows : [yes]

Quote from jamesd256 :Maybe should be a separate thread, but it would be great if you could assign a button to recentre the headset tracking.

Pressing F8, then using space is not good for your racing. One button push on the wheel would be ideal.

I think this command does that: /vr reset_headset

You can assign text commands to keys and wheel buttons in Options - Controls - CTRL+ / ALT+
Scawen
Developer
Quote from repeat83 :wow. now it's can be easy to make to fake. Just playername change to jp00202. I hope Scawen check the uname and pname before banning. But bad man can change pname to short time

Sure it's easy to fake, and if unknown users come here and start posting images that might be fake, then I won't act on what they say. But there is very little chance that a long term user like lucaf will come here and start posting false information.
Scawen
Developer
I really can't imagine it would get far up the priority list for the Rio police when I think about the other things they are dealing with over there.

Other people in the chain just tell you it's not their responsibility unless they receive the legal documents, and they suggest talking to the other people, who obviously don't care either. They are just happy to continue receiving money for their hosting service and won't stop that because some guy on the internet sends them an email.

I have extremely little appetite for going to expensive lawyers about this sad lying criminal who abuses his own customers. I'm sure he will unravel in the end. I've got too much work to do.
Last edited by Scawen, .
Scawen
Developer
Thanks, banned.

It's good that we are getting more sales to Brazilian users these days. Maybe after some time they get tired of being pushed around by the lying criminal who hosts them and even charges them to be unbanned.
Scawen
Developer
Activity graphs: https://www.lfsworld.net/
Scawen
Developer
Work in Progress video of a sunset at the Autocross area using a blended sky transition:
https://www.youtube.com/watch?v=6k6k9eMioFw
Scawen
Developer
I think that is when the layout objects are updated. It would depend on which server you were on, if the layout was being changed that could come up. There could be a split second hang while that message is displayed (when the meshes are sent to the graphics card).

If the server InSim has been coded correctly, that should only come up when the updating is finished, not every frame.

I don't think anything has changed since version T so you would still get that message. I think it depends on the server you are connected to rather than your version.
Scawen
Developer
Quote from Pasci :But there are more (when starting local server):
Local host name: Lokaler Hostname
Address: Adresse

I've removed these two (in my version) now that it seems to work.

I've added a new message to the translation. It can be displayed to the user in a dialog:

Computer name was not found
Scawen
Developer
Quote from seksen :All cars testing offline mod.

Thanks for the report but if you would like to use licensed content, please buy a license.

We can't pay the bills if people don't pay us.
Scawen
Developer
Quote from seksen :This version car dashboard very bad quality. Old versions better.

To help me see this, can you tell me which car, and what FOV and screen resolution?
Scawen
Developer
Thanks for the testing!

Quote from nacim :Would it be possible to compile in shader model 3.0 and fallback to 2.0 if compilation failed? Smile

Unfortunately it's not so simple because some things in SM2 don't work in SM3. For example the fog must be done differently. And I have a vague memory about some issue with the 2D interface shaders too. And it needs some special handling for certain types of error (so the whole program doesn't become unusable each time there is an error in a shader). I know this because I changed to SM3 and dealt with the issues in the development version. I'm not keen to spend time working on the old shaders at the moment.
Scawen
Developer
I'm a bit tired and need a break, but I think that time that is reported is the time since the restart or race entry. I guess the same time you would see on the replay slider bar.

It is equivalent to the times reported by a SMALL_RTP packet. Also the same times are reported in ISP_CSC packets.

It's not relative to the time the lights went green. I think the idea is that the external program can take control of the lights.
Scawen
Developer
I think that gear shift bug is fixed now.

It was described by racerss recently here
And by imthebestracerthereis in 2012
And mentioned by Wizard DK here

I think the bug has been around for a very long time. If the situation is caught and avoided, a red message appears on your screen "Avoided GEAR_REVERSE" or "Avoided GEAR_FIRST".

It's hard to make it happen because you need to do a gear shift at the exact moment the auto-shift will do a shift.
Scawen
Developer
Thanks, this should now be fixed in Test Patch U6:
https://www.lfs.net/forum/thread/93185

EDIT: Daniel's replay now shows the message "Avoided GEAR_REVERSE" and then goes OOS - which is what should happen.
Scawen
Developer
Quote from racerss :hile LFS auto gear shifter is shifting up/down and the user hits the shift up / shift down keys, the car goes to first gear or reverse.

That should now be fixed in U5. https://www.lfs.net/forum/thread/93185
Scawen
Developer
Test Patch U5:

VR:

FIX: Head tracking / mirrors wrong if car leaned with horizon lock

LAN:

Easier to set up LAN race: local IP address is shown on host screen
You can enter the local network computer name instead of IP address

Misc:

FIX: Rare manual shift at high speed to 1st/rev during auto shift
Most translations updated - thank you translators!

Download:

https://www.lfs.net/forum/thread/93185
Scawen
Developer
About the local hostname, I looked into it anyway because I like the idea.

I've implemented it now, as a sort of "undocumented feature".

It only allows up to 15 characters for the hostname. Is that enough? Otherwise I'll need to start checking all the places that field is used.

How it works is this:

For the text entered in "Host IP address" on "Join Specific Host" screen, it checks to see if it contains a character other than 0-9 or '.' and in that case it guesses it is a hostname rather than an IP address. So it calls the "gethostbyname" sockets function to get the IP address from the name. If it finds the name then it checks if it's a local IP address as usual.


EDIT: By the way, I am talking about the "host name" of the local computer, not the host name (server name) specified in LFS. Without any use of master server, the only available name to connect locally is the local name of your computer as seen on your local network.
Last edited by Scawen, .
Scawen
Developer
If any translators are here, I've added a couple of lines to the translation:

Local IP address
Local IP addresses

Thanks! Smile
Scawen
Developer
Quote from Pasci :I noticed a translation error for the Deutsch/German translation file. The string "3a_smallall" should be "Alle" (all) and not "Beide" (both).

I've updated that, but probably won't list it in the U5 patch notes. Please can you check it looks correct in context when the patch is released?

Quote from nacim :Actually for my use it would be a nice quality of life improvement Smile

I've done the IP display.

About alowing to connect locally using hostname (Pasci's request) I could do without any extra complication right now as I'm still working on things in the development version. Even though it's probably easy.

Quote from Pasci :@Scawen: I'm sorry for the off-topic question: You mentioned somewhere what your next tasks will be: finishing lighting/shadow system, updating physics, improve network code

I'm assuming that a sound engine update (car engine sound) is planned sometime, too? What are your plans? Technical stereo sound is enough for me (I use a headset anyway). Compared to other sims the car sounds terrible. But that is probably not new. :-)

Well this is something I just don't want in my head at the moment at all. Any sound improvements would be a several weeks/months project and the current sound quality doesn't prevent us releasing the new graphical improvements. Smile
Scawen
Developer
Quote from MagicFr :testing this weekend Smile

Thanks. I've noticed a bug - when your car is sideways or upside-down, you will find in VR that moving left/right/up/down has the wrong effect. Also the mirror views are messed up in that case. The more sideways, the worse the effect.

I've fixed it in my version and hope to release another minor test patch tomorrow.

Quote from Pasci :I noticed a translation error for the Deutsch/German translation file. The string "3a_smallall" should be "Alle" (all) and not "Beide" (both).

Thanks, maybe I'll change this myself if a translator doesn't notice it.

Quote from Pasci :@Scawen: Perhaps you can add a "simple" extension for LAN multiplayer by supporting hostnames for connection instead only IP addresses?

I think what I can do is show on the host screen, the local IP address(es) so it's easier to know what to type in on the guests. Would that help, so you don't need to run cmd and type ipconfig? I've done that in the development version already so can probably copy it over.
Scawen
Developer
Quote from MadCatX :Just FYI: Neither of the videos play for me on an iPhone with iOS 12.1.4, regardless of the browser. I guess it is a codec issue.

I've uploaded the video to YouTube now: https://youtu.be/VHKQrISFTpI

Quote from Ped7g :@Scawen: as Valve is preparing to launch their own VR headset, maybe you can check with them, how badly they would want to go out of their common legal work to meet your needs for some kind of inclusion...

I think I see like more issues with this (IMO it's very unlikely this will work for both sides), but who knows...
From the "leaked" info it doesn't seem Valve has any strong SW lineup for it, which I'm a bit puzzled with, how they want to push that HW, and maybe they can at least somehow add demo version as some kind of "check if it works with this", etc... even if you don't enter steam directly.

Also it means you will have to check VR version against new HW soon, maybe they can send you some unit at least. Smile

I'm sure their headset will work with all the software currently designed to run on OpenVR / SteamVR so I suppose they don't really need to do anything?

I suppose we are now at the point where it's just a new headset with some new specifications. A bit like a company that produces a new car. They don't need to build any new roads to promote the car. Big grin
FGED GREDG RDFGDR GSFDG