The online racing simulator
LFS server problems
(24 posts, started )
LFS server problems
im new to lfs i play the demo version ive just started a lfs server and i also downloaded a stat server but i cant seem to get the stat server up and running ive tryed everything and this is not the 1st server ive set up can any1 help pls
What do you mean by 'Stat server' ?
stats
in the demo the program run by dos that records lap and race stats
Quote from UKMANUK :in the demo the program run by dos that records lap and race stats

lfs lapper
Have you set the admin pass and server port to the same as lfs server?
Quote from UKMANUK :ive tryed everything and this is not the 1st server ive set up can any1 help pls

This is not helpful.

What have you tried?
Are you getting any error messages?
Have you referred to the documentation that comes with LFSLapper?
lfs server
yes but i get error messages not sure why

nxt msg il post the error msg
Quote from the_angry_angel :This is not helpful.

What have you tried?
Are you getting any error messages?
Have you referred to the documentation that comes with LFSLapper?

ive tryed evrything possible but no luck if some one can send me there set up then i mite get a rough idea to configure it
"there setup" you dont need it. If the Admin pass and the insim port are correct and the same in both setup files for lfs dedi and lfs lapper it "should" connect. Would you mind posting the config of both if the error still happends...
Quote from mcgas001 :"there setup" you dont need it. If the Admin pass and the insim port are correct and the same in both setup files for lfs dedi and lfs lapper it "should" connect. Would you mind posting the config of both if the error still happends...

#####################################################################
#
# This is sample script for LFSLapper.
#
# Use non-formatting text editor such as notepad to modify script.
#####################################################################

# Lines beginning with '#' are comments and are ignored by program.

# Lines beginning with TAB are considered as part of last key line.

# If more keys with same name exist, value of last one in file will be used.
# That way it's possible to override commands. See at end of this file.

# In all text responses you can also use colors:
# ^0 - black
# ^1 - red
# ^2 - green
# ^3 - yellow
# ^4 - blue
# ^5 - violet
# ^6 - cyan
# ^7 - white
# ^8 - no color

# If using also unicode characters, save script as unicode text document.

# Global variables, that can be used in any action:
# {ShortTime} - Local time of server in short form
# {LongTime} - Local time of server in long form
# {ShortDate} - Local date of server in short form
# {LongDate} - Local date of server in long form
# {ShortTrackName} - Current track name in short form
#
# Symbol replacements:
# {colon} - symbol ':'
# {at} - symbol '@'
# {vbar} - symbol '|'

###################################
# General options
###################################

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

Host = 92.9.185.115

# Insim UDP port.
# Before starting LFSLapper you must configure LFS server to use this port for InSim.
# You can do that in command line when starting LFS (/insim=29999) or in talk window of LFS (/insim 29999).

Port = 29999

# Change Password to match Admin password on LFS server.
# Usually this is the only value that needs to be modified for this default script to work.

Password = 7997997

# Message that is shown to players when they connect to server. Use '|' for new line.
# {Posqual} - Position on pre-qualification
# {Groupqual} - Group pre-qualification
# {Posabs} - Position on pre-qualification
ConnectMsg =
^7Welcome to ^1LFSLapper ^7powered server !|
^2Type ^7!help ^2after leaving garage to see commands.

# Enable if you want to show control of players when leaving the garage.

ShowPlayerControl = true

# Private Message that are send on spb.
# Message on lower split : Message on upper split
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {CurSplit} - Relative Time to begin of split and end of split
# {BestSplit} - Relative Time on best Split
# {DiffSplit} - CurSplit - BestSplit
# {BestSpeed} - Best to begin of lap to this split
# {Tpb} - Théorical PB
# {Posqual} - Position on pre-qualification
# {Groupqual} - Group pre-qualification
# {Posabs} - Position on pre-qualification


ShowSplitPB = true

PrivMessSpb1Up = ^7SP1: {CurSplit} ^1({DiffSplit}) ^7=>TPB:{Tpb}
PrivMessSpb1Low = ^7SP1: {CurSplit} ^2({DiffSplit}) ^7=>TPB:{Tpb}

PrivMessSpb2Up = ^7SP2: {CurSplit} ^1({DiffSplit}) ^7=>TPB:{Tpb}
PrivMessSpb2Low = ^7SP2: {CurSplit} ^2({DiffSplit}) ^7=>TPB:{Tpb}

PrivMessSpb3Up = ^7SP3: {CurSplit} ^1({DiffSplit}) ^7=>TPB:{Tpb}
PrivMessSpb3Low = ^7SP3: {CurSplit} ^2({DiffSplit}) ^7=>TPB:{Tpb}

PrivMessSpbLastUp = ^7SPL: {CurSplit} ^1({DiffSplit}) ^7=>TPB:{Tpb} Max:{BestSpeed} km/h
PrivMessSpbLastLow = ^7SPL: {CurSplit} ^2({DiffSplit}) ^7=>TPB:{Tpb} Max:{BestSpeed} km/h

# RefreshQualUser : allow Lapper to refresh QualUsers on each outgoing pits, Usefull if QualUsers is a file and this change frequently by extern program
# QualUser : is a list of racer who participe at qualification, required for function !nearqual !topqual and !statsqual
# if you prefix with & , You can indicate a file name who contain list of racer, one racer per line ex : QualUsers = ./userfile.txt
# if you prefix with @, You can list username separated with , ex : QualUsers = @Gai-Luron,gwendoline,_-ALUCARD-_,lagamel
# In demo mode use nickname
# You can specify the scheme of group of this qualification using a special username called DefGroup
# Defgroup Take 3 argument separated with ';'
# 1 - Is the number Max of Group for this qualification
# 2 - Is the number max of user per group
# 3 - Is the minimum of user in the last group, recalc previous group as possible if number is low
# If you ommit scheme of groups, the group of qualification do not appear

RefreshQualUser = false
QualUsers = stats.flt
#QualUsers = UKMANUK



# Action to do on race restarts.
# If more actions, separate them with '|'.

#RaceStartAction = /msg ^3Please, brake in time !
RaceStartAction = /rcm ^3Please, brake in time !|/rcm_all

# Default car to show, when no car is specified in !top or !drf command.

#DefaultTopCar = UF1
#DefaultTopCar = XFG
#DefaultTopCar = XRG
DefaultTopCar = XRT
#DefaultTopCar = RB4
#DefaultTopCar = FXO
#DefaultTopCar = LX4
#DefaultTopCar = LX6
#DefaultTopCar = RAC
#DefaultTopCar = FZ5
#DefaultTopCar = MRT
#DefaultTopCar = XFR
#DefaultTopCar = UFR
#DefaultTopCar = FOX
#DefaultTopCar = FO8
#DefaultTopCar = FXR
#DefaultTopCar = XRR
#DefaultTopCar = FZR
#DefaultTopCar = BF1

# How much time will big text messages last (text that is started by rcm_all command).
# In milliseconds.

MessageTime = 5000

# Whether to use usernames instead of nicknames for authentication of users executing AutoAction.

UseUsernameForAuthentication = true

# Actions that are executed on received messages. Use '|' for next pattern/action pair and to separate pattern from action.
# If more actions or patterns, separate them with ':'.
# Use @ sign at end of patterns, if you wish to specify users, that are allowed to execute action.
# Use & sign at end of patterns, if you wish to specify a file containing users, that are allowed to execute action. users separate by \n
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

AutoAction =
hoho|/msg ^3What's so funny, {Nickname}?|
no name no game|/kick unnamed|
!admin:!adi@^7Mon^4k^1ster,Mo|/rcm {Nickname} ^3can do it!:/rcm_all|
!test|/rcm {Nickname} is testing...:/rcm_ply {Nickname}

# Actions that are executed on schedule. Use '|' for next schedule/action pair and to separate schedule from action.
# If more schedules or actions, separate them with ':'.
# To escape ':' type '\:' if you want ':' in your message.
#
# ssmmhhddMMYYYY

#ScheduledAction = 0 * * * * * : 30 * * * * *|/msg Kicking time (every 30 seconds)!:/kick unnamed
ScheduledAction =
0 0 0 * * * |/rcm Midnight warning to all working men!:/rcm_all|
0 0 0 1 1 * |/rcm booooooooo!:/rcm_all

# Private multiline messages to send to player. Use '|' for next pattern/message pair and to separate pattern from message. Use ':' for new line.
# Possible variables to use:
# {Nickname} - Nickname of driver that sent message

AutoMsgPrivate =
****:shit|^3Calm down, {Nickname}!|
!help|
^3!top ^8[table offset] [3-letter car name] ["filter" pattern]:
^3!drf ^8[table offset] [3-letter car name] ["filter" pattern]:
^3!stats ^8[playername pattern]:
^3!dstats ^8[playername pattern]:
^3!ver:
^3!help

# Actions to execute when player teleports to pits by options or SHIFT+S.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

#EnterPitAction = /msg {Nickname}^8 teleported to pits !

# Actions to execute when player spectates or disconnects (leaves race).
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

#LeaveRaceAction = /msg {Nickname}^8 leaves race !

###################################
# Pitting penalties
###################################

# Actions to execute when player gets drive-through penalty.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

#DriveThroughPenaltyAction = /msg {Nickname}^8 reached drive-through penalty maximum.

# Maximum Drive-Through penalties to tolerate.

#MaxDriveThroughPenalties = 10

# Actions to execute when player gets stop-go penalty.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

#StopGoPenaltyAction = /msg {Nickname}^8 reached stop-go penalty maximum.

# Maximum Stop-Go penalties to tolerate.

#MaxStopGoPenalties = 1

# Actions to execute when player gets 30 seconds penalty.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

#Time30PenaltyAction = /msg {Nickname}^8 gets 30s penalty.

# Actions to execute when player gets 45 seconds penalty.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

#Time45PenaltyAction = /msg {Nickname}^8 gets 45s penalty.

###################################
# FTP transfer
###################################

# Results files can also be transferred to FTP server.
# Define following parameters to use this feature.

#FtpServer = your ftp server
#FtpLogin = your login
#FtpPasswd = your password
#FtpRemotePath = your remote dir

####################################
# Flooding options
####################################

# Actions to execute, when player writes many lines within defined amount of time.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

FloodAction = /msg {Nickname}^3 is flooding

# Maximum number of consecutive lines allowed.

MaxFloodLines = 4

# Maximum time between two consecutive lines in milliseconds to count as flooding.

MaxFloodLinesTime = 5000

####################################
# Spinning detection options
####################################

# Minimum angle velocity to trigger action. Possible values: 0 - 720.

MinAngleVelocity = 250

# Action to execute when angle velocity is higher than MinAngleVelocity.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {AngleVelocity} - Angle velocity in degrees

#AngleVelocityAction = /spectate {Nickname}|/msg {Nickname} ^3 removed from track for wrecking
AngleVelocityAction = /msg ^1Danger! ^8{Nickname} ^2lost control!

#MaxNbInStunt is max time (in 100 ms) allowed in stunt mode before MaxNbInStuntAction is executed. If -1 No MaxNbInStuntAction are activated.
MaxNbInStunt = 20
MaxNbInStuntAction = /spectate {Nickname}

####################################
# Idling options
####################################

# Actions to execute, when speed of player is zero for defined amount of time.
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver

OnIdleAction1 = /msg {Nickname}^3 is idle ! Spectate in 30 seconds MOVE
OnIdleAction2 =
/spectate {Nickname}|
/msg {Nickname}^3 spectated for non-activity!

# Idle timeout for OnIdleAction1 in seconds.

OnIdleTimeout1 = 1000

# Idle timeout for OnIdleAction2 in seconds.

OnIdleTimeout2 = 1000

####################################
# 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

#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

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

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

GoodDriftScore = 4000
GoodDriftAction = /msg {Nickname} ^3made excellent drift: ^7{LastDriftScore} ^3pts

# Minimum drift score required.

MinimumDriftScore = 500

# 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

#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

####################################
# Hotlapping options
####################################

# 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.

Database = ./PB.txt

# Define max time of split to trigger action.

Split1 = 0.28.20
Split2 = 0.59.20
Split3 = 1.30.00

# Actions to do on splits.
# If more actions, separate them with '|'.
# Possible variables to use:
# {SplitTime} - Split time
# {Nickname} - Nickname of driver

Split1Action = /msg Great 1st split ({SplitTime}) by {Nickname}^8 !
Split2Action = /msg Great 2nd split ({SplitTime}) by {Nickname}^8 !
Split3Action = /msg Great 3rd split ({SplitTime}) by {Nickname}^8 !

# Maximum allowed lap time to record it and execute action.

MaxLapTime = 2.00.00

# Action to do on new personal best lap.
# PBQualAction for the racer who make qualif ( in QualUser )
# PBAction the other racer
# If more actions, separate them with '|'.
# Possible variables to use:
# {Nickname} - Nickname of driver
# {Username} - Username of driver
# {LapTime} - Lap time achieved
# {Car} - Car used
# {Posqual} - Position on pre-qualification
# {Groupqual} - Group pre-qualification
# {Posabs} - Position on pre-qualification

#PBAction = /msg New PB by {Nickname}^8 ({Car}): {LapTime}
PBAction = /rcm New PB by {Nickname}^8 ({Car}): {LapTime}|/rcm_all

####################################
# Acceleration options
####################################

# At which speed to start and stop measuring time. In km/h.

AccelerationStartSpeed = 1
AccelerationEndSpeed = 60

# Maximum acceleration time in seconds to show private message.

AccelerationPrivateMaxTime = 10

# Message to show to players.
# Possible variables to use:
# {AccelerationStartSpeed} - Starting speed
# {AccelerationEndSpeed} - Ending speed
# {AccelerationTime} - Acceleration time achieved from start to end speed

AccelerationPrivateMessage = ^3{AccelerationTime}^8 seconds to {AccelerationEndSpeed} km/h !

####################################
# Overriding options
####################################
Judging by that I.P are the lfs server and lfs lapper on the same computer? if not id probley say its firewall issues...
setup
//Example dedicated host configuration file.
//How to use : LFS /cfg=setup.cfg

//FIRST IN LIST
/host=English Rally server

//if required - password
//pass=password

//if required - admin password
/admin=7997997

//if required - InSim port
//insim=29999

//if required - local specified ip address
//ip=92.9.185.115

//a high number below 65536
/port=55985

//demo/s1/s2
/mode=demo

//no/yes/hidden
/usemaster=yes

//BL1/BL1R/BL2... SO1/SO1R/SO2... etc
/track=BL2

//weather : 1,2,3 in Blackwood
/weather=1

//cars allowed - see README.txt
/cars=xfg

//max number of guests that can join host
/maxguests=12

//max number of cars in a race
/carsmax=12

//max number of cars (real+ai) on host pc
/carshost=1

//max number of cars (real+ai) per guest pc
/carsguest=1

//smoothness (3-6) number of car updates per second
/pps=4

//qualifying minutes, 0 for no qualifying
/qual=0

//number of laps, 0 for practice
/laps=5

//if laps not specified - hours
//hours=24

//0=no/1=low/2=high
/wind=0

//nogfx/invisible
/dedicated=nogfx

//no/yes : can guests vote to kick or ban
/vote=yes

//no/yes : can guests select track
/select=yes

//no/yes/ban/spectate : wrong way drivers
/autokick=kick

//no restart within X seconds of race start
/rstmin=10

//no restart within X seconds of race finish
/rstend=30

//no/yes : allow join during race
/midrace=yes

//no/yes : pit stop required
/mustpit=no

//fixed/finish/reverse/random : race start order
/start=finish

//if required : welcome message up to 200 chars
/welcome=welcome.txt

//if required : text file listing allowed tracks
//tracks=tracks.txt
my firewall
my firewall is off and only lfs port is open and insim port is open
Are they not on the same PC then? If they are i dont know why you have put the IP adress in. If they are on the same physical computer then leave it as 127.0.0.01
yes both on same pc
Quote from mcgas001 :Are they not on the same PC then? If they are i dont know why you have put the IP adress in. If they are on the same physical computer then leave it as 127.0.0.01

ok il try if not il post here shortly
still no luck
still not workig il post the error msg
error msg
at system net sockets receive from byte buffer intel32 offset udpclient receive ipendpoint and remote ep
thanx
thanx for ur time much appreiciated
Quote from UKMANUK :
//if required - InSim port
//insim=29999

Your InSim port is commented out, which means, assuming you're actually using that config file, that InSim is not configured properly.
*Chucks self out window*

E: How the fudge did i miss that..
ahhhh
yes i 4got about the 2 slashes
wooohooo
i got it working in the cfg file 4 host dedi server the insime was showing like this //insim 29999 so i took one of the / away and it worked
I LOVE LFS AND IM GONNA GET A LISENCE SOON AND JOIN A TEAM WOOOHOOO CANT WAIT

angry angel thanx

LFS server problems
(24 posts, started )
FGED GREDG RDFGDR GSFDG