Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOutOfRangeException when clayforming #67

Closed
copygirl opened this issue Apr 6, 2018 · 1 comment
Closed

IndexOutOfRangeException when clayforming #67

copygirl opened this issue Apr 6, 2018 · 1 comment
Labels
status: resolved Job's done! target: survival Affects survival mode
Milestone

Comments

@copygirl
Copy link
Contributor

copygirl commented Apr 6, 2018

Version: 1.5.2.6
While forming clay bowls I made multiple forms at once. Client crashes with array out of bounds if you do not release mouse button when moving from one form to the next (using the 2x2 pattern to remove clay). Appears to happen as soon as you move to the next form. Does not happen with a single form beyond the forms boundary. See screenshot below.

~ Elwood on the forums

2018-04-06 11:17:31 AM: Critical error occurred
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Vintagestory.GameContent.BlockEntityClayForm.OnRemove(Vec3i voxelPos, BlockFacing facing, Int32 radius)
   at Vintagestory.GameContent.BlockEntityClayForm.OnUseOver(IPlayer byPlayer, Vec3i voxelPos, BlockFacing facing, Boolean mouseBreakMode)
   at Vintagestory.GameContent.ItemClay.OnHeldAttackStop(Single secondsPassed, IItemSlot slot, IEntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel)
   at _jl7sbR3JPBwA6mcttglneENOEEA._JQ6ygWnaP42hDcjXq9LEf2nkZ0H()
   at _LOCdge8fPO0OoGdFisvCWDCfxkFb._7SCBtNOLweRcxVKvLicl3PEXJ6AA(Int64 , IWorldAccessor )
   at _OcDw1EJDtyxSg2zIZUkz5GvfhLf._YvjVAV2DvRhhcGH5E47iqBGXLE1(Single )
   at _OcDw1EJDtyxSg2zIZUkz5GvfhLf._ESP6jvrKgTsShcp5CABSxRTgdjh(Single )
   at _NOGdaXHjcqYbZp309TBwE1lwaJoA._ExRcvCgtpj75hrxXNi0Fq2zHtPE(Single )
   at _EP7D7TCjbI38qUrbc8v9F8rIJvBA._f1gdadbeaLzUZvf0eYqEv8hB6HHA(Single )
   at _EP7D7TCjbI38qUrbc8v9F8rIJvBA._cCrJraU5W0BU0xQ8vqgu2GncwHh(Single )
   at _0i52t9CegOtDCetucrJbvQ8mTjy._0hTztHagGp0JVZ40l1FngGASBwh(Object , FrameEventArgs )
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   at OpenTK.GameWindow.DispatchRenderFrame()
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at _KbPBTtpp9dCK8HCfZavQddEV3tP._5RUcArPeN1Ng7pkVPQqGdZQ033O(_6bvH7Blhp6ycqoRLHWCCCwkK7wD , String[] )
   at _I5JXPXhpKipFp36rslLC7Rct7JC._5RUcArPeN1Ng7pkVPQqGdZQ033O(ThreadStart )
@copygirl copygirl added type: bug target: survival Affects survival mode status: new This issue is fresh! and removed type: bug labels Apr 6, 2018
@tyronx
Copy link
Contributor

tyronx commented Apr 18, 2018

Ok, should be fixed for 1.5.3, thanks.

@tyronx tyronx closed this as completed Apr 18, 2018
@copygirl copygirl added this to the 1.5.3 milestone Apr 18, 2018
@copygirl copygirl added status: resolved Job's done! and removed status: new This issue is fresh! labels Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: resolved Job's done! target: survival Affects survival mode
Projects
None yet
Development

No branches or pull requests

2 participants