Author Topic: [Solved] Can't start AI War from Steam  (Read 7720 times)

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
[Solved] Can't start AI War from Steam
« 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 :|
« Last Edit: November 01, 2009, 07:10:33 am by Fiskbit »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't start AI War from Steam
« Reply #1 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.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #2 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 :|

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't start AI War from Steam
« Reply #3 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

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

Hope that helps!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #4 on: October 26, 2009, 02:54:01 pm »
i found that unhandled errors thing, but it means nothing to me :|

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't start AI War from Steam
« Reply #5 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.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #6 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)

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #7 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)

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #8 on: October 27, 2009, 08:42:53 am »
that what you wanted to see?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't start AI War from Steam
« Reply #9 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).
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #10 on: October 31, 2009, 01:37:32 pm »
how do it do that?

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: Can't start AI War from Steam
« Reply #11 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\
« Last Edit: October 31, 2009, 01:54:10 pm by Revenantus »

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #12 on: October 31, 2009, 03:15:59 pm »
for sum reason, that doesn't come up when i right click the shortcut

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't start AI War from Steam
« Reply #13 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.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline xxlololololxx

  • Newbie Mark II
  • *
  • Posts: 10
Re: Can't start AI War from Steam
« Reply #14 on: October 31, 2009, 03:46:36 pm »
:| can't find that profile thing for sum reason