You've got an error in your LFSLapper.lpr script.
Look in default/logs folder for file ending in err.log - that will give you a line number where the script has mistake (use something like PSPad, as that gives line numbers).
7/3/2010 9:19:10 PM -> Syntax error in cfg file "LFSLapper.lpr" at line #319
Command 'RegisterNodeAction' incorrect number of parameter
Function 'onlapperstart' script aborted
7/3/2010 9:19:10 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:19:10 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:19:21 PM -> Syntax error in cfg file: Number of function argument not matche at line #658 in function 'onnewplayerjoin' script aborted
7/3/2010 9:19:27 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:20:16 PM -> Syntax error in cfg file :Content on file : "./includes/addonsused.lpr" at line #1
7/3/2010 9:20:16 PM -> Syntax error in cfg file "LFSLapper.lpr" at line #319
Command 'RegisterNodeAction' incorrect number of parameter
Function 'onlapperstart' script aborted
7/3/2010 9:20:17 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:20:17 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:20:17 PM -> Syntax error in cfg file: Number of function argument not matche at line #658 in function 'onnewplayerjoin' script aborted
7/3/2010 9:20:20 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:20:22 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:20:24 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:20:35 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:20:35 PM -> Syntax error in cfg file: Number of function argument not matche at line #669 in function 'ondisconnect' script aborted
7/3/2010 9:21:08 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:21:30 PM -> Syntax error in cfg file :Content on file : "./includes/addonsused.lpr" at line #1
7/3/2010 9:21:30 PM -> Syntax error in cfg file "LFSLapper.lpr" at line #319
Command 'RegisterNodeAction' incorrect number of parameter
Function 'onlapperstart' script aborted
7/3/2010 9:21:31 PM -> Syntax error in cfg file:
Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:21:31 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:21:34 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:21:36 PM -> Syntax error in cfg file: Number of function argument not matche at line #658 in function 'onnewplayerjoin' script aborted
7/3/2010 9:21:38 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:21:41 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:21:43 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:21:44 PM -> Syntax error in cfg file: Number of function argument not matche at line #415 in function 'onswearwords1' script aborted
7/3/2010 9:21:44 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:21:47 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:25:18 PM -> Syntax error in cfg file :Content on file : "./includes/addonsused.lpr" at line #1
7/3/2010 9:25:18 PM -> Syntax error in cfg file "LFSLapper.lpr" at line #319
Command 'RegisterNodeAction' incorrect number of parameter
Function 'onlapperstart' script aborted
7/3/2010 9:25:18 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:25:18 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:25:18 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:25:19 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:26:57 PM -> Syntax error in cfg file "LFSLapper.lpr" at line #319
Command 'RegisterNodeAction' incorrect number of parameter
Function 'onlapperstart' script aborted
7/3/2010 9:26:57 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:26:57 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:26:57 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:27:02 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:27:05 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:29:47 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:29:49 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:29:53 PM -> Syntax error in cfg file: Number of function argument not matche at line #669 in function 'ondisconnect' script aborted
7/3/2010 9:29:59 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:30:08 PM -> Syntax error in cfg file: Number of function argument not matche at line #658 in function 'onnewplayerjoin' script aborted
7/3/2010 9:30:17 PM -> Syntax error in cfg file: Number of function argument not matche at line #669 in function 'ondisconnect' script aborted
7/3/2010 9:32:33 PM -> Syntax error in cfg file :Content on file : "./includes/addonsused.lpr" at line #1
7/3/2010 9:32:34 PM -> Syntax error in cfg file "LFSLapper.lpr" at line #319
Command 'RegisterNodeAction' incorrect number of parameter
Function 'onlapperstart' script aborted
7/3/2010 9:32:34 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:32:34 PM -> Syntax error in cfg file: Number of function argument not matche at line #623 in function 'onconnect' script aborted
7/3/2010 9:32:35 PM -> Syntax error in cfg file: Number of function argument not matche at line #942 in function 'onmso' script aborted
7/3/2010 9:34:57 PM -> Syntax error in cfg file: Number of function argument no
<?php
Sub StrReplace( $String, $Find, $Replace )
$SplitString = splitToArray( $String ,$Find );
$i = 0;
$total = arrayCount( $SplitString );
WHILE ($i <= $total)
$NewString = $NewString . $SplitString[$i] . $Replace;
$i = $i + 1;
ENDWHILE
return ($NewString);
EndSub
?>
<?php
Sub StrReplace( $String, $Find, $Replace )
$DONE = FALSE;
$NewString = $String;
WHILE ( $DONE == FALSE )
$FindIndex = indexOf($NewString, $Find);
IF ( $FindIndex == -1 )
THEN
$DONE = TRUE;
ELSE
$Split1 = subStr( $NewString ,0, $FindIndex );
$SplitMid = strLen($Split1) + strLen($Find);
$Split2 = subStr( $NewString ,$SplitMid, strLen($NewString) - $SplitMid );
$NewString = $Split1 . $Replace . $Split2;
ENDIF
ENDWHILE
return ($NewString);
EndSub
?>
<?php
Sub DoTest7( )
$testStr = "Here_it_is-mate";
privMsg ("testStr: " . $testStr);
$newStr = StrReplace($testStr,"_"," ");
privMsg ("newStr: " . $newStr);
EndSub
?>
<?php
Sub closeButtonRegexAll( $exp )
$LoP = GetListOfPlayers( );
FOREACH ( $Pid IN $LoP )
closeButtonRegex ($Pid["value"], $exp);
ENDFOREACH
EndSub
?>
<?php
Sub MultiStrReplace( $String, $Find, $Replace )
$Find = splitToArray( $Find,"|" );
$Replace = splitToArray( $Replace,"|" );
IF(arrayCount($Find) == arrayCount($Replace) ) THEN
$DONE = FALSE;
$NewString = $String;
WHILE ( $DONE == FALSE )
FOR ($i=0;$i<=arrayCount($Find);$i=$i+1)
$FindIndex = indexOf($NewString, $Find[$i]);
IF ( $FindIndex == -1 )
THEN
$DONE = TRUE;
ELSE
$Split1 = subStr( $NewString ,0, $FindIndex );
$SplitMid = strLen($Split1) + strLen($Find[$i]);
$Split2 = subStr( $NewString ,$SplitMid, strLen($NewString) - $SplitMid );
$NewString = $Split1 . $Replace[$i] . $Split2;
ENDIF
ENDFOR
ENDWHILE
return ($NewString);
ELSE
return ("^1ERROR: ^7Could Not Convert String");
ENDIF
EndSub
?>
<?php
MultiStrReplace( "Bob is a Cat Jack is also a Cat", "Cat|Bob", "Dog|Tom" )
# or another example
MultiStrReplace( "Bob is a Cat Jack is also a Cat", " Jack is also a Cat|Bob|Cat", "!|That Guy|Legend" )
?>
[COLOR=Navy]Event OnDriftScore( $userName ) # Player event
IF (GetCurrentPlayerVar( SessLaps ) <1)
[/COLOR][COLOR=Navy] [/COLOR][COLOR=Navy]THEN
openPrivButton( "drift_nosave",80,80,40,10,4,3,0,"^1> Scores not saved"
. "&on your outlap" );
[/COLOR][COLOR=Navy] [/COLOR][COLOR=Navy]ENDIF
EndEvent[/COLOR]
<?php
Sub SetLang_en($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","en");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_fr($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","fr");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_nl($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","nl");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_no($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","no");
DoMenu_Options($KeyFlags,$userName);
EndSub
?>
<?php
Sub SetLang_nl($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","nl");
setUserStoredValue("IdLang","nl");
DoMenu_Options($KeyFlags,$userName);
EndSub
?>
<?php
### Load settings on connect (IdLang, UnitSpeedKmh and ShowSplitPb) ###
CatchEvent OnConnect( $userName )
$StoredIdLang = getUserStoredValue("IdLang");
SetCurrentPlayerVar("IdLang",$StoredIdLang);
$StoredSpeedUnitKmh = getUserStoredValue("UnitSpeedKmh");
SetCurrentPlayerVar("UnitSpeedKmh",$StoredSpeedUnitKmh);
$StoredShowSplitPb = getUserStoredValue("ShowSplitPb");
SetCurrentPlayerVar("ShowSplitPb",$StoredShowSplitPb);
EndCatchEvent
?>
<?php
CASE "!myconfig":
DoMenu_Options($KeyFlags,$userName);
BREAK;
?>
Event OnDriftScore()
$DriftScore = GetCurrentPlayerVar("DriftScore");
$LastDriftScore = GetCurrentPlayerVar("LastDriftScore");
....
#do something like
privMsg( "Score: ^7" . $DriftScore . " ^3" . $LastDriftScore );
....
EndEvent
Event OnDriftScore()
$DriftScore = GetCurrentPlayerVar("DriftScore");
$LastDriftScore = GetCurrentPlayerVar("LastDriftScore");
privMsg( "Score: ^7" . $DriftScore . " ^3" . $LastDriftScore );
IF (GetCurrentPlayerVar( SessLaps ) <1)
THEN
openPrivButton( "drift_nosave",20,9,38,10,5,4,5,"^1 Scores not saved" . "&^1on your outlap!" );
ENDIF
IF (GetCurrentPlayerVar( SessLaps ) >1)
THEN
openPrivButton( "drift_nosave",20,9,38,10,5,4,5,"^2 Scores is being saved." . "&^2in the database!" );
ENDIF
EndEvent
Event OnDriftScore()
$DriftScore = GetCurrentPlayerVar("DriftScore");
$LastDriftScore = GetCurrentPlayerVar("LastDriftScore");
privMsg( "Score: ^7" . $DriftScore . " ^3" . $LastDriftScore );
IF (GetCurrentPlayerVar( SessLaps ) <1)
THEN
openPrivButton( "drift_nosave",20,9,38,10,5,4,5,"^1 Scores not saved" . "&^1on your outlap!" );
ELSE
IF (GetCurrentPlayerVar( SessLaps ) >1)
THEN
openPrivButton( "drift_nosave",20,9,38,10,5,4,5,"^2 Scores is being saved." . "&^2in the database!" );
ENDIF
ENDIF
EndEvent
Event OnDriftScore()
$DriftScore = GetCurrentPlayerVar("DriftScore");
$LastDriftScore = GetCurrentPlayerVar("LastDriftScore");
privMsg( "Score: ^7" . $DriftScore . " ^3" . $LastDriftScore );
IF (GetCurrentPlayerVar( SessLaps ) <1)
THEN
openPrivButton( "drift_nosave",20,9,38,10,5,4,5,"^1 Scores not saved" . "&^1on your outlap!" );
ELSE
openPrivButton( "drift_nosave",20,9,38,10,5,4,5,"^2 Scores is being saved." . "&^2in the database!" );
ENDIF
EndEvent