The online racing simulator
Airio Array Error
(7 posts, started )
Airio Array Error
Hello all,
I am having a problem with Airio since switching to a new server.
The server has installed: MS NetFramework 3.5 & 4, and MS Visual C++ 2008 & 2010.

I am presuming this has to do with configs, but don't know where to look. See log below.

Any help would be greatly appreciated.
Thanks, Ray

13.01.03 15:14:56 Starting program : Airio 2.5.8
13.01.03 15:14:56 Current directory : C:\Server\Airio
13.01.03 15:14:56 Starting Web thread...
13.01.03 15:14:56 Web thread started...
13.01.03 15:14:56 Reading WR table...
13.01.03 15:14:56 AIRW VR data read...
13.01.03 15:14:56 LFSW WR data read...
13.01.03 15:14:56 Combined LFSW WR and AIRW VR data...
13.01.03 15:14:56 Renewed all WR data...
13.01.03 15:14:56 Reading configs...
13.01.03 15:14:56 AIRIO ERROR : Index was outside the bounds of the array.
of type System.IndexOutOfRangeException
at LiveForSpeed.InSim.Airio.Airio.ReadBans() in d:\Development Files\LFS_Airio\Common.cs:line 1216
at LiveForSpeed.InSim.Airio.Airio.ReadCommonConfig() in d:\Development Files\LFS_Airio\Common.cs:line 240
at LiveForSpeed.InSim.Airio.Airio.Main() in d:\Development Files\LFS_Airio\Main.cs:line 192
#2 - amp88
Quote from fsp_ray :I am presuming this has to do with configs, but don't know where to look. See log below.

13.01.03 15:14:56 AIRIO ERROR : Index was outside the bounds of the array.
of type System.IndexOutOfRangeException
at LiveForSpeed.InSim.Airio.Airio.ReadBans() in d:\Development Files\LFS_Airio\Common.cs:line 1216

This suggests the problem is with a ban file. Have you manually edited anything to do with bans?
NO I didn't manually edit anything in the file.
I deleted the contents of the file and then the file iteself, no luck but it looks like that did have an effect, now I get some other error in the file. Any suggestions?

Example contents of ban file: (Looks more spaced out in text file)
tatengue 1404353741 fsp_host 2011-10-08 02:15:41 999

Error Log
13.01.12 16:53:32 Starting program : Airio 2.5.8
13.01.12 16:53:32 Current directory : C:\Server\Airio
13.01.12 16:53:32 Starting Web thread...
13.01.12 16:53:32 Web thread started...
13.01.12 16:53:32 Reading WR table...
13.01.12 16:53:32 AIRW VR data read...
13.01.12 16:53:32 LFSW WR data read...
13.01.12 16:53:32 Combined LFSW WR and AIRW VR data...
13.01.12 16:53:32 Renewed all WR data...
13.01.12 16:53:33 Reading configs...
13.01.12 16:53:33 Common configs read...
13.01.12 16:53:33 Reading data...
13.01.12 16:53:33 AIRIO ERROR : Input string was not in a correct format.
of type System.FormatException
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
at LiveForSpeed.InSim.Airio.Datas.Read() in d:\Development Files\LFS_Airio\Datas.cs:line 374
at LiveForSpeed.InSim.Airio.Airio.Main() in d:\Development Files\LFS_Airio\Main.cs:line 199
#4 - MrSam
Quote from fsp_ray :
13.01.12 16:53:33 AIRIO ERROR : Input string was not in a correct format.
of type System.FormatException
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
at LiveForSpeed.InSim.Airio.Datas.Read() in d:\Development Files\LFS_Airio\Datas.cs:line 374
at LiveForSpeed.InSim.Airio.Airio.Main() in d:\Development Files\LFS_Airio\Main.cs:line 199

I had the same problem with one Airio free. the only solution was for me to delete all the stats:
Airio.sta.ac.txt
Airio.sta.cr.txt
Airio.sta.tr.txt
Airio.sta.un.txt

I admit this is a radical solution, but after Airio it worked.
Seems airio also need an update
Thanks MrSam,
But no luck still, as per usual I get another error:
Please keep suggesting things for me to try.


13.01.12 21:45:04 Starting program : Airio 2.5.8
13.01.12 21:45:04 Current directory : C:\Server\Airio
13.01.12 21:45:05 Starting Web thread...
13.01.12 21:45:05 Web thread started...
13.01.12 21:45:05 Reading WR table...
13.01.12 21:45:05 AIRW VR data read...
13.01.12 21:45:05 LFSW WR data read...
13.01.12 21:45:05 Combined LFSW WR and AIRW VR data...
13.01.12 21:45:05 Renewed all WR data...
13.01.12 21:45:05 Reading configs...
13.01.12 21:45:06 Common configs read...
13.01.12 21:45:06 Reading data...
13.01.12 21:45:06 AIRIO ERROR : Value cannot be null.
Parameter name: String
of type System.ArgumentNullException
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
at LiveForSpeed.InSim.Airio.Datas.Read() in d:\Development Files\LFS_Airio\Datas.cs:line 374
at LiveForSpeed.InSim.Airio.Airio.Main() in d:\Development Files\LFS_Airio\Main.cs:line 199
#6 - MrSam
Made a backup first, and maybe you should download and install a new airio (not modified) and see if it works.
Like that, you can know if it comes from a file or Airio.
SOLVED (Well kind of)

I didn't have a blank install of Airio so was waiting for a friend to give me it, but Yes MrSam, it is an error in one of the 4 stat files.

As to where the error is, I don't know. If I find it I'll update the thread.

Airio Array Error
(7 posts, started )
FGED GREDG RDFGDR GSFDG