The online racing simulator
Release
(228 posts, closed, started )
-
(T3charmy) DELETED by T3charmy
Alright, I received a reply back from Gai, He said that I could Continue development on this for now, for now, I plan to just keep it simple as possible such as adding access to new packets! (If you don't hear back from me in the next few hours... I have probably given up...

Edit: looking on how to add new packets now so...
Quote from T3charmy :Alright, I received a reply back from Gai, He said that I could Continue development on this for now, for now, I plan to just keep it simple as possible such as adding access to new packets! (If you don't hear back from me in the next few hours... I have probably given up...

Edit: looking on how to add new packets now so...

I've already added collisions and admin packet processing in a forked build if you need it.
hi there

i have little problem with this code :


#$SwearWordsList = "&./swear.txt";
$SwearWordsMax = 2; # Maximum number of allowed swearwords per session

Event OnSwearWords1( $userName ) # Player event
privMsg( langEngine( "%{main_swear11}%" ) );
privMsg( langEngine( "%{main_swear12}%", GetCurrentPlayerVar("SwearWordsRem") ) );
EndEvent

Event OnSwearWords2( $userName ) # Player event
privMsg( langEngine( "%{main_swear21}%" ) );
cmdLFS( "[COLOR="Red"]/kick[/COLOR] " . GetCurrentPlayerVar("UserName") );
EndEvent

how i can make them banned ??

caz im try to do like this

cmdLFS( "[COLOR="Red"]/ban[/COLOR] " . GetCurrentPlayerVar("UserName") );

but nothing happen !!
you must add number of days in the end (like 999 or 1).
Quote from E.Reiljans :you must add number of days in the end (like 999 or 1).

i already now did like this:

cmdLFS( "[COLOR="Red"]/ban 999[/COLOR] " . GetCurrentPlayerVar("UserName") );

still the same ! coming After like this word

Too many swearwords, spectated
It should be
Quote :cmdLFS( "/ban " . GetCurrentPlayerVar("UserName") . " 999");

not
Quote :cmdLFS( "/ban 999 " . GetCurrentPlayerVar("UserName") );

Hi! -how i can enable kick voting but not ban voting like when u press ban vote button and if bans voting enabled 6/6 players he just get kicked and then he can come back normally.. Only admins can ban. Someone know how to do that? And how to change to partice ??
sorry for bumping, but link doesn't working, someone can upload it?
Link corrected
How i can make auto restart after 5 sec for race ? ? for lfs lapper ? : ) Pls reply fast : )
Hello,

Release 6.0.1.3 available to replace 6.0.1.2.

Correct LFSLapper issue with 0.6E.
Replace only LFSLapper.exe

Don't replace 6.0.1.4 Krayy version with this version. I wait for Krayy to give him a patch for his version.

Robert
ok will test is so soon as possible

Also is it possible to look for the Carcontact packets??
Had another crash last night, which does seem to be related to the new network packets.
This is shown on console:

Error length in packet InSim.Decoder+SMALL. Receive <7> attempted <8>

This is shown in the log file:

12/15/2012 8:32:18 PM

Lapper Instance 127.0.0.1/29982 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.CodePage.GetString(Byte[] pack, Int32 offset, Int32 len)
bij InSim.Decoder.pakGetString(Byte[] pak, Int32 first, Int32 len)
bij InSim.Decoder.STA..ctor(Byte[] packet)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
System.String GetString(Byte[], Int32, Int32)
Closing Instance...
And another error on the console:

Error length in packet InSim.Decoder+SMALL. Receive <4> attempted <8>
Thanks Gai-Luron, just installed that on my servers.
Nothing on the console this time (except the message that a Lapper instance aborted)
This is shown in the log file:

12/16/2012 7:04:54 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.CodePage.GetString(Byte[] pack, Int32 offset, Int32 len)
bij InSim.Decoder.pakGetString(Byte[] pak, Int32 first, Int32 len)
bij InSim.Decoder.RES..ctor(Byte[] packet)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
System.String GetString(Byte[], Int32, Int32)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:25:55 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.CodePage.GetString(Byte[] pack, Int32 offset, Int32 len)
bij InSim.Decoder.pakGetString(Byte[] pak, Int32 first, Int32 len)
bij InSim.Decoder.NCN..ctor(Byte[] pak)
bij LFSLapper.LFSListen.Listen.startStbMode()
bij LFSLapper.LFSListen.Listen.start()
System.String GetString(Byte[], Int32, Int32)
Closing Instance...
More crashes, this time the console showed:

Error in SMALL TypeSmall valus is 255, reset to 0

And the log file:

12/16/2012 7:31:10 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.Decoder.pakGetByte(Byte[] pak, Int32 first)
bij InSim.Decoder.NCN..ctor(Byte[] pak)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
Int32 pakGetByte(Byte[], Int32)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:35:29 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.Decoder.pakGetByte(Byte[] pak, Int32 first)
bij InSim.Decoder.NCN..ctor(Byte[] pak)
bij LFSLapper.LFSListen.Listen.startStbMode()
bij LFSLapper.LFSListen.Listen.start()
Int32 pakGetByte(Byte[], Int32)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:35:40 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.Decoder.pakGetByte(Byte[] pak, Int32 first)
bij InSim.Decoder.NPL..ctor(Byte[] pak)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
Int32 pakGetByte(Byte[], Int32)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:39:42 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.CodePage.GetString(Byte[] pack, Int32 offset, Int32 len)
bij InSim.Decoder.pakGetString(Byte[] pak, Int32 first, Int32 len)
bij InSim.Decoder.MSO..ctor(Byte[] packet)
bij LFSLapper.LFSListen.Listen.startStbMode()
bij LFSLapper.LFSListen.Listen.start()
System.String GetString(Byte[], Int32, Int32)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:42:12 PM

Lapper Instance 127.0.0.1/29990 abort!

Doelmatrix is niet lang genoeg om alle items in de verzameling te kopiëren. Controleer de index en de lengte van de matrix.
mscorlib
bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
bij System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
bij InSim.Decoder.pakGetInt(Byte[] pak, Int32 first)
bij InSim.Decoder.MCI..ctor(Byte[] packet)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
Void ThrowArgumentException(System.ExceptionResource)
Closing Instance...
-----------------------------------------------------------------------------
12/16/2012 7:46:39 PM -> SQL COMMAND :
SELECT idEpb FROM fi_epb WHERE userName = 'pmw' AND carName = 'UF1' AND trackName = 'eÜ'ÿ*Ý'

-----------------------------------------------------------------------------
12/16/2012 7:46:39 PM

Lapper Instance 127.0.0.1/29990 abort!

near "ÿ": syntax error
LFSLapper
bij LFSDbs.DbsAccess.executeQuery2(String _command)
bij LFSDbs.DbsAccess.executeQuery(String _command)
bij LFSDbs.gripDbs.updateRow2(Boolean immediateUpload, String userName, String nickName, String datePb, String timePb, String carName, String trackName, DriverLapEntry driverLapInfo)
bij LFSDbs.gripDbs.updateRow(Boolean immediateUpload, String userName, String nickName, String datePb, String timePb, String carName, String trackName, DriverLapEntry driverLapInfo)
bij LFSDbs.gripDbs.updateRow(Boolean immediateUpload, infoPlayer currInfoPlayer, String trackName)
bij LFSLapper.LFSClient.managePacket(LAP lapDec)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:55:16 PM

Lapper Instance 127.0.0.1/29990 abort!

Het wachten is voltooid wegens een afgebroken mutex.
mscorlib
bij System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
bij System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext)
bij System.Threading.WaitHandle.WaitOne()
bij LFSDbs.gripDbs.lockBase()
bij LFSDbs.gripDbs.updateRow(Boolean immediateUpload, String userName, String nickName, String datePb, String timePb, String carName, String trackName, DriverLapEntry driverLapInfo)
bij LFSDbs.gripDbs.updateRow(Boolean immediateUpload, infoPlayer currInfoPlayer, String trackName)
bij LFSLapper.LFSClient.managePacket(LAP lapDec)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
Boolean WaitOne(Int64, Boolean)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:57:40 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.CodePage.GetString(Byte[] pack, Int32 offset, Int32 len)
bij InSim.Decoder.pakGetString(Byte[] pak, Int32 first, Int32 len)
bij InSim.Decoder.NCN..ctor(Byte[] pak)
bij LFSLapper.LFSListen.Listen.startStbMode()
bij LFSLapper.LFSListen.Listen.start()
System.String GetString(Byte[], Int32, Int32)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
12/16/2012 7:58:50 PM

Lapper Instance 127.0.0.1/29990 abort!

Doelmatrix is niet lang genoeg om alle items in de verzameling te kopiëren. Controleer de index en de lengte van de matrix.
mscorlib
bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
bij System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
bij System.BitConverter.ToUInt16(Byte[] value, Int32 startIndex)
bij InSim.Decoder.pakGetWord(Byte[] pak, Int32 first)
bij InSim.Decoder.RST..ctor(Byte[] pak)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.start()
Void ThrowArgumentException(System.ExceptionResource)
Closing Instance...
-----------------------------------------------------------------------------
Another crash last night, nothing on console, this is in the log file:

12/16/2012 9:57:47 PM

Lapper Instance 127.0.0.1/29990 abort!

Het wachten is voltooid wegens een afgebroken mutex.
mscorlib
bij System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
bij System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext)
bij System.Threading.WaitHandle.WaitOne()
bij LFSDbs.gripDbs.lockBase()
bij LFSDbs.gripDbs.updateRow(Boolean immediateUpload, String userName, String nickName, String datePb, String timePb, String carName, String trackName, DriverLapEntry driverLapInfo)
bij LFSDbs.gripDbs.updateRow(Boolean immediateUpload, infoPlayer currInfoPlayer, String trackName)
bij LFSLapper.LFSClient.managePacket(SPX splitdec)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.startStbMode()
Boolean WaitOne(Int64, Boolean)
Closing Instance...
Quote from Gai-Luron :
Release 6.0.1.3 available to replace 6.0.1.2.

Correct LFSLapper issue with 0.6E.
Replace only LFSLapper.exe

Where can i read the changelog for this update? Would be nice to get more information of what fixes was made with this one, related to latest patch 0.6E.

EDIT: I don't know if this update is related to the random crashes LFSLapper has started with on the latest patch, but version 6.0.1.3 does the same for me.
@Gai-Luron: here's the zip-file mentioned in my private message.
Attached files
handicap.zip - 28.4 KB - 254 views
Hello,

LFSLAPPER no longer works since version E. We get all the time the same error message:


-----------------------------------------------------------------------------
12/22/2012 9:22:47 AM

Lapper Instance XX.XX.XX.XX/XXXXX abort!

Destination array is not long enough to copy all the items in the collection. Check array index and length.
mscorlib
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at InSim.Decoder.STA..ctor(Byte[] packet) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\InSim4.cs:line 1060
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\loop.cs:line 1089
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\lfsclient.cs:line 557
at LapperInstances.LapperInstance.doConnection() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSInstances\LapperInstance.cs:line 247
Void ThrowArgumentException(System.ExceptionResource)
Closing Instance...
-----------------------------------------------------------------------------

I try LFSLAPPER the first post does not work too.
Can someone tell me if you have the same error and maybe how to solve it please ?

Thank you in advance
Sam
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
a következő helyen: System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
a következő helyen: System.BitConverter.ToSingle(Byte[] value, Int32 startIndex)
a következő helyen: InSim.Decoder.pakGetFloat(Byte[] pak, Int32 first)
a következő helyen: InSim.Decoder.STA..ctor(Byte[] packet)
a következő helyen: LFSLapper.LFSClient.Loop(Connect insimConnection)
a következő helyen: LFSLapper.LFSClient.doloop()
a következő helyen: LapperInstances.LapperInstance.doConnection()
Void ThrowArgumentException(System.ExceptionResource)

Here is my error too ! :S
Another Lapper (5.8.4.61) crash for me tonight, even with my suspicious code totaly turned of:

12/23/2012 7:28:21 PM

Lapper Instance 127.0.0.1/29990 abort!

De index ligt buiten de matrixgrenzen.
LFSLapper
bij InSim.CodePage.GetString(Byte[] pack, Int32 offset, Int32 len)
bij InSim.Decoder.pakGetString(Byte[] pak, Int32 first, Int32 len)
bij InSim.Decoder.NPL..ctor(Byte[] pak)
bij LFSLapper.LFSClient.Loop(Connect insimConnection)
bij LFSLapper.LFSClient.doloop()
bij LFSLapper.LFSListen.Listen.goWorkMode()
bij LFSLapper.LFSListen.Listen.startStbMode()
System.String GetString(Byte[], Int32, Int32)
Closing Instance...
This thread is closed

Release
(228 posts, closed, started )
FGED GREDG RDFGDR GSFDG