The online racing simulator
Searching in All forums
(293 results)
LakynVonLegendaus
S3 licensed
There are some commands (view, press,...) that won't work with <car>.lfs scripts because those scripts are being executed too soon after the car is spawned (or at the same time). I wanted to write a bug report about this years ago but completely forgot. Now you reminded me Big grin

There would have to be some sleep function in the script system, which would be really amazing (hi Scawen) or the execution of those car scripts would have to be delayed a little.

So I'm afraid you can't get this to work now. You could however execute those scripts manually by typing "//fz5" (or you could just copy paste the fz5.lfs file and name it for example custom_view, then F08.lfs to default_view and then just execute it by //default_view and //custom_view). You can bind that to a key or a key combo (Ctrl+F1, etc).

EDIT: Well, never mind, you can just bind the /view command. I was thinking too much Big grin
Last edited by LakynVonLegendaus, .
LakynVonLegendaus
S3 licensed
It's showing all that even in custom. Just need to set Clocks mode to "real" or "all".
LakynVonLegendaus
S3 licensed
Maybe I'm missing something but why not just set Default driver view to Custom and make a custom view for each car? You can make custom view to look same as the In car view by clicking the "Eye position" button (just need to redo Mirror adjustment). No need for script or anything.
LakynVonLegendaus
S3 licensed
IIRC he said he doesn't play LFS anymore so no he doesn't need updata bro. We do.
LakynVonLegendaus
S3 licensed
Look how nice I am Big grin

Just replaced the code block and compiled. Didn't change version number or anything.
LakynVonLegendaus
S3 licensed
It's "9397 Racing" server, right? You've got /select=yes set so maybe some guest set it to practice mode?
LakynVonLegendaus
S3 licensed
Yeah, RS servers are crashing quite often lately Frown

When it starts the server again after a crash it gets all the info from the setup.cfg file. It doesn't remember the settings you set manually in a previous instance.
LakynVonLegendaus
S3 licensed
<- noob

Never noticed we can attach files to replies Big grin
LakynVonLegendaus
S3 licensed
Not sure about that but if you use the chat function at rackservice.org you will likely get your answer faster than here.
LakynVonLegendaus
S3 licensed
You basically used "It has always been this way" as a reason why this issue should by ignored. I don't see where's the dramatic twisting.

And I don't see a big problem with making the command work in practice mode. Indeed, you might not need it for race server because not many people will practice without having the split and lap times counted which you won't have when driving wrong way. You don't quite need that when drifting so naturally there will be more people driving wrong way in drift servers. Also drift servers and common sense don't really go well together but from my experience, race servers are not exactly idiot-free either.
LakynVonLegendaus
S3 licensed
"It has always been like this so that's how it should be." is a very dangerous way of thinking.

I don't see why should I use an InSim app just for one single task when the autokick command can be fixed in 5 minutes.
LakynVonLegendaus
S3 licensed
Go go power rangers!
LakynVonLegendaus
S3 licensed
Quote from teppari :...

The autoexec.lfs file (not folder) has to be directly in the script folder. It will not work if it's in a subfolder.

Move the autoexec.lfs file from the autoexec.lfs folder to the script folder so the path is "...\data\script\autoexec.lfs" not "...\data\script\autoexec.lfs\autoexec.lfs".

(you will probably have to rename the autoexec.lfs folder before moving the file because for some reason Windows doesn't allow names of files and folders to be same)
LakynVonLegendaus
S3 licensed
Was wondering about the same thing a while ago and found out that for my monitor 75hz is supported only in lower resolutions.

According to last page in manual, I'm afraid it's same case with your monitor.
LakynVonLegendaus
S3 licensed
Strange. You can try /sp command in the main menu.
LakynVonLegendaus
S3 licensed
Thank you very much gentlemen!
ObjectSelectionSaver
LakynVonLegendaus
S3 licensed
With this addon you can save your object selections in layout editor (Shift+U) and then you can use it in different layouts and/or track configs.

For Lapper v7.0.6.1 and beyond.

To make this work:
  • Extract the whole ObjectSelectionSaver folder (not just the .lpr file!) from the zip file and put it to LFSLapper\bin\default\includes folder
  • Enable $DisplayObjectInfo flag in the main .lpr script (LFSLapper.lpr by default)
  • Add this line to your addonsused.lpr file:
    include( "./ObjectSelectionSaver/ObjectSelectionSaver.lpr");

List of commands:
!listsel -> open selections menu
!savebutt -> show save button without the GUI
!savesel -> save selection to database
!loadsel -> load selection from database
!rensel -> rename selection
!delsel -> delete selection from database

Some info:
  • Only users with their username included in the superusers.txt file can delete/rename all selections, otherwise a user can only delete/rename selections that he created.
  • Rightclicking +- buttons for changing the items per page number will increase/decrease the number by 5.
  • Clicking 'Num Of Items per page' button will open input window where you can type in the number.
  • Rightclicking 'next' or 'previous' paging buttons will jump to last/first page.
  • Rightclicking item buttons will copy the item name to the chat, you can use this for example to bring the name to the 'rename' window by pressing up arrow button on your keyboard, just like you do when copying a link from chat etc.
  • The !savebutt command works as a switch - second execution will hide the Save button.

A little video preview:
LakynVonLegendaus
S3 licensed
Quote from Racon :The dedi host doesn't load the track model, it doesn't know where the ground is.

Couldn't the insim get that info from player that would be requesting it? Just like it does with PMO_SELECTION (if I understand it right).
LakynVonLegendaus
S3 licensed
That's already implemented in the main LFSLapper.lpr script.

<?php 
##################
#Swearword filter#
##################
#Specify a list of swearwords seperated by ,
#Specify a file with swearwords, one word per line
#-------------------------------------------------------------------

#$SwearWordsList = "****,asholes,bastard,idiot";
$SwearWordsList "&./swearwords.txt";
$SwearWordsMax 2# Maximum number of allowed swearwords per session

Event OnSwearWords1$userName # Player event
    
privMsglangEngine"%{main_swear11}%" ) );
    
privMsglangEngine"%{main_swear12}%"GetCurrentPlayerVar("SwearWordsRem") ) );
EndEvent

Event OnSwearWords2
$userName )  # Player event
    
privMsglangEngine"%{main_swear21}%" ) );
    
cmdLFS"/spec " GetCurrentPlayerVar("NickName") );
EndEvent
?>


put your swear words in swearwords.txt and you are good to go.

Just not sure why the default code is set to spectate a player, that doesn't make much sense. You probably want to kick a player, that would look something like this:

<?php 
$SwearWordsList 
"&./swearwords.txt";
$SwearWordsMax 2# Maximum number of allowed swearwords per session

Event OnSwearWords1$userName # Player event
    
privMsglangEngine"%{main_swear11}%" ) );
    
privMsg"You will be kicked in ^2" GetCurrentPlayerVar("SwearWordsRem") . "^1 more attempt(s)" );
EndEvent

Event OnSwearWords2
$userName )  # Player event
    
privMsg"Too many swearwords, kicked" );
    
cmdLFS"/kick " GetCurrentPlayerVar("UserName") );
EndEvent
?>


LakynVonLegendaus
S3 licensed
Also before 0.6T it was possible to place an object using IS_AXM with UCID of a player that is not an admin, in 0.6T we get "IS_AXM (PMO_ADD_OBJECTS) - UCID is not an admin" error.

Was this change intended?

I know we can set UCID of an admin or host to place an object but for example LFSLapper addon was using UCID from AXM info to detect which player placed the object. So this is no longer possible since AXM info would return "fake" UCID.
LakynVonLegendaus
S3 licensed
Could we get PMO_GET_Z to work with dedi host in future update?
FGED GREDG RDFGDR GSFDG