The online racing simulator
Searching in All forums
(33 results)
1
License
Okram
S2 licensed
Nice if i see driver license. Right now must calclulate my self, what license driver have. Sometime this fails and i must do more work (if have free time).

EDIT:
If LFS Desktop show user birthday, then pubstat show this. This is nice too
Last edited by Okram, .
Okram
S2 licensed
Quote from EQ Worry :May be I could create a procedure there that would make some very simple document/file with server name, Airio version, and perhaps number of connected/racing people, maybe also some state data (not sure). Your script could ask for this file, and parse/process it.

If this possible need only, Server name (no colors, plain text), Airio number and version (FREE/PRO/PROS). Connected or racing people, country i get from lfsworld.

Example, inside text file:
Okram Server
Airio 2.4.8 PROS

or
What Ever Server
Airio 2.2.4 FREE

Okram
Okram
S2 licensed
Quote from EQ Worry :
Okram, I'm not sure how this could work. Where would the PHP request be sent? To LFS server, using InSim connection? No such framework is implemented now and I do not see an easy and obvious way to implement one.

cargame.nl is right, you have nice overview but how this works?

Quote from cargame.nl :I don't know what he is planning but you already created a nice overview.

I want add here one or two line (website is not english!). In this server is Airio / no Airio. If yes then show version. Example 2.4.6 FREE or FULL or PROS

Right now here maybe one server, but this changes automatically. There is only Estonian servers (example Okram Server) and Estonian servers in world (example EER server).

Okram.
Okram
S2 licensed
Is it possible to determine whether the server is using Airio and what is version? If yes, then how do too with PHP?

Okram

PS! In new system (Fedora 13) Airio shutdown correctly. No more errors
This happend
Okram
S2 licensed
Hi!

Every hour see this error:
11:58:27 AIRIO ERROR : Sharing violation on path /<my path>/Airio.vrs.txt
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000]
at System.IO.StreamWriter..ctor (System.String path) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string)
at LiveForSpeed.InSim.Airio.Airio.WebCallVR (LiveForSpeed.InSim.Airio.WebGet resp) [0x00000]
ERROR : 10.07.28 08:58:27 - Sharing violation on path /<my path>/Airio.vrs.txt

This happend after my server HDD was full about 30 minutes. Quit Airio and starting Airio again - no errors.
Okram
S2 licensed
Well, and there is result:
First is Airio 2.4.7 PROS Update 1 (16.07.2010) quit Airio log:
*** Quit Airio ***
20:04:35 Leaving main loop...
20:04:35 Writing data...
20:04:35 Data written in : 0.02
20:04:35 ST items : 000009 / 000028 / 000000 / 000063 / 000000
20:04:35 DB items : 000009 / 000016 / 000013 / 000036 / 000000
20:04:35 #1 Airio tracker v. 2.4.7 disconnected from server...
20:04:35 #1 Closing connection...
20:04:35 #1 Stopping thread : Aegio - 192.168.0.1:29999 - TCP Sender
20:04:35 #1 Stopping thread : Aegio - 192.168.0.1:29999 - TCP Listener
20:04:35 Received LFSW WR data : 941
20:04:35 Renewed all LFSW WR data...
Airio disconnected from Server
20:04:37 #1 Disconnected from : Server
Closing connection : DONE
20:04:38 #1 Closed connection...
[B]20:04:38 AIRIO ERROR : sqlite3_next_stmt
at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_next_stmt (intptr,intptr)
at System.Data.SQLite.SQLiteBase.ResetConnection (System.Data.SQLite.SQLiteConnectionHandle db) [0x00000]
at System.Data.SQLite.SQLiteBase.CloseConnection (System.Data.SQLite.SQLiteConnectionHandle db) [0x00000]
at System.Data.SQLite.SQLiteConnectionHandle.ReleaseHandle () [0x00000]
at System.Runtime.InteropServices.CriticalHandle.Dispose (Boolean disposing) [0x00000]
at System.Runtime.InteropServices.CriticalHandle.Dispose () [0x00000]
at System.Data.SQLite.SQLite3.Close () [0x00000]
at System.Data.SQLite.SQLiteConnection.Close () [0x00000]
at LiveForSpeed.InSim.Airio.Datas.DBClose () [0x00000]
ERROR : 10.07.24 17:04:38 - sqlite3_next_stmt[/B]
20:04:38 Closing program...

This error i show here some time ago.

And today (24.07.2010) Quit Airio log.
*** Quit Airio ***
20:06:26 Leaving main loop...
20:06:26 Writing data...
20:06:26 Data written in : 0.02
20:06:26 ST items : 000009 / 000028 / 000000 / 000063 / 000000
20:06:26 DB items : 000009 / 000016 / 000013 / 000036 / 000000
[B][COLOR=red]20:06:26 SQLite support disabled...[/COLOR][/B]
20:06:26 Closing DB connection...
[B]20:06:26 AIRIO ERROR : sqlite3_next_stmt
at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_next_stmt (intptr,intptr)
at System.Data.SQLite.SQLiteBase.ResetConnection (System.Data.SQLite.SQLiteConnectionHandle db) [0x00000]
at System.Data.SQLite.SQLiteBase.CloseConnection (System.Data.SQLite.SQLiteConnectionHandle db) [0x00000]
at System.Data.SQLite.SQLiteConnectionHandle.ReleaseHandle () [0x00000]
at System.Runtime.InteropServices.CriticalHandle.Dispose (Boolean disposing) [0x00000]
at System.Runtime.InteropServices.CriticalHandle.Dispose () [0x00000]
at System.Data.SQLite.SQLite3.Close () [0x00000]
at System.Data.SQLite.SQLiteConnection.Close () [0x00000]
at LiveForSpeed.InSim.Airio.Datas.DBClose () [0x00000]
ERROR : 10.07.24 17:06:26 - sqlite3_next_stmt[/B]
20:06:26 #1 Airio tracker v. 2.4.7 disconnected from server...
20:06:26 #1 Closing connection...
20:06:26 #1 Stopping thread : Aegio - 192.168.0.1:29999 - TCP Sender
20:06:26 #1 Stopping thread : Aegio - 192.168.0.1:29999 - TCP Listener
Airio disconnected from Server
20:06:28 #1 Disconnected from : Server
Closing connection : DONE
20:06:29 #1 Closed connection...
20:06:29 Closing program...

Updated only Airio.exe and all *.pdb, and *.dll no config or stats files. SQLite error still have. What is red line mean? Airio work in linux.

Okram
Okram
S2 licensed
Quote from EQ Worry :All the updates are available in the same FREE/FULL files on airio.eu, just download again and update Airio.exe and Airio.pdb.

Replacing Airio.exe and Airio.pdb (downloaded airio.eu) and show version
Airio tracker v. 2.4.5 [B]FREE[/B] by EQ Worry

This not right?

Okram

Edit: Sorry, my mistake (from e-mail must)
SQLite Linux
Okram
S2 licensed
I use SQLite in linux. This was installed. Airio version is 2.4.5.
Running Airio and see this at console:

Airio tracker [COLOR=red][B]v. 2.4.5 PROS[/B][/COLOR] by EQ Worry for My NAME
Opening connection : CONN OK
Airio connected to My SERVER - 0.5Z28 - S2
** Airio Logging **
Airio local logging is now turned on...
13:54:37 Received AIRW BL data : 825
13:54:44 Received LFSW WR data : 941
13:54:44 Renewed all LFSW WR data...
** Airio Version **
Airio tracker [B][COLOR=red]v. 2.4.5 FULL...[/COLOR][/B]

If Airio is running every minutes added

29

First time twice

29
29

Quit Airio with q key

** Quit Airio **
13:51:12 Leaving main loop...
13:51:12 Writing data...
13:51:12 Data written in : 0.01
13:51:12 #1 Airio tracker v. 2.4.5 disconnected from server...
13:51:12 #1 Closing connection...
13:51:12 #1 Stopping thread : Aegio - 192.168.0.1:29999 - TCP Sender
13:51:12 #1 Stopping thread : Aegio - 192.168.0.1:29999 - TCP Listener
Airio disconnected from My SERVER
13:51:14 #1 Disconnected from : My SERVER
Closing connection : DONE
13:51:15 #1 Closed connection...
13:51:15 AIRIO ERROR : sqlite3_next_stmt
at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_next_stmt (intptr,intptr)
at System.Data.SQLite.SQLiteBase.ResetConnection (System.Data.SQLite.SQLiteConnectionHandle db) [0x00000]
at System.Data.SQLite.SQLiteBase.CloseConnection (System.Data.SQLite.SQLiteConnectionHandle db) [0x00000]
at System.Data.SQLite.SQLiteConnectionHandle.ReleaseHandle () [0x00000]
at System.Runtime.InteropServices.CriticalHandle.Dispose (Boolean disposing) [0x00000]
at System.Runtime.InteropServices.CriticalHandle.Dispose () [0x00000]
at System.Data.SQLite.SQLite3.Close () [0x00000]
at System.Data.SQLite.SQLiteConnection.Close () [0x00000]
at LiveForSpeed.InSim.Airio.Datas.DBClose () [0x00000]
at LiveForSpeed.InSim.Airio.Airio.Main () [0x00000]
ERROR : 10.06.29 10:51:15 - sqlite3_next_stmt

Okram
Okram
S2 licensed
Quote from cargame.nl :Just use http://nl3.php.net/manual/en/sqlite3.installation.php

My LFS server and Airio works under linux. There is MySQL and i don't want install one more database. But ok i test this sqlite

Okram
Okram
S2 licensed
Quote from EQ Worry :In the meantime I'd appreciate if more people tried to install the SQLite support so that I'm sure the basic code is OK.

Hi!

Do you add support for MySQL?

Okram
Okram
S2 licensed
Quote from filur :Change E_WARNING to E_USER_WARNING

Nice, now this work. What does this warning is mean? What change in server configuration?

Okram
Okram
S2 licensed
In LFSWorldSDK1.9.5-Alpha-1 is warning:
[B]Warning[/B]: Invalid error type specified in [B]lfsworldsdk.php[/B] on line [B]49[/B]

Line 49 is

<?php 
trigger_error
('Your server\'s configuration is not supported by this version of LFSWorldSDK.'E_WARNING);
?>

i do not understand what is wrong. Only {} was missing after else but this don't help.

PHP: php-5.2.9-2.fc10.i386
httpd: httpd-2.2.14-1.fc10.i386
Operating system is Linux - Fedora 10

Okram
Okram
S2 licensed
Quote from bunder9999 :dumb question about custom cars (and custom classes)...
can they have more than 3 characters?
thanks

No
Okram
S2 licensed
Quote from EQ Worry :UPDATE: If I understood the test results correctly, it seems the latest Airio is working fine with Mono 2.0 and Mono 2.4. Strangely enough, it does not like Mono 2.2, causing it to crash...

Mono 2.0 i dont know, but Mono 1.9 and 2.4 Airio work with no crash. One thought: my Mono 2.2 was run in regular user. I can't run it in root user. Now my FULL Airio works fine.
Okram
S2 licensed
Today I did some tests. Server is Linux Fedora 10, Mono 2.2-2 and LFS S2 0.5Z.

Resluts:
2.3.3 Full - works fine
2.3.4b Full - crash after any commands.
2.3.4a Free - works fine

Server is Linux Fedora 10, Mono 2.2-2 and LFS S2 0.5Z13. Results:
2.3.3 Full - works fine
2.3.4b Full - crash after any commands.
2.3.4a Free - works fine

Why is the free version 2.3.4x works but not the full version? This is a bit strange. Probably have to downgrade mono version This not good

Okram
Okram
S2 licensed
FULL version 2.3.4 show error when I use any command and after this shutdown Airio. Previous version works fine.
I use linux server and mono:
mono --version
Mono JIT compiler version 2.2 (tarball Sun Mar 15 08:58:04 EDT 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. [URL="http://www.mono-project.com"]www.mono-project.com[/URL]
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none

Shift+I works. Error when I use !ver command. I see this on linux console. Airio.log show !ver and no more text.
Opening connection : CONN OK
Airio connected to Okram Server - 0.5Z - S2
**
ERROR:mini.c:11270:mono_resolve_patch_target: assertion failed: (patch_info->data.bb->native_offset)
Stacktrace:
at LiveForSpeed.InSim.Airio.Airio.ProcPreMsg (string) <0xffffffff>
at LiveForSpeed.InSim.Airio.Airio.ProcPreMsg (string) <0x00260>
at LiveForSpeed.InSim.Airio.Airio.Message_Handler (LiveForSpeed.InSim.Aegio.Connection,LiveForSpeed.InSim.Aegio.Event/Message) <0x0039d>
at LiveForSpeed.InSim.Aegio.Connection.OnMessage (LiveForSpeed.InSim.Aegio.Event/Message) <0x00034>
at LiveForSpeed.InSim.Aegio.Connection.ListenTCP () <0x0059a>
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
/usr/lib/libmono.so.0 [0x1cb3f2]
[0x82140c]
[0x821416]
/lib/libc.so.6(gsignal+0x50) [0x92f460]
/lib/libc.so.6(abort+0x188) [0x930e28]
/lib/libglib-2.0.so.0(g_assertion_message+0x123) [0x598813]
/lib/libglib-2.0.so.0 [0x598cad]
/usr/lib/libmono.so.0 [0x12c57e]
/usr/lib/libmono.so.0 [0x1e7b96]
/usr/lib/libmono.so.0 [0x12b34d]
/usr/lib/libmono.so.0 [0x157153]
/usr/lib/libmono.so.0 [0x158511]
/usr/lib/libmono.so.0(mono_compile_method+0x24) [0x237ba4]
/usr/lib/libmono.so.0 [0x1d51e1]
[0x414066]
[0x7b88fe]
[0x7a9605]
[0x667f23]
[0x61d618]
/usr/lib/libmono.so.0 [0x158ea7]
/usr/lib/libmono.so.0(mono_runtime_invoke+0x73) [0x238e33]
/usr/lib/libmono.so.0(mono_runtime_delegate_invoke+0x44) [0x2390a4]
/usr/lib/libmono.so.0 [0x27f88a]
/usr/lib/libmono.so.0 [0x2f9476]
/usr/lib/libmono.so.0(GC_start_routine+0x45) [0x31ee65]
/lib/libpthread.so.0 [0xab251f]
/lib/libc.so.6(clone+0x5e) [0x9e804e]
Debug info from gdb:
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7f826f0 (LWP 6938)]
[New Thread 0x5759b90 (LWP 6954)]
[New Thread 0x24ebb90 (LWP 6952)]
[New Thread 0x23c6b90 (LWP 6950)]
[New Thread 0x113ab90 (LWP 6946)]
[New Thread 0x6627b90 (LWP 6945)]
[New Thread 0xcebb90 (LWP 6943)]
[New Thread 0x76db90 (LWP 6942)]
[New Thread 0xe37b90 (LWP 6941)]
[New Thread 0x528b90 (LWP 6940)]
[New Thread 0x427b90 (LWP 6939)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00821416 in __kernel_vsyscall ()
11 Thread 0x427b90 (LWP 6939) 0x00821416 in __kernel_vsyscall ()
10 Thread 0x528b90 (LWP 6940) 0x00821416 in __kernel_vsyscall ()
9 Thread 0xe37b90 (LWP 6941) 0x00821416 in __kernel_vsyscall ()
8 Thread 0x76db90 (LWP 6942) 0x00821416 in __kernel_vsyscall ()
7 Thread 0xcebb90 (LWP 6943) 0x00821416 in __kernel_vsyscall ()
6 Thread 0x6627b90 (LWP 6945) 0x00821416 in __kernel_vsyscall ()
5 Thread 0x113ab90 (LWP 6946) 0x00821416 in __kernel_vsyscall ()
4 Thread 0x23c6b90 (LWP 6950) 0x00821416 in __kernel_vsyscall ()
3 Thread 0x24ebb90 (LWP 6952) 0x00821416 in __kernel_vsyscall ()
2 Thread 0x5759b90 (LWP 6954) 0x00821416 in __kernel_vsyscall ()
* 1 Thread 0xb7f826f0 (LWP 6938) 0x00821416 in __kernel_vsyscall ()
Thread 11 (Thread 0x427b90 (LWP 6939)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab9996 in nanosleep () from /lib/libpthread.so.0
#2 0x002dcec8 in ?? () from /usr/lib/libmono.so.0
#3 0x00ab251f in start_thread () from /lib/libpthread.so.0
#4 0x009e804e in clone () from /lib/libc.so.6
Thread 10 (Thread 0x528b90 (LWP 6940)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab8495 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2 0x00258e03 in ?? () from /usr/lib/libmono.so.0
#3 0x0027f7ee in ?? () from /usr/lib/libmono.so.0
#4 0x002f9476 in ?? () from /usr/lib/libmono.so.0
#5 0x0031ee65 in GC_start_routine () from /usr/lib/libmono.so.0
#6 0x00ab251f in start_thread () from /lib/libpthread.so.0
#7 0x009e804e in clone () from /lib/libc.so.6
Thread 9 (Thread 0xe37b90 (LWP 6941)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab9996 in nanosleep () from /lib/libpthread.so.0
#2 0x002f87e0 in SleepEx () from /usr/lib/libmono.so.0
#3 0x0027eba6 in ?? () from /usr/lib/libmono.so.0
#4 0x00630177 in ?? ()
#5 0x000000c8 in ?? ()
#6 0x08826c04 in ?? ()
#7 0x00e370b8 in ?? ()
#8 0x008f2056 in ___tls_get_addr_internal () from /lib/ld-linux.so.2
#9 0x00630115 in ?? ()
#10 0x000000c8 in ?? ()
#11 0x003f2d88 in geteuid () from /usr/lib/libmono.so.0
#12 0x00061f40 in ?? ()
#13 0x00e37b74 in ?? ()
#14 0x08811e00 in ?? ()
#15 0x003f2d88 in geteuid () from /usr/lib/libmono.so.0
#16 0x00e371f8 in ?? ()
#17 0x0062f83d in ?? ()
#18 0x000000c8 in ?? ()
#19 0x08826c04 in ?? ()
#20 0x00061f40 in ?? ()
#21 0x0062f9a5 in ?? ()
#22 0x0882fa94 in ?? ()
#23 0x00000000 in ?? ()
Thread 8 (Thread 0x76db90 (LWP 6942)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab919b in read () from /lib/libpthread.so.0
#2 0x001cb52e in ?? () from /usr/lib/libmono.so.0
#3 <signal handler called>
#4 0x00821416 in __kernel_vsyscall ()
#5 0x0092f460 in raise () from /lib/libc.so.6
#6 0x00930e28 in abort () from /lib/libc.so.6
#7 0x00598813 in g_assertion_message () from /lib/libglib-2.0.so.0
#8 0x00598cad in g_assertion_message_expr () from /lib/libglib-2.0.so.0
#9 0x0012c57e in ?? () from /usr/lib/libmono.so.0
#10 0x001e7b96 in ?? () from /usr/lib/libmono.so.0
#11 0x0012b34d in ?? () from /usr/lib/libmono.so.0
#12 0x00157153 in ?? () from /usr/lib/libmono.so.0
#13 0x00158511 in ?? () from /usr/lib/libmono.so.0
#14 0x00237ba4 in mono_compile_method () from /usr/lib/libmono.so.0
#15 0x001d51e1 in ?? () from /usr/lib/libmono.so.0
#16 0x00414066 in ?? ()
#17 0x0076c808 in ?? ()
#18 0x007b8cf8 in ?? ()
#19 0xb7234c04 in ?? ()
#20 0x00000000 in ?? ()
Thread 7 (Thread 0xcebb90 (LWP 6943)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab9996 in nanosleep () from /lib/libpthread.so.0
#2 0x002f87e0 in SleepEx () from /usr/lib/libmono.so.0
#3 0x0027eba6 in ?? () from /usr/lib/libmono.so.0
#4 0x00630177 in ?? ()
#5 0x0000000a in ?? ()
#6 0x00063c40 in ?? ()
#7 0x00ceb178 in ?? ()
#8 0x008f2056 in ___tls_get_addr_internal () from /lib/ld-linux.so.2
#9 0x00630115 in ?? ()
#10 0x0000000a in ?? ()
#11 0x00000000 in ?? ()
Thread 6 (Thread 0x6627b90 (LWP 6945)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab6432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x002e07b8 in ?? () from /usr/lib/libmono.so.0
#3 0x002e3354 in _wapi_handle_timedwait_signal_handle () from /usr/lib/libmono.so.0
#4 0x002e33bc in _wapi_handle_wait_signal_handle () from /usr/lib/libmono.so.0
#5 0x002fd9d7 in WaitForSingleObjectEx () from /usr/lib/libmono.so.0
#6 0x00282af0 in ?? () from /usr/lib/libmono.so.0
#7 0x0027f7ee in ?? () from /usr/lib/libmono.so.0
#8 0x002f9476 in ?? () from /usr/lib/libmono.so.0
#9 0x0031ee65 in GC_start_routine () from /usr/lib/libmono.so.0
#10 0x00ab251f in start_thread () from /lib/libpthread.so.0
#11 0x009e804e in clone () from /lib/libc.so.6
Thread 5 (Thread 0x113ab90 (LWP 6946)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x009e8836 in epoll_wait () from /lib/libc.so.6
#2 0x002838e2 in ?? () from /usr/lib/libmono.so.0
#3 0x0027f7ee in ?? () from /usr/lib/libmono.so.0
#4 0x002f9476 in ?? () from /usr/lib/libmono.so.0
#5 0x0031ee65 in GC_start_routine () from /usr/lib/libmono.so.0
#6 0x00ab251f in start_thread () from /lib/libpthread.so.0
#7 0x009e804e in clone () from /lib/libc.so.6
Thread 4 (Thread 0x23c6b90 (LWP 6950)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab6432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x002e07b8 in ?? () from /usr/lib/libmono.so.0
#3 0x002e3354 in _wapi_handle_timedwait_signal_handle () from /usr/lib/libmono.so.0
#4 0x002e33bc in _wapi_handle_wait_signal_handle () from /usr/lib/libmono.so.0
#5 0x002fd9d7 in WaitForSingleObjectEx () from /usr/lib/libmono.so.0
#6 0x00282af0 in ?? () from /usr/lib/libmono.so.0
#7 0x0027f7ee in ?? () from /usr/lib/libmono.so.0
#8 0x002f9476 in ?? () from /usr/lib/libmono.so.0
#9 0x0031ee65 in GC_start_routine () from /usr/lib/libmono.so.0
#10 0x00ab251f in start_thread () from /lib/libpthread.so.0
#11 0x009e804e in clone () from /lib/libc.so.6
Thread 3 (Thread 0x24ebb90 (LWP 6952)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab6432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x002e07b8 in ?? () from /usr/lib/libmono.so.0
#3 0x002e3354 in _wapi_handle_timedwait_signal_handle () from /usr/lib/libmono.so.0
#4 0x002fd8bc in WaitForSingleObjectEx () from /usr/lib/libmono.so.0
#5 0x0027c1b0 in ?? () from /usr/lib/libmono.so.0
#6 0x007727b0 in ?? ()
#7 0x000bec78 in ?? ()
#8 0x00000453 in ?? ()
#9 0x00001193 in ?? ()
#10 0x00000001 in ?? ()
#11 0x024eb018 in ?? ()
#12 0x003f2d88 in geteuid () from /usr/lib/libmono.so.0
#13 0x00000000 in ?? ()
Thread 2 (Thread 0x5759b90 (LWP 6954)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab6432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x002e07b8 in ?? () from /usr/lib/libmono.so.0
#3 0x002e3354 in _wapi_handle_timedwait_signal_handle () from /usr/lib/libmono.so.0
#4 0x002fd8bc in WaitForSingleObjectEx () from /usr/lib/libmono.so.0
#5 0x00282a60 in ?? () from /usr/lib/libmono.so.0
#6 0x0027f7ee in ?? () from /usr/lib/libmono.so.0
#7 0x002f9476 in ?? () from /usr/lib/libmono.so.0
#8 0x0031ee65 in GC_start_routine () from /usr/lib/libmono.so.0
#9 0x00ab251f in start_thread () from /lib/libpthread.so.0
#10 0x009e804e in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb7f826f0 (LWP 6938)):
#0 0x00821416 in __kernel_vsyscall ()
#1 0x00ab9996 in nanosleep () from /lib/libpthread.so.0
#2 0x002f87e0 in SleepEx () from /usr/lib/libmono.so.0
#3 0x0027eba6 in ?? () from /usr/lib/libmono.so.0
#4 0x00630177 in ?? ()
#5 0x0000000a in ?? ()
#6 0x087b34c4 in ?? ()
#7 0xbff2f018 in ?? ()
#8 0x008f2056 in ___tls_get_addr_internal () from /lib/ld-linux.so.2
#9 0x00630115 in ?? ()
#10 0x0000000a in ?? ()
#11 0x003f2d88 in geteuid () from /usr/lib/libmono.so.0
#12 0x00000000 in ?? ()
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted

Okram
S2 licensed
Quote from EQ Worry :Wow, nice numbers, Okram! One thing baffles me though: In your calculations the FZ2 time adjustments are around 10 percent. But what restriction was used on CTRA? I know that with 20 percent intake air restriction the FZR -> FZ2 time adjustmets are 5 or 6 percent, not 10%.

In CTRA was:
FXR-GT2 - 32% Intake Air Restriction
FZR-GT2 - 28% Intake Air Restriction
XRR-GT2 - 34% Intake Air Restriction
FJR-Formula Junior (FO8) - added mass 70kg and 20% Intake Air Restriction
UF-BR (UFR) - 45% Intake Air Restriction

Added FJR Formula Junior TimeAdjustment. Now is all data in this post and here
TimeAdjustment for UFB, FX2, XR2 and FZ2
Okram
S2 licensed
I make TimeAdjustment for UFB, FX2, XR2 and FZ2. based on CTRA best lap time and WR time in LFS. I'm not sure, is this correct. CTRA lap times from here.
There is two TimeAdjustment time.
TimeAdjustment in green: is Excel calculation
[SIZE=2]=INT(([B]CTRA seconds[/B]/[B]WR seconds[/B]-1)*10000)[/SIZE]

TimeAdjustment in red: is Excel function make my self. In race you don't drive WR times. Added some seconds.
Function tm(ctra, wr)
' (c) 2009 Okram
' Calculates TimeAdjustment for Airio, based on CTRA best laptime and WR time
' Forum link [URL]http://www.lfsforum.net/showthread.php?p=1211945#post1211945[/URL]
' How do use funtion?
' in cell write [B]=tm(CTRA;WR) [/B]or [B]=tm(CTRA,WR)[/B] where
' CTRA is lap time in seconds
' WR time in seconds
' [B]=tm(CTRA,WR) [/B]this in english version i think, but not sure.


' If wr time is less or 30 (sec) add ctra time +1 sec
If wr <= 30 Then
ctra = ctra + 1
answer = Int((ctra / wr - 1) * 10000)
End If
' If wr time is more than 30 (sec) and less or 60 add ctra time +1.5 sec
If wr > 30 And wr <= 60 Then
ctra = ctra + 1.5
answer = Int((ctra / wr - 1) * 10000)
End If
' If wr time is more than 60 (sec) and less or 90 add ctra time +2 sec
If wr > 60 And wr <= 90 Then
ctra = ctra + 2
answer = Int((ctra / wr - 1) * 10000)
End If
' If wr time is more than 90 (sec) and less or 120 add ctra time +2.5 sec
If wr > 90 And wr <= 120 Then
ctra = ctra + 2.5
answer = Int((ctra / wr - 1) * 10000)
End If
' If wr time is more than 120 (sec) and less or 150 add ctra time +3 sec
If wr > 120 And wr <= 150 Then
ctra = ctra + 3
answer = Int((ctra / wr - 1) * 10000)
End If
' If wr time is more than 150 (sec) and less or 180 add ctra time +3.5 sec
If wr > 150 And wr <= 180 Then
ctra = ctra + 3.5
answer = Int((ctra / wr - 1) * 10000)
End If
' If wr time is more than 180 (sec) add ctra time +4 sec
If wr > 180 Then
ctra = ctra + 4
answer = Int((ctra / wr - 1) * 10000)
End If

' get result
tm = answer
End Function

Seconds added

WR time 0-30 sec added +1 sec
WR time 31-60 sekundit added +1,5 sec
WR time 61-90 sekundit added +2 sec
WR time 91-120 sec added +2,5 sec
WR time 121-150 sec added +3 sec
WR time 151-180 sec added +3,5 sec
WR time more than 180 sec added 4 sec

Last edited by Okram, .
Okram
S2 licensed
Can i use and is this works?

CustomCars=UF-BR|UFR,45,0
CarCategories=UF-BR|UFR
CarGroups=UF-BR|UFR

I like old CTRA servers car name
Okram
S2 licensed
Does anyone can help me? In Airio statistics files Airio.sta.un.txt and Airio.sta.cr.txt contain line:


[B]date/time[/B] of the PB (serialized value divided by 600000000 to round it to minutes)

Is anyone able to explain to me what to do with this number, the result could be the date with time? I use this in website with PHP.

Thanks,
Okram
Okram
S2 licensed
Ups, my mistake. Fast copy & paste It seems that now, I guess all of the notices found. No more notices
Okram
S2 licensed
This not bug but i see this Ingame Racer Names and Racers per Group. If users added then Preview (Racer field in Racers per Group) works fine if user is team member. But if not, then before name is space. Move mouse over name in table.

[U] Okram[/U]
[U]TEST Okram[/U]

Okram
S2 licensed
Two image link is broken Hot Tracker v2.0 beta and German Gamers Club

[URL]http://http//mydomain/~username/lfs/hottracker/images/logo.png[/URL]
[URL]http://http//mydomain/~username/lfs/hottracker/images/ggc.png[/URL]

Logout, Login and Register link is broken right corner of top and eMail send wrong link if you have forgotten your password
http://http//mydomain/~username/lfs/hottracker/sdk/model/logout.php
http://http//mydomain/~username/lfs/hottracker/controlcenter.php?loginform
http://http//mydomain/~username/lfs/hottracker/sdk/model/register.php

Click Groups, add new group and notice
[B]Notice[/B]: Undefined offset: 0 in [B]/home/username/public_html/lfs/hottracker/sdk/model/hottrackerdb.php[/B] on line [B]775[/B]

Okram
S2 licensed
hm... link Table Styles

[B]Notice[/B]: Undefined variable: styledef in [B]/home/marko/public_html/lfs/hottracker/sdk/model/styles.php[/B] on line [B]88[/B]

Below get notices if i use or do something

Link Show all LFS World Teams. If I press button Reload all works but if i checked Show team members (slow performance) then lots of some notices:
[B]Notice[/B]: Undefined index: Members in [B]/home/username/public_html/lfs/hottracker/sdk/model/lfswteams.php[/B] on line [B]50[/B]

Link Groups
Add new group
[B]Notice[/B]: Undefined offset: 0 in [B]/home/username/public_html/lfs/hottracker/sdk/model/hottrackerdb.php[/B] on line [B]750[/B]

Maybe this wa last notice but i'am not sure Now i test little more.

One security mistake. What happend if user lost password?
Now: Administrator reset password and tell him because only hi see this password. No e-mail now.
Future: Administrator reset password and automatically send e-mail to user. Administrator don't see this password. OR, link Forgot Password for user. My opinion.

First must remove old Notices
Okram
S2 licensed
After register new user i fill all field:
[B]Notice[/B]: Undefined index: racername in [B]/home/username/public_html/lfs/hottracker/sdk/model/register.php[/B] on line [B]231[/B]

User or administrator click Tracker Demo Page
[B]Notice[/B]: Undefined index: HoT_Tracker_Demo_Track in [B]/home/username/public_html/lfs/hottracker/templates/trackertest.php[/B] on line [B]32[/B]

[B]Notice[/B]: Undefined index: HoT_Tracker_Demo_Cars in [B]/home/username/public_html/lfs/hottracker/templates/trackertest.php[/B] on line [B]33[/B]

This two notices was 1. time.
1
FGED GREDG RDFGDR GSFDG