Arcen Forums

General Category => AI War Classic => AI War Classic - Technical Support => Topic started by: xxlololololxx on October 26, 2009, 11:29:26 AM

Title: [Solved] Can't start AI War from Steam
Post by: xxlololololxx on October 26, 2009, 11:29:26 AM
i don't know why but whenever i try to launch AI War, it just says, "AI War: Fleet Command has encountered a problem and needs to close", it doesn't say why and i have looked at the report, but again, it doesnt say why. i could use some help with this :|
Title: Re: Can't start AI War from Steam
Post by: x4000 on October 26, 2009, 11:31:22 AM
It should have pointed you to an unhandledexceptions.txt file -- can you post the contents of that?  Most likely one of your prerequisites did not install correctly, but I can't be sure without seeing that file.
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 26, 2009, 12:03:21 PM
it hasn't done anything, that thing that asks you to send an error report, that is all that comes up, and i can't find any info from that as to why it won't start :|
Title: Re: Can't start AI War from Steam
Post by: x4000 on October 26, 2009, 12:08:48 PM
Hmm, that is strange -- you might try looking in your game folder for AI War inside Steam to see if there is unhandledexceptions.txt or similar (for example, on my Win7 machine that directory is:  C:\Program Files (x86)\Steam\steamapps\common\ai war fleet command)

However, I imagine that most likely either .NET 3.5 or something of that nature is missing if it is failing that early and not giving you a better message of some sort.  Here is the link where you can get the prerequisites directly to fix that:  http://arcengames.com/forums/index.php/topic,1811.0.html (http://arcengames.com/forums/index.php/topic,1811.0.html)

And if .NET 3.5 web installer gives you trouble (a known issue to Microsoft for a minority of Windows computers), here is the fix for that:  http://arcengames.com/forums/index.php/topic,26.0.html (http://arcengames.com/forums/index.php/topic,26.0.html)

Hope that helps!
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 26, 2009, 02:54:01 PM
i found that unhandled errors thing, but it means nothing to me :|
Title: Re: Can't start AI War from Steam
Post by: x4000 on October 26, 2009, 02:58:45 PM
Right, it's for me.  If you post the contents, I can tell you what's going on.
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 27, 2009, 08:18:33 AM
23/10/2009 19:22:43 (2.0)
-----------------------------------Application_ThreadException-----------------------------------System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Lidgren.Network.NetServer.AddConnection(Double now, NetConnection conn)
   at Lidgren.Network.NetConnection.Approve(Byte[] localHailData)
   at Lidgren.Network.NetConnection.Approve()
   at AIWar.NetworkServerWrapper.CheckServer() in C:\vcprojs\AIWar\DX\NetworkServerWrapper.cs:line 176
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 564
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 244
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 261
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
23/10/2009 19:46:24 (2.0)
-----------------------------------Application_ThreadException-----------------------------------System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Lidgren.Network.NetServer.AddConnection(Double now, NetConnection conn)
   at Lidgren.Network.NetConnection.Approve(Byte[] localHailData)
   at Lidgren.Network.NetConnection.Approve()
   at AIWar.NetworkServerWrapper.CheckServer() in C:\vcprojs\AIWar\DX\NetworkServerWrapper.cs:line 176
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 564
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 244
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 261
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
25/10/2009 12:04:52 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 12:05:11 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 12:06:51 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 12:23:56 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 17:04:58 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 17:10:06 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 17:24:53 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 17:24:58 (2.0)
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 27, 2009, 08:19:06 AM
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
25/10/2009 17:51:19 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
26/10/2009 10:25:31 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
26/10/2009 10:27:23 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
26/10/2009 10:28:24 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
26/10/2009 15:01:49 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
26/10/2009 15:23:31 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
26/10/2009 15:30:07 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
26/10/2009 16:01:39 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
27/10/2009 12:12:37 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
27/10/2009 12:14:32 (2.0)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at AIWar.Serializer.Deserialize(Byte[] Data) in C:\vcprojs\AIWar\Framework\Serializer.cs:line 31
   at AIWar.GameSettings.LoadFromDisk() in C:\vcprojs\AIWar\Framework\GameSettings.cs:line 660
   at AIWar.GameForm..ctor() in C:\vcprojs\AIWar\GameForm.cs:line 220
   at AIWar.Program.Main() in C:\vcprojs\AIWar\Program.cs:line 21
27/10/2009 12:15:00 (2.0)
-----------------------------------Application_ThreadException-----------------------------------System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 24
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 27, 2009, 08:42:53 AM
that what you wanted to see?
Title: Re: Can't start AI War from Steam
Post by: x4000 on October 27, 2009, 11:36:27 AM
Yep -- thanks.  Looks like your settings.dat file became corrupted somehow.  If you delete that file, it will recreate it and you will be good to go (you'll need to put your settings back in, and your profile data, though).
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 31, 2009, 01:37:32 PM
how do it do that?
Title: Re: Can't start AI War from Steam
Post by: Revenantus on October 31, 2009, 01:46:21 PM
how do it do that?

If you right click on the AI War shortcut on either your desktop or the Start menu and choose 'Open file location', an explorer window will open in your AI War directory. Inside this directory, there will be a file called settings.dat. Delete this file, then launch AI War.

You'll be asked to recreate your profile and enter your license key again.

EDIT: If you're running Windows XP, you'll have to navigate to your AI War directory;

Stand alone:
C:\Program Files\Arcen Games, LLC\AI War\

Impulse:
C:\Program Files\Indie Games\AI War\

Steam:
C:\Program Files\Steam\SteamApps\<profile>\ai war fleet command\
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 31, 2009, 03:15:59 PM
for sum reason, that doesn't come up when i right click the shortcut
Title: Re: Can't start AI War from Steam
Post by: x4000 on October 31, 2009, 03:32:35 PM
Sorry for the confusion.  Desktop shortcuts generated by Steam are actually a bit different from regular shortcuts -- they invoke steam itself, with an appid for the game in question, and so don't reveal the location of the actual program (unlike other ways of installing the game, including Impulse, which work like normal shortcuts).

Nevertheless, this directory (with whatever your profile name is) will work, unless you've installed Steam on an alternate location (such as a different drive, or Program Files (x86), etc):

C:\Program Files\Steam\SteamApps\<profile>\ai war fleet command\

If you use that general template, and just explore to each segment individually through Windows Explorer, you should hopefully be able to find the settings.dat file fairly easily to remove it.
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on October 31, 2009, 03:46:36 PM
:| can't find that profile thing for sum reason
Title: Re: Can't start AI War from Steam
Post by: Revenantus on October 31, 2009, 03:49:11 PM
:| can't find that profile thing for sum reason


You're not looking for a folder called <profile>, but the folder associated with a specific Steam profile. The required profile will either be your username or 'common'.
Title: Re: Can't start AI War from Steam
Post by: x4000 on October 31, 2009, 04:06:24 PM
:| can't find that profile thing for sum reason


Actually, possibly if you are on a different setup for Steam, it might look like this:

C:\Program Files (x86)\Steam\steamapps\common\ai war fleet command\
Title: Re: Can't start AI War from Steam
Post by: xxlololololxx on November 01, 2009, 06:00:27 AM
i sorted it, thanks for the help :)
Title: Re: Can't start AI War from Steam
Post by: Revenantus on November 01, 2009, 07:18:27 AM
i sorted it, thanks for the help :)

No problem. :)