The online racing simulator
Searching in All forums
(217 results)
sarxes
S3 licensed
IMMO practicing alone doesn't make much change if you can't learn from somebody something new, because when you practice you just keep repeating things only you know, what can probably won't make any further changes in your self improvement. Sometimes asking, watching others can make a bigger impact than repeating your own learned things. Probably you do it wrong all the time , what not gonna make any progress. Every people who leave can learn 'till they die every day. We are human , and nobody can say, I know everything ! Sharing experiences, discussing things can make us further more.
sarxes
S3 licensed
Quote from bbman :I commend him on actually searching for info before opening a new thread titled "Plz xplan diffs!" and spamming another 4 posts because he didn't get an answer within 5 minutes... Cool

Forbin is right, the (detailed) explanations in this thread apply to whatever type of driving you like. Since two people even with the same goal will seldomly agree on one specific setting only you can find one that you like, but the wisdom contained in these posts should enable you to take your setup in the right direction rather than wildly guessing (and consequently giving up).

I read this topic years ago , but I was digging a bit deeper with the calculations for the best LSD settings for drifting and racing, but I didn't find the best explanation (formula) which would get me closer to the final result I want.

The Power/Coast doesn't really explained by the creaters of LFS that actually limits the engine power to the differential or it's the behavior of the diff. under those settings. How can you determinate the coast for example ? I didn't get those answers, because many people answered them but all in different way and the conclusion it's not the same at all ...

That's the reason I bumped this thread again. I didn't see the case to open a new thread , because probably there are people who are interested in it like me and ppl who know the answer.

I hope that I gave the aswer why after 10 years brought back to life this question.
sarxes
S3 licensed
I'm just wondering that those explanations are for racing, but there is any explanation for drifting after 10 years ? Big grin
sarxes
S3 licensed
I don't know if anybody ever posted this but this is the sound what I and everybody would need the most !!!



I think it would be great for 3 cars

XRT because it has turbo.

FZ5 because it has power.

RB4 because its turbo end 4WD.


Can somebody do it for me/us ?
Skyline from Hell
sarxes
S3 licensed
I don't know if anybody ever posted this but this is the sound what I and everybody would need the most !!!



I think it would be great for 3 cars

XRT because it has turbo.

FZ5 because it has power.

RB4 because its turbo end 4WD.


Can somebody do it for me/us ?
sarxes
S3 licensed
Ez aztán döfi lett. Gratulálok !
sarxes
S3 licensed
I got CarX on my phone since released. I play in PC too the demo version. It's nice physics and all but if the LFS would be on android .... Gosh ...
sarxes
S3 licensed
WoW, it would be nice to have the LFS, in my S5, i would fuc##g play all day when I would have time. An online feature would be savage !!!
sarxes
S3 licensed
From that part


<?php 
Sub OnConnectClose
$KeyFlags,$id )
closePrivButton("welc&pos&clos&ref&clickmessage");
EndSub
Sub OnConnectCloseKick
$KeyFlags,$id )
closePrivButton("welc&pos&clos&ref&clickmessage");
cmdLFS("/kick " GetCurrentPlayerVar("UserName") );
EndSub
?>


Remove simply the line


<?php 
cmdLFS
("/kick " GetCurrentPlayerVar("UserName") );
?>

So after the countdown finished the windows will close and that's it.

It would be look like :


<?php 
Sub OnConnectClose
$KeyFlags,$id )
closePrivButton("welc&pos&clos&ref&clickmessage");
EndSub
Sub OnConnectCloseKick
$KeyFlags,$id )
closePrivButton("welc&pos&clos&ref&clickmessage");
EndSub
?>


sarxes
S3 licensed
So it was rented from the LFS.net ?
sarxes
S3 licensed
Very nice idea !!! Would be great if we would be able to add a "real" soccer ball ... Should be fun ! Smile

+1 for your idea Smile
sarxes
S3 licensed
That v.015 what includes ? Any up to date change log somewhere ? Smile
sarxes
S3 licensed
Where can I get a clean 6.0.1.4 exe file ? Because on my system the lapper is based halfly on CIF and it's not possible to operate the CIF framework with 6.0.1.2 !

Thanks !
sarxes
S3 licensed
Just write an e-mail to the server admins , I think they 'll help you for sure
sarxes
S3 licensed
Quote from sinanju :It's no big deal.

One way, which I've done, would be to set up a GlobalVar such as $driftmeter_on_off

Event OnLapperStart()
GlobalVar $driftmeter_on_off; # For turning driftmeter on and off
$driftmeter_on_off = "on"; # driftmeter option turned on, unless driver wants to switch off
EndEvent

So the driftmeter will show, unless offered the choice for it not to.

CASE "!drift":
OnClickDriftQuery(0,0);
BREAK;

So driver types !drift and

Sub OnClickDriftQuery( $KeyFlags,$id )
openPrivButton( "dq_instruct",65,66,70,9,9,-1,32,"^6Do you wish to use the Drift Meter?" );
openPrivButton( "dq_instruct1",65,75,70,6,6,-1,32,"^8(Drifting Scoreboard Facility)" );
openPrivButton( "dq_driftyes",80,85,18,10,10,-1,32," Yes ",OnClickYesDrift );
openPrivButton( "dq_driftno",102,85,18,10,10,-1,32," No ",OnClickCloseDM );
EndSub

If they want NO, then

Sub OnClickCloseDM( $KeyFlags,$id )
SetCurrentPlayerVar( "drift_on_off","off" ); # Set drift "off"
closeButtonRegex (GetCurrentPlayerVar("UserName"), "dq_*"); # close drift query buttons
closeButtonRegex (GetCurrentPlayerVar("UserName"), "drift_*"); # closedriftboard
EndSub

This closes the query buttons and sets your global variable to off.

If they want YES, then

Sub OnClickYesDrift( $KeyFlags,$id )
SetCurrentPlayerVar( "drift_on_off","on" ); # Set drift "on"
closeButtonRegex (GetCurrentPlayerVar("UserName"), "dq_*"); # close drift query buttons
EndSub

The global variable is set to on, because the driver may have previously set to off previously while still on track.

So if Yes, when a driftscore is made (and even a BF1 in a race will make drifts if driver slides car), you first query if the drift scoreboard is on.

Event OnDriftScore( $userName ) # This is the section for displaying the Drift Meter
IF ( GetCurrentPlayerVar( "drift_on_off") == "on" )
THEN
> blah, deblah, deblah
ENDIF
EndEvent

Because you set global variable at very start to be on, and you query when a drift is done, and IF statement is true, then all drift scores will show. If player turned it off, then the IF statement will not be true, so nothing happens (shows).

You do this IF true query for every EVENT Ondrift, such as

Event OnGoodDrift( $userName ) # Player event
IF ( GetCurrentPlayerVar( "drift_on_off") == "on" )
THEN
> blah
ENDIF
EndEvent

or

Event OnDriftTooLow( $userName ) # Player event
IF ( GetCurrentPlayerVar( "drift_on_off") == "on" )
THEN
> blah
ENDIF
EndEvent

etc, etc.

Then all you have to do, is go through all the events where driver leaves track, such as pitting, spectating, leaving, etc, and turn buttons off (but not touch your global variable), and when they rejoin, turn buttons back on.

If driver leaves server, and returns, the global variable is set to on when they join, so they have to go through the process of turning off again.

I've done a big explanation here, as this global variable (with IF query) is a good way of doing stuff where you want things to show/not show. I've used this for my new Pace Notes add-on.

If driver goes through a Zone, which i've set up in RegisterZoneAction, then each zone sub has the IF on query. If not switched on, then driver doesn't see anything. Its as if the RegisterZoneAction is not there. But if it is on, then driver sees a Pace Note.

The global variable i've shown is great for easy things like the driftmeter (as detailed) and Pace Notes, and such. Where it gets difficult, is when you want to save the on/off settings, then you have to start dealing with set/get variables and values - have a look at Yisc's pitboard.lpr if you want to see how it's done properly.

Thanks a million sinanju, it was very good explained . . . I think I'll make a small button under my logo panel as a "swtich" with (ON/OFF) so the player can decide any time to turn on or off the driftmeter. It's a bit complicated for me to do but I'll try to do that . Makes some headache to me when a button is clicked and goes under a SUB THEN that button needs to turn into grey and the other one into red.

If I get stucked I'll ask for help again. Thanks again sinanju ! Your work is flawles together with all the other people who develops the lapper in the same time like "Yisc[NL], or bass-driver. Keep that good work onwards.
sarxes
S3 licensed
You can run it from a VPN ofcourse wich allows to run exe files on it. After that you just have to start and that's it, the lapper will start 'll u stop or it crash Smile
sarxes
S3 licensed
Sinanju , one qustion to you . I've been on your server, and it's great configured. Very nice features added, seems u made a lot of work on it. I would be interested only in one thing, how u made the turnable the driftmeter on and off ? I have the standard driftmeter and I would like to make turnable off but automaticly turn ON on drift. Sorry , that's not really correct. It's possible to do like this :

-player connects to server the drift-meter turns ON on drift
-players turns OFF and stays OFF until not turned on again.
-player joins again the server the drift-meter turns on automatically.

If that code is priv. or u don't want to share for public please send me in PM. Thanks
sarxes
S3 licensed
NO , u cant have twice, but you can drive trough many times as you want on a single route checker and you can go backwards as well. So that route checkers is only good to follow the path and works well only when you skip one and you drive into another one, then u get spectated... Other ways is pointless. It's not works how they should work ... :/
sarxes
S3 licensed
Thanks You sinanju, hopefully the devs 'll correct this small "mistake" and 'll correct. I'm sure they do the best but sometimes they "ignore" little things which are not important for most of the ppl, but important for a few others.

A thanks button would be great too in that forum too ! Smile
sarxes
S3 licensed
Thanks a million for your answer , now I understand.
Route checker
sarxes
S3 licensed
After coming back to LFS and making layouts again, my problem is that the route checkers are not really do their job as should needed.

For e.g.:

You make a track for "drift" and you put some route checkers to avoid players to go backwards on autocross tracks and u leave the option to make some shortcut , but the "intelligent" player use the shortcut to do an "extra" small round inside the track to double his drift points "cheating" the system. So the only problem is that ppl can go trough twice or many times on a route checker without spectating them. Why the route checker are not "numbered" ? So players must go trough on a route checker only once !
sarxes
S3 licensed
Quote from -LegoBased- :Hello everyone. I am writing this thread to report the instability problem i am currently having with LFS, well it is not only me but others that I've spoken with. It seems that when or if there is multiple players leaving pits or a lot of messages being processed i seems to get these lag spikes that can be annoying, the reason i stated "annoying" is the fact that it doesn't happen on the usual it only happens random when you least expect it. Some of these lag spikes are small hits some are big hits.

Now I've been playing LFS since Z28 days but have taken 6 years break back in that time with my old pc i would have a constant 50fps with hardly ever little drop. But it seems that perhaps the new patches are unstable?? I run EVERYTHING max setting which puts me around 200-300 fps cruising but mostly 150-250 drifting with groups and such. Low settings gives me 300 and higher.

Build:
AMD FX 8350
GTX 760
8GB

Check your settings inside the LFS...

Disable the frame limiter in options under game tab
sarxes
S3 licensed
Only one more thing guys, I would like to ask something interesting what I dont understand. Why the lapper registers the driftscore only from the 2nd lap in "practice" ? If I start to drift on my track I do my 1st lap and nothing shows, only from the 2nd lap shows my score and register in the lapper database ... It's possible to change something to correct this problem ?
sarxes
S3 licensed
Quote from sinanju :The pitboard error, you won't get rid of - it refers to the width of the button (32) on that particular line. No reason why lapper doesn't like that part of the code, as it's almost exactly same as the code 2 lines up. And it appears in lots of other places too.

The line in question is for an ELSE statement, so might never get used, and so you could just put a hash at the beginning of that line to disable it, as likely no-one changes the pitboard anyway.

The others - I think these are because you are missing one of the standard add-ins (utils.lpr) that tell lapper what to do with the function closeButtonRegex.

Make sure utils.lpr is in your /includes directory, and if there, make sure it has not been disabled in the addonused.lpr file.

Failing that, you'll have to show what the error lines refer to - just copy and paste one of each.

Driftmenu - I have some hazy recollection of making that on request - for you? - something to do with on screen button to show drift score table and/or arrows scrolling drift scores back and forward?

My problem solved in time.... The problem was that it was missing 2 files from the server ...

Now everything works great again.

The driftmenu was made by you sinanju and still using . Thanks again for it !
sarxes
S3 licensed
I just rented a host from rackserver and I changed to my Lapper exe 6.0.1.4 I changed all my files what I had but I got the problem that some CIF features not works.

Quote :Problem solved in tyme !!!

What I have to do to have again those features ? Big grin
Last edited by sarxes, .
FGED GREDG RDFGDR GSFDG