this is a beta version an only one Lapper can be run on one computer ( Due to the socket error ).
The reason is because the console admin use a socket and tcp to manage LFSLapper. On Beta this is harcoded to a specified port ( not yet finished ).
In fact actually, there is a server and a client in LFSLapper for the admin like insim even if you don't see it.
i hope you understand what i say!
Gai-Luron
PS: I have some problem and i don't dev this past days but i continue to read yours feed back.
never tried to run multiple servers from one exe/config... running only 2 servers - demo/s2.
i just think its not ideal to have only global ban without possibility to ban on single server too.
btw its more wider problem - managing multiple servers with single lapper leads to additional config files - like in airio - every server needs different configuration -> exceptions...
I fixed some bug's in the track selector and removed the part that set alway's the car to FBM.
It's (still) not posible to detect what car's are used. So only the first time that the config gui start it shows a "?" in case of the current car(s).
In the following part of the guiconfig.lpr file you can setup your dedi server when LFSLapper (re)start.
### SET THE FOLLOWING VAR'S TO SETUP YOUR SERVER WHEN LFSLAPPER (RE)START #### $GUI_Lap = 5 ; #Number of race laps $GUI_qual = 10 ; #Number of qual minutes $GUI_wind = 0 ; #0=no wind 1=low wind 2=hard wind $GUI_weather = 1 ; #set type of wheather 0,1 or 2 $GUI_mustpit = "no" ; #need to pit yes or no $GUI_fcv = "no" ; #Force cockpit view yes or no $GUI_drift = "no" ; #Drift option yes or no ( see the part at end of this script) $GUI_midrace = "yes" ; #Join midrace yes or no $GUI_start = "finish" ; #Race start order : fixed/finish/reverse/random $GUI_current_car = "?" ; #You can set here the default car. If not set,the first time when the config GUI start its show's a "?". ### END ###
Hi Gai & Yisc,
Thats a shame as wanted to allow my Admins to /bam John Doe 365 but is 2 argv's can't be used its inmpossible to have adjustable days.
I have a points system running on AKM Servers now but like Tim would like the new variable so we know how many drivers are starting a race to make race points adjustable. I would like another so lapper knows how many cars are ontrack at anytime on an event like passing a split or finishing a lap.
I am trying to make LFSLapper read the DriftPB.txt but i couldnt...i created it in the bin folder..i think its because i am not directing it to the right path..
The File is located in (D:Games/LFS/LFSLapper/bin/DriftPB.txt)...
Hi,
you have only to remove the /* and */ in the drift options part to make it working.
Here's a working part.
############ #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( "/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 */ $MinimumDriftSpeed = 50; # 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
LFSLapper Version=5.8.3.1 on GNU license 2005-2008 Janez Cufer and Robert BRACCAGNI ( Gai-Luron ) LFSLapper comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions. Read LICENSE for details. Type LFSLapper -help to view usage Started : 10/04/2009 14:39:54
>Receive Query connection! Receive connexion packet! Open connection Parse config file...Ok Loading WR...Ok Loading swearwords...Ok Connecting Connection OK Product:S2 Version:0.5Z InSim Version:4 Ftp Upload grip DB Thread Started... Ftp Upload drift DB Thread Started... Web Commands Thread Started... Register Web Thread Started... LFSLapper is running...
Once into LFS, entering "!gui".........
Syntax error in cfg file "./includes/guiconfig.lpr" at line #105 'openprivbutton' parameter #1 is wrong type at line # Function 'config_gui' script aborted
Lapper Instance Aborted abnormally The following error occurred:
Stack empty. mscorlib at System.Collections.Stack.Pop() at GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript \GLScript.cs:line 1008 at GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunct ion BC) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\ParseExp r.cs:line 465 at GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenB uffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\GLScri pt.cs:line 838 at GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVa rs GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, I nt32 end) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\GLScri pt.cs:line 223 at GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVa rs GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, I nt32 end) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\GLScri pt.cs:line 466 at GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVa rs GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, I nt32 end) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\GLScri pt.cs:line 466 at GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVa rs GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, I nt32 end) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\GLScri pt.cs:line 353 at GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVar s LVAR, Int32 start, Int32 end) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapp er\src\GLScript\GLScript.cs:line 154 at GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\GLScript.cs:line 14 9 at GLScript.GLApp.executeFunction(String funcName, String[] argsVals) in D:\D ev\DevInsim\lapper\LFSLapper5.830\LFSLapper\src\GLScript\GLScript.cs:line 119 at Configurator.lexConfigurator.executeFunction(String funcName, infoPlayer p currInfoPlayer, String[] par) in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSLapper \src\cfgParser\readCfg.cs:line 254 at LFSLapper.LFSClient.managePacket(MSO mso) in D:\Dev\DevInsim\lapper\LFSLap per5.830\LFSLapper\src\LFSClient\managePacket.cs:line 546 at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lappe r\LFSLapper5.830\LFSLapper\src\LFSClient\loop.cs:line 793 at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper5.830\LFSL apper\src\LFSClient\lfsclient.cs:line 516 System.Object Pop() Closing Instance...Parse config file...Ok Loading WR...Ok Loading swearwords...Ok Connecting Connection OK Product:S2 Version:0.5Z InSim Version:4 Ftp Upload grip DB Thread Started... Ftp Upload drift DB Thread Started... Web Commands Thread Started... Register Web Thread Started... LFSLapper is running...
Hi Gai & Yisc,
Is it possible for me to create list of Drivers like !top but showing there Points instead. Also where are the SetStoredValues saved? are they stored in same file as driver PB times etc and how can I view the file, what software will open it in a readable format? Not Sorted
Can someone explain what function !license has please. Not Sorted
Can someone show me how to add 2 stored items together, like I have Points_Laps and Points_Race as stored values against each drivers UserName but want to display them as 1 set of points added together. Sorted
Hi,
Did you replace only some parts in the guiconfig.lpr or did you replaced the complete file guiconfig.lpr ?
I changed a lot of things in version 1.0.4.b so you have to remove the old file guiconfig.lpr and put the new file in the includes folder.
It works here fine.
Here is a new copy of the guiconfig.lpr ( Its the same file as the one of april 9 )