Hi Gai,
I haven't touched DefaultTopCar and it worked fine in earlier releases.
$DefaultTopCar = "FXR";
I haven't touched DefaultTopCar and it worked fine in earlier releases.
$DefaultTopCar = "FXR";
Event OnLapperStart()
RegisterScheduleAction( "myTest","0 * * * * * *", Check_schedule );
EndEvent
Sub Check_schedule() # Lapper Event
cmdLFS( "/msg Next race:" . $date_next_race );
EndSub
CASE "!rank":
nearUser( "Points System","ps_points_total","DESC",argv );
BREAK;
Lapper Instance 127.0.0.1/29996 abort!
Column does not exist.
Mono.Data.SqliteClient
at Mono.Data.SqliteClient.SqliteDataReader.GetOrdinal(String name)
at LFSDbs.storedDbs.GetTable(String key, Int32 from, String relativeToUserName, Int32 nbRead, String Filter, Boolean flagDesc) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs\storeddbs.cs:line 393
at LFSLapper.LFSClient.TopStoredUser(Int32 UCID, String title, String key, String pusername, String pnickname, String pcmd, Boolean flagNear, Boolean flagDesc) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\cmdLapper.cs:line 882
at LFSLapper.LFSClient.nearuser(unionVal val, ArrayList args) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\scriptFunctions.cs:line 772
at GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 1253
at GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\ParseExpr.cs:line 604
at GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 995
at GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 252
at GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 382
at GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 176
at GLScript.GLApp.executeFunction(String funcName, String[] argsVals) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 147
at Configurator.lexConfigurator.executeFunction(String funcName, infoPlayer pcurrInfoPlayer, String[] par) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfgParser\readCfg.cs:line 346
at LFSLapper.LFSClient.managePacket(MSO mso) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\managePacket.cs:line 742
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\loop.cs:line 1079
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\lfsclient.cs:line 560
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.start() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 126
Int32 GetOrdinal(System.String)
Closing Instance...
Sub start_race( 0,0 )
cmdLFS( "/msg Sub start_race" );
cmdLFS( "/restart" );
EndSub
CatchEvent OnResult( $userName,$flagConfirm ) # Player event
SWITCH( GetCurrentPlayerVar("FinishedPos") )
CASE 1:
IF(( $flagConfirm == 2 )||( $flagConfirm == 18 )||( $flagConfirm == 34 ))
THEN
openGlobalButton( "point900",$point_L,$point_T-4,40,3,3,-1,96,"^7 Race on ^3" . GetLapperVar("LongDate") . " (CET)" );
openGlobalButton( "point910",$point_L+40,$point_T-4,6,3,3,-1,32,"^7points" );
openGlobalButton( "point920",$point_L+46,$point_T-4,10,3,3,-1,32,"^7License" );
openGlobalButton( "point001",$point_L,$point_T-1,40,3,3,-1,96,"^7 1 : " . GetCurrentPlayerVar("NickName") );
openGlobalButton( "point101",$point_L+40,$point_T-1,6,3,3,-1,32,"^3" . GetCurrentPlayerVar( "ps_race_points" ) );
openGlobalButton ("test1",40,0,28,4,4,90,16,"^3Next Race in^2 (%cpt%) ^3second(s)",start_race );
.
.
.
Dec 07 14:44:28 [NLR]Tim^L finished
Dec 07 14:45:57 /msg Sub start_race
Dec 07 14:45:57 Sub start_race
Dec 07 14:45:57 /restart
Dec 07 14:45:57 /msg Sub start_race
Dec 07 14:45:57 Sub start_race
Dec 07 14:45:57 /restart
[COLOR=red]Sub start_race( 0,0 )[/COLOR]
[COLOR=red]cmdLFS( "/msg Sub start_race" );[/COLOR]
[COLOR=red]cmdLFS( "/restart" );[/COLOR]
[COLOR=red]EndSub[/COLOR]
CatchEvent OnResult( $userName,$flagConfirm ) # Player event
SWITCH( GetCurrentPlayerVar("FinishedPos") )
CASE 1:
IF(( $flagConfirm == 2 )||( $flagConfirm == 18 )||( $flagConfirm == 34 ))
THEN
[COLOR=red]openGlobalButton ("test1",40,0,28,4,4,90,16,"^3Next Race in^2 (%cpt%) ^3second(s)",start_race );[/COLOR]
openGlobalButton( "point900",$point_L,$point_T-4,40,3,3,-1,96,"^7 Race on ^3" . GetLapperVar("LongDate") . " (CET)" );
.
.
.
CatchEvent OnResult( $userName,$flagConfirm ) # Player event
SWITCH( GetCurrentPlayerVar("FinishedPos") )
CASE 1:
IF(( $flagConfirm == 2 )||( $flagConfirm == 18 )||( $flagConfirm == 34 ))
THEN
[COLOR=red]openGlobalButton ("test1",40,0,28,4,4,90,16,"^3Next Race in^2 (%cpt%) ^3second(s)",start_race );[/COLOR]
openGlobalButton( "point900",$point_L,$point_T-4,40,3,3,-1,96,"^7 Race on ^3" . GetLapperVar("LongDate") . " (CET)" );
.
10-12-2009 21:38:55 -> Error on web command
-----------------------------------------------------------------------------
12/10/2009 9:38:55 PM
Lapper Instance 127.0.0.1/29997 abort!
Object reference not set to an instance of an object.
LFSLapper
at LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\GLSPlayerVars.cs:line 323
at LFSLapper.LFSClient.CBget(String id, String userName) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\GLSPlayerVars.cs:line 214
at GLScript.SetOfVars.Get(String id) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\SetOfVars.cs:line 154
at LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\GLSPlayerVars.cs:line 729
at LFSLapper.LFSClient.getcurrentplayervar(unionVal val, ArrayList args) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\scriptFunctions.cs:line 576
at GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 1288
at GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\ParseExpr.cs:line 539
at GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\ParseExpr.cs:line 550
at GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 1030
at GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 253
at GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 173
at GLScript.GLApp.executeFunction(String funcName, String[] argsVals) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLScript\GLScript.cs:line 144
at Configurator.lexConfigurator.executeFunction(String funcName, infoPlayer pcurrInfoPlayer, String[] par) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfgParser\readCfg.cs:line 346
at LFSLapper.LFSClient.managePacket(NCN newConnection) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\managePacket.cs:line 73
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\loop.cs:line 1028
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\lfsclient.cs:line 551
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.start() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 126
Void GetVarPlayer(GLScript.unionVal, System.String, System.String)
Closing Instance...
-----------------------------------------------------------------------------