Page 1 of 1

Some errors in the log

Posted: 2010-10-16 10:37
by Larriar
I downloaded the new version and installed yesterday, I was playing with my friends and the game was more laggy than other days, I decided to see the log in the mod folder and i found this:

An error occurred while parsing video controls
System.IO.IOException: The process can't acces the file 'G:\...\Battlefield 2\Profiles\Default\Video.con' Because it is being used by another program.(I have translate this line but i don?t know if i have done it well).
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
en System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
en System.IO.File.OpenText(String path)
en c.g()


---------------------------------
Error in writing screen aspect ratio file: g:\program files (x86)\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Can't find part of the path: 'g:\program files (x86)\ea games\battlefield 2\mods\pr\'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en k.a(String A_0)

I run the game as administrador, SO win 7 64 bit, I thoug the lag problem was because this errors, can be a problem for have the game instaled in the program files (x86) folder?
sorry if i wrote something bad, I am not english.

Re: Some errors in the log

Posted: 2010-10-16 11:12
by Twisted Helix
An error occurred while parsing video controls
System.IO.IOException: The process can't acces the file 'G:\...\Battlefield 2\Profiles\Default\Video.con' Because it is being used by another program.(I have translate this line but i don?t know if i have done it well).
Yeah thats not a problem. Its just an error that is reported because a file gets accessed twice in quick succession, the second time round it happens too quick and the file is still open. All happens before the game even loads.
---------------------------------
Error in writing screen aspect ratio file: g:\program files (x86)\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Can't find part of the path: 'g:\program files (x86)\ea games\battlefield 2\mods\pr\'.
Hmmm ... that ones a bit more worrying though. Is that where your PR is installed ?

Again though it will not be a cause of lag (although it might end up with some weird shader effects).

Re: Some errors in the log

Posted: 2010-10-16 11:29
by Larriar
Yes it is the path where i have the game installed, the two errors has the same time, so i thoug, the second error is caused by the first error, and it appears many times, i only played two or three maps i hace more than twenty errors and are separated by minutes.

Re: Some errors in the log

Posted: 2010-10-17 03:34
by Twisted Helix
Odd. Anyway, it won't be causing lag.