June 19, 2018, 04:24:33 PM

Author Topic: Random crash  (Read 534 times)

r4d6

  • Newbie
  • *
  • Posts: 2
    • View Profile
Random crash
« on: January 17, 2018, 02:44:04 PM »
in my gnomoria game, I am at 10 years and it randomly crash, in the log it seem to be the same reason, after each crash when I relaunch the game I could go further without crashing,

Here is the log :

Date: 1/17/2018 5:34:53 PM
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World: world01
 Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
////////////////////////////////////////////////////////////////
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at Game.Behaviors.RefillAmmo.c869553fb6990e6ccf7f3fbff7da46816(Character cc394770a01f5e1f593a9ae6962cf798e, Single c98206223a14c41d705f29e408e0b44cd)
   at Game.BehaviorTree.Condition`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Selector`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Selector`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Selector`1.Execute(T character, Single dt)
   at Game.Character.Update(Single dt)
   at Game.GameEntityManager.cb47392663d0dc2306f9f4f4f0538646e(Single c98206223a14c41d705f29e408e0b44cd)
   at Game.GameEntityManager.Update(Single dt)
   at Game.GnomanEmpire.cce48101c3be44fa5bd8b6826610afdec(Single c98206223a14c41d705f29e408e0b44cd)
   at Game.GnomanEmpire.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 A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)

admanter

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: Random crash
« Reply #1 on: January 22, 2018, 10:33:37 AM »
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
////////////////////////////////////////////////////////////////
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at Game.Behaviors.RefillAmmo.c869553fb6990e6ccf7f3fbff7da46816(Character

Ammo container, out of range.
Known, unfixed bug. Dont hold your breath for a fix. If save can be loaded, could fix by making sure that no ammo containers are currently assigned to stock piles. Potentially have to sell all ammo containers.


r4d6

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Random crash
« Reply #2 on: January 22, 2018, 01:43:18 PM »
Ok, thank you