The online racing simulator
Searching in All forums
(694 results)
Scawen
Developer
Quote from sicotange :Another great patch that should please InSim developers and autocross editors Smile

BUG:
You can't select non-invisible marshalls (marshall, point left, point right). You get "Can't move : invalid position".

EDIT:
Same issue with InSim checkpoints. Interestingly, the problem goes away when you add 1 invisible marshall or 1 InSim checkpoint finish line.

Thanks for the bug report, but I can't reproduce it. It seems I can select them as expected.
Scawen
Developer
Test Patch R13 is now available for testing.

The layout editor has been updated a lot so if you ever use the layout editor, please give it a go!

Changes from 0.6R12 to 0.6R13 :

Layout editor :

New cut / copy / paste system replaces old duplicate / move system
PGUP and PGDN can now be used to adjust Z value of selected objects
C key now clears selected object type as well as selected objects
It is now possible to set marshall circles to have zero diameter
Objects and marshall circles can now be selected at the same time
You can hold SHIFT to keep objects selected when exiting edit mode

Interface :

Added two more translation strings to avoid misleading messages
Additional translation strings for new functions in layout editor
Clip mouse to screen is now CTRL+M as CTRL+C is now used for copy
More translations updated - Thank you translators!

InSim :

New values TTC_SEL_START and TTC_SEL_STOP for IS_TTC
New value PMO_GET_Z for IS_AXM packet to report Z values
New value PMO_SELECTION_REAL for PMOFlags with PMO_SELECTION
Simplified SubMode values for free view in IS_CIM

Misc :

New check for corrupted 3D models to avoid possible crash on load

https://www.lfs.net/forum/thread/92067
Scawen
Developer
The PMO_GET_Z packet and other InSim changes are now available for testing in R13 along with a significant update in the layout editor.
https://www.lfs.net/forum/thread/92067
Scawen
Developer
Lucky you're not planning my work time then, or you wouldn't get all the super new improvements I've been working on!
Scawen
Developer
There are no turbo sounds in the Demo.

Please buy a license if you would like to use a turbo car.

If people do not pay for the use of the game, our development would be forced to stop and there will be no further updates. Because developers have to pay the bills and eat food.
Scawen
Developer
I think I didn't like the way 255 would mean a maximum height of 63.75 and it seemed that 60m would be a better maximum height. And that allows 15 'reserved' values that could have a special meaning in future.
Scawen
Developer
I am not coming up with an answer for that strange server issue. Has it only happened since you installed R12 on the server? If so, is it easy to revert to R and see if it makes a difference?

I'm guessing it has nothing to do with the new version, as I can't think of any related changes in the code. Does the same problem happen to all guests who join? Are there any other DCon instances on the same server computer? I wonder if it could be something to do with the computer time clock, running slow or fast. Can the server computer be restarted?
Scawen
Developer
Sorry my estimate was a bit too optimistic.

I ended up making a significant change to the layout editor. It's now based on "cut / copy / paste" instead of "move / duplicate" so it is quite a change and there are a few loose ends to fix.
Scawen
Developer
I implemented it this morning.

A new PMOAction byte for IS_AXM

PMO_GET_Z, // 8 - request Z values / reply with Z values

And the documentation for how it works.

// PMO_GET_Z can be used to request the resulting Zbyte values for given X, Y, Zbyte
// positions listed in the IS_AXM. A similar reply (information only) will be sent
// with adjusted Zbyte values. Index and Heading are ignored and set to zero in the
// reply. Flags is set to 0x80 if Zbyte was successfully adjusted, zero if not.
// Suggested input values for Zbyte are either 240 to get the highest point at X, Y
// or you may use the approximate altitude (see layout file format).

I'm not sure it will be released today, probably not as I've got something else I'd like to have a go at. But then hopefully tomorrow.
Last edited by Scawen, .
Scawen
Developer
Quote from DarkKostas :Scawen i'll just need just 1 more letter for "3h_comfreev". Last word is "προβολή" and the limit spots it at "προβόλ" (for greek translation)

I've now increased all those "Command is for..." strings to 63 characters.

Thanks! Smile
Scawen
Developer
OK, I am mentally tired from trying to get a layout editor improvement finished. You can now select marshalls / circles at the same time as other types of object but that was more complicated than it sounds.

So bear with me being a bit slow! Big grin

Can we get back to the basics, exactly what do you want to do? I understand you are trying to make layouts from a old track work on a new one. And this could be applied to moving a layout from one track to another I guess (e.g. BL car park to WE car park).

Are you trying to run through existing layouts and get all the objects of a certain type set to ground level? In particular concrete objects so you can't use the Zbyte 240?

And are you doing this by your code reading a layout file and passing it into LFS as AXM packets?

If the above is true I'm wondering if the simplest thing could be an InSim packet for local use only, that simply asks for the height for a given ObjectInfo (X,Y, Zbyte) and LFS replies with the Zbyte that would result from that. So you could run through a list of objects one by one and do what you want with the answer?
Scawen
Developer
I don't know much about VOB mods, but some of them can have the correct physics mesh so they can be used online without harming any other players. From the crash address I was given, it looks like the crash was when reading an object, so that's why I'm asking if any of the people who got a crash, were using a modified VOB. But no-one has answered yet so I'm still worried about the possibility it could a be a problem in some standard installations.

Either way, I'd better add a thorough validity check when loading an object because a crash is not acceptable in any case. But it would be reassuring to know that it was caused by a modified VOB, otherwise there's a more serious bug here.
Scawen
Developer
I am just wondering if something special could be done for this.

Possibly a sort of query to find the highest ground position at X, Y.
Or perhaps an object placement packet marked as "set height"

I'm wondering if this can be done at the local level or does it need to work in multiplayer.

Sorry for the fuzzy thinking, I'm busy in the layout editor at the moment so I'm just trying to figure out what would solve it for you, be simple to implement and ideally useful for other situations too.
Scawen
Developer
Racon:

I've moved our discussion into a spinoff thread and I'll answer there.
https://www.lfs.net/forum/thread/92125
Scawen
Developer
Quote from R0ut66 :The test patchs after R9 doesn't work on my PC
It just crashes the game
I'm using windows 7 64 bits

You are the 4tf person we've heard of that got a crash. It's very important that we understandf this, or else there is a possibility of it happening in the official update. So you may be able to help.

Please can you look at this post:
https://www.lfs.net/forum/post/1936061#post1936061

Can you get the crash logs?

And do you have any VOB mods installed?

My main suspicion at the moment is incorrectly formed 3D models (probably VOB). But it's not based on much.
Scawen
Developer
Quote from MacedoSTI :and i have some ideas from car colors

CTRL + right click to copy a colour
SHIFT + right click to paste a colour

The shadows are all done a very good way in the new version I am working on, but it is totally impossible to update the public version with the new shadows. Eric is working on all the tracks to get them working with the new shadows. It's the thing I am trying to get back to.
Scawen
Developer
Quote from ardalan5090 :Hi
Scawen , please add arabic and farsi translate in this version , our team can translate this ... you should do our font and utf-8 compatable in your software ....

Thanks alot

Hi,

I'd really like to do Arabic at some time. It's just the sort of thing I like to do because I like LFS to be accessible to everyone and I'd be interested in learning how the Arabic alphabet works. But it is much more difficult than you imagine. We are talking weeks of work for me before you guys can start to translate it. Of course languages like Arabic and Hebrew have the difficulty of being right-to-left text (but with occasional left to right Latin text within that) and this means a lot of rewriting of many functions in Live for Speed.

There will be a lot of studying for me to do and a lot of problems to solve. I can't just click my fingers and magically all the code is done.

Now, I hope you will understand, I am in the middle of some extremely important graphical work and need to get the tyre physics finished. This must be done or Live for Speed sales will dry up completely and we will have to go and get another job. There is no doubt at all, this is a higher priority than adding a couple of tricky languages.

Unfortunately I was interrupted by someone taking our servers down two weeks ago, so I had to stop all the work I was doing and make a new patch in this old version of LFS which can resist the attacks. So that attack has slowed my development by maybe three weeks so everything that I will do in future will come a little later than it would have been
Scawen
Developer
Quote from racer autov8 :restore the original exe
also i'd kind of wish scawen would start using just regular zip files so i would know what files are updated and antiviruses wouldn't alert everytime

Quote from LakynVonLegendaus :You can extract the files from exe installer with 7-Zip or something.

I agree and confirm this.
If you install 7-zip you can right click on the self-extractor and select "Open archive".
https://www.7-zip.org/
Scawen
Developer
Quote from Racon :While you're in that general area, would it be possible for the objectInfos of the reporting AXM packet to have the Z byte set as where the object ended up after the dropping algo, rather than where it's set in the layout file or setting packet?

I made a converter for moving old BL carpark layouts to new locations, and for each target location I had to manually make a height map to set the new Z on sloped ground. If the AXM reported the final height, I could use insim to place a test object and read the height from anywhere on the map. Less effort and infinite resolution Smile

The new PMO_POSITION packet does have the Zbyte set, but I don't that is what you are asking.

I can't set the Zbyte in the reporting AXM in the case of a dedicated host receiving the packet, as it doesn't know where the ground level is.

I'm getting a bit confused trying to think of when that Zbyte adjustment could be done and when it would need to be done. Maybe I need a more specific case to try and understand where it would be helpful and to think if it can be done without causing problems.

One thing to note though, it is acceptable and usually OK to simply use the value 240. From the notes:
Quote from https://www.lfs.net/programmer/lyt :If you are creating objects from scratch and you are not sure of the approximate altitude, you can set Zbyte to its maximum value (240). This will place the object on the first physical surface detected below that point.

Scawen
Developer
Quote from zakaruny :How to remove the patch ? 0.6R12 to 0.6R

I'd be interested to know why you don't want to use the test patch. Any problem with it? Now's the time to report it so we make sure the final version doesn't have any issues.

But yeah it's very easy to revert you simply use the R exe. Usually it's recommended that you save the exe before using a test patch but I don't seem to have written that this time.

EDIT: Added a note about that in the first post.
Last edited by Scawen, .
Scawen
Developer
Hi Raxy, thank you for the information!

It seems from this crash address that LFS was loading an object and crashed while checking for a type of reflection material that it can do a better way now.

I think when you first open LFS, in the first instant it loads humans, car objects and the helmet.

As you say it works on a fresh install, could it be you had some VOB mods installed before? I suppose it is possible that a VOB mod could be incorrectly formed in such a way that it didn't crash before but does crash in this new function.

I'll try to figure out exactly which line it crashed on but it would be interesting to know if a modified model was to blame, and why it doesn't crash on most installs.
Scawen
Developer
I have heard that from one other person. I asked for more information but he wasn't able to give it and just reverted to the old version. I would really like to have this information so I can fix the bug. Otherwise the crash will still be there when we release the official update!

What I need to know is:

- Crash offset or crash address
- Exception code

In older versions of Windows the information was offered to you in the crash dialog when you pressed "more info" or similar. I think in more recent versions of Windows you can find the information in an event log, accessed through control panel.

If you can give me this information that would be great and I can try to find out what causes the problem. If you would like more information on how to find the crash address, please tell us you Windows version.

Thanks.


The only other known instance of possibly the same bug:
https://www.lfs.net/forum/post/1935799#post1935799
Scawen
Developer
Information: We did intend to release the full version this weekend but for various reasons we have decided to go on a few more days. I hope to put another test patch here on Monday or Tuesday. But for now it seems R12 works well.
Scawen
Developer
Thanks, good point Smile

EDIT: typo
EDIT2: added a new translation string for this
Last edited by Scawen, .
Scawen
Developer
Test Patch R12 is now available.

Changes from 0.6R11 to 0.6R12 :

Interface :

New free view camera position text command /cp
/cp will copy a text camera position to the clipboard
The resulting text can be saved in a text file, forum, etc. or into
another instance of Live for Speed to reproduce.the camera position

Many translations updated - Thank you translators!

Graphics :

Slight reduction in some excessively bright driver models

InSim :

New value PMO_POSITION for IS_AXM packet to report a blank position
New packet IS_CIM reports a connection's interface / editor mode

Download :

https://www.lfs.net/forum/thread/92067
FGED GREDG RDFGDR GSFDG