The online racing simulator
Searching in All forums
(13 results)
Zarmaka
S2 licensed
Anything wrong in here? ALso if you have a good config, please give it to me, because I cant seem to figure it out
Zarmaka
S2 licensed
#================#
#Drifting options#
#================#

$DriftDatabase = "./DriftPB.txt";

Event DriftPBAction()
cmdLFS( "/rcm " . $Nickname . "^3 made new PB: ^7" . $DriftScore . " ^3pts!" );
cmdLFS( "/rcm_all" );
EndEvent

Event DriftPBAction()
cmdLFS( "/msg " . $Nickname . "^3 made new PB: ^7" . $DriftScore . " ^3pts!" );
EndEvent

Event DriftLapAction()
cmdLFS("/msg " . $Nickname . " ^3drifted to ^7" . $DriftScore . " ^3pts" );
EndEvent

Event OnDriftScore()
privMsg( "Score: ^7" . $DriftScore . " ^3" . $LastDriftScore );
EndEvent

$GoodDriftScore = 2500; # Value to be reached to execute action on good drift score
####### you can change the 4000 to anything you want - higher or lower number to suit


Event GoodDriftAction()
privMsg( $Nickname . " ^3made excellent drift: ^7" . $LastDriftScore ." ^3pts" );
EndEvent


$MinimumDriftScore = 10; # Minimum drift score required
####### you can change the 250 to anything you want - higher or lower number to suit

# Actions to do at end of lap if MinimumDriftScore is not achieved.
Event DriftTooLowAction()
privMsg( $Nickname . "^3 disqualified" );

cmdLFS( "/spec " . $Nickname };
EndEvent

$MinimumDriftSpeed =20; # Minimum speed in km/h to maintain. Driving below that speed will reset score
$MinimumDriftAngle =15; # Minimum angel to maintain. When angle is below value, score is reset
$MaximumDriftAngle =100; # Maximum angel to maintain. When angle is above value, score is reset
Good Config on LFSLapper for drifting?
Zarmaka
S2 licensed
Does anyone have a good setup for LFSLapper, drifting. I got a problem where the scores get lost when doing great drifts, but I dont really get the Angle stuff and such.
Zarmaka
S2 licensed
Now that I got that sorted, does anyone know how to get the Angles and Speeds to work perfectly on LFSLapper? My score keeps resetting when I get a perfect drift. It would work on other servers , just not mine!
Zarmaka
S2 licensed
thats not the problem. I start insim and its been working fine untill I started ****ing with the passwords!

I can however get LFStats to work, so theres a problem somewhere in the config in Lapper




EDIT!!

Got it all working now! Edited and edited and edited and edited and suddenly it came to its senses! THanks for the help peeps!
Last edited by Zarmaka, .
Zarmaka
S2 licensed
This is the lapper Command Line.

$Host = 127.0.0.1; # Host IP. When more network interfaces are present, set it to IP of your host.

$Port = 29999; # Insim UDP port. Open this port after starting LFS Server by typing /insim=29999 in chat or include it in config-file LFS Server

$Password ="Password"; # Put in the admin password used on the LFS Server

$TrackInfoFile = "trackInfo.cfg"; # Path to the TrackInfoFile used to compare splits

$TCPmode = true; # Connection to LFS in UDP mode or TCP mode

$EnableRegisterWeb = true; # When set to "true" your LFS Server is displayed on the FRH Team website

This is the server Config

// host name
/host=Drift For Life!

// optional: password
//pass=
// optional: admin password
/admin=Password
Zarmaka
S2 licensed
Aye but it doesnt work! And it's a drifting server, so its not like I can do without Lapper =P

OK Got the admin working! But still lapper to go!
Zarmaka
S2 licensed
THat fuxed it up again, so I probably gotta install the whole server again... Because that admin error wont fix =/ Anyone with a fully configured client (or just pro with configuring) that can help me?
How can I make my admin work on my LFS game?
Zarmaka
S2 licensed
I set up a dedicated server, but cant figure out how to make the admin thigns work. As I have the server 2inches from me on another monitor, it aint that big a problem, but I got a mate that I want to give admin too and it wont work!

I've tried putting the admin password in the password thing when connecting to a server, but it still says I dont have admin rights. And as soon as I change anything in my Configs, the LFSLapper tells me the admin password is wrong,,

Anyone able to help me?

EDIT: Oh, and is it possible to run several servers off one PC? :P
Last edited by Zarmaka, .
Zarmaka
S2 licensed
Tried... Ive even set it to 1 km/h to test it, and its also mostly just in that turn wich is weird. Anyone that have a fully working / configured drifting thingy can just type it in here or upload, because I'm not getting anywhere with this
Zarmaka
S2 licensed
Hi, i've installed LFS on my server (Norsk Drifting Server) But i'm having a problem that the points you get before the first turn reset, eventhough you do a perfect drift. This is really annoying and limits the potential of topscores.

Any help would be apperciated.
Zarmaka
S2 licensed
Thats not the problem, the score you have gotten from the start line -> first corner wich is usually around 2-3k for me is lost, wich is fairly annoying!
LFSLapper Loosing score
Zarmaka
S2 licensed
Well, i'm running a server online with LFSLapper, Driftscore and all works! But there is a problem that on the first turn after pit (demo map) the score resets, EVENTHOUGH you do a perfect corner.

<code>
#================#
#Drifting options#
#================#

$DriftDatabase = "./DriftPB.txt";

Event DriftPBAction()
cmdLFS( "/rcm " . $Nickname . "^3 made new PB: ^7" . $DriftScore . " ^3pts!" );
cmdLFS( "/rcm_all" );
EndEvent

Event DriftPBAction()
cmdLFS( "/msg " . $Nickname . "^3 made new PB: ^7" . $DriftScore . " ^3pts!" );
EndEvent

Event DriftLapAction()
cmdLFS("/msg " . $Nickname . " ^3drifted to ^7" . $DriftScore . " ^3pts" );
EndEvent

Event OnDriftScore()
privMsg( "Score: ^7" . $DriftScore . " ^3" . $LastDriftScore );
EndEvent

$GoodDriftScore = 2500; # Value to be reached to execute action on good drift score
####### you can change the 4000 to anything you want - higher or lower number to suit


Event GoodDriftAction()
privMsg( $Nickname . " ^3made excellent drift: ^7" . $LastDriftScore ." ^3pts" );
EndEvent


$MinimumDriftScore = 3; # Minimum drift score required
####### you can change the 250 to anything you want - higher or lower number to suit

# Actions to do at end of lap if MinimumDriftScore is not achieved.
Event DriftTooLowAction()
privMsg( $Nickname . "^3 disqualified" );

cmdLFS( "/spec " . $Nickname };
EndEvent

$MinimumDriftSpeed = 10; # Minimum speed in km/h to maintain. Driving below that speed will reset score
$MinimumDriftAngle =15; # Minimum angel to maintain. When angle is below value, score is reset
$MaximumDriftAngle = 250; # Maximum angel to maintain. When angle is above value, score is reset

</code>
FGED GREDG RDFGDR GSFDG