Hi,
Use this to show the server name.
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );
Event OnDriftScore()
$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );
IF( $GUI_drift == "yes" )
THEN
openPrivButton( "Driftscoreboard",1,117,28,10,4,-1,16,"^0D^4R^0I^4F^0T ^4S^0C^4O^0R^4E^0B^4O^0A^4R^0D" );
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );
openPrivButton( "Score",1,132,14,5,4,-1,16,"^7 Score" );
openPrivButton( "Angle",15,132,14,5,4,-1,16,"^7 Angle" );
openPrivButton( "TotalScore",1,142,28,5,4,-1,16,"^7 Total Score" );
IF( $AngleVelocity < 0 )
THEN
$AngleVelocity = -$AngleVelocity ;
SetCurrentPlayerVar("Angle_Reverse",$AngleVelocity);
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . $Angle_Reverse);
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "DriftScore") );
ELSE
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore" ) );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "AngleVelocity" ) );
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );
ENDIF
ENDIF
EndEvent
<?php
Event OnDriftScore()
IF( $GUI_drift == "yes" )
THEN
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore" ) );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "AngleVelocity" ) );
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );
ENDIF
EndEvent
?>
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Mono.Data.SqliteClient
at Mono.Data.SqliteClient.Sqlite.sqlite3_open16(String dbname, IntPtr& handle)
at Mono.Data.SqliteClient.SqliteConnection.Open()
at LFSDbs.DbsAccess..ctor(Debug pmyDebug, String DbName) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs\DbsAccess.cs:line 45
at LFSDbs.gripDbs..ctor(Debug pmyDebug, String puniqueConnectionId, String DbName, Int32 LapTimeUsedForPbPar, String FtpServer, String FtpLogin, String FtpPasswd, String FtpRemotePath, String dateFormat) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs\gripdbs.cs:line 72
at LFSLapper.LFSClient.init(String pip, Int32 pport, String pWorkingDir, String pIniFile, String pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\lfsclient.cs:line 558
at LFSLapper.LFSClient..ctor(String pip, Int32 pport, String pWorkingDir, String pInifile, String pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\lfsclient.cs:line 254
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 82
at LFSLapper.LFSListen.Listen.start() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 126
Int32 sqlite3_open16(System.String, IntPtr ByRef)
Closing Instance...
-----------------------------------------------------------------------------
9/20/2009 4:32:13 PM
Lapper Instance 127.0.0.1/17468 abort!
Object reference not set to an instance of an object.
LFSLapper
at LFSLapper.listPlayers.updateGap(Int32 PLID, Int32 split, lexConfigurator newCfg, Boolean modifyOnlyPos) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Players\ListPlayers.cs:line 137
at LFSLapper.LFSClient.managePacket(MCI mci) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\managePacket.cs:line 717
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\loop.cs:line 944
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSClient\lfsclient.cs:line 630
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.startStbMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFSListen\Listen.cs:line 270
Void updateGap(Int32, Int32, Configurator.lexConfigurator, Boolean)
Closing Instance...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
10/7/2009 9:19:22 PM
Lapper Instance 78.110.160.85/29000 abort!
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
mscorlib
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at InSim.Decoder.SMALL..ctor(Byte[] packet) in C:\Users\T3ChARmy\Desktop\desktop\src\InSim4.cs:line 828
at LFSLapper.LFSClient.Loop(Connect insimConnection) in C:\Users\T3ChARmy\Desktop\desktop\src\LFSClient\loop.cs:line 878
at LFSLapper.LFSClient.doloop() in C:\Users\T3ChARmy\Desktop\desktop\src\LFSClient\lfsclient.cs:line 632
at LFSLapper.LFSListen.Listen.goWorkMode() in C:\Users\T3ChARmy\Desktop\desktop\src\LFSListen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.start() in C:\Users\T3ChARmy\Desktop\desktop\src\LFSListen\Listen.cs:line 126
Void ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)
Closing Instance...
-----------------------------------------------------------------------------