crashes on startup

Post any bumps you find on the road to planetary domination.

Moderator: Erinys

Post Reply
oipluckie
Posts: 2
Joined: Tue Feb 17, 2015 4:59 am

crashes on startup

Post by oipluckie » Tue Feb 17, 2015 4:13 pm

I tried installing this on a desktop with windows 8 and it crashed on startup. It worked fine on my little laptop with linux on it. I tried reinstalling the game, uninstalling the xna stuff, and updating my driver, but to no avail.

If you needed system info:
windows 8.1 pro
intel i5 4670k
8Gb ram
GTX 560

this is the crash txt
Version: 1.5.5 S

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Kerberos.Steam.API.FileRead(String fileName, Byte[] buffer, Int32 bufferLen)
at ThePit.FileStorage.Read(Boolean useCloud, String fileName)
at ThePit.Profiles.OpenFile(String fileName)
at ThePit.Profiles.Load(String fileName)
at ThePit.Profiles.get_Current()
at ThePit.Game1.LoadContentNow()
at ThePit.Game1.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at ThePit.Program.MainCore()
at ThePit.Program.Main(String[] args)

User avatar
zanzibar196
Note: Not A Moderator
Posts: 8180
Joined: Sat Aug 19, 2006 7:29 am

crashes on startup

Post by zanzibar196 » Tue Feb 17, 2015 7:42 pm

Sounds like you should update xna from Microsoft. Also, updating your .net framework couldn't hurt. Lastly, if that doesn't work, try updating visual c/c++.


Sent from my iPhone using Tapatalk
Image

Image

User avatar
Nspace
Kerbicron Cleric
Kerbicron Cleric
Posts: 4666
Joined: Thu Dec 29, 2005 7:26 pm

Re: crashes on startup

Post by Nspace » Tue Feb 17, 2015 8:59 pm

Actually I think this might point toward the problem:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Kerberos.Steam.API.FileRead(String fileName, Byte[] buffer, Int32 bufferLen)
at ThePit.FileStorage.Read(Boolean useCloud, String fileName)
at ThePit.Profiles.OpenFile(String fileName)
at ThePit.Profiles.Load(String fileName


It looks like The Pit is trying to load your profile or a saved game from Steam instead of the hard drive and failing. Do you have Steam Cloud saves turned on? If so, try turning it off to get the game to load. Once the game loads, you should be able to re-enable Steam Cloud and sync everything up.
"Quando omni flunkus, mortati" - "When all else fails, play dead"
SotS 1 wiki: http://wiki.swordofthestars.com/sots1/Main_Page
SotS 2 wiki: http://wiki.swordofthestars.com/sots2/SotS2_Codex

oipluckie
Posts: 2
Joined: Tue Feb 17, 2015 4:59 am

Re: crashes on startup

Post by oipluckie » Tue Feb 17, 2015 11:26 pm

Nspace wrote:Actually I think this might point toward the problem:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Kerberos.Steam.API.FileRead(String fileName, Byte[] buffer, Int32 bufferLen)
at ThePit.FileStorage.Read(Boolean useCloud, String fileName)
at ThePit.Profiles.OpenFile(String fileName)
at ThePit.Profiles.Load(String fileName


It looks like The Pit is trying to load your profile or a saved game from Steam instead of the hard drive and failing. Do you have Steam Cloud saves turned on? If so, try turning it off to get the game to load. Once the game loads, you should be able to re-enable Steam Cloud and sync everything up.


Well steam cloud save was off, so I tried enabling and it worked! I feel so stupid...anyways thanks so much! Now i can play the game :D

User avatar
Mecron
Kerberos
Posts: 38632
Joined: Fri Aug 05, 2005 7:26 pm

Re: crashes on startup

Post by Mecron » Wed Feb 18, 2015 12:27 am

just glad you are back on track!

Post Reply

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest