The online racing simulator
LFSLapper Loosing score
(3 posts, started )
LFSLapper Loosing score
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>
Quote from Zarmaka :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.

Hi,

This is normal , every lap a new score , you can type !drf to see the score list or !help to see all command's.
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
(3 posts, started )
FGED GREDG RDFGDR GSFDG