Chest bug
Posted: Tue Apr 23, 2013 8:49 pm
It seems that this pops up only once you've opened quite a few chests.
The client crashes on chest open:
I also noticed that drop quality increases as you progress, then items stop dropping, just lots of gold.
The client crashes on chest open:
Code: Select all
System.NullReferenceException was unhandled
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=Chasm
StackTrace:
at Chasm.Gameplay.Database.GetRandomItemDrop(ItemType types, Int32 noDropWeight)
at Chasm.Gameplay.TreasureChest.SpawnTreasure()
at Chasm.Gameplay.TreasureChest.Update(Single elapsedTime)
at Chasm.Gameplay.RoomInstance.Update(Single elapsedTime)
at Chasm.Gameplay.World.Update()
at Chasm.ChasmGame.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 Microsoft.Xna.Framework.Game.Run()
at Chasm.Program.Main(String[] args)
InnerException: