SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

S

SetVoxelPatch

SBy SiiMeR

Fixes an issue with the SetVoxel method

Description

<p>Sometimes chiseling crashes clients to desktop. On the server side, the following error can be seen&nbsp;</p> <p>&nbsp;</p> <p>Exception: Index was outside the bounds of the array. at Vintagestory.GameContent.BlockEntityChisel.SetVoxel(Vec3i voxelPos, Boolean add, IPlayer byPlayer, Byte materialId) in VSSurvivalMod\Systems\Microblock\BEChisel.cs:line 306 at Vintagestory.GameContent.BlockEntityChisel.UpdateVoxel(IPlayer byPlayer, ItemSlot itemslot, Vec3i voxelPos, BlockFacing facing, Boolean isBreak) in VSSurvivalMod\Systems\Microblock\BEChisel.cs:line 135 at Vintagestory.GameContent.BlockEntityChisel.OnReceivedClientPacket(IPlayer player, Int32 packetid, Byte[] data) in VSSurvivalMod\Systems\Microblock\BEChisel.cs:line 240 at Vintagestory.Server.ServerSystemBlockSimulation.HandleBlockEntityPacket(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 339 at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 238 at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 977</p>

Download

No download link is available for this entry right now.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.