I can confirm that the problem is solved.
Racing night has just been finished and Lapper ran as smooth as possible.
Thank you so much for you help Gai-Luron.
Do you need to apply this fix to version 6.x as well?
System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
в System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
в InSim.Decoder.SMALL..ctor(Byte[] packet) в C:\LFSLapper_SVN\src\InSim4.cs:строка 942
в LFSLapper.LFSClient.Loop(Connect insimConnection) в C:\LFSLapper_SVN\src\LFSClient\loop.cs:строка 1032
в LFSLapper.LFSClient.doloop() в C:\LFSLapper_SVN\src\LFSClient\lfsclient.cs:строка 561
в LapperInstances.LapperInstance.doConnection() в C:\LFSLapper_SVN\src\LFSInstances\LapperInstance.cs:строка 247
Void ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)
Closing Instance...
I just had another Lapper (version 5.x) crash.
Again it seems to have something to do with the new LFS packets.
I was driving on the track and a 2nd person came in and typed !top.
The log is showing what happened, hopefully this can be fixed.
-
(sarxes)
DELETED
by sarxes : Old and not relevant already.
+-------------------------------+ |Changes from 7.0.1.0 to 7.0.3.0| +-------------------------------+ 1. LapperInsimVersion changed to Version 7 (Thanks to Yisc[NL])
2. New Events: Event OnCarContact($PlayerA,$PlayerB,$PlayerA_Speed,$PlayerB_Speed,$PlayerA_X,$PlayerB_X,$PlayerA_Y,$PlayerB_Y) # Player event Event OnCrossingChecker($userName,$Flags,$Time,$Object,$UserSpeed,$CircleIndex) # Player event
3.New PlayerVar: Z, //Height of player on track +-------------------------------+ |Changes from v6.014 to 7.0.1.0 | +-------------------------------+ 1. New player vars (case sensitive): ObjectContactSpeed, //Speed of player when hitting a object ObjectContactHead, //Heading of player when hitting a object ObjectContactDir, //Direction of player when hitting a object
AccelerationStartSpeed2, // Min value for the acceleration feature relative to user unit km or mph AccelerationEndSpeed2, // Max value for the acceleration feature relative to user unit km or mph AccelerationTime2, // Acceleration time achieved from start to end speed
2. New Lapper Vars $AccelerationStartSpeed2 = 100; # At which speed to start measuring time. In km/h $AccelerationEndSpeed2 = 160; # At which speed to stop measuring time. In km/h $AccelerationStartSpeedMph2 = 60; # At which speed to start measuring time. In Mph $AccelerationEndSpeedMph2 = 100; # At which speed to stop measuring time. In Mph $AccelerationPrivateMaxTime2 = 10; # Maximum acceleration time in seconds to show message
$DetectHitObject = ""; #To get objectstrings for detection look at docs/ObjectHit.txt
3. New Events: Event OnAcceleration2( $userName ) # Player event Event OnObjectHit($userName,$ObjectFlag,$ObjectHitTime,$Object_X,$Object_Y,$Object_Z,$ObjectType) # Player event
Great to see a new version of Lapper being released.
I did notice that the file 'trackList.cfg' isn't up-to-date.
So here's the correct file, which you might want to include in a future release.
Version: 7.0.4.0
Contains function to control autoX startlights.
+-------------------------------+ |Changes from 7.0.3.0 to 7.0.4.0| +-------------------------------+ 1. New Lapperfunction: startlightcontrol(5,149,1,1); #Control AutoX StartLights // More info in 'Control StartLights.txt' in 'Docs' folder. includes Examplecode
2. Renamed/added Objects for $DetectHitobject var. Changed: All_Railings' renamed to 'All_Armco Add: Railing