PDA

View Full Version : Lfs lapper help (drift points)


fretan
23rd August 2007, 10:51
Hi i need help how to get the drift points to work?

mcgas001
23rd August 2007, 11:09
they should work by default :really:

fretan
23rd August 2007, 11:15
they dont ^^

mcgas001
23rd August 2007, 11:35
ok got a copy of the .CFG file if so post it up here :)

fretan
23rd August 2007, 11:54
yes please =)

mcgas001
23rd August 2007, 12:09
no i need you 2 post a copy of your CFG file from lfslapper so i can see where the problem is...

fretan
23rd August 2007, 12:14
oh ok =)

fretan
23rd August 2007, 12:17
That one. sorry for double

AndroidXP
23rd August 2007, 12:33
LOL. I hope you know you just posted your admin password with that config...

fretan
23rd August 2007, 12:41
yeah that was for the test server.
im going to use a more secure pass than that ;P

fretan
23rd August 2007, 16:25
BUMP! Need help today kinda ^^

mcgas001
24th August 2007, 08:36
Well from looking at your config i would say this is your problem

DriftPBAction = /rcm {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm_all
DriftPBAction = /msg {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!

Im pretty sure you can only use one or the other, so put a # in front of one of the lines

eg:

DriftPBAction = /rcm {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm_all
#DriftPBAction = /msg {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!

But you can still have it do both things by setting one line like this i think

DriftPBAction = /msg {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm_all

Hope that helps


why didnt i notice that :tilt:

fretan
24th August 2007, 09:31
Well from looking at your config i would say this is your problem

DriftPBAction = /rcm {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm_all
DriftPBAction = /msg {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!

Im pretty sure you can only use one or the other, so put a # in front of one of the lines

eg:

DriftPBAction = /rcm {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm_all
#DriftPBAction = /msg {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!

But you can still have it do both things by setting one line like this i think

DriftPBAction = /msg {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm_all

Hope that helps

Sadly it didnt :S it wont work :( eek rly needs it thanks anyways. i guess im doomed.:scratchch

fretan
24th August 2007, 14:14
Thx m8 i will try it out =)

fretan
24th August 2007, 14:23
Yep it worked =) thanks ALOT m8 =)

VapourB.O.D
6th September 2008, 02:14
hi where do i copy everything to??? there is cfg folder and lfs lapper??? in there or in the other 1 which is in the bin folder??? plzz help im confused
:shrug::shrug:

Yisc[NL]
6th September 2008, 07:49
hi where do i copy everything to??? there is cfg folder and lfs lapper??? in there or in the other 1 which is in the bin folder??? plzz help im confused
:shrug::shrug:

Your config-file should go in the CFG-folder.
The batch-file to start Lapper is in the BIN-folder.
You can store your config-file somewhere else but then you need to alter the batch-file to point to the correct location for your config-file.

mike1205
7th September 2008, 12:21
hey i have the same problem so ill post it here...if you can help me please...
everything is working fine only the drift points don't i tryed what you guys suggested earlier still it doesn't work here is the lapper cfg

Yisc[NL]
7th September 2008, 12:38
hey i have the same problem so ill post it here...if you can help me please...
everything is working fine only the drift points don't i tryed what you guys suggested earlier still it doesn't work here is the lapper cfg

That's because you didn't remove /* and */ in the drift section. Further I noticed some line have been disabled by #
I corrected them and here's your driftcode but notice that some options are still disabled by /* at the start and */ at the end. To enable that event remove those excludes.


##################
#Drifting options#
##################
# This is the filepath for a file containing the collected data.
# This file will be created if it doesnt exist yet.
# You must ensure read/write access to this path.
#-------------------------------------------------------------------

$DriftDatabase = "./DriftPB.txt";

# Actions to do on new personal best drift lap.

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

# Actions to do to when total lap drift score is higher or equal to MinimumDriftScore.


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

# Message to get on end of each drift.
# Possible variables to use:

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

$GoodDriftScore = 4000; # Value to be reached to execute action on good drift score

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

$MinimumDriftScore = 10; # Minimum drift score required

# Actions to do at end of lap if MinimumDriftScore is not achieved.

/*
Event DriftTooLowAction()
privMsg( $Nickname . "^3 disqualified" );
cmdLFS( "/spec " . $Nickname };
EndEvent
*/

mike1205
7th September 2008, 12:50
Thank you it works now i appreciate verry much your help

Stunda
26th October 2008, 08:55
That Helped me too thx but i have litle problem can someone make good settings to earn drift score cuz if i drive like normal i got allmost allthe time points like 1,1,2,1 ... Pls someone make some good drift settings.. xD


***EDIT***

I dont now need the setups cuz i maked my own :)
My server was full yesterday xD and i think its gonna be more popular :)

rbarbara5
2nd November 2008, 22:26
if posible, can someone post lapper with the drift scoring working please, it would be much apreciated and stop a few headaches, thanks:thumb:

amgdrift
24th February 2009, 16:04
hi!
i have problem with drift points do i did evrything like u did say in here but now it say syntax error my Drift option part is here
####################################
# Drifting options
####################################
# Actions to do on new personal best drift lap.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {DriftScore} - Drift score
# {Car} - Car used
# {SessLaps} - Number of laps on current car and track for session
# {Laps} - Number of Lap on current track and Car
# {TotalPitTime} - Total Time stop in pit place
DriftPBAction = /rcm {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!|/rcm_all
#DriftPBAction = /msg {Nickname}^3 made new PB: ^7{DriftScore} ^3pts!
# This is filepath of file containing collected data.
# Will be created if it doesnt exist yet.
# You must ensure read/write access to this path.
DriftDatabase = ./DriftPB.txt
# Actions to do to when total lap drift score is higher or equal to MinimumDriftScore.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {DriftScore} - Drift score
# {Car} - Car used
# {SessLaps} - Number of laps on current car and track for session
# {TotalPitTime} - Total Time stop in pit place
# {Laps} - Number of Lap on current track and Car
DriftLapAction = /msg {Nickname} ^3drifted to ^7{DriftScore} ^3pts
# Private message to get on end of each drift.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {DriftScore} - Total drift score
# {LastDriftScore} - Last drift score
# {Car} - Car used
# {SessLaps} - Number of laps on current car and track for session
# {Laps} - Number of Lap on current track and Car
# {TotalPitTime} - Total Time stop in pit place
PrivateMessageOnDriftScore = Score: ^7{DriftScore} ^3+{LastDriftScore}
# Action to execute on good drift score.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {LastDriftScore} - Last drift score
# {Car} - Car used
# {SessLaps} - Number of laps on current car and track for session
# {Laps} - Number of Lap on current track and Car
# {TotalPitTime} - Total Time stop in pit place
GoodDriftScore = 4000
GoodDriftAction = /msg {Nickname} ^3made excellent drift: ^7{LastDriftScore} ^3pts
# Minimum drift score required.
#MinimumDriftScore = 10
# Actions to do at end of lap if MinimumDriftScore is not achieved.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {DriftScore} - Drift score
# {Car} - Car used
# {SessLaps} - Number of laps on current car and track for session
# {Laps} - Number of Lap on current track and Car
# {TotalPitTime} - Total Time stop in pit place
#DriftTooLowAction = /msg {Nickname}^3 disqualified|/spectate {Nickname}
#DriftTooLowAction = /msg {Nickname}^3 is one lousy drifter ({DriftScore} pts)
# Minimum speed in km/h to maintain. Driving below that speed will reset score.
MinimumDriftSpeed = 50
MinimumDriftAngle = 15
MaximumDriftAngle = 100

Yisc[NL]
24th February 2009, 17:03
hi!
i have problem with drift points do i did evrything like u did say in here but now it say syntax error my Drift option part is here
(snap)

Yeah, you messed up the code big time.
All events are gone, lines havent " at the beginning and end
You're also missing ; everywhere.
Here's the corrected code:


$DriftDatabase = "./DriftPB.txt";

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

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

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

$GoodDriftScore = 4000;

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

/*
Event DriftTooLowAction()
cmdLFS("/msg ^1>>^7 " . $Username . "^1<<^7 Is a Slow Drifter" );
EndEvent
*/

$MinimumDriftSpeed = 50;
$MinimumDriftAngle = 15;
$MaximumDriftAngle = 100;

krisis32
30th June 2009, 15:08
my lapper dosnt count drift points :shrug:

sinanju
21st July 2009, 00:59
my lapper dosnt count drift points :shrug:
What version of Lapper are you using?

============================

Just noticed that this whole topic is for older (version 5.7xx) version of Lapper - all changed in version 5.8xx.

BMW M3GTR
24th July 2009, 17:31
What version of Lapper are you using?

============================

Just noticed that this whole topic is for older (version 5.7xx) version of Lapper - all changed in version 5.8xx.

iam using LFSLapper5.716.

i ran the lfslapper and its saying everything is cannnected and when i go to the server the points dont show what i need to change ? thx

sinanju
24th July 2009, 19:24
Open your LFSLapper.lpr file.

Search for 'Drifting Options'.

Delete whole section and copy / paste attached contents of attached text file into the section you deleted.

Save.

Run LFS.

Run Lapper.

Do some drifts.

Messages and scores should appear.

The text command !drf should work and give list of scores.

kumarakid
3rd August 2009, 23:31
Hello, I'm running this edited version of lapper as per your instructions which is working and scoring fine thanks. !stats works but not !top or !drf in game. Lapper server window shows DriftPB and PB.txt does not exist yet. Where do i create these files please?

Yisc[NL]
4th August 2009, 07:06
Hello, I'm running this edited version of lapper as per your instructions which is working and scoring fine thanks. !stats works but not !top or !drf in game. Lapper server window shows DriftPB and PB.txt does not exist yet. Where do i create these files please?

In order to get !top etc running, you have to specify a default car or default cars.
DriftPB.txt and PB.txt will be created automaticly as soon as there's anything to register.

kumarakid
4th August 2009, 22:22
;1229029']In order to get !top etc running, you have to specify a default car or default cars.
DriftPB.txt and PB.txt will be created automaticly as soon as there's anything to register.

Excellent, thanks heaps Yisc!

Krayy
4th August 2009, 22:42
Hey KK,

Remember that we will be migrating to lapper v8.744 from Thursday onwards to take advantage of the Car Reset and Handicapping modules that we've created.

The drift and race PB files are going to convert to an internal database, but I'll modify the !top command to use your current car as the default and we migth create some export functions for you.

kumarakid
5th August 2009, 06:56
Ah hey Krayy!...Yep so I heard but that will be on LFSNZ 2 only right?
Just been working on this drift server for wee while without alot of experience in such things lol. Now I have top, stats and drf sorted so its running really well now and the younguns are happy.
Not lookin to change anything at the moment matey...

Drifterisss
28th November 2009, 11:11
I made everithyng as you write the !top XRT working :) thnx but the !drf or !drf XRT not working :( can you help me?

DriftMasterSmoke
18th July 2010, 13:59
Hello can anyone post showing how to edit config files in lapper to make it score higher ... i got everything working but cant find out where to up the points the defalt points seem way to low... is there a plug-in for this or just scripting the confi properly... any help would be nice thx. have nice day

Tim NL
18th July 2010, 17:22
Hello can anyone post showing how to edit config files in lapper to make it score higher ... i got everything working but cant find out where to up the points the defalt points seem way to low... is there a plug-in for this or just scripting the confi properly... any help would be nice thx. have nice day

Hi,
Take a look at this.
http://www.lfsforum.net/showthread.php?p=1392993#post1392993

sinanju
18th July 2010, 17:41
Hello can anyone post showing how to edit config files in lapper to make it score higher ... i got everything working but cant find out where to up the points the defalt points seem way to low... is there a plug-in for this or just scripting the confi properly... any help would be nice thx. have nice day

Nothing to stop you doing something like

$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" )*2;

which would double the score (not sure if syntax is exactly right)

Or increase depending on speed or angle or something, maybe do

If (UnitSpeed > 40 )
THEN
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" )*1.2;
ELSE

IF (UnitSpeed > 50 )
THEN
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" )*1.5;

ELSE

IF (UnitSpeed > 60 )
THEN
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" )*1.8;
ENDIF
ENDIF
ENDIF

DriftMasterSmoke
24th July 2010, 19:28
k i found the rest but anyone know where to put your admin pass in the lapper 6.011 i cant seem to find it everytime i go to run lapper ses wrong pass or password doesnt match... mybe im just blind but can someone point it out for me plz thx

sinanju
24th July 2010, 20:46
Look in the bin\default folders for a file called default_1.ini.

It has 3 lines of text

$password = "yourpass";
$configFile = "LFSLapper.lpr";
$superUsersFile = "superusers.txt";

Change yourpass to whatever you want your password to be.

Use any sort of notepad editor to open file.

DriftMasterSmoke
1st August 2010, 15:19
thx so far everythings been big help and working . now im on the tops issue lappers working fin counting the points at finish only now when you go to type !tops or !drf the list pops up but no names or stats... anyone have good idea where or what to change to get tops working??. thx to all the help

sinanju
1st August 2010, 16:04
thx so far everythings been big help and working . now im on the tops issue lappers working fin counting the points at finish only now when you go to type !tops or !drf the list pops up but no names or stats... anyone have good idea where or what to change to get tops working??. thx to all the help
Could be that this is $DefaultTopCar issue.

In your LFSLapper.lpr file, search for $DefaultTopCar.

You probably have something like $DefaultTopCar = "XFG"; which is probably not the car you're drifting with.

Instead, make it either $DefaultTopCar = "XRT"; (if this is car you drift with, or change car name to the one you drift with)

or

$DefaultTopCar = "UFR+XFR+RB4+RAC+FZR+XRR+FXR+FBM+LX4+LX6+XFG+XRG+XR T+FZ5+FXO+FO8+FOX+MRT+UF1+BF1";

And

It's !top (not !tops)

DriftMasterSmoke
14th August 2010, 16:05
Yea still not working i added all the default cars for default. and !top still dont register. any other ideas on how to get top to work? im on the 6.0.1 lapper if that helps

DriftMasterSmoke
21st August 2010, 16:40
Drift meter how do you config to make the meter link its points? when i transition the points add to total. there not linking together even tho i hold current speed needed to keep the points and or not spinning out just doesnt link. Is there anything to config or unblock in the drift meter section? any help plz.. thx

sinanju
21st August 2010, 22:35
Hi

I'm using LFSLapper version 5.926b and driftmeter working ok.

Don't think it's been changed any in later versions.

The driftmeter basically measures 3 things - angle, current score (this score), and lap score (combo score).

------------------------------------
:---------------: Combo Score-:
:----Angle----:-------------------:
:---------------:-------1128------:
:----16 >-----: -----------------:
:---------------:---This Score---:
:---------------:-------------------:
:---------------:-------242-------:
:---------------:-------------------:
------------------------------------

Except for inlaps and outlaps, which will show your angles/scores but not save them, if you meet all criteria (within minimum and maximum angles, and above minimum speed), you will be given a score (This Score). On your first successful drift this score will also appear as your Combo Score.

Do another drift within same lap (or circuit), then you will be given another score (This Score), but it will be added to your previous Combo Score to give you a new and higher Combo Score.

Once you cross the start/finish line, then the Combo Score will effectively be zero although it will still show your old score until it's overwritten by first new drift of the new lap.

If you've changed the driftmeter configuration in any way, you have to understand that This Score is called LastDriftScore, and Combo Score is called DriftScore (or $LastDriftScore and $DriftScore).

It's possible you may have a corrupted driftmeter.lpr file, in which case it might be better just downloading newest version of lapper and overwriting (just) that file.

Hope that's not too confusing!

kristipops1
1st October 2011, 11:49
Open your LFSLapper.lpr file.

Search for 'Drifting Options'.

Delete whole section and copy / paste attached contents of attached text file into the section you deleted.

Save.

Run LFS.

Run Lapper.

Do some drifts.

Messages and scores should appear.

The text command !drf should work and give list of scores.


Hi do u have skype Please if u do add mee kristipops1

coz i got server Drifters.UK
Wee need lapper sow it don't work
it will be nice of u if u could help us thanks

kristipops1
1st October 2011, 12:22
Open your LFSLapper.lpr file.

Search for 'Drifting Options'.

Delete whole section and copy / paste attached contents of attached text file into the section you deleted.

Save.

Run LFS.

Run Lapper.

Do some drifts.

Messages and scores should appear.

The text command !drf should work and give list of scores.

i didnt get all this thing

where do i have to put all lapper files
and how to run lapper ;( ;( help

sinanju
2nd October 2011, 13:35
If you're running LFS offline from your own pc, then you need to type
/insim 29999
when ingame, then run LFSLapper.exe

To test my lapper files and configurations, I do it on my home pc first.

To do that, then set up a LFSLapper directory, and extract all the files into it.

You should have the following folders/directories;
/bin
/doc
/spec
/src

Go into the /bin directory, and you should see
/default
/defaultfiles
/logs

You will also see the LFSLapper.exe file in this directory.

To get the standard included driftmeter working, then you need to go into the
addonused.lpr
file, which can be found in /bin/default/includes directories.

Open this file and you will see a line
#include( "./driftmeter.lpr");

Remove the # sign from beginning of line, save and close.

With LFS running, type /insim 29999 then find the LFSLapper.exe file and run that. If it's working, you will see the standard (or if you've changed it, modified) welcome message.

If using an online server, then I rent LFS game server from 500Servers, who allow me to have additional port for LFSLapper - see image. This comes preconfigured so I don't have to do much except change the lapper files that I want to change.

However, there is a file called LFSServers.cfg (which is in same directory as the LFSlapper.exe file), and the default looks like
DEF1|gr1|127.0.0.1|29999|./default|default_1.ini|autowork

That has default 'home' ip address (127.0.0.1), which you can change to your online server address.

Make sure you change password in the default_1.cfg file in the /default directory.

kristipops1
2nd October 2011, 19:41
guyz when im joining dedi it shows Didnt recived track info and

INSIM:Packet received before ISI packet




Help