The online racing simulator
Bug Reports
(207 posts, closed, started )
Hi Gai,
I haven't touched DefaultTopCar and it worked fine in earlier releases.

$DefaultTopCar = "FXR";
-
(Andy King) DELETED by Andy King : wrong info
Hi Gai,
v5.9.0.4 is doubling RegisterScheduledAction I am getting 2 messages per single action. It's as if I have 2 lappers running.

EDIT: The reason I think its Lapper is because I am also getting doubled private messages. I have the ScheduledActions in a SUB but just moved them to OnLapperStart and they still double but not at beggining look at screenshots.

v5.9.0.4 - SheduledActions in SUB

v5.9.0.4 - SheduledActions not in SUB

v5.9.0.3 - SheduledActions in SUB

I never touched or sent any !Commands to Lapper just restarted Lapper.exe and as you can see it sends 1 ADMIN message and then starts doubling up without any intervention from me.

Can you also take a look at the Private Messages as don't need 4 lines everytime a PM is sent.
Attached images
Lapper_01.jpg
Lapper_02.jpg
Lapper_03.jpg
Strange, in my test i haven't this issue!! i take a look tonite, but can you try to see if there is 2 scheduled action are calling the same sub? or duplicate schedule action?

Gai-Luron
I want to report a long standing bug (but never reported it before).
When you use arrow up on the Lapper console to use a previous command, the commands are confused (see screenshot).
After that it's very hard to execute the correct command since it keeps doing previous commands.
Attached images
Image1.png
I can confirm that every scheduled action is executed twice.


Event OnLapperStart()
RegisterScheduleAction( "myTest","0 * * * * * *", Check_schedule );
EndEvent

Sub Check_schedule() # Lapper Event
cmdLFS( "/msg Next race:" . $date_next_race );
EndSub

Quote from Yisc[NL] :I can confirm that every scheduled action is executed twice.


Event OnLapperStart()
RegisterScheduleAction( "myTest","0 * * * * * *", Check_schedule );
EndEvent

Sub Check_schedule() # Lapper Event
cmdLFS( "/msg Next race:" . $date_next_race );
EndSub


Thanks Yisc I thought it was only me lol was getting paranoid lol
No,

thinking about, i know what's happened. Il div a loop by 2 to implement blinking button. In this case, 2 loop per second. In this case scheduled function are called 2 time in one second, not one. I correct this tonite

Thank's for report

Gai-Luron
gai, when i do !stop or any other thing ex reload insim crashes idk if its just me or weather its a bug please help
what is message on log file?
11/26/2009 11:41:55 AM -> Syntax error in cfg file "" at line #583
Time Out in Event or Sub 2000 ms
Function 'onconnect' script aborted
You have an infinite loop, or cross calling sub, you got a timeout
Hi Gai,
I found a bug in version 5.906rc
When i use

CASE "!rank":
nearUser( "Points System","ps_points_total","DESC",argv );
BREAK;

Lapper quit working and the console closed. The next error show up in the log file.

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

With topUser its works ok.

A other thing.
When i want to auto restart the race after the finish.
The Sub start_race dont work with only cmdLFS( "/restart" );
in it.
But when i put a extra line in it ( cmdLFS( "/msg Sub start_race" ); ) the extra line show up 3 times.


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 );
.
.
.

Stored value bug fixed

Do you have LFSLapper vote system on?

Gai-Luron
Hi Gai,
Thx for update.
I have now ver5.910 (very nice job )
The vote option in lapper is set to default ( -1)
I just want to do is a auto restart 90 sec. after the race.

I have in the dedi server
// no restart within X seconds of race finish
/rstend=89

So no restart is allowd till the timer is ready.
This works ok in ver 5.84x. but in ver 5.910 the Sub start_race runs twice and it looks like the second restart cancelled the first restart.
I see in the log from the dedi

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

part of script.

[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)" );
.
.
.

Who call sub Sub start_race( 0,0 ) ? your script is incomplete! i can't test it


Quote from Gai-Luron :Who call sub Sub start_race( 0,0 ) ? your script is incomplete! i can't test it



Hi,
The sub is called by the red line.
openGlobalButton ("test1",40,0,28,4,4,90,16,"^3Next Race in^2 (%cpt%) ^3second(s)",start_race );

I have now /rstend=85 in the dedi and the autorestart works now. maybe lapper was to quick to restart the race.

But the sub is still called twice. ( sometimes 3x )

[EDIT] Race restart only when 1 or 3 times the cub is called wit 3 times no restart.



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)" );
.


It runs on [NLR]NL Racing Test.
Hello,

Don't use global button as timer to call subroutine, because global button create a duplicate privbutton for each player and then a one call to sub for each player present on track. In this case one restart for each player.
Use instead delayedcommand for your purpose for the winner and globalbutton with timer to have countdown but without call to sub.
Maybe i'll have to create builtin delayed command for openGlobalButton in this case, i take a look if i can do that in next release, for now use this:

openGlobalButton ("test1",40,0,28,4,4,90,16,"^3Next Race in^2 (%cpt%) ^3second(s)" );
DelayedCommand( 90, start_race );





Gai-Luron
Quote from Gai-Luron :Hello,

Don't use global button as timer to call subroutine, because global button create a duplicate privbutton for each player and then a one call to sub for each player present on track. In this case one restart for each player.
Use instead delayedcommand for your purpose for the winner and globalbutton with timer to have countdown but without call to sub.
Maybe i'll have to create builtin delayed command for openGlobalButton in this case, i take a look if i can do that in next release, for now use this:

openGlobalButton ("test1",40,0,28,4,4,90,16,"^3Next Race in^2 (%cpt%) ^3second(s)" );
DelayedCommand( 90, start_race );


Gai-Luron

Thanks, its works like a charm now
Hi Gai,
I found a other bug in lapper version 5.910.

If $DefaultTopCar = "XFG"; ( one single car) then no problems but when set to multiple cars like If $DefaultTopCar = "XFG+XRG"; lapper goes in standby mode
The following error appear in the error file.

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

I found also some small faults in the defPitInfo.lpr file
Here is a updated one.

[EDIT] Only this will not work yet for all splits and lap. So the color of the differance of the splittimes stay red.

IF( GetCurrentPlayerVar("isBestSectorSplit2") == 1 )
Attached files
defPitInfo.zip - 1.1 KB - 267 views
Quote from Tim NL :Hi Gai,
I found a other bug in lapper version 5.910.

If $DefaultTopCar = "XFG"; ( one single car) then no problems but when set to multiple cars like If $DefaultTopCar = "XFG+XRG"; lapper goes in standby mode
The following error appear in the error file.

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


i use 9.10 and dont have this ihave it set to all cars also :P
Quote from Tim NL :Hi Gai,
I found a other bug in lapper version 5.910.

If $DefaultTopCar = "XFG"; ( one single car) then no problems but when set to multiple cars like If $DefaultTopCar = "XFG+XRG"; lapper goes in standby mode
The following error appear in the error file.

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


Can't reproduce it! all time you have this issue?
if yes, send me your dbs ansd config files

EDIT : FIXED, occur only when player have no car selected in some case only


Gai-Luron
Still running 5.8.4.6...

Database getting too big...? ;

Quote :Unhandled Exception: System.ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
at System.String.Substring (Int32 startIndex, Int32 length) [0x00000]
at LapperThreads.ftpDbsUpload.SendGripDbsToFtp () [0x00000]

I don't make use of FTP uploading anyway!?? What is that doing there.

Deleting the database and starting all over again is not a solution. That is Microsoft language. How can you throw months of data away, thats no fix

Size in bytes;

Quote :-rw-r--r-- 1 root root 2520064 Dec 13 01:52 GripPB.dbs
-rw-r--r-- 1 root root 3608 Dec 13 01:52 GripPB.dbs-journal
-rw-r--r-- 1 root root 1204224 Dec 13 01:52 GripPB.elp

===

LFSLapper Version=5.8.4.6 => LFSLapper Version=5.8.5.2 ... Doesn't help either :/

Has this been solved in 5.9.x.x? If I read the changelog then I don't think so.
The FTP thread create the elp file to.

You have a field "date" in wrong format in your DBS, maybe empty, try to find it in your DBS with an sqllite utility. Table are fi_epb or fi_lpb

Gai-Luron
You are correct

You know why this happened? I think because of the username of the last driver

This thread is closed

Bug Reports
(207 posts, closed, started )
FGED GREDG RDFGDR GSFDG