Jump to content
  • 0

Game crashes when i craft an item


Azkaosa

Question

I have set up an event to make a crafting station, i have add the items, when i gather the needed items i go and craft the item i want as soon as i hit craft the game gets an error and crashes.

 

 

 Error log below-

 

 

2019-06-29 00:26:41.672 [Error] Message: Object reference not set to an instance of an object. 2019-06-29 00:26:41.672 [Error] Stack Trace: at Intersect.Client.UI.Game.ItemDescWindow..ctor(ItemBase item, Int32 amount, Int32 x, Int32 y, Int32[] statBuffs, String titleOverride, String valueLabel) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Game\ItemDescWindow.cs:line 20 at Intersect.Client.UI.Game.Crafting.RecipeItem.pnl_HoverEnter(Base sender, EventArgs arguments) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Game\Crafting\RecipeItem.cs:line 108 at Intersect.Client.Framework.Gwen.Control.Base.OnMouseEntered() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 1712 at Intersect.Client.Framework.Gwen.Control.Base.InputMouseEntered() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 1743 at Intersect.Client.Framework.Gwen.Input.InputHandler.UpdateHoveredControl(Base inCanvas) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client.Framework\Gwen\Input\InputHandler.cs:line 374 at Intersect.Client.Framework.Gwen.Input.InputHandler.OnMouseMoved(Base canvas, Int32 x, Int32 y, Int32 dx, Int32 dy) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client.Framework\Gwen\Input\InputHandler.cs:line 175 at Intersect.Client.Framework.Gwen.Control.Canvas.Input_MouseMoved(Int32 x, Int32 y, Int32 dx, Int32 dy) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Canvas.cs:line 236 at Intersect.Client.Framework.Gwen.Input.IntersectInput.ProcessMessage(Object message) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client.Framework\Gwen\Input\IntersectInput.cs:line 74 at Intersect.Client.MonoGame.Input.MonoInput.Update() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\MonoGame\Input\MonoInput.cs:line 142 at Intersect.Client.GameMain.Update() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\Core\GameMain.cs:line 83 at Intersect.Client.IntersectGame.Update(GameTime gameTime) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\IntersectGame.cs:line 112 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) at Microsoft.Xna.Framework.Game.Tick() at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) 2019-06-29 00:26:41.673 [Error] Time: 6/29/2019 12:26:41 AM -------------------------------------------------------------------------------- 2019-06-29 00:42:40.996 [Error] Message: Attempted to divide by zero. 2019-06-29 00:42:40.997 [Error] Stack Trace: at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2) at System.Decimal.op_Division(Decimal d1, Decimal d2) at Intersect.Client.UI.Game.Crafting.CraftingWindow.Update() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Game\Crafting\CraftingWindow.cs:line 335 at Intersect.Client.UI.Game.GameGuiBase.Draw() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Game\GameGuiBase.cs:line 357 at Intersect.Client.UI.Gui.DrawGui() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Gui.cs:line 137 at Intersect.Client.GameGraphics.Render() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\Core\GameGraphics.cs:line 385 at Intersect.Client.IntersectGame.Draw(GameTime gameTime) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\IntersectGame.cs:line 129 at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime) at Microsoft.Xna.Framework.Game.Tick() at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) 2019-06-29 00:42:40.997 [Error] Time: 6/29/2019 12:42:40 AM -------------------------------------------------------------------------------- 2019-06-29 00:46:45.681 [Error] Message: Attempted to divide by zero. 2019-06-29 00:46:45.717 [Error] Stack Trace: at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2) at System.Decimal.op_Division(Decimal d1, Decimal d2) at Intersect.Client.UI.Game.Crafting.CraftingWindow.Update() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Game\Crafting\CraftingWindow.cs:line 335 at Intersect.Client.UI.Game.GameGuiBase.Draw() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Game\GameGuiBase.cs:line 357 at Intersect.Client.UI.Gui.DrawGui() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\UI\Gui.cs:line 137 at Intersect.Client.GameGraphics.Render() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\Classes\Core\GameGraphics.cs:line 385 at Intersect.Client.IntersectGame.Draw(GameTime gameTime) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Client\IntersectGame.cs:line 129 at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime) at Microsoft.Xna.Framework.Game.Tick() at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) 2019-06-29 00:46:45.717 [Error] Time: 6/29/2019 12:46:45 AM --------------------------------------------------------------------------------

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...